Wrt1900acs wifi 5ghz not working at all

Hello,

what ever I do, I don´t get the 5 ghz to work again after reflash with latest dev build.

I had this before and somehow I did get it up and running again but this time it seems to be hopeless.

here is a copy of the config / wireless file:
config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11a'
option path 'soc/soc:pcie-controller/pci0000:00/0000:00:01.0/0000:01:00.0'
option txpower '20'
option channel '36'
option htmode 'VHT80'
option country 'US'

config wifi-iface
option device 'radio0'
option mode 'ap'
option ssid 'NO 5 Ghz'
option encryption 'psk2+tkip+ccmp'
option key 'xxxxxxxxxxxxxxxxxxxxxx'
option network 'lan'
option macaddr 'c2:56:27:d4:83:84'
option ieee80211w '0'

config wifi-device 'radio1'
option type 'mac80211'
option path 'soc/soc:pcie-controller/pci0000:00/0000:00:02.0/0000:02:00.0'
option country '00'
option hwmode '11g'
option txpower '20'
option channel 'auto'
option htmode 'HT40'
option distance '35'

config wifi-iface
option device 'radio1'
option mode 'ap'
option ssid 'NO 2.4 Ghz'
option key 'xxxxxxxxxxxxxxxxxxxxxxxxx'
option network 'lan'
option macaddr 'c2:56:27:d4:83:83'
option encryption 'psk2'

I saw at different forums that I am not alone with this problem. Also was checking with countrycode if the channels are allowed here but however it don´t come up. The wifi it self should work as I can scan and see other networks through the 5 ghz device.

Can anybody help?

Thanks!

Do you get any error messages in the system log when you do "wifi up" from console. show the relevant extract from "logread".

