With this setup i see that channels 1,9 and 13 are used.
APs seem to 'skip' 5 ?!?
How can i set 'acs_num_scans=10' via UCI ?
I just spent an hour reading @shm0 post 8 w/link and have concluded that the answer to your question is you don't configure this via any uci command.
the parameter and value you question; are meant to be carefully adjusted in the /var/run/hostapd-phy1.conf
file of supporting acs devices on older OpenWrt builds.
I can not say confidently that all this has be deprecated by newer algorithms, yet the thread you necroed is quite old and the person you've quoted has been recently active.
Problem that i have is that even if i set "channels '1 5 9 13' most of APs in that area seem to "avoid" channel 5 and use either 1 , 9 or 13.
Also it's not that some would use 1 and some 13, but it seems that the majority "decides" to use 9 or 13...
and there you are looking at chann 5 and it's empty. And you see some 10+ aps using chan 9....
What could cause this ? Should i make wifi reload once a day or .... ?
Adding
uci add_list wireless.radio1.hostapd_options='acs_num_scans=50'
uci add_list wireless.radio0.hostapd_options='acs_num_scans=50'
does not help
nor adding to radio1 (2.4)
acs_chan_bias=5:0.5
When my only selection in chanlist is 5, then it works.
Tried on OpenWrt 21.02 ... 22.03.4
MikroTiks or TPlink EAP225