Xperia Z2 (sirius) Cannot connect to 802.11w wifi
Expected Behavior
Device should be able to connect to WPA2-PSK/WP3-SAE mixed encryption wifi. In this setup, 802.11w MFP (Management Frame Protection) is set to optional. Device should also be able to connect to WPA2-PSK wifi with 802.11w set to optional.
Current Behavior
Device does not connect when 802.11w is set to optional or required on the router. Device connects successfully when 802.11w is set to disabled on the router. Logs collected using 'Enable Wi-Fi verbose logging'.
Possible Solution
When MFP is set to optional on the router, wpa_supplicant logs "wpa_supplicant: wlan0: WPA: Selected AP supports MFP: require MFP". It later logs "CFG80211-ERROR) wl_set_key_mgmt: invalid cipher group (1027076); I CFG80211-ERROR) wl_cfg80211_connect: Invalid key mgmt"
A potential quick solution is to disable 802.11w support on the device/affected chipset.
It may also be possible to get this working by updates, if available, to some of the driver software/firmware. I've found related error strings in a commit adding 802.11w support to brcmfmac here: https://patchwork.kernel.org/project/linux-wireless/patch/1455704830-10088-22-git-send-email-arend@broadcom.com/
Steps to Reproduce
- Create a wireless network on a router with 802.11w to optional for WPA2. I used OpenWrt to set up my wifi network to use WPA2-PSK/WPA3-SAE, which means 802.11 will be set top optional.
- Try to connect to the wireless network using the phone.
/device sirius /version 18.1 /date 2021-09-22 /kernel 3.4.113-gf01a33fc7a7 /baseband 8974-AAAAANPZQ-00068-61 /mods Google Apps
I have read the directions