Hi Felix,

DFS on the Xiaomi Mi WiFi R3G (MT7612EN) stops working after about 1 day for me with current OpenWrt master (r15718).

I think it worked well with OpenWrt from beginning of December with mac80211 5.10.

I see this in the log:
----------------
Wed Feb 10 16:54:29 2021 daemon.notice hostapd: wlan1: DFS-RADAR-DETECTED freq=5580 ht_enabled=0 chan_offset=0 chan_width=3 cf1=5610 cf2=0 Wed Feb 10 16:54:29 2021 daemon.notice hostapd: dfs_downgrade_bandwidth: no DFS channels left, waiting for NOP to finish
Wed Feb 10 16:54:29 2021 daemon.notice hostapd: wlan1: AP-DISABLED
Wed Feb 10 16:54:29 2021 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED b2:03:8c:14:b2:26 Wed Feb 10 16:54:29 2021 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED 04:ed:33:d2:3f:e8 Wed Feb 10 16:54:29 2021 daemon.err hostapd: 20/40 MHz: center segment 0 (=122) and center freq 1 (=5590) not in sync Wed Feb 10 16:54:29 2021 daemon.notice hostapd: nl80211: deinit ifname=wlan1 disabled_11b_rates=0 Wed Feb 10 16:54:29 2021 kern.info kernel: [145806.582851] device wlan1 left promiscuous mode Wed Feb 10 16:54:29 2021 kern.info kernel: [145806.587707] br-lan: port 4(wlan1) entered disabled state Wed Feb 10 16:54:29 2021 daemon.notice netifd: Network device 'wlan1' link is down Wed Feb 10 16:54:29 2021 daemon.notice hostapd: wlan1: interface state ENABLED->DISABLED Wed Feb 10 16:54:29 2021 daemon.debug dnsmasq[4383]: stopped listening on wlan1(#15): fe80::4231:3cff:fe02:8fba%wlan1 port 53 Wed Feb 10 16:54:29 2021 kern.info kernel: [145806.659862] br-lan: port 4(wlan1) entered blocking state Wed Feb 10 16:54:29 2021 kern.info kernel: [145806.665285] br-lan: port 4(wlan1) entered disabled state Wed Feb 10 16:54:29 2021 kern.info kernel: [145806.671295] device wlan1 entered promiscuous mode Wed Feb 10 16:54:29 2021 daemon.notice hostapd: wlan1: interface state DISABLED->COUNTRY_UPDATE Wed Feb 10 16:54:29 2021 daemon.notice hostapd: wlan1: interface state COUNTRY_UPDATE->HT_SCAN
Wed Feb 10 16:54:30 2021 daemon.err hostapd: could not get valid channel
Wed Feb 10 16:54:30 2021 daemon.notice hostapd: wlan1: interface state HT_SCAN->DFS
........
Wed Feb 10 17:24:48 2021 daemon.notice hostapd: wlan1: DFS-NOP-FINISHED freq=5580 ht_enabled=0 chan_offset=0 chan_width=0 cf1=5580 cf2=0
Wed Feb 10 17:24:48 2021 daemon.err hostapd: could not get valid channel
Wed Feb 10 17:24:48 2021 daemon.notice hostapd: wlan1: interface state DFS->DFS Wed Feb 10 17:24:48 2021 daemon.notice hostapd: wlan1: DFS-NOP-FINISHED freq=5600 ht_enabled=0 chan_offset=0 chan_width=0 cf1=5600 cf2=0 Wed Feb 10 17:24:48 2021 daemon.notice hostapd: wlan1: interface state DFS->DFS Wed Feb 10 17:24:48 2021 daemon.notice hostapd: wlan1: DFS-CAC-START freq=5580 chan=116 sec_chan=1, width=0, seg0=122, seg1=0, cac_time=60s Wed Feb 10 17:24:48 2021 daemon.err hostapd: 20/40 MHz: center segment 0 (=122) and center freq 1 (=5590) not in sync
Wed Feb 10 17:24:48 2021 daemon.err hostapd: Can't set freq params
Wed Feb 10 17:24:48 2021 daemon.err hostapd: DFS start_dfs_cac() failed, -1
Wed Feb 10 17:24:48 2021 daemon.notice hostapd: wlan1: DFS-NOP-FINISHED freq=5620 ht_enabled=0 chan_offset=0 chan_width=0 cf1=5620 cf2=0 Wed Feb 10 17:24:48 2021 daemon.notice hostapd: wlan1: interface state DFS->DFS Wed Feb 10 17:24:48 2021 daemon.notice hostapd: wlan1: DFS-CAC-START freq=5580 chan=116 sec_chan=1, width=0, seg0=122, seg1=0, cac_time=60s Wed Feb 10 17:24:48 2021 daemon.err hostapd: 20/40 MHz: center segment 0 (=122) and center freq 1 (=5590) not in sync
Wed Feb 10 17:24:48 2021 daemon.err hostapd: Can't set freq params
Wed Feb 10 17:24:48 2021 daemon.err hostapd: DFS start_dfs_cac() failed, -1
Wed Feb 10 17:24:48 2021 daemon.notice hostapd: wlan1: DFS-NOP-FINISHED freq=5640 ht_enabled=0 chan_offset=0 chan_width=0 cf1=5640 cf2=0 Wed Feb 10 17:24:48 2021 daemon.notice hostapd: wlan1: interface state DFS->DFS Wed Feb 10 17:24:48 2021 daemon.notice hostapd: wlan1: DFS-CAC-START freq=5580 chan=116 sec_chan=1, width=0, seg0=122, seg1=0, cac_time=60s Wed Feb 10 17:24:48 2021 daemon.err hostapd: 20/40 MHz: center segment 0 (=122) and center freq 1 (=5590) not in sync
Wed Feb 10 17:24:48 2021 daemon.err hostapd: Can't set freq params
Wed Feb 10 17:24:48 2021 daemon.err hostapd: DFS start_dfs_cac() failed, -1
--------------
You can find more logs here:
https://www.hauke-m.de/files/logs/2021-02-12-wlan1.txt

Hauke

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to