Search Linux Wireless
No way to cancel SAE after CMD_AUTHENTICATE?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: "open list:MEDIATEK MT76 WIRELESS LAN DRIVER" <linux-wireless@xxxxxxxxxxxxxxx>
- Subject: No way to cancel SAE after CMD_AUTHENTICATE?
- From: James Prestwood <prestwoj@xxxxxxxxx>
- Date: Thu, 28 Mar 2024 08:23:29 -0700
- User-agent: Mozilla Thunderbird
Hi,
I noticed some odd behavior where userspace is unable to cancel an SAE
connection until associated. If you issue a CMD_AUTHENTICATE then
immediately (or prior to association) send a CMD_DISCONNECT the kernel
will not cancel the authentication and afaict ignore the CMD_DISCONNECT.
The kernel will continue to send authenticate events, and even retry
authentication until the retry limit after CMD_DISCONNECT is issued.
I see the checks in cfg80211_disconnect which seem to back up this
behavior where its essentially ignored if not "connected". I'm not sure
where to actually fix this since the auth retries are internal to
mac80211. Since the device isn't even authenticated I'm unsure what
value/structure to even check in order to detect this situation and
clean up. But there needs to be some way to cancel the authentication,
right?
Thanks,
James
[Index of Archives]
[Linux Host AP]
[ATH6KL]
[Linux Wireless Personal Area Network]
[Linux Bluetooth]
[Wireless Regulations]
[Linux Netdev]
[Kernel Newbies]
[Linux Kernel]
[IDE]
[Git]
[Netfilter]
[Bugtraq]
[Yosemite Hiking]
[MIPS Linux]
[ARM Linux]
[Linux RAID]