diff options
| author | Miri Korenblit <[email protected]> | 2025-03-09 05:36:53 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2025-03-11 15:29:26 +0000 |
| commit | 9324731b9985478faf7f77713cc5e5fee811716e (patch) | |
| tree | cbe67d4582c25b33997a6c075e5cd6b6c65731c4 /net/core/dev_api.c | |
| parent | wifi: iwlwifi: mld: fix bad RSSI handling (diff) | |
| download | kernel-9324731b9985478faf7f77713cc5e5fee811716e.tar.gz kernel-9324731b9985478faf7f77713cc5e5fee811716e.zip | |
wifi: iwlwifi: mld: avoid selecting bad links
Currently, we don't select a link that wasn't heared in the last 5
seconds.
But if the link started to suffer from missed beacons more recent than
that, we might select this link even we really shouldn't,
leading to a disconnection instead of a link switch.
Fix this by checking if a link was heared in the last MLO scan,
if not - don't include it in the link selection.
Since we do an MLO scan on missed beacons, we will not hear that link in
that scan, and won't select it.
Signed-off-by: Miri Korenblit <[email protected]>
Reviewed-by: Emmanuel Grumbach <[email protected]>
Link: https://patch.msgid.link/20250309073442.8f950497219e.I51306021fe9231a8184e89c23707be47d3c05241@changeid
[replace cast with ULL constant]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'net/core/dev_api.c')
0 files changed, 0 insertions, 0 deletions
