mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 10:11:52 -04:00
wifi: iwlwifi: mld: 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.8baf4efec182.Idc0cabf1919c05b35dc2341c08ea88a7157614c4@changeid
This commit is contained in:
committed by
Miri Korenblit
parent
e74e6c0495
commit
7217522af7
@@ -1013,6 +1013,7 @@ static void iwl_mld_hwrate_to_tx_rate(u32 rate_n_flags,
|
||||
tx_rate->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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user