fd8bacc980
Currently, a function misnamed ieee80211_init_client() is used to handle regulatory domain control. It is called from ieee80211_register_hwmode(), which typically runs 2 or 3 times (802.11a/b/g), but each time it iterates over all the modes. This patch cleans this up and removes the confusion: ieee80211_init_client was effectively renamed to ieee80211_set_default_regdomain and is now run on a per-mode basis (doesn't have to deal with netdevs). I also moved the regdomain handling code into its own file and added some documentation. Signed-off-by: Daniel Drake <dsd@gentoo.org> Acked-by: Jiri Benc <jbenc@suse.cz> Signed-off-by: John W. Linville <linville@tuxdriver.com> |
||
---|---|---|
.. | ||
aes_ccm.c | ||
aes_ccm.h | ||
debugfs_key.c | ||
debugfs_key.h | ||
debugfs_netdev.c | ||
debugfs_netdev.h | ||
debugfs_sta.c | ||
debugfs_sta.h | ||
debugfs.c | ||
debugfs.h | ||
hostapd_ioctl.h | ||
ieee80211_cfg.c | ||
ieee80211_cfg.h | ||
ieee80211_common.h | ||
ieee80211_i.h | ||
ieee80211_iface.c | ||
ieee80211_ioctl.c | ||
ieee80211_key.h | ||
ieee80211_led.c | ||
ieee80211_led.h | ||
ieee80211_rate.c | ||
ieee80211_rate.h | ||
ieee80211_sta.c | ||
ieee80211.c | ||
Kconfig | ||
Makefile | ||
michael.c | ||
michael.h | ||
rc80211_simple.c | ||
regdomain.c | ||
sta_info.c | ||
sta_info.h | ||
tkip.c | ||
tkip.h | ||
wep.c | ||
wep.h | ||
wme.c | ||
wme.h | ||
wpa.c | ||
wpa.h |