config wifi-device radio0
option type mac80211
option phy phy0
option channel <wifi_channel>
option distance <wifi_distance>
option country <wifi_country>
config wifi-iface
option device radio0
option network wifi
option mode <wifi_mode>
option ssid "<wifi_ssid>"
option encryption none