android_kernel_xiaomi_sm7250/net/wireless
Luis R. Rodriguez 3f2355cb91 cfg80211/mac80211: Add 802.11d support
This adds country IE parsing to mac80211 and enables its usage
within the new regulatory infrastructure in cfg80211. We parse
the country IEs only on management beacons for the BSSID you are
associated to and disregard the IEs when the country and environment
(indoor, outdoor, any) matches the already processed country IE.

To avoid following misinformed or outdated APs we build and use
a regulatory domain out of the intersection between what the AP
provides us on the country IE and what CRDA is aware is allowed
on the same country.

A secondary device is allowed to follow only the same country IE
as it make no sense for two devices on a system to be in two
different countries.

In the case the AP is using country IEs for an incorrect country
the user may help compliance further by setting the regulatory
domain before or after the IE is parsed and in that case another
intersection will be performed.

CONFIG_WIRELESS_OLD_REGULATORY is supported but requires CRDA
present.

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>
2008-11-25 16:41:26 -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 lib80211: absorb crypto bits from net/ieee80211 2008-11-21 11:08:17 -05:00
nl80211.c cfg80211/mac80211: Add 802.11d support 2008-11-25 16:41:26 -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/mac80211: Add 802.11d support 2008-11-25 16:41:26 -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.c wext: Send name on events 2008-08-13 02:39:56 -07:00