wlan: Populate valid 40Mhz channels for the regulatory domain.

As per currunt logic in the driver, channel 9 is never allowed
as HT40+ in non-FCC regdomain. Also channel 8 is allowd for HT40+
in FCC domain. The logic used in populating the 40Mhz valid center
channels doesn't consider the proper channel offset to
enable/disable the 40Mhz center channels and Sometimes disable/enable
the center channels belonging to some other channel, especially
when the edge channels are handled.

To avoid this issue while populating the 40Mhz valid center
channels, use the flag IEEE80211_CHAN_NO_HT40PLUS and
IEEE80211_CHAN_NO_HT40MINUS to get the proper center channel offset
and enable/disable the 40Mhz center channels corresponding to the
current channel.

Change-Id: Ie42944fac3f3248b470f5fb88c7f2aee8d054b64
CRs-Fixed: 775312
2 files changed
tree: 5f8de9251e1e8bebc6aa1bba38ca00735103e807
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile