diff options
author | Arik Nemtsov <arik@wizery.com> | 2014-07-17 10:14:27 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-07-21 06:14:04 -0400 |
commit | dc5943d54092467b7b56ff6adaeb63165f692fa2 (patch) | |
tree | 5dfed83747bb117d3bb5f8a10428f16ab7172b00 | |
parent | 13cc8a4a1d24ff1f3b8b6de16779ef925371b18b (diff) |
mac80211: set Rx highest rate in ht_cap
Set for completeness mostly, currently unused in the code.
Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r-- | net/mac80211/ht.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/ht.c b/net/mac80211/ht.c index 568055c02a98..ff630be2ca75 100644 --- a/net/mac80211/ht.c +++ b/net/mac80211/ht.c | |||
@@ -227,6 +227,9 @@ bool ieee80211_ht_cap_ie_to_sta_ht_cap(struct ieee80211_sub_if_data *sdata, | |||
227 | if (own_cap.mcs.rx_mask[32/8] & ht_cap_ie->mcs.rx_mask[32/8] & 1) | 227 | if (own_cap.mcs.rx_mask[32/8] & ht_cap_ie->mcs.rx_mask[32/8] & 1) |
228 | ht_cap.mcs.rx_mask[32/8] |= 1; | 228 | ht_cap.mcs.rx_mask[32/8] |= 1; |
229 | 229 | ||
230 | /* set Rx highest rate */ | ||
231 | ht_cap.mcs.rx_highest = ht_cap_ie->mcs.rx_highest; | ||
232 | |||
230 | apply: | 233 | apply: |
231 | changed = memcmp(&sta->sta.ht_cap, &ht_cap, sizeof(ht_cap)); | 234 | changed = memcmp(&sta->sta.ht_cap, &ht_cap, sizeof(ht_cap)); |
232 | 235 | ||