Mode be channel with 160

i got this error: now wanna DFS to start. openwrt version latest from trunk
kmod ath12k - WLE7002E56 - card

wlp7s0: DFS-CAC-START freq=5540 chan=108 sec_chan=1, width=2, seg0=114, seg1=0, cac_time=600s
nl80211: Start radar detection (CAC) 5540 MHz (ht_enabled=1, vht_enabled=1, he_enabled=1, bandwidth=160 MHz, cf1=5570 MHz, cf2=0 MHz)
  * freq=5540
  * eht_enabled=1
  * he_enabled=1
  * vht_enabled=1
  * ht_enabled=1
  * radar_background=0
  * bandwidth=160
  * channel_width=5
  * center_freq1=5570
  * center_freq2=0
nl80211: kernel reports: (extension) channel is disabled
nl80211: Failed to start radar detection: -22 (Invalid argument)

We are going to need way more information to help you. What device is this? How is it configured?

That is radar in 5ghz channel 100

ok, whicih exactly one?:

here is logread: with some details of kernel and hostapd.

Thu Mar 27 14:43:20 2025 daemon.notice netifd: radio0 (5110): WARNING: Variable 'data' does not exist or is not an array/object
Thu Mar 27 14:43:20 2025 daemon.notice hostapd: Set new config for phy phy0:
Thu Mar 27 14:43:20 2025 daemon.notice wpa_supplicant[2291]: Set new config for phy phy0
Thu Mar 27 14:43:20 2025 daemon.notice wpa_supplicant[2291]: Set new config for phy phy0
Thu Mar 27 14:43:20 2025 daemon.notice hostapd: Set new config for phy phy0: /var/run/hostapd-phy0.conf
Thu Mar 27 14:43:20 2025 daemon.notice hostapd: Restart interface for phy phy0
Thu Mar 27 14:43:20 2025 daemon.notice hostapd: Configuration file: data: driver=nl80211 logger_syslog=127 logger_syslog_level=2 logger_stdout=127 logger_stdout_level=2 country_code=GB ieee80211d=1 ieee80211h=1 hw_mode=a beacon_int=100 stationary_ap=1 chanlist=36 tx_queue_data2_burst=2.0 #num_global_macaddr=1 #macaddr_base= ieee80211n=1 ht_coex=0 ht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][MAX-AMSDU-7935][DSSS_CCK-40] ieee80211ac=1 vht_oper_chwidth=2 vht_oper_centr_freq_seg0_idx=50 vht_capab=[RXLDPC][SHORT-GI-80][TX-STBC-2BY1][SU-BEAMFORMER][SU-BEAMFORMEE][MU-BEAMFORMER][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC-1][SOUNDING-DIMENSION-2][BF-ANTENNA-4][MAX-MPDU-11454][MAX-A-MPDU-LEN-EXP7] ieee80211ax=1 he_oper_chwidth=2 he_oper_centr_freq_seg0_idx=50 he_su_beamformer=1 he_su_beamformee=1 he_mu_beamformer=1 he_bss_color=128 he_spr_sr_control=3 he_default_pe_duration=4 he_rts_threshold=1023 he_mu_edca_qos_info_param_count=0 he_mu_edca_qos_info_q_ack=0 he_mu_edca_qos_info_queue_request=0 he_mu_edca_qos
Thu Mar 27 14:43:20 2025 kern.info kernel: [  132.956847] br-lan: port 2(phy0-ap0) entered blocking state
Thu Mar 27 14:43:20 2025 kern.info kernel: [  132.962513] br-lan: port 2(phy0-ap0) entered disabled state
Thu Mar 27 14:43:20 2025 kern.info kernel: [  132.968174] ath12k_pci 0000:07:00.0 phy0-ap0: entered allmulticast mode
Thu Mar 27 14:43:20 2025 kern.info kernel: [  132.974939] ath12k_pci 0000:07:00.0 phy0-ap0: entered promiscuous mode
Thu Mar 27 14:43:20 2025 daemon.notice hostapd: phy0-ap0: interface state UNINITIALIZED->COUNTRY_UPDATE
Thu Mar 27 14:43:20 2025 daemon.notice hostapd: phy0-ap0: interface state COUNTRY_UPDATE->HT_SCAN
Thu Mar 27 14:43:20 2025 daemon.notice netifd: Wireless device 'radio0' is now up
Thu Mar 27 14:43:20 2025 daemon.notice hostapd: phy0-ap0: interface state HT_SCAN->DFS
Thu Mar 27 14:43:20 2025 daemon.notice hostapd: phy0-ap0: DFS-CAC-START freq=5180 chan=36 sec_chan=1, width=2, seg0=50, seg1=0, cac_time=60s
Thu Mar 27 14:43:20 2025 daemon.err hostapd: phy0-ap0: nl80211: kernel reports: (extension) channel is disabled
Thu Mar 27 14:43:20 2025 daemon.err hostapd: DFS start_dfs_cac() failed, -1
Thu Mar 27 14:43:20 2025 daemon.err hostapd: Interface initialization failed
Thu Mar 27 14:43:20 2025 daemon.notice hostapd: phy0-ap0: interface state DFS->DISABLED
Thu Mar 27 14:43:20 2025 daemon.notice hostapd: phy0-ap0: AP-DISABLED
Thu Mar 27 14:43:22 2025 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Thu Mar 27 14:43:22 2025 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 4 names
Thu Mar 27 14:43:22 2025 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses

