Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#18363 closed defect (fixed)

Archer C7 v2, 5GHz wifi not enabling without also enabling 2.4GHz

Reported by: olmari Owned by: developers
Priority: high Milestone: Chaos Calmer 15.05
Component: base system Version: Trunk
Keywords: wifi, wireless, enable 5GHz only Cc:

Description

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...

Attachments (0)

Change History (5)

comment:1 Changed 3 years ago by nbd

please try r43484

comment:2 Changed 3 years ago by olmari

Okay seems the the same r43484 does fix this error too, so also this ticket can be closed, thank to all who made this happend! :)

comment:3 Changed 3 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

comment:4 Changed 3 years ago by hendry

I have the same issue:
http://s.natalian.org/2015-06-02/1433259450_1048x1036.png

Can't see my 5Ghz network.

comment:5 Changed 3 years ago by hendry

I have the same issue:
http://s.natalian.org/2015-06-02/1433259450_1048x1036.png

Can't see my 5Ghz network.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.