wpa_supplicant update to v2.10 - unable to connect to wifi - denied association, code 40

vsch at posteo.org vsch at posteo.org
Thu Feb 17 08:43:18 PST 2022


Hello list,

since I updated to wpa_supplicant v2.10 (from 2.9) the connection to my 
wifi AP fails throwing the following messages.


Feb 16 14:33:18 kernel: wlp12s0: authenticate with xx:xx:xx:xx:xx:xx
Feb 16 14:33:18 kernel: wlp12s0: send auth to xx:xx:xx:xx:xx:xx (try 1/3)
Feb 16 14:33:18 kernel: wlp12s0: authenticate with xx:xx:xx:xx:xx:xx
Feb 16 14:33:18 kernel: wlp12s0: send auth to xx:xx:xx:xx:xx:xx (try 1/3)
Feb 16 14:33:18 kernel: wlp12s0: authenticated
Feb 16 14:33:18 kernel: wlp12s0: waiting for beacon from xx:xx:xx:xx:xx:xx
Feb 16 14:33:18 kernel: wlp12s0: associate with xx:xx:xx:xx:xx:xx (try 1/3)
Feb 16 14:33:18 kernel: wlp12s0: RX AssocResp from xx:xx:xx:xx:xx:xx 
(capab=0x1511 status=40 aid=0)
Feb 16 14:33:18 kernel: wlp12s0: xx:xx:xx:xx:xx:xx denied association 
(code=40)
Feb 16 14:33:18 kernel: wlp12s0: authenticate with xx:xx:xx:xx:xx:xx
Feb 16 14:33:18 kernel: wlp12s0: send auth to xx:xx:xx:xx:xx:xx (try 1/3)
Feb 16 14:33:18 kernel: wlp12s0: authenticate with xx:xx:xx:xx:xx:xx
Feb 16 14:33:18 kernel: wlp12s0: send auth to xx:xx:xx:xx:xx:xx (try 1/3)
Feb 16 14:33:18 kernel: wlp12s0: authenticated
Feb 16 14:33:18 kernel: wlp12s0: waiting for beacon from xx:xx:xx:xx:xx:xx
Feb 16 14:33:18 kernel: wlp12s0: associate with xx:xx:xx:xx:xx:xx (try 1/3)
Feb 16 14:33:18 kernel: wlp12s0: RX AssocResp from xx:xx:xx:xx:xx:xx 
(capab=0x1431 status=40 aid=12880)
Feb 16 14:33:18 kernel: wlp12s0: xx:xx:xx:xx:xx:xx denied association 
(code=40)


Feb 16 15:29:14 wpa_supplicant[923]: wlp12s0: CTRL-EVENT-ASSOC-REJECT 
bssid=xx:xx:xx:xx:xx:xx status_code=40
Feb 16 15:30:27 kernel: wlp12s0: xx:xx:xx:xx:xx:xx denied association 
(code=40)


My search for code 40 led me to:

https://community.cisco.com/t5/wireless-mobility-documents/802-11-association-status-802-11-deauth-reason-codes/ta-p/3148055

Apparently code 40 means:

40: Peer QSTA does not support the requested cipher suite


When I downgrade wpa_supplicant back to v2.9 (with all other recent 
updates to other packages of my distro still applied) the connection 
succeeds again.
Firmware of my wifi adapter has stayed the same.

Do I need to configure wpa_supplicant differently with the new version 
(because of something that got changed with the cyphers)?
What can I do to make v2.10 work?


Thanks
nobyte




More information about the Hostap mailing list