hostapd:

cat /var/run/hostapd-phy0.conf
driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
country_code=GB
ieee80211d=1
ieee80211h=1
hw_mode=a
beacon_int=100
stationary_ap=1
channel=36
chanlist=36

tx_queue_data2_burst=2.0

#num_global_macaddr=1
#macaddr_base=
ieee80211n=1
ht_coex=0
ht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][MAX-AMSDU-7935][DSSS_CCK-40]
ieee80211ac=1
vht_oper_chwidth=2
vht_oper_centr_freq_seg0_idx=50
vht_capab=[RXLDPC][SHORT-GI-80][TX-STBC-2BY1][SU-BEAMFORMER][SU-BEAMFORMEE][MU-BEAMFORMER][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC-1][SOUNDING-DIMENSION-2][BF-ANTENNA-4][MAX-MPDU-11454][MAX-A-MPDU-LEN-EXP7]
ieee80211ax=1
he_oper_chwidth=2
he_oper_centr_freq_seg0_idx=50
he_su_beamformer=1
he_su_beamformee=1
he_mu_beamformer=1
he_bss_color=128
he_spr_sr_control=3
he_default_pe_duration=4
he_rts_threshold=1023
he_mu_edca_qos_info_param_count=0
he_mu_edca_qos_info_q_ack=0
he_mu_edca_qos_info_queue_request=0
he_mu_edca_qos_info_txop_request=0
he_mu_edca_ac_be_aifsn=8
he_mu_edca_ac_be_aci=0
he_mu_edca_ac_be_ecwmin=9
he_mu_edca_ac_be_ecwmax=10
he_mu_edca_ac_be_timer=255
he_mu_edca_ac_bk_aifsn=15
he_mu_edca_ac_bk_aci=1
he_mu_edca_ac_bk_ecwmin=9
he_mu_edca_ac_bk_ecwmax=10
he_mu_edca_ac_bk_timer=255
he_mu_edca_ac_vi_ecwmin=5
he_mu_edca_ac_vi_ecwmax=7
he_mu_edca_ac_vi_aifsn=5
he_mu_edca_ac_vi_aci=2
he_mu_edca_ac_vi_timer=255
he_mu_edca_ac_vo_aifsn=5
he_mu_edca_ac_vo_aci=3
he_mu_edca_ac_vo_ecwmin=5
he_mu_edca_ac_vo_ecwmax=7
he_mu_edca_ac_vo_timer=255
ieee80211be=1
eht_oper_chwidth=2
eht_oper_centr_freq_seg0_idx=50

