wlan: enahnce logic to obtain the country from country IEs

Sometimes the BSS from which country IE is used as the source
of deriving the regulatory data is not obtained in the current
scan. If the BSS is missed in the current scan the logic for
deriving country information will use the country IE from
any other BSS which was obtained in the scan results, this
results in frequent toggling of the country from which
regulatory data is obtained. This patchset handles such scenario
by caching the RSSI of the BSS from which the regulatory data
is derived and using it in the algorithm for determining the
regulatory domain.

Change-Id: Icffc2162575e8ca6ee0ceada01d35213a087a99f
CRs-Fixed: 604506
3 files changed
tree: 8750d610ccaf422143a9e80d19451b50598f6c4b
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig