#18363: Archer C7 v2, 5GHz wifi not enabling without also enabling 2.4GHz
----------------------------------------------+----------------------------
 Reporter:  olmari                            |      Owner:  developers
     Type:  defect                            |     Status:  new
 Priority:  high                              |  Milestone:  Chaos Calmer
Component:  base system                       |  (trunk)
 Keywords:  wifi, wireless, enable 5GHz only  |    Version:  Trunk
----------------------------------------------+----------------------------
 Here is kinda tricky one: Using selfcompiled trunk [43283], default
 profile for TP-Link Archer C7 v2, after getting both wifi-interfaces
 available (ticket #18362), I can not enable '''only''' 5GHz 11ac
 interface. When trying to enable only 5GHz wifi, it doesn't come up and
 logread relevant part shows this when doing "wifi up":

 {{{
 Sun Nov 16 22:22:45 2014 daemon.notice netifd: radio0 (20502):
 Configuration file: /var/run/hostapd-phy0.conf
 Sun Nov 16 22:22:45 2014 daemon.notice netifd: radio0 (20502): Hardware
 does not support configured mode
 Sun Nov 16 22:22:45 2014 daemon.notice netifd: radio0 (20502): wlan0: IEEE
 802.11 Hardware does not support configured mode (2) (hw_mode in
 hostapd.conf)
 Sun Nov 16 22:22:45 2014 daemon.notice netifd: radio0 (20502): Could not
 select hw_mode and channel. (-2)
 Sun Nov 16 22:22:45 2014 daemon.notice netifd: radio0 (20502): wlan0:
 interface state UNINITIALIZED->DISABLED
 Sun Nov 16 22:22:45 2014 daemon.notice netifd: radio0 (20502): wlan0: AP-
 DISABLED
 Sun Nov 16 22:22:45 2014 daemon.notice netifd: radio0 (20502): wlan0:
 Unable to setup interface.
 Sun Nov 16 22:22:45 2014 daemon.notice netifd: radio0 (20502):
 hostapd_free_hapd_data: Interface wlan0 wasn't started
 Sun Nov 16 22:22:45 2014 daemon.notice netifd: radio0 (20502): cat: can't
 open '/var/run/wifi-phy0.pid': No such file or directory
 Sun Nov 16 22:22:45 2014 daemon.notice netifd: radio0 (20502): Command
 failed: Invalid argument
 Sun Nov 16 22:22:45 2014 daemon.notice netifd: radio0 (20502): Device
 setup failed: HOSTAPD_START_FAILED
 }}}

 /etc/config/wireless: (default openwrt generates, only enabled 5GHz wifi)

 {{{
 config wifi-device  radio0
         option type     mac80211
         option channel  36
         option hwmode   11a
         option path     'pci0000:01/0000:01:00.0'
         option htmode   VHT80

 config wifi-iface
         option device   radio0
         option network  lan
         option mode     ap
         option ssid     OpenWrt
         option encryption none

 config wifi-device  radio1
         option type     mac80211
         option channel  11
         option hwmode   11g
         option path     'platform/qca955x_wmac'
         option htmode   HT20

 config wifi-iface
         option device   radio1
         option network  lan
         option mode     ap
         option ssid     OpenWrt
         option encryption none
         # REMOVE THIS LINE TO ENABLE WIFI:
         option disabled 1
 }}}

 When I then enable the 2.4GHz wifi, both wifi gets up normally, same exact
 config used otherwise... Also after this I could disable both and/or
 disable 2.4GHz and enable 5GHz and everything still continues to work,
 until reboot... After reboot I have to enable the 2.4GHz wifi in order for
 5GHz to work too, after that everything again works...

 So there is something that doesn't go right with ath10k 5GHz wifi only
 enabled...

--
Ticket URL: <https://dev.openwrt.org/ticket/18363>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to