]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: iwlwifi: mld: fix bad RSSI handling
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>
Sun, 9 Mar 2025 05:36:52 +0000 (07:36 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 11 Mar 2025 15:29:26 +0000 (16:29 +0100)
commitd414ff7a733819f78a49b832fad6d4e7cb1f9150
tree027d3d6bc5556bab1b7d15349ad5b761d1338eea
parentf31d666f0b710818603a8b6a03cff23ea4a2ad0e
wifi: iwlwifi: mld: fix bad RSSI handling

If the RSSI is dropping to below the threshold, we need to do a MLO
scan to try select a better link.
This is true also if the connection doesn't have EMLSR capability,
and also if we are in EMLSR.
Fix the logic to always check the RSSI (and do a MLO scan if needed).

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Link: https://patch.msgid.link/20250309073442.a31b95888244.If6dca30d657658fa902b19e07b6fbc86c48d69cb@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mld/stats.c