This is the first series of general cleanup to get us into abandon our complex internal regulatory infrastructure. This is quite a lot of work as we rely on our own internal "mode" stuff and our own ath9k_channel heavily. We start this work by ditching the mode stuff where we can and set a staging ground for us to abandon our own internal ath9k_channel. The values which we want to actually keep from ath9k_channel are the calibration data. Since it seems other drivers can make use of this we add a priv section to ieee80211_channel and start making use of this in ath9k. The next series will deal more with this and then slowly start to nuke our complex regulatory infrastructure in favor for internal generic CRDA/cfg80211 regulatory infrastructure. This work is all being done so we won't have to malloc() all over again our new set of channels on country IE changes as doing that would be a bit messy. We will instead prefer to use static channels. This should not have any major functional changes, its mostly cleanup stuff. This v2 addresses some of the comments made about the new HT conf helpers. I also keep the HT40 in 2 GHz band for ath9k as it is actually handled in mac80211. While at it I remove ht.enabled users as conf_is_ht() suffices now. Luis R. Rodriguez (18): mac80211: add HT conf helpers ath9k: use hw->conf on ath_setcurmode() ath9k: remove cache of rate preference when using 11g protection ath9k: Rename ath_setcurmode() to ath_cache_conf_rate() wireless: allow for private channel area ath9k: start making use of channel->priv ath9k: consolidate arguments on hw reset ath9k: make request to get the noisefloor threshold band specific ath9k: use ieee80211_conf on ath9k_hw_iscal_supported() ath9k: make use of conf_is_ht*() in the rest of the driver iwlwifi: make use of conf_is_ht*() helpers mac80211: no need for ht.enabled ath9k: Make ANI CCK and OFDM error triggers band specific ath9k: remove mode specific default noise floor values ath9k: remove ath9k_hw_chan2wmode() ath9k: remove ath9k_hw_check_chan() ath9k: remove superfluous check on changing channel ath9k: fix sparse warnings drivers/net/wireless/ath9k/ani.c | 12 +- drivers/net/wireless/ath9k/ath9k.h | 13 +- drivers/net/wireless/ath9k/calib.c | 103 ++++----- drivers/net/wireless/ath9k/core.h | 1 - drivers/net/wireless/ath9k/eeprom.c | 30 ++-- drivers/net/wireless/ath9k/hw.c | 210 ++++++-------------- drivers/net/wireless/ath9k/hw.h | 8 + drivers/net/wireless/ath9k/main.c | 324 +++++++++++++---------------- drivers/net/wireless/ath9k/rc.c | 4 +- drivers/net/wireless/ath9k/xmit.c | 29 ++-- drivers/net/wireless/iwlwifi/iwl-agn-rs.c | 6 +- drivers/net/wireless/iwlwifi/iwl-agn.c | 6 +- include/net/mac80211.h | 31 +++- include/net/wireless.h | 3 + net/mac80211/ht.c | 3 +- net/mac80211/main.c | 10 - net/mac80211/mlme.c | 1 - 17 files changed, 339 insertions(+), 455 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html