]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
wifi: iwlwifi: mvm: increase the time between ranging measurements
authorAvraham Stern <avraham.stern@intel.com>
Mon, 29 Jul 2024 17:20:12 +0000 (20:20 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:28:52 +0000 (16:28 +0200)
[ Upstream commit 3a7ee94559dfd640604d0265739e86dec73b64e8 ]

The algo running in fw may take a little longer than 5 milliseconds,
(e.g. measurement on 80MHz while associated). Increase the minimum
time between measurements to 7 milliseconds.

Fixes: 830aa3e7d1ca ("iwlwifi: mvm: add support for range request command version 13")
Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20240729201718.d3f3c26e00d9.I09e951290e8a3d73f147b88166fd9a678d1d69ed@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/intel/iwlwifi/mvm/constants.h

index 243eccc68cb050d884a31bae0704c3c2789aefaf..f7bec6f3d758479afcc9d3c7bf613ddf13075e4d 100644 (file)
 #define IWL_MVM_FTM_INITIATOR_SECURE_LTF       false
 #define IWL_MVM_FTM_RESP_NDP_SUPPORT           true
 #define IWL_MVM_FTM_RESP_LMR_FEEDBACK_SUPPORT  true
-#define IWL_MVM_FTM_NON_TB_MIN_TIME_BETWEEN_MSR        5
+#define IWL_MVM_FTM_NON_TB_MIN_TIME_BETWEEN_MSR        7
 #define IWL_MVM_FTM_NON_TB_MAX_TIME_BETWEEN_MSR        1000
 #define IWL_MVM_D3_DEBUG                       false
 #define IWL_MVM_USE_TWT                                true