Title: Flint 3 (4.10.1): Wi-Fi MAC allow list refuses MLO clients even when their MLD address is listed
Device: Flint 3 (GL-BE9300), firmware 4.10.1, two units in GL.iNet mesh (main router and one node)
Summary: With an SSID that has MLO enabled across 2.4, 5 and 6 GHz, the driver's MAC allow list refuses multi-link (MLO) clients even when the client's MLD address, its real MAC, is on the list. Single-link clients on the same list are admitted normally. The per-SSID MAC filter (OpenWrt macfilter/maclist on each wifi-iface) feeds this same driver list, so MAC filtering can't be used on an MLO SSID.
Steps to reproduce:
- Use an MLO SSID on all three bands; on our router its interfaces are wlan02, wlan12 and wlan22, joined in mld0.
- Connect an MLO client, here an iPhone [model] with private Wi-Fi address off. wlanconfig list sta shows it on all three links, each link with its own random address, and MLD Addr: , which is its real MAC.
- On each of the three interfaces, put only that MAC on the allow list:
cfg80211tool maccmd 3
cfg80211tool addmac
cfg80211tool maccmd 1
get_maccmd reads back 1 on each. - Turn the client's Wi-Fi off and on.
Expected: the client joins, since its MLD address is on the list of every link.
Actual: the client joins none of the three links. A single-link client already associated on the same SSID is unaffected. The list behaves as though the driver checks each link's random address rather than the MLD address. We first saw this with the allow list applied through maclist/macfilter allow: every MLO phone on the list was refused, while single-link devices on the same list joined.
Workaround: hostapd's own ACL handles MLO correctly. With macaddr_acl=1 and the client's MLD address in accept_mac_file, or set live with hostapd_cli accept_acl ADD_MAC, the same client joins all three links, and is refused once the address is removed. /lib/wifi/hostapd.sh already passes macaddr_acl and accept_mac_file from UCI, so we use that instead of the driver list.
Request: have the driver's MAC filter (maccmd/addmac) match an MLO client by its MLD address, or have the MAC filter use hostapd's ACL on MLO SSIDs.