(if you have installed just the default wpad-mini, you should remove that ieee80211w=0 option from the config file, as it requires full wpad.

I think WPA2 (AES) is mandatory with newer 802.11 standards; so remove tkip from your settings. Might not fix it but or certainly won't hurt either.

Not sure the rhyme or reason, but I have seen reports or users flashing the stock firmware to re-enable the radio, THEN flashing back to LEDE sometimes works.....

Hello guys,

thank for your answeres and sorry for the delay.

Here is the log doing wifi down and wifi up. I need to do twice wifi up to get something happen. I can see that there are some errors in the log which can be responsible for the problem and will try to remove them.
Regarding reflash, I always reflash first the default firmware otherwise I would loose the opportunity to flash back the default firmware if the device gets bricked because both partitions wil contain the lede image.
I use also extroot just to inform.

The log:

Wed Feb 22 12:08:01 2017 daemon.notice netifd: radio0 (15259): command failed: Not supported (-95)
Wed Feb 22 12:08:01 2017 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Wed Feb 22 12:08:01 2017 daemon.err hostapd: Line 38: unknown configuration item 'ieee80211w'
Wed Feb 22 12:08:01 2017 daemon.err hostapd: 1 errors found in configuration file '/var/run/hostapd-phy0.conf'
Wed Feb 22 12:08:01 2017 daemon.err hostapd: Failed to set up interface with /var/run/hostapd-phy0.conf
Wed Feb 22 12:08:01 2017 daemon.err hostapd: Failed to initialize interface
Wed Feb 22 12:08:01 2017 daemon.notice netifd: radio0 (15259): cat: /var/run/wifi-phy0.pid: No such file or directory
Wed Feb 22 12:08:01 2017 daemon.notice netifd: radio0 (15259): Command failed: Invalid argument
Wed Feb 22 12:08:01 2017 daemon.notice netifd: radio0 (15259): Device setup failed: HOSTAPD_START_FAILED
Wed Feb 22 12:08:02 2017 daemon.notice netifd: radio1 (15304): command failed: Not supported (-95)
Wed Feb 22 12:08:02 2017 daemon.notice netifd: radio1 (15304): sh: acs_survey: out of range
Wed Feb 22 12:08:02 2017 daemon.err hostapd: Configuration file: /var/run/hostapd-phy1.conf
Wed Feb 22 12:08:02 2017 kern.debug kernel: [58371.115713] ieee80211 phy1: change: 0xffffffff
Wed Feb 22 12:08:02 2017 daemon.notice hostapd: wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
Wed Feb 22 12:08:02 2017 daemon.notice hostapd: ACS: Automatic channel selection started, this may take a bit
Wed Feb 22 12:08:02 2017 kern.info kernel: [58371.213887] device wlan1 entered promiscuous mode
Wed Feb 22 12:08:02 2017 kern.debug kernel: [58371.214326] ieee80211 phy1: change: 0x100
Wed Feb 22 12:08:02 2017 daemon.notice hostapd: wlan1: interface state COUNTRY_UPDATE->ACS
Wed Feb 22 12:08:02 2017 daemon.notice hostapd: wlan1: ACS-STARTED 
Wed Feb 22 12:08:02 2017 kern.debug kernel: [58371.223050] ieee80211 phy1: change: 0x40
Wed Feb 22 12:08:02 2017 kern.debug kernel: [58371.407671] ieee80211 phy1: change: 0x40
Wed Feb 22 12:08:02 2017 kern.debug kernel: [58371.597672] ieee80211 phy1: change: 0x40
Wed Feb 22 12:08:02 2017 kern.debug kernel: [58371.787669] ieee80211 phy1: change: 0x40
Wed Feb 22 12:08:03 2017 kern.debug kernel: [58371.977658] ieee80211 phy1: change: 0x40
Wed Feb 22 12:08:03 2017 kern.debug kernel: [58372.167668] ieee80211 phy1: change: 0x40
Wed Feb 22 12:08:03 2017 kern.debug kernel: [58372.357654] ieee80211 phy1: change: 0x40
Wed Feb 22 12:08:03 2017 kern.debug kernel: [58372.547664] ieee80211 phy1: change: 0x40

I will let you know if this solved the problem. Strange I didn´t have seen this errors before.

Regards..

This is the problem!
I don´t know why, but it is written into the config from time to time when save and applying through Luci.
If I remove it manually from the /etc/config/wireless file than I get the devices up.

What is the ieee80211w function? I couldn´t really find out what this does or for what I can use it. Also it should be supported by the latest mwlwifi driver?!

After reboot of the device this setting (option ieee80211w '0') is back?! Where do it come from?

regards

That option can come to config if you edit wifi options while you have installed full wpad, the wifi base station driver. It causes error if you now have only wpad-mini installed. E.g. you have edited config in a more fullfeatured build and now you use a more basic build.

Either delete that option by editing the config file manually,
Or install the full wpad.

Opkg remove wpad-mini
Opkg install wpad

Thank you hnyman!

You're right, the wpad-mini package is installed. This is like that by default, I haven't touched this. I didn't knowed what this is until know. I have now installed the wpad package with full support.

what are the best praxis / best performance settings for the wifi? I use VHT80 for the 5ghz and ht40 for the 2,4ghz.
Are there other "hidden" settings to get better performance? I have not so many client to handle and would like to have the most possible speed.

Regards..

ACS v1 or v2?

It is the wrt1900acs v1

check into the "noscan" option for 2.4

When ieee80211w support was introduced to Luci a few weeks ago, there was a short period when Luci erroneously added that option even when you had wpad-mini. That was fixed in Luci a few days later, but if you have the buggy version of Luci, that option will appear again if you edit wifi options in luci. You might opkg update Luci or maybe install the released 17.01.0 version.

Partial reason is the wpad/hostapd start script that inserts ieee802w option to the final radio control file even when the option is 0.
That should probably be fixed and then this problem would disappear more completely.

Hello hnyman,

I did upgraded luci and this comes up. However, I reflash today. I get more and more strange behavior of the device.

Kindly regards...