My WiFi setup was just working fine in OpenWrt 21.02.2. When I upgraded to OpenWrt 22.03.0 it seems that the Android phones (both on Android 13) stopped connecting to WiFi.
On the phone I don't get any error messages. It just tries to connect every few seconds.
# wifi status
{
"radio0": {
"up": true,
"pending": false,
"autostart": true,
"disabled": false,
"retry_setup_failed": false,
"config": {
"hwmode": "11a",
"path": "soc/soc:pcie/pci0000:00/0000:00:01.0/0000:01:00.0",
"htmode": "VHT80",
"channel": "48",
"cell_density": 0,
"country": "DE",
"distance": "20",
"txpower": 20
},
"interfaces": [
{
"section": "wifinet2",
"ifname": "wlan0",
"config": {
"mode": "ap",
"ssid": "WiFi",
"key": "xxxxxxxxxxxxxxx",
"macaddr": "xxxxxxxxxxxxxxx",
"encryption": "sae",
"disassoc_low_ack": false,
"mode": "ap",
"network": [
"lan"
]
},
"vlans": [
],
"stations": [
]
}
]
},
"radio1": {
"up": false,
"pending": false,
"autostart": true,
"disabled": true,
"retry_setup_failed": false,
"config": {
"hwmode": "11g",
"path": "soc/soc:pcie/pci0000:00/0000:00:02.0/0000:02:00.0",
"htmode": "HT20",
"country": "FR",
"channel": "auto",
"cell_density": 0,
"disabled": true
},
"interfaces": [
]
}
}
# cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11a'
option path 'soc/soc:pcie/pci0000:00/0000:00:01.0/0000:01:00.0'
option htmode 'VHT80'
option channel '48'
option cell_density '0'
option country 'DE'
option distance '20'
option txpower '20'
config wifi-device 'radio1'
option type 'mac80211'
option hwmode '11g'
option path 'soc/soc:pcie/pci0000:00/0000:00:02.0/0000:02:00.0'
option htmode 'HT20'
option country 'FR'
option channel 'auto'
option cell_density '0'
option disabled '1'
config wifi-iface 'wifinet2'
option device 'radio0'
option mode 'ap'
option ssid 'WiFi'
option key 'xxxxxxxxxxxxxxx'
option network 'lan'
option macaddr 'xxxxxxxxxxxxxxx'
option encryption 'sae'
option disassoc_low_ack '0'
config wifi-iface 'wifinet1'
option device 'radio1'
option mode 'ap'
option ssid 'WiFi-4'
option encryption 'psk2'
option key 'xxxxxxxxxxxxxxx'
option network 'lan'
option macaddr 'xxxxxxxxxxxxxxx'
option disabled '1'
What is see in the logs what was not there before the upgrade:
Tue Sep 6 17:37:12 2022 daemon.notice hostapd: wlan0: STA-OPMODE-N_SS-CHANGED xxxxxxxxxxxxxxx 2
Tue Sep 6 17:37:12 2022 daemon.info hostapd: wlan0: STA xxxxxxxxxxxxxxx IEEE 802.11: associated (aid 1)
Tue Sep 6 17:37:14 2022 daemon.info dnsmasq-dhcp[1]: DHCPDISCOVER(br-lan) 192.168.1.200 xxxxxxxxxxxxxxx
Tue Sep 6 17:37:14 2022 daemon.info dnsmasq-dhcp[1]: DHCPOFFER(br-lan) 192.168.1.200 xxxxxxxxxxxxxxx
Tue Sep 6 17:37:14 2022 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.200 xxxxxxxxxxxxxxx
Tue Sep 6 17:37:14 2022 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.200 xxxxxxxxxxxxxxx MrSpell
Tue Sep 6 17:37:15 2022 daemon.notice hostapd: wlan0: STA-OPMODE-N_SS-CHANGED xxxxxxxxxxxxxxx 1
Tue Sep 6 17:37:15 2022 daemon.notice hostapd: wlan0: STA-OPMODE-N_SS-CHANGED xxxxxxxxxxxxxxx 2
Tue Sep 6 17:37:15 2022 daemon.info hostapd: wlan0: STA xxxxxxxxxxxxxxx IEEE 802.11: associated (aid 1)
Tue Sep 6 17:37:19 2022 daemon.notice hostapd: wlan0: STA-OPMODE-N_SS-CHANGED xxxxxxxxxxxxxxx 1
Tue Sep 6 17:37:19 2022 daemon.notice hostapd: wlan0: STA-OPMODE-N_SS-CHANGED xxxxxxxxxxxxxxx 2
Tue Sep 6 17:37:19 2022 daemon.info hostapd: wlan0: STA xxxxxxxxxxxxxxx IEEE 802.11: associated (aid 1)
Tue Sep 6 17:37:22 2022 daemon.notice hostapd: wlan0: STA-OPMODE-N_SS-CHANGED xxxxxxxxxxxxxxx 1
Tue Sep 6 17:37:22 2022 daemon.notice hostapd: wlan0: STA-OPMODE-N_SS-CHANGED xxxxxxxxxxxxxxx 2
Tue Sep 6 17:37:22 2022 daemon.info hostapd: wlan0: STA xxxxxxxxxxxxxxx IEEE 802.11: associated (aid 1)
Tue Sep 6 17:37:25 2022 daemon.notice hostapd: wlan0: STA-OPMODE-N_SS-CHANGED xxxxxxxxxxxxxxx 1
Tue Sep 6 17:37:25 2022 daemon.notice hostapd: wlan0: STA-OPMODE-N_SS-CHANGED xxxxxxxxxxxxxxx 2
Tue Sep 6 17:37:25 2022 daemon.info hostapd: wlan0: STA xxxxxxxxxxxxxxx IEEE 802.11: associated (aid 1)
Tue Sep 6 17:37:29 2022 daemon.notice hostapd: wlan0: STA-OPMODE-N_SS-CHANGED xxxxxxxxxxxxxxx 1
Tue Sep 6 17:37:29 2022 daemon.notice hostapd: wlan0: STA-OPMODE-N_SS-CHANGED xxxxxxxxxxxxxxx 2
Tue Sep 6 17:37:29 2022 daemon.info hostapd: wlan0: STA xxxxxxxxxxxxxxx IEEE 802.11: associated (aid 1)
Tue Sep 6 17:37:32 2022 daemon.notice hostapd: wlan0: STA-OPMODE-N_SS-CHANGED xxxxxxxxxxxxxxx 1
Tue Sep 6 17:37:32 2022 daemon.notice hostapd: wlan0: STA-OPMODE-N_SS-CHANGED xxxxxxxxxxxxxxx 2
Tue Sep 6 17:37:32 2022 daemon.info hostapd: wlan0: STA xxxxxxxxxxxxxxx IEEE 802.11: associated (aid 1)
Tue Sep 6 17:37:36 2022 daemon.notice hostapd: wlan0: STA-OPMODE-N_SS-CHANGED xxxxxxxxxxxxxxx 1
Tue Sep 6 17:37:36 2022 daemon.notice hostapd: wlan0: STA-OPMODE-N_SS-CHANGED xxxxxxxxxxxxxxx 2
Tue Sep 6 17:37:36 2022 daemon.info hostapd: wlan0: STA xxxxxxxxxxxxxxx IEEE 802.11: associated (aid 1)
MAC addresses removed in all outputs.
I have a Windows 11 laptop and an iPhone on the WiFi too - both without issues.
Any idea what is the problem here?