diff options
author | Miri Korenblit | 2023-09-13 14:56:45 +0300 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-11-28 17:07:03 +0000 |
commit | 3a6ad749e9ef5f40de344f3e750a9b73397375b7 (patch) | |
tree | 21c24d3f7a3707dcf98bbb4cbaf106cb99bf3657 /include/linux/stm.h | |
parent | 2fa178e2cd5f29088d9f51ae84521d2423c4da43 (diff) |
wifi: iwlwifi: Use FW rate for non-data frames
[ Upstream commit 499d02790495958506a64f37ceda7e97345a50a8 ]
Currently we are setting the rate in the tx cmd for
mgmt frames (e.g. during connection establishment).
This was problematic when sending mgmt frames in eSR mode,
as we don't know what link this frame will be sent on
(This is decided by the FW), so we don't know what is the
lowest rate.
Fix this by not setting the rate in tx cmd and rely
on FW to choose the right one.
Set rate only for injected frames with fixed rate,
or when no sta is given.
Also set for important frames (EAPOL etc.) the High Priority flag.
Fixes: 055b22e770dd ("iwlwifi: mvm: Set Tx rate and flags when there is not station")
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230913145231.6c7e59620ee0.I6eaed3ccdd6dd62b9e664facc484081fc5275843@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/stm.h')
0 files changed, 0 insertions, 0 deletions