wifi: iwlwifi: mvm: don't request statistics in restart
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>
Mon, 6 May 2024 07:04:18 +0000 (10:04 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 6 May 2024 14:33:26 +0000 (16:33 +0200)
commitb31b77b73d65d5b0a763243ca3a5c3fda3b02816
treee61bb866afa71a9c84b2d9ec13b5f1864283d125
parentdf966c93f5a9c060df525272d9c1eb37795a88f5
wifi: iwlwifi: mvm: don't request statistics in restart

During restart mac80211 notifies the driver about the association,
(if we was associated before the restart) which causes the driver to
request statistics from the FW. This causes to an immediate exit from
EMLSR after the restart is done, when the statistics notif is handled.
(too low TPT). There is no point in requesting statistics wnyway, since
the FW just started and don't have any.

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Link: https://msgid.link/20240506095953.16638dec9f7b.I093514312179bae566ad8d73ffb0355c6eee288a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/utils.c