ath9k's rate control code is so convoluted that it really make it difficult to spot bugs and fix them. Here's a bunch of cleanups for ath9k rate control code, and a few for mac80211. I just tested ath9k. Will have to test others later. Luis R. Rodriguez (15): ath9k: fix oops by downgrading assert in rc.c ath9k: cleanup try count for MRR in rate control ath9k: remove unused min rate calculation code ath9k: remove unused stepdown when looking for the next rate ath9k: remove pointless wrapper ath_rc_rate_getidx() ath9k: rename ath_rc_get_nextlowervalid_txrate() ath9k: remove unused ath_rc_isvalid_txmask() ath9k: remove ATH9K_MODE_11B ath9k: remap ATH9K_MODE_* ath9k: rename ath_rc_ratefind_ht() to ath_rc_get_highest_rix() ath9k: remove unnecessary IEEE80211_TX_CTL_NO_ACK checks mac80211: make minstrel/pid RC use ieee80211_is_data(fc) iwlwifi: use ieee80211_is_data(fc) mac80211: move management / no-ack frame rate decision to mac80211 ath9k: remove rate control wraper drivers/net/wireless/ath/ath9k/ath9k.h | 1 - drivers/net/wireless/ath/ath9k/debug.h | 1 + drivers/net/wireless/ath/ath9k/hw.c | 1 - drivers/net/wireless/ath/ath9k/hw.h | 17 ++-- drivers/net/wireless/ath/ath9k/main.c | 3 +- drivers/net/wireless/ath/ath9k/rc.c | 190 ++++++++++------------------ drivers/net/wireless/iwlwifi/iwl-3945-rs.c | 21 +--- drivers/net/wireless/iwlwifi/iwl-agn-rs.c | 10 -- drivers/net/wireless/iwlwifi/iwl-sta.c | 5 +- net/mac80211/rate.c | 29 ++++- net/mac80211/rc80211_minstrel.c | 24 ---- net/mac80211/rc80211_pid_algo.c | 15 --- 12 files changed, 111 insertions(+), 206 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