Custom parameter in /etc/config/wireless

Hi,

I want to add a custom flag/parameter under /etc/config/wireless e.g. bgscan . But even after looking at
/lib/netifd/wireless/mac80211.sh
netifd-wireless.sh

I couldnt find any way to do so. Can anyone please help me in this, It should be easier as i thought but looks like not, OR may be i am missing something.

Thanks in advance!! :slight_smile:

uci set wireless.radio0.custom='whatever'
uci commit

well, this will add under 'wifi-device' section not in 'wifi-iface' . bgscan is parameter of wpa_supplicant, will that work?