R8000 Hide ESSID and DFS problem

Hi all.
I have 2 problems with R8000 and LEDE 17.01.0 r3205:

The firs one - With DFS in radio2. Every time i set a DFS channel i get a message: Wireless is disabled or not associated

iw phy phy2 channels

* 5170 MHz [34] (disabled)
* 5180 MHz [36] 
  Maximum TX power: 20.0 dBm
  Channel widths: 20MHz HT40+ VHT80
* 5190 MHz [38] 
  Maximum TX power: 20.0 dBm
  Channel widths: 20MHz HT40+ VHT80
* 5200 MHz [40] 
  Maximum TX power: 20.0 dBm
  Channel widths: 20MHz HT40- HT40+ VHT80
* 5210 MHz [42] 
  Maximum TX power: 20.0 dBm
  Channel widths: 20MHz HT40- HT40+ VHT80
* 5220 MHz [44] 
  Maximum TX power: 20.0 dBm
  Channel widths: 20MHz HT40- HT40+ VHT80
* 5230 MHz [46] 
  Maximum TX power: 20.0 dBm
  Channel widths: 20MHz HT40- VHT80
* 5240 MHz [48] 
  Maximum TX power: 20.0 dBm
  Channel widths: 20MHz HT40- HT40+ VHT80
* 5260 MHz [52] 
  Maximum TX power: 20.0 dBm
  Radar detection
  Channel widths: 20MHz HT40- HT40+ VHT80
  DFS state: usable (for 430 sec)
  DFS CAC time: 60000 ms
* 5280 MHz [56] 
  Maximum TX power: 20.0 dBm
  Radar detection
  Channel widths: 20MHz HT40- HT40+ VHT80
  DFS state: usable (for 430 sec)
  DFS CAC time: 60000 ms
* 5300 MHz [60] 
  Maximum TX power: 20.0 dBm
  Radar detection
  Channel widths: 20MHz HT40- HT40+ VHT80
  DFS state: usable (for 430 sec)
  DFS CAC time: 60000 ms
* 5320 MHz [64] 
  Maximum TX power: 20.0 dBm
  Radar detection
  Channel widths: 20MHz HT40- VHT80
  DFS state: usable (for 430 sec)
  DFS CAC time: 60000 ms
* 5500 MHz [100] 
  Maximum TX power: 20.0 dBm
  Radar detection
  Channel widths: 20MHz HT40+ VHT80
  DFS state: usable (for 430 sec)
  DFS CAC time: 60000 ms
* 5520 MHz [104] 
  Maximum TX power: 20.0 dBm
  Radar detection
  Channel widths: 20MHz HT40- HT40+ VHT80
  DFS state: usable (for 430 sec)
  DFS CAC time: 60000 ms
* 5540 MHz [108] 
  Maximum TX power: 20.0 dBm
  Radar detection
  Channel widths: 20MHz HT40- HT40+ VHT80
  DFS state: usable (for 430 sec)
  DFS CAC time: 60000 ms
* 5560 MHz [112] 
  Maximum TX power: 20.0 dBm
  Radar detection
  Channel widths: 20MHz HT40- HT40+ VHT80
  DFS state: usable (for 430 sec)
  DFS CAC time: 60000 ms
* 5580 MHz [116] 
  Maximum TX power: 20.0 dBm
  Radar detection
  Channel widths: 20MHz HT40- HT40+ VHT80
  DFS state: usable (for 430 sec)
  DFS CAC time: 60000 ms
* 5600 MHz [120] 
  Maximum TX power: 20.0 dBm
  Radar detection
  Channel widths: 20MHz HT40- HT40+ VHT80
  DFS state: usable (for 430 sec)
  DFS CAC time: 60000 ms
* 5620 MHz [124] 
  Maximum TX power: 20.0 dBm
  Radar detection
  Channel widths: 20MHz HT40- HT40+ VHT80
  DFS state: usable (for 430 sec)
  DFS CAC time: 60000 ms
* 5640 MHz [128] 
  Maximum TX power: 20.0 dBm
  Radar detection
  Channel widths: 20MHz HT40- HT40+ VHT80
  DFS state: usable (for 430 sec)
  DFS CAC time: 60000 ms
* 5660 MHz [132] 
  Maximum TX power: 20.0 dBm
  Radar detection
  Channel widths: 20MHz HT40- HT40+ VHT80
  DFS state: usable (for 430 sec)
  DFS CAC time: 60000 ms
* 5680 MHz [136] 
  Maximum TX power: 20.0 dBm
  Radar detection
  Channel widths: 20MHz HT40- HT40+ VHT80
  DFS state: usable (for 430 sec)
  DFS CAC time: 60000 ms
* 5700 MHz [140] 
  Maximum TX power: 20.0 dBm
  Radar detection
  Channel widths: 20MHz HT40- HT40+ VHT80
  DFS state: usable (for 430 sec)
  DFS CAC time: 60000 ms
* 5720 MHz [144] 
  Maximum TX power: 20.0 dBm
  Radar detection
  Channel widths: 20MHz HT40- VHT80
  DFS state: usable (for 430 sec)
  DFS CAC time: 60000 ms
* 5745 MHz [149] (disabled)
* 5765 MHz [153] (disabled)
* 5785 MHz [157] (disabled)
* 5805 MHz [161] (disabled)
* 5825 MHz [165] (disabled)

nvram show | egrep "ccode|regrev"

regrev=14
0:ccode=Q2
0:regrev=86
2:ccode=Q2
2:regrev=86
1:regrev=86
ccode=US
1:ccode=Q2

iw dev wlan2 info

Interface wlan2
	ifindex 8
	wdev 0x200000001
	addr e8:fc:af:fa:e5:3b
	type managed
	wiphy 2
	channel 36 (5180 MHz), width: 20 MHz, center1: 5180 MHz

radio2 config

config wifi-device 'radio2'       
        option type 'mac80211'                                                  
        option hwmode '11a'       
        option path '18000000.axi/bcma0:8/pci0001:00/0001:00:00.0/0001:01:00.0/0
        option htmode 'HT20'                                                    
        option country 'US'       
        option channel '64'        
                                                                                
config wifi-iface 'default_radio2'
        option device 'radio2'    
        option network 'lan'                                                    
        option mode 'ap'          
        option ssid 'R8000_5GHz DFS'
        option encryption 'psk2'                                                
        option key '12345'

The second one - If i enable Hide SSID (in any radio) Ssid still appears

Where? From the output of "iw dev wlan2 info" it seems you have it working.

I didn't test it for some time, maybe it stopped working. I have to try it.

If you notice, the radio2 config is completely different :disappointed:

Anyone know how to solve these problems?

I've met the same problem . hope someone can help.

iw list | grep dBm