interface=phy0-ap0
ctrl_interface=/var/run/hostapd
ap_isolate=1
bss_load_update_period=60
chan_util_avg_period=600
disassoc_low_ack=1
skip_inactivity_poll=0
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
utf8_ssid=1
multi_ap=0
wpa_passphrase=something
wpa_psk_file=/var/run/hostapd-phy0-ap0.psk
auth_algs=1
wpa=2
wpa_pairwise=CCMP
ssid=5G
bridge=br-lan
wds_bridge=
snoop_iface=br-lan
wpa_disable_eapol_key_retries=0
wpa_key_mgmt=WPA-PSK
okc=0
disable_pmksa_caching=1
dynamic_vlan=0
vlan_naming=1
vlan_no_bridge=1
vlan_file=/var/run/hostapd-phy0-ap0.vlan
qos_map_set=0,0,2,16,1,1,255,255,18,22,24,38,40,40,44,46,48,56
bssid=something
#default_macaddr


		Frequencies:
			* 5180.0 MHz [36] (23.0 dBm)
			* 5200.0 MHz [40] (23.0 dBm)
			* 5220.0 MHz [44] (23.0 dBm)
			* 5240.0 MHz [48] (23.0 dBm)
			* 5260.0 MHz [52] (23.0 dBm) (radar detection)
			* 5280.0 MHz [56] (23.0 dBm) (radar detection)
			* 5300.0 MHz [60] (23.0 dBm) (radar detection)
			* 5320.0 MHz [64] (23.0 dBm) (radar detection)
			* 5500.0 MHz [100] (24.0 dBm) (radar detection)
			* 5520.0 MHz [104] (24.0 dBm) (radar detection)
			* 5540.0 MHz [108] (24.0 dBm) (radar detection)
			* 5560.0 MHz [112] (24.0 dBm) (radar detection)
			* 5580.0 MHz [116] (24.0 dBm) (radar detection)
			* 5600.0 MHz [120] (24.0 dBm) (radar detection)
			* 5620.0 MHz [124] (24.0 dBm) (radar detection)
			* 5640.0 MHz [128] (24.0 dBm) (radar detection)
			* 5660.0 MHz [132] (24.0 dBm) (radar detection)
			* 5680.0 MHz [136] (24.0 dBm) (radar detection)
			* 5700.0 MHz [140] (24.0 dBm) (radar detection)
			* 5720.0 MHz [144] (disabled)
			* 5745.0 MHz [149] (disabled)
			* 5765.0 MHz [153] (disabled)
			* 5785.0 MHz [157] (disabled)
			* 5805.0 MHz [161] (disabled)
			* 5825.0 MHz [165] (disabled)
			* 5845.0 MHz [169] (disabled)
			* 5865.0 MHz [173] (disabled)
	Supported commands:

at the end i added more logging and i got this:

so card is wifi7 be 160MHZ attempt:

is it wrong board-2.bin / firmware or ath10k driver issue that channel is not supported, and copex wendor say it is!!!

[Fri Mar 28 11:36:04 2025] br-lan: port 7(wlp7s0) entered disabled state
[Fri Mar 28 11:36:20 2025] wlp7s0: start-radar-detection, starting dfs-cac-timer-work.
[Fri Mar 28 11:36:52 2025] br-lan: port 7(wlp7s0) entered disabled state
[Fri Mar 28 11:37:54 2025] chandef-usable, ch-160 not supported, ext-nss-bw issue
[Fri Mar 28 11:37:54 2025] br-lan: port 7(wlp7s0) entered disabled state

Likely wrong operating system.
Please post output of

ubus call system board

here:

found discrepancy:

 iw reg get
