I am trying to run hostpad-wpe  on my ZSUN 
Right now I have configured /etc/config/wireless in order to create an AP + STA.
config wifi-device 'radio0' option type 'mac80211' option channel 'auto' option hwmode '11g' option path 'platform/ar933x_wmac' option htmode 'HT20' option disabled '0' option txpower '30' option country 'US' config wifi-iface option ssid 'OtherAPIAmConnectingAsClient' option device 'radio0' option mode 'sta' option network 'wwan' option encryption 'none' config wifi-iface option ssid 'myAP' option device 'radio0' option mode 'ap' option network 'lan' option encryption 'none'
However I would like to create another wlan0-* interface to be used with hostapd-wpe.
root@OpenWrt:~# cat /usr/local/etc/hostapd-wpe/hostapd-wpe-bgn.conf # hostapd-wpe.conf for 802.11bgn # Configuration file for hostapd-wpe # Interface - Probably wlan0 for 802.11, eth0 for wired interface=wlan0 <...>
Sadly I realized that I cannot use (as described in ):
iw phy phy0 interface add wlan0 type managed
But I have to configure it through /etc/config/wireless
And by looking at the wiki  I am forced to set both (since are both required):
option mode 'sta' option ssid 'foo'
And here comes my problem.
How can I setup /etc/config/wireless in order to use hostpad-wpe?
I have thought all possible alternatives before bothering here... but I ran out of ideas.