aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-03-28 04:58:37 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-04-10 14:54:08 -0400
commit64f68e5d15bee47e0d6d0c57a1cf52cedd9b3527 (patch)
treee000cea46fd57d876d725224d2b51b74cec35572 /net/mac80211/ieee80211_i.h
parent24398e39c8ee4a9d9123eed322b859ece4d16cac (diff)
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>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index a67ba7c85a1e..867b8eec1e9e 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -512,8 +512,6 @@ struct ieee80211_if_managed {
512 int rssi_min_thold, rssi_max_thold; 512 int rssi_min_thold, rssi_max_thold;
513 int last_ave_beacon_signal; 513 int last_ave_beacon_signal;
514 514
515 enum nl80211_channel_type tx_chantype;
516
517 struct ieee80211_ht_cap ht_capa; /* configured ht-cap over-rides */ 515 struct ieee80211_ht_cap ht_capa; /* configured ht-cap over-rides */
518 struct ieee80211_ht_cap ht_capa_mask; /* Valid parts of ht_capa */ 516 struct ieee80211_ht_cap ht_capa_mask; /* Valid parts of ht_capa */
519}; 517};
@@ -1501,9 +1499,6 @@ bool ieee80211_set_channel_type(struct ieee80211_local *local,
1501 enum nl80211_channel_type chantype); 1499 enum nl80211_channel_type chantype);
1502enum nl80211_channel_type 1500enum nl80211_channel_type
1503ieee80211_ht_oper_to_channel_type(struct ieee80211_ht_operation *ht_oper); 1501ieee80211_ht_oper_to_channel_type(struct ieee80211_ht_operation *ht_oper);
1504enum nl80211_channel_type ieee80211_get_tx_channel_type(
1505 struct ieee80211_local *local,
1506 enum nl80211_channel_type channel_type);
1507 1502
1508#ifdef CONFIG_MAC80211_NOINLINE 1503#ifdef CONFIG_MAC80211_NOINLINE
1509#define debug_noinline noinline 1504#define debug_noinline noinline