summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2024-01-29 15:14:14 +0300
committerJohannes Berg <johannes.berg@intel.com>2024-02-02 15:09:02 +0300
commit35e2385dbe787936c793d70755a5177d267a40aa (patch)
tree8ab65a4cccfe0c7e52958a2ddd1958348af52190 /crypto
parent177fbbcb4ed6b306c1626a277fac3fb1c495a4c7 (diff)
downloadlinux-35e2385dbe787936c793d70755a5177d267a40aa.tar.xz
wifi: mac80211: improve CSA/ECSA connection refusal
As mentioned in the previous commit, we pretty quickly found that some APs have ECSA elements stuck in their probe response, so using that to not attempt to connect while CSA is happening we never connect to such an AP. Improve this situation by checking more carefully and ignoring the ECSA if cfg80211 has previously detected the ECSA element being stuck in the probe response. Additionally, allow connecting to an AP that's switching to a channel it's already using, unless it's using quiet mode. In this case, we may just have to adjust bandwidth later. If it's actually switching channels, it's better not to try to connect in the middle of that. Reported-by: coldolt <andypalmadi@gmail.com> Closes: https://lore.kernel.org/linux-wireless/CAJvGw+DQhBk_mHXeu6RTOds5iramMW2FbMB01VbKRA4YbHHDTA@mail.gmail.com/ Fixes: c09c4f31998b ("wifi: mac80211: don't connect to an AP while it's in a CSA process") Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com> Link: https://msgid.link/20240129131413.cc2d0a26226e.I682c016af76e35b6c47007db50e8554c5a426910@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions