I am trying to setup a 5ghz access point on D-Link DWA-171(according to wikidevi, it's 8811au) + NanoPI NEO PLUS2. I use the testing armbian image with latest update.
The hostapd can enable the 802.11a 5ghz AP mode with ht_enabled (but it says this chip doesn't support 802.11ac)
I can see the SSID shows in the phone. If I try to connect it, it will fail and says the station is out of range.
When the phone is trying to connect this AP, hostapd doesn't output any connection log even in debug mode.
Also, although I set the channel to 40, the WIFI analyzer on the phone shows it is using 38.
dmesg
Hostapd config
Hostapd log