aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/util.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-01-15 10:02:46 -0500
committerJohannes Berg <johannes.berg@intel.com>2015-01-15 10:02:46 -0500
commitf89903d53f4d39577be98940f7cfa49d66f86db5 (patch)
treec986d12d7d500ad859280c133607f063a1323c48 /net/mac80211/util.c
parentbaf1b99ba169bdd3324ac9d99bc2a00c25534429 (diff)
mac80211: remove 80+80 MHz rate reporting
These rates are treated the same as 160 MHz in the spec, so it makes no sense to distinguish them. As no driver uses them yet, this is also not a problem, just remove them. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r--net/mac80211/util.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c
index 83ba6cd9cf8d..db7216124736 100644
--- a/net/mac80211/util.c
+++ b/net/mac80211/util.c
@@ -2552,8 +2552,6 @@ u64 ieee80211_calculate_rx_timestamp(struct ieee80211_local *local,
2552 ri.flags |= RATE_INFO_FLAGS_40_MHZ_WIDTH; 2552 ri.flags |= RATE_INFO_FLAGS_40_MHZ_WIDTH;
2553 if (status->vht_flag & RX_VHT_FLAG_80MHZ) 2553 if (status->vht_flag & RX_VHT_FLAG_80MHZ)
2554 ri.flags |= RATE_INFO_FLAGS_80_MHZ_WIDTH; 2554 ri.flags |= RATE_INFO_FLAGS_80_MHZ_WIDTH;
2555 if (status->vht_flag & RX_VHT_FLAG_80P80MHZ)
2556 ri.flags |= RATE_INFO_FLAGS_80P80_MHZ_WIDTH;
2557 if (status->vht_flag & RX_VHT_FLAG_160MHZ) 2555 if (status->vht_flag & RX_VHT_FLAG_160MHZ)
2558 ri.flags |= RATE_INFO_FLAGS_160_MHZ_WIDTH; 2556 ri.flags |= RATE_INFO_FLAGS_160_MHZ_WIDTH;
2559 if (status->flag & RX_FLAG_SHORT_GI) 2557 if (status->flag & RX_FLAG_SHORT_GI)