An android client can't connect to the WiFi network when using MAC filtering and hidden ESSID
Username: gmiranda
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=1866
The AP/router is a TP-Link TD-W8970.It was just fine with previous LEDE versions (17.01.2 and 17.01.4 )
The wireless network is configured to hide the ESSID and allow only whitelisted MAC addresses.
A particular android tablet (Huawei Mediapad M3 10 lite running Android 7.0, with July 2018 patches) can't connect to the network while an Android phone is able to (LineageOS 14.1, Android 7.1.2).
If I disable either mac filtering or the hide essid option, the tablet is able to connect to the network. When both options are active, it can't. There's nothing in the syslog, not even a message like these that I get very often.
Mon Sep 24 08:45:45 2018 daemon.notice hostapd: Station da:a1:19:b6:76:18 not allowed to authenticate
Here's how /etc/config/wireless looks like:
config wifi-device 'radio0' option type 'mac80211' option hwmode '11g' option path 'pci0000:00/0000:00:00.0/0000:01:00.0' option country 'ES' option legacy_rates '1' option channel '13' option distance '12' option htmode 'HT20'
config wifi-iface option device 'radio0' option mode 'ap' option ssid 'OpenWrt' option network 'lan' option encryption 'psk2+ccmp' option key '[edited]' option macfilter 'allow' list maclist '[edited]' option hidden '1'
I've tried to set the channel to auto, but that won't work either. Even though I only get this behaviour in a particular client, it was working flawlessly before upgrading to Openwrt-18.06 and so I think this could be a bug in OpenWrt.