#16543: luci wifi configuration broken with 2 or more radios
--------------------------+--------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: high | Milestone: Chaos Calmer 15.05
Component: base system | Version: Trunk
Resolution: | Keywords:
--------------------------+--------------------------------
Comment (by anonymous):
another indication it's not working properly is when the USB card resets
or is being reconnected to the USB port the txpower on AR9331 radio resets
back to 18dBm:
txpower of both ifaces before resetting:
{{{
root@OpenWrt:~# iwconfig
gre0 no wireless extensions.
lo no wireless extensions.
gretap0 no wireless extensions.
wlan1 IEEE 802.11bgn Mode:Master Tx-Power=20 dBm
RTS thr:off Fragment thr:off
Power Management:off
wlan0 IEEE 802.11bgn Mode:Master Tx-Power=0 dBm
RTS thr:off Fragment thr:off
Power Management:off
eth0 no wireless extensions.
br-lan no wireless extensions.
}}}
and config:
{{{
root@OpenWrt:~# uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.hwmode='11g'
wireless.radio0.path='platform/ar933x_wmac'
wireless.radio0.channel='1'
wireless.radio0.txpower='0'
wireless.radio0.country='US'
wireless.@wifi-iface[0]=wifi-iface
wireless.@wifi-iface[0].device='radio0'
wireless.@wifi-iface[0].network='lan'
wireless.@wifi-iface[0].mode='ap'
wireless.@wifi-iface[0].ssid='OpenWrt'
wireless.@wifi-iface[0].encryption='psk2+ccmp'
wireless.@wifi-iface[0].key='fbgaiuwbwrgtu49a'
wireless.radio1=wifi-device
wireless.radio1.type='mac80211'
wireless.radio1.channel='11'
wireless.radio1.hwmode='11g'
wireless.radio1.path='platform/ehci-platform/usb1/1-1/1-1:1.0'
wireless.radio1.htmode='HT20'
wireless.@wifi-iface[1]=wifi-iface
wireless.@wifi-iface[1].device='radio1'
wireless.@wifi-iface[1].network='lan'
wireless.@wifi-iface[1].mode='ap'
wireless.@wifi-iface[1].ssid='OpenWrt'
wireless.@wifi-iface[1].encryption='psk2+ccmp'
wireless.@wifi-iface[1].key='arhbgh9EOHRNBLBGREA'
}}}
disabling USB port:
{{{
root@OpenWrt:~# echo 0 > /sys/class/gpio/gpio18/value
root@OpenWrt:~# iwconfig
gre0 no wireless extensions.
lo no wireless extensions.
gretap0 no wireless extensions.
wlan0 IEEE 802.11bgn Mode:Master Tx-Power=0 dBm
RTS thr:off Fragment thr:off
Power Management:off
eth0 no wireless extensions.
br-lan no wireless extensions.
}}}
and re-enabling reset txpower value of wlan0:
{{{
root@OpenWrt:~# echo 1 > /sys/class/gpio/gpio18/value
root@OpenWrt:~# iwconfig
gre0 no wireless extensions.
lo no wireless extensions.
gretap0 no wireless extensions.
wlan1 IEEE 802.11bgn Mode:Master Tx-Power=20 dBm
RTS thr:off Fragment thr:off
Power Management:off
wlan0 IEEE 802.11bgn Mode:Master Tx-Power=18 dBm
RTS thr:off Fragment thr:off
Power Management:off
eth0 no wireless extensions.
br-lan no wireless extensions.
}}}
i've repeat same procedure without any USB device and with card-reader
device plugged into USB port and the wlan0 txpower value remained at 0
--
Ticket URL: <https://dev.openwrt.org/ticket/16543#comment:13>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets