I have openwrt (for long time, now 23.05.4) on UniFi AP AC LR (https://openwrt.org/toh/ubiquiti/unifiac)
I cannot get more than 300 Mbit/s via AC (5Ghz). UniFi is DUMP AP. Via ethernet I can get 1Gbit/s to NAS. That is my /etc/config/wireless:
config wifi-device 'radio0'
option type 'mac80211'
option path 'pci0000:00/0000:00:00.0'
option band '5g'
option htmode 'VHT80'
option channel 'auto'
option cell_density '0'
option acs_num_scans '10'
option country 'PL'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'myssid'
option key 'secret123'
option encryption 'sae'
config wifi-device 'radio1'
option type 'mac80211'
option path 'platform/ahb/18100000.wmac'
option band '2g'
option channel 'auto'
option cell_density '0'
option country 'PL'
option txpower '20'
option htmode 'HT20'
config wifi-iface 'wifinet3'
option device 'radio1'
option mode 'ap'
option ssid 'myssid'
option encryption 'sae'
option key 'secret123'
option network 'lan'
config wifi-iface 'wifinet5'
option device 'radio1'
option mode 'ap'
option ssid 'myssid-guest'
option encryption 'sae-mixed'
option isolate '1'
option macaddr 'random'
option key 'secret1234'
option network 'guest'
What am I doing wrong?