mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 11:33:28 +02:00
wifi: iwlwifi: mvm: don't report bad EHT rate to mac80211
In EHT, we shouldn't report a legacy rate to mac80211, that might just be confusing. Set it to zero, since it's only really relevant for radiotap. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20250504132447.325d7ba6905f.I3bdd8854e1a784856a4973ff4d532c74f992af00@changeid
This commit is contained in:
parent
7217522af7
commit
69524b2bd6
|
|
@ -1489,6 +1489,7 @@ void iwl_mvm_hwrate_to_tx_rate(u32 rate_n_flags,
|
|||
r->flags |= IEEE80211_TX_RC_VHT_MCS;
|
||||
break;
|
||||
case RATE_MCS_MOD_TYPE_HE:
|
||||
case RATE_MCS_MOD_TYPE_EHT:
|
||||
/* mac80211 cannot do this without ieee80211_tx_status_ext()
|
||||
* but it only matters for radiotap */
|
||||
r->idx = 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user