Skip to content

Commit dc5943d

Browse files
ariknemjmberg-intel
authored andcommitted
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>
1 parent 13cc8a4 commit dc5943d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎net/mac80211/ht.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,9 @@ bool ieee80211_ht_cap_ie_to_sta_ht_cap(struct ieee80211_sub_if_data *sdata,
227227
if (own_cap.mcs.rx_mask[32/8] & ht_cap_ie->mcs.rx_mask[32/8] & 1)
228228
ht_cap.mcs.rx_mask[32/8] |= 1;
229229

230+
/* set Rx highest rate */
231+
ht_cap.mcs.rx_highest = ht_cap_ie->mcs.rx_highest;
232+
230233
apply:
231234
changed = memcmp(&sta->sta.ht_cap, &ht_cap, sizeof(ht_cap));
232235

0 commit comments

Comments
 (0)