global
country TW: DFS-FCC
	(2400 - 2483 @ 40), (N/A, 30), (N/A)
	(5150 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
	(5250 - 5350 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
	(5470 - 5730 @ 160), (N/A, 23), (0 ms), DFS
	(5725 - 5850 @ 80), (N/A, 30), (N/A)
	(5945 - 6425 @ 320), (N/A, 23), (N/A), NO-OUTDOOR
	(57000 - 66000 @ 2160), (N/A, 40), (N/A)

phy#1 (self-managed)
country TW: DFS-FCC
	(2402 - 2472 @ 40), (6, 30), (N/A)
	(5170 - 5250 @ 80), (6, 24), (N/A), AUTO-BW
	(5250 - 5330 @ 80), (6, 24), (0 ms), DFS, AUTO-BW
	(5490 - 5730 @ 240), (6, 24), (0 ms), DFS, AUTO-BW
	(5735 - 5835 @ 80), (6, 30), (N/A), AUTO-BW
	(5945 - 6425 @ 320), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW

phy#0 (self-managed)
country TW: DFS-FCC
	(2402 - 2472 @ 40), (6, 30), (N/A)
	(5170 - 5250 @ 80), (6, 24), (N/A), AUTO-BW
	(5250 - 5330 @ 80), (6, 24), (0 ms), DFS, AUTO-BW
	(5490 - 5730 @ 240), (6, 24), (0 ms), DFS, AUTO-BW
	(5735 - 5835 @ 80), (6, 30), (N/A), AUTO-BW
	(5945 - 6425 @ 320), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW

hostapd:

BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Previous country code TW, new country code TW 
nl80211: Regulatory information - country=TW (DFS-FCC)
nl80211: 2402-2472 @ 40 MHz 30 mBm
nl80211: 5170-5250 @ 80 MHz 24 mBm
nl80211: 5250-5330 @ 80 MHz 24 mBm (DFS)
nl80211: 5490-5730 @ 240 MHz 24 mBm (DFS)
nl80211: 5735-5835 @ 80 MHz 30 mBm
nl80211: 5945-6425 @ 320 MHz 23 mBm (no outdoor)
nl80211: Mode IEEE 802.11a: 5180 5200 5220 5240 5260[RADAR] 5280[RADAR] 5300[RADAR] 5320[RADAR] 5500[RADAR] 5520[RADAR] 5540[RADAR] 5560[RADAR] 5580[RADAR] 5600[RADAR] 5620[RADAR] 5640[RADAR] 5660[RADAR] 5680[RADAR] 5700[RADAR] 5720[RADAR] 5745 5765 5785 5805 5825 5845[DISABLED] 5865[DISABLED]
Allowed channel: mode=2 chan=36 freq=5180 MHz max_tx_power=24 dBm
Allowed channel: mode=2 chan=40 freq=5200 MHz max_tx_power=24 dBm
Allowed channel: mode=2 chan=44 freq=5220 MHz max_tx_power=24 dBm
Allowed channel: mode=2 chan=48 freq=5240 MHz max_tx_power=24 dBm
Allowed channel: mode=2 chan=52 freq=5260 MHz max_tx_power=24 dBm (DFS state = usable)
Allowed channel: mode=2 chan=56 freq=5280 MHz max_tx_power=24 dBm (DFS state = usable)
Allowed channel: mode=2 chan=60 freq=5300 MHz max_tx_power=24 dBm (DFS state = usable)
Allowed channel: mode=2 chan=64 freq=5320 MHz max_tx_power=24 dBm (DFS state = usable)
Allowed channel: mode=2 chan=100 freq=5500 MHz max_tx_power=24 dBm (DFS state = usable)
Allowed channel: mode=2 chan=104 freq=5520 MHz max_tx_power=24 dBm (DFS state = usable)
Allowed channel: mode=2 chan=108 freq=5540 MHz max_tx_power=24 dBm (DFS state = usable)
Allowed channel: mode=2 chan=112 freq=5560 MHz max_tx_power=24 dBm (DFS state = usable)
Allowed channel: mode=2 chan=116 freq=5580 MHz max_tx_power=24 dBm (DFS state = usable)
Allowed channel: mode=2 chan=120 freq=5600 MHz max_tx_power=24 dBm (DFS state = usable)
Allowed channel: mode=2 chan=124 freq=5620 MHz max_tx_power=24 dBm (DFS state = usable)
Allowed channel: mode=2 chan=128 freq=5640 MHz max_tx_power=24 dBm (DFS state = usable)
Allowed channel: mode=2 chan=132 freq=5660 MHz max_tx_power=24 dBm (DFS state = usable)
Allowed channel: mode=2 chan=136 freq=5680 MHz max_tx_power=24 dBm (DFS state = usable)
Allowed channel: mode=2 chan=140 freq=5700 MHz max_tx_power=24 dBm (DFS state = usable)
Allowed channel: mode=2 chan=144 freq=5720 MHz max_tx_power=24 dBm (DFS state = usable)
Allowed channel: mode=2 chan=149 freq=5745 MHz max_tx_power=30 dBm
Allowed channel: mode=2 chan=153 freq=5765 MHz max_tx_power=30 dBm
Allowed channel: mode=2 chan=157 freq=5785 MHz max_tx_power=30 dBm
Allowed channel: mode=2 chan=161 freq=5805 MHz max_tx_power=30 dBm
Allowed channel: mode=2 chan=165 freq=5825 MHz max_tx_power=30 dBm
ACS: Automatic channel selection started, this may take a bit
ACS: Scanning 1 / 5
wlan0: nl80211: scan request

region seems ok
and finally: after selecting frequency, there is no 160MHZ channel available.. why?

ACS: Survey analysis for selected bandwidth 160 MHz
ACS: promoting channel 64 over 36 (less interference 0.0255034/1.11698e-19)
ACS:  * channel 64: total interference = 0.00937037
ACS: Channel 40: not allowed as primary channel for 40 MHz bandwidth
ACS: Channel 44: not allowed as primary channel for 160 MHz bandwidth
ACS: Channel 48: not allowed as primary channel for 40 MHz bandwidth
ACS: Channel 52: not allowed as primary channel for 160 MHz bandwidth
ACS: Channel 56: not allowed as primary channel for 40 MHz bandwidth
ACS: Channel 60: not allowed as primary channel for 160 MHz bandwidth
ACS: Channel 64: not allowed as primary channel for 40 MHz bandwidth
ACS: promoting channel 124 over 100 (less interference 0.0267383/1.35094e-19)
ACS:  * channel 124: total interference = 0.00787029
ACS: Channel 104: not allowed as primary channel for 40 MHz bandwidth
ACS: Channel 108: not allowed as primary channel for 160 MHz bandwidth
ACS: Channel 112: not allowed as primary channel for 40 MHz bandwidth
ACS: Channel 116: not allowed as primary channel for 160 MHz bandwidth
ACS: Channel 120: not allowed as primary channel for 40 MHz bandwidth
ACS: Channel 124: not allowed as primary channel for 160 MHz bandwidth
ACS: Channel 128: not allowed as primary channel for 40 MHz bandwidth
ACS: Channel 132: not allowed as primary channel for 160 MHz bandwidth
ACS: Channel 136: not allowed as primary channel for 40 MHz bandwidth
ACS: Channel 140: not allowed as primary channel for 160 MHz bandwidth
ACS: Channel 144: not allowed as primary channel for 40 MHz bandwidth
ACS: Channel 149: BW 160 is not supported
ACS: Channel 153: BW 160 is not supported
ACS: Channel 157: BW 160 is not supported
ACS: Channel 161: BW 160 is not supported
ACS: Channel 165: BW 160 is not supported
ACS: Ideal channel is 124 (5620 MHz) with total interference factor of 0.00787029
ACS: Adjusting HT/VHT/HE/EHT secondary frequency
ACS: Adjusting center frequency
wlan0: ACS-COMPLETED freq=5620 channel=124
Disable HT capability [DSSS_CCK-40] on 5 GHz band
hw vht capab: 0x3389f9b2, conf vht capab: 0x338979b2
wlan0: interface state ACS->HT_SCAN
Scan for neighboring BSSes prior to enabling 40 MHz channel
40 MHz affected channel range: [5610,5650] MHz
wlan0: nl80211: scan request
nl80211: Passive scan requested
nl80211: Scan frequency 5620 MHz
nl80211: Scan frequency 5640 MHz
Scan requested (ret=0) - scan timeout 30 seconds
Interface initialization will be completed in a callback
nl80211: Event message available
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
wlan0: nl80211: Scan trigger
wlan0: Event SCAN_STARTED (47) received
Unknown event 47
RTM_NEWLINK: ifi_index=10 ifname=wlp7s0 wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Event message available
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0
wlan0: nl80211: New scan results available
nl80211: Scan included frequencies: 5620 5640
wlan0: Event SCAN_RESULTS (3) received
nl80211: Received scan results (4 BSSes)
HT40: control channel: 124 (5620 MHz), secondary channel: 128 (5640 MHz)
Completing interface initialization
Mode: IEEE 802.11a  Channel: 124  Frequency: 5620 MHz
DFS 8 channels required radar detection
DFS all channels available, (SKIP CAC): no
DFS 0 chans unavailable - choose other channel: no
wlan0: interface state HT_SCAN->DFS
DFS start CAC on 5620 MHz
wlan0: DFS-CAC-START freq=5620 chan=124 sec_chan=1, width=2, seg0=114, seg1=0, cac_time=60s
nl80211: Start radar detection (CAC) 5620 MHz (ht_enabled=1, vht_enabled=1, he_enabled=1, bandwidth=160 MHz, cf1=5570 MHz, cf2=0 MHz)
  * freq=5620
  * eht_enabled=1
  * he_enabled=1
  * vht_enabled=1
  * ht_enabled=1
  * radar_background=0
  * bandwidth=160
  * channel_width=5
  * center_freq1=5570
  * center_freq2=0
nl80211: kernel reports: (extension) channel is disabled
nl80211: Failed to start radar detection: -22 (Invalid argument)
DFS start_dfs_cac() failed, -1
Interface initialization failed
wlan0: interface state DFS->DISABLED

[21637.014467] cfg80211: update-regulatory, ignore-reg-update is set, initiator: 1  flags: 0x94
[21659.741965] br-lan: port 7(wlan0) entered disabled state
[21681.201795] chandef-usable, ch-160 not supported, ext-nss-bw issue

Provide system board info?

root@OpenWrt:~# uci show board
uci: Entry not found
root@OpenWrt:~# ubus call system board
{
"kernel": "6.6.83",
"hostname": "OpenWrt",
"system": "Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz",
"model": "Default string Default string",
"board_name": "default-string-default-string",
"rootfs_type": "ext4",
"release": {
"distribution": "OpenWrt",
"version": "SNAPSHOT",
"firmware_url": "https://downloads.openwrt.org/",
"revision": "r29079-293d5f1366",
"target": "x86/64",
"description": "OpenWrt SNAPSHOT r29079-293d5f1366",
"builddate": "1742838224"
}
}
root@OpenWrt:~#

ath12k us flaky, examine iw list whether it claims to support 160 wide dfs scan

it seems it is hardware issue:

Why You Can't Use 160MHz

  1. VHT Channel Width Restriction (Fatal)

Explicit statement: Supported Channel Width: neither 160 nor 80+80

Impact: Hardware physically cannot bond channels beyond 80MHz

  1. Extended NSS Missing (Secondary Issue)

VHT extended NSS: not supported

Required for 160MHz spatial stream operation in 802.11ax

  1. Stream Limitations

Only 1-2 spatial streams supported (inadequate for wide channels)

No support for RU puncturing (required in DFS regions)

Please stop, persistent lies will not bring support to YOUR frankenstein mashup driver.

there is no intent from me for lie.
board-2.bin is given from Compex via seller of the wifi module.

If any of you know that i'm mistaking about 160MHZ for this card on ac/ax/be 2x2 spatial stream, please say so and prove it. i would be more then happy to be wrong. Otherwise i will return this card back.

For me is the learning curve, and please include your knowledge and experience to help others, like i'm doing for community. back.. Giving them my test results and reasoning to them.

Sorry for any misunderstanding.
Kind Regards,