]> www.infradead.org Git - nvme.git/commit
wifi: iwlwifi: mvm: use FW rate for non-data only on new devices
authorJohannes Berg <johannes.berg@intel.com>
Mon, 29 Jan 2024 19:21:58 +0000 (21:21 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 2 Feb 2024 13:04:43 +0000 (14:04 +0100)
commit3d869feacb74309e4f1cb69572df16ec9862012c
tree947ef062f2439773262827dcba58b0e296a28518
parent51eb17b8d5597250fea513050c26a53f2ff183b2
wifi: iwlwifi: mvm: use FW rate for non-data only on new devices

With MLO connections we need to let the firmware pick the rate
as we don't know the link the frame might be transmitted on
(in some cases we do know, but we'd rather always use the FW
and find bugs.) We _did_ end up finding bugs and fixing them,
but older devices likely won't get fixed as we don't have a
need for this there, they cannot support MLO.

Thus, go back to picking a rate on the host for the relevant
frames on older (pre-Bz) devices.

Fixes: 499d02790495 ("wifi: iwlwifi: Use FW rate for non-data frames")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240129211905.e59056d0a8cc.Iccc4c5c1753921d3d85241ede812a150fb05b898@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/tx.c