]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: remove channel type argument from rate_update
authorJohannes Berg <johannes.berg@intel.com>
Wed, 28 Mar 2012 08:58:37 +0000 (10:58 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Apr 2012 18:54:08 +0000 (14:54 -0400)
commit888e2984c9d0d0a6b059c17712284fe76b008954
treee000cea46fd57d876d725224d2b51b74cec35572
parente9dcd8ca17d78519e864caebeb81780b42f79525
mac80211: remove channel type argument from rate_update

The channel type argument to the rate_update()
callback isn't really the correct way to give
the rate control algorithm about the desired
RX bandwidth of the peer.

Remove this argument, and instead update the
STA capabilities with 20/40 appropriately. The
SMPS update done by this callback works in the
same way, so this makes the callback cleaner.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/rc.c
drivers/net/wireless/rtlwifi/rc.c
include/net/mac80211.h
net/mac80211/chan.c
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/rate.h
net/mac80211/rc80211_minstrel_ht.c
net/mac80211/rx.c
net/mac80211/sta_info.h