I have two hap AC boxes connected over ethernet and exposing a 2.4Gz and 5Gz wireless interface with the same SSID each. So far so good, but android phones disconnect once in a while. When they disconnect, this happens for all phones and disconnects are regular, e.g. once a minute or so.
Here is the configuration of one of the boxes, only frequencies are different for the other box.
[root@MikroTik] /interface wireless> print
Flags: X - disabled, R - running
0 R name=“wlan1” mtu=1500 l2mtu=1600 mac-address=XX:XX:XX:XX:XX:XX arp=enabled interface-type=Atheros AR9300 mode=ap-bridge ssid=“wonderland” frequency=2417 band=2ghz-b/g/n
channel-width=20/40mhz-Ce scan-list=default wireless-protocol=802.11 vlan-mode=no-tag vlan-id=1 wds-mode=dynamic wds-default-bridge=bridge wds-ignore-ssid=no bridge-mode=enabled
default-authentication=yes default-forwarding=yes default-ap-tx-limit=0 default-client-tx-limit=0 hide-ssid=no security-profile=default compression=no
1 R name=“wlan2” mtu=1500 l2mtu=1600 mac-address=XX:XX:XX:XX:XX:XX arp=enabled interface-type=Atheros AR9888 mode=ap-bridge ssid=“wonderland” frequency=5520 band=5ghz-a/n/ac
channel-width=20/40/80mhz-Ceee scan-list=default wireless-protocol=802.11 vlan-mode=no-tag vlan-id=1 wds-mode=dynamic wds-default-bridge=bridge wds-ignore-ssid=no bridge-mode=enabled
default-authentication=yes default-forwarding=yes default-ap-tx-limit=0 default-client-tx-limit=0 hide-ssid=no security-profile=default compression=no
I have no clue where to start investigating. I am now running one phone with adb shell logcat but funnily the connection works fine now.
After reading https://wiki.mikrotik.com/wiki/Manual:Wireless_Debug_Logs and configuring the wireless logging, I see some ‘disconnect extensive data loss’ and ’ data from unknown device XX:XX:XX:XX:XX:XX, sent deauth’. Could it be that an android device at equal distance from two APs does not behave well?
Indeed, I already noticed this and disabled WDS, but nothing changes. Looking at the spectrum with Wi-Fi Analyzer, I see a dozen of APs on 2.4Ghz. Not that much, but they may be very active.