The driver supports the opposite - deny lists - but not accept lists.
When hostapd is configured with macaddr_acl=0 and a deny-file then it works and bad devices with known mac addresses can be denied access. With macaddr_acl=1 and an accept-file does it fail and "hostapd -d" reports an unconfigured control interface.
As far as I have tracked the issue should this get handled in the driver, meaning, the driver has to read the macaddr_acl flag and then use the list of mac addresses accordingly.
Having only the ability to deny known mac addresses is pretty much useless, because one obviously first has to know the mac address of an intruder and any mac address filtering of unknown devices (or with randomised mac addresses) isn't possible.
The driver supports the opposite - deny lists - but not accept lists.
When hostapd is configured with macaddr_acl=0 and a deny-file then it works and bad devices with known mac addresses can be denied access. With macaddr_acl=1 and an accept-file does it fail and "hostapd -d" reports an unconfigured control interface.
As far as I have tracked the issue should this get handled in the driver, meaning, the driver has to read the macaddr_acl flag and then use the list of mac addresses accordingly.
Having only the ability to deny known mac addresses is pretty much useless, because one obviously first has to know the mac address of an intruder and any mac address filtering of unknown devices (or with randomised mac addresses) isn't possible.