android_kernel_xiaomi_sm7250/net/wireless
Luis R. Rodriguez 0c7dc45d21 cfg80211: Fix regression with 11d on bands
This fixes a regression on disallowing bands introduced with the new
802.11d support. The issue is that IEEE-802.11 allows APs to send
a subset of what a country regulatory domain defines. This was clarified
in this document:

http://tinyurl.com/11d-clarification

As such it is possible, and this is what is done in practice, that a
single band 2.4 GHz AP will only send 2.4 GHz band regulatory information
through the 802.11 country information element and then the current
intersection with what CRDA provided yields a regulatory domain with
no 5 GHz information -- even though that country may actually allow
5 GHz operation. We correct this by only applying the intersection rules
on a channel if the the intersection yields a regulatory rule on the
same band the channel is on.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-01-16 17:08:24 -05:00
..
core.c cfg80211/mac80211: Add 802.11d support 2008-11-25 16:41:26 -05:00
core.h cfg80211/mac80211: Add 802.11d support 2008-11-25 16:41:26 -05:00
Kconfig cfg80211/mac80211: Add 802.11d support 2008-11-25 16:41:26 -05:00
lib80211_crypt_ccmp.c lib80211: absorb crypto bits from net/ieee80211 2008-11-21 11:08:17 -05:00
lib80211_crypt_tkip.c lib80211: absorb crypto bits from net/ieee80211 2008-11-21 11:08:17 -05:00
lib80211_crypt_wep.c lib80211: absorb crypto bits from net/ieee80211 2008-11-21 11:08:17 -05:00
lib80211.c lib80211: consolidate crypt init routines 2008-11-21 11:08:17 -05:00
Makefile mac80211/cfg80211: check endianness in sparse runs 2008-12-12 14:01:35 -05:00
nl80211.c mac80211: Fix HT channel selection 2008-12-19 15:22:54 -05:00
nl80211.h [NL80211]: add netlink interface to cfg80211 2007-10-10 16:52:14 -07:00
radiotap.c wireless: use get/put_unaligned_* helpers 2008-05-14 16:29:32 -04:00
reg.c cfg80211: Fix regression with 11d on bands 2009-01-16 17:08:24 -05:00
reg.h cfg80211/mac80211: Add 802.11d support 2008-11-25 16:41:26 -05:00
sysfs.c wireless: clean up sysfs code using %pM 2008-11-21 11:08:19 -05:00
sysfs.h [WIRELESS] cfg80211: New wireless config infrastructure. 2007-04-25 22:29:41 -07:00
util.c wireless: implement basic rate helper function 2008-11-10 15:17:35 -05:00
wext-compat.c cfg80211: handle SIOCGIWMODE/SIOCSIWMODE 2008-12-05 09:32:58 -05:00
wext.c wireless: convert wireless ioctl to net_device_ops 2009-01-06 10:42:24 -08:00