summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/mld/constants.h
diff options
context:
space:
mode:
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>2025-03-13 00:22:28 +0200
committerJohannes Berg <johannes.berg@intel.com>2025-03-18 09:51:24 +0100
commit4d7236f968f27af942347fe1c8363764cdee63f5 (patch)
tree7157ee8aa759d1e30867f6df7bca0d64d73d6ff4 /drivers/net/wireless/intel/iwlwifi/mld/constants.h
parentb611cf6b57a8091a2ebbe415f421865407968ef2 (diff)
wifi: iwlwifi: mld: remove IWL_MLD_EMLSR_BLOCKED_FW
The channel load logic moves from the FW to the driver. - Implement the logic: allow EMLSR only if the candidate primary link is active and if its average channel load exceeds the threshold. - Remove IWL_MLD_EMLSR_BLOCKED_FW. Instead, treat ESR_RECOMMEND_LEAVE in the EMLSR_RECOMMENDATION notif as an EXIT reason. Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Link: https://patch.msgid.link/20250313002008.6729a8d67815.Iab39bf0982d8cdbb0db701d31854101c2fcf3b64@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mld/constants.h')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/mld/constants.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mld/constants.h b/drivers/net/wireless/intel/iwlwifi/mld/constants.h
index 9a24996014b8..2a59b29b75cb 100644
--- a/drivers/net/wireless/intel/iwlwifi/mld/constants.h
+++ b/drivers/net/wireless/intel/iwlwifi/mld/constants.h
@@ -68,7 +68,7 @@
#define IWL_MLD_LOW_RSSI_THRESH_160MHZ -72
#define IWL_MLD_ENTER_EMLSR_TPT_THRESH 400
-#define IWL_MLD_CHAN_LOAD_THRESH 2 /* in percentage */
+#define IWL_MLD_EXIT_EMLSR_CHAN_LOAD 2 /* in percentage */
#define IWL_MLD_FTM_INITIATOR_ALGO IWL_TOF_ALGO_TYPE_MAX_LIKE
#define IWL_MLD_FTM_INITIATOR_DYNACK true