kpise
1
Hello,
I have Xiaomi MiWiFi Mini
Firmware - OpenWrt 21.02.1 r16325-88151b8303 / LuCI openwrt-21.02 branch git-21.295.67054-13df80d
5G SSID is restarting frequently. I can see longs -
disassociated due to inactivity
daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED e4:a4:71:d2:a4:60
daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED de:44:a9:1b:b7:cf
daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED e4:a4:71:d2:a4:60
I have marked

Uncheck "Disable Inactivity Polling".
Increase the value in "Station inactivity limit".
I have a couple of static devices that were getting kicked when I didn't want them kicked, so that solved it.
1 Like
kpise
3
Still it keeps disconnecting.
I have new errors
Tue Dec 14 23:27:26 2021 kern.warn kernel: [12447.709332] [<80009798>] 0x80009798
Tue Dec 14 23:27:26 2021 kern.warn kernel: [12447.712917] [<80023900>] 0x80023900
Tue Dec 14 23:27:26 2021 kern.warn kernel: [12447.716494] [<8039bca4>] 0x8039bca4
Tue Dec 14 23:27:26 2021 kern.warn kernel: [12447.720068] [<800239d8>] 0x800239d8
Tue Dec 14 23:27:26 2021 kern.warn kernel: [12447.723649] [<8039bca4>] 0x8039bca4
Tue Dec 14 23:27:26 2021 kern.warn kernel: [12447.727236] [<8039ba38>] 0x8039ba38
Tue Dec 14 23:27:26 2021 kern.warn kernel: [12447.730809] [<80067d38>] 0x80067d38
Tue Dec 14 23:45:24 2021 daemon.info hostapd: wlan0: STA dc:54:d7:a2:92:64 IEEE 802.11: disassociated
Tue Dec 14 21:39:25 2021 daemon.notice hostapd: ACS: Survey is missing noise floor
Run cat /etc/config/wireless and post the results as preformatted text...

kpise
5
root@DiscoStation:~# cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option channel '36'
option hwmode '11a'
option path 'pci0000:00/0000:00:00.0/0000:01:00.0'
option htmode 'VHT80'
option cell_density '0'
option country 'US'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option encryption 'sae-mixed'
option key 'VeryHardPassword'
option ssid 'AlexawedsGoogle-5G'
option disassoc_low_ack '0'
option max_inactivity '1600'
config wifi-device 'radio1'
option type 'mac80211'
option channel '11'
option hwmode '11g'
option path 'platform/10180000.wmac'
option htmode 'HT20'
option cell_density '0'
option country 'US'
option disabled '1'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option key 'VeryHardPassword'
option ssid 'AlexaWedsGoogle'
option encryption 'psk2'
option disabled '1'
root@DiscoStation:~# ^C
root@DiscoStation:~#
Try changing that to 40.
Channel 36 may be saturated in your area.
SSH in to the router and run the following command to see which 5 Ghz channels have the least amount of usage...
iwinfo wlan0 scan | grep Channel
Note that it will very likely change during peak usage hours.
kpise
7
I observed - there is no solution. It keeps disconnecting and restart is only solution