Few days latter, the question still stands: Why DFS channels are not cleared for use?
- Country is set to US
iw reg get
global
country US: DFS-FCC
(902 - 904 @ 2), (N/A, 30), (N/A)
(904 - 920 @ 16), (N/A, 30), (N/A)
(920 - 928 @ 8), (N/A, 30), (N/A)
(2400 - 2472 @ 40), (N/A, 30), (N/A)
(5150 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
(5250 - 5350 @ 80), (N/A, 24), (0 ms), DFS, AUTO-BW
(5470 - 5730 @ 160), (N/A, 24), (0 ms), DFS
(5730 - 5850 @ 80), (N/A, 30), (N/A), AUTO-BW
(5850 - 5895 @ 40), (N/A, 27), (N/A), NO-OUTDOOR, AUTO-BW, PASSIVE-SCAN
(5925 - 7125 @ 320), (N/A, 12), (N/A), NO-OUTDOOR, PASSIVE-SCAN
(57240 - 71000 @ 2160), (N/A, 40), (N/A)
phy#2
country 99: DFS-UNSET
(2402 - 2482 @ 40), (6, 20), (N/A)
(2474 - 2494 @ 20), (6, 20), (N/A)
(5140 - 5360 @ 160), (6, 20), (N/A)
(5460 - 5860 @ 160), (6, 20), (N/A)
phy#1
country 99: DFS-UNSET
(2402 - 2482 @ 40), (6, 20), (N/A)
(2474 - 2494 @ 20), (6, 20), (N/A)
(5140 - 5360 @ 160), (6, 20), (N/A)
(5460 - 5860 @ 160), (6, 20), (N/A)
phy#0
country 99: DFS-UNSET
(2402 - 2482 @ 40), (6, 20), (N/A)
(2474 - 2494 @ 20), (6, 20), (N/A)
(5140 - 5360 @ 160), (6, 20), (N/A)
(5460 - 5860 @ 160), (6, 20), (N/A)
- No mentions of radar detection in the log
- iw list shows [ DFS_OFFLOAD ]: DFS offload. In my understanding, with this feature kernel takes control over DFS channels availability regardless of the userspace
- DFS channels are available for selection, but AP won't come up:
* 5170 MHz [34] (disabled)
* 5180 MHz [36] (20.0 dBm)
* 5190 MHz [38] (20.0 dBm)
* 5200 MHz [40] (20.0 dBm)
* 5210 MHz [42] (20.0 dBm)
* 5220 MHz [44] (20.0 dBm)
* 5230 MHz [46] (20.0 dBm)
* 5240 MHz [48] (20.0 dBm)
* 5260 MHz [52] (20.0 dBm) (radar detection)
* 5280 MHz [56] (20.0 dBm) (radar detection)
* 5300 MHz [60] (20.0 dBm) (radar detection)
* 5320 MHz [64] (20.0 dBm) (radar detection)
* 5500 MHz [100] (20.0 dBm) (radar detection)
* 5520 MHz [104] (20.0 dBm) (radar detection)
* 5540 MHz [108] (20.0 dBm) (radar detection)
* 5560 MHz [112] (20.0 dBm) (radar detection)
* 5580 MHz [116] (20.0 dBm) (radar detection)
* 5600 MHz [120] (20.0 dBm) (radar detection)
* 5620 MHz [124] (20.0 dBm) (radar detection)
* 5640 MHz [128] (20.0 dBm) (radar detection)
* 5660 MHz [132] (20.0 dBm) (radar detection)
* 5680 MHz [136] (20.0 dBm) (radar detection)
* 5700 MHz [140] (20.0 dBm) (radar detection)
* 5720 MHz [144] (20.0 dBm) (radar detection)
* 5745 MHz [149] (disabled)
* 5765 MHz [153] (disabled)
* 5785 MHz [157] (disabled)
* 5805 MHz [161] (disabled)
* 5825 MHz [165] (disabled)
Mon Sep 19 12:39:31 2022 daemon.notice netifd: Wireless device 'radio2' is now down
Mon Sep 19 12:39:32 2022 daemon.notice netifd: radio2 (4664): command failed: No error information (-524)
Mon Sep 19 12:39:32 2022 daemon.notice netifd: radio2 (4664): command failed: I/O error (-5)
Mon Sep 19 12:39:33 2022 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy2.conf (phy wlan2) --> new PHY
Mon Sep 19 12:39:33 2022 kern.info kernel: [22435.648219] br-lan: port 7(wlan2) entered blocking state
Mon Sep 19 12:39:33 2022 kern.info kernel: [22435.653560] br-lan: port 7(wlan2) entered disabled state
Mon Sep 19 12:39:33 2022 daemon.notice hostapd: wlan2: interface state UNINITIALIZED->COUNTRY_UPDATE
Mon Sep 19 12:39:33 2022 kern.info kernel: [22435.659359] device wlan2 entered promiscuous mode
Mon Sep 19 12:39:33 2022 daemon.notice hostapd: wlan2: interface state COUNTRY_UPDATE->HT_SCAN
Mon Sep 19 12:39:34 2022 daemon.notice netifd: Wireless device 'radio2' is now up
Mon Sep 19 12:39:34 2022 kern.err kernel: [22436.890616] ieee80211 phy2: brcmf_cfg80211_start_ap: Set Channel failed: chspec=58218, -52
Mon Sep 19 12:39:40 2022 kern.err kernel: [22442.890461] ieee80211 phy2: brcmf_cfg80211_start_ap: Set Channel failed: chspec=58218, -52
...
Routers have been on for a while - no change whatsoever.
Questions:
- Is there any kind of command that could be send to the kernel to force radar scan in order to hopefully clear the channels?
- Is there an option to disable DFS_OFFLOAD so that DFS would be handled at the user space (assuming OpenWRT supports that) ?
- Kernel patching maybe?
Thanks!