R7800 160MHz Wireless Interface

Yes. they have the same names that the CT's, but without CT at the end :smiley:
ath10k-firmware-qca9984
kmod-ath10k

we also have to say that 160MHz with standard ath10k drivers is a nonsense, given that it gives no performance gain at all (the exact opposite)

If you use ath10k-ct driver and the regular ath10k firmware files you'll get 160mhz capability because it is correctly defined there.
No idea why but anyway... probably a copy paste error

@pattagghiu @lantis1008 I installed the regular driver, It works with 160MHz but has no performance improvement, it's no nowhere near the speed I use to get on 19.07.7 speeds of ~700mbps.

@greearb are you happy to patch 5.10, 5.11, 5.12 based on the information in this thread please? Or do you need it runtime tested.
If we are quick about it we may be able to fix this for 21.02 release.

1 Like

I added the patch to folder, How do I apply it on R7800?

Now you need to build the firmware.

700 Mbps ?
With a low-end R6220 router used as AP, I have 867 Mbit/s at 80 MHz width. It allows 45 to 50 MB/s when transfering files. You surely can have much better from a R7800.

Interesting, I am really not into compiling firmware. I going to have to wait for the update for R7800 so that I can test speeds.

You can test speed with one of my ath builds if you want to give it a try.

@badulesia - the PHY rate it is reporting will say 866mbps but with a 2x2 client at 80mhz - PHY speed is a theoretical speed and is not achievable in the real world when real world wifi overhead is included. When you test with speedtest, iperf, or similar synthetic bench something in the 500-600 mbps for a 2x2 wifi 5 client is a great result. :sunglasses:

Agreed.
I'm using wifi for LAN file copying. 45 MB/s indeed corresponds to 500-600 Mb/s.

1 Like

That's what I was getting around.

BTW I'm very sceptic when I read router specs such as "wifi ax 3200 Mbps" ...

  1. what real bandwidth do you get ?
  2. even if you can get a very high bandwith (let's say >1000 Mbit/s), the WAN link is still 1000Mbit/s.
  3. what purpose need so much bandwith ? If I need a high bandwith, I consider relying on wires.

Agreed- Always use wires first. All the router ratings are very misleading. Go with a minimum 4x4 router with a solid CPU (like a r7800). The issue here is that more often than not the client is the weakest link. This thread is getting after the couple of folks that have a laptop with an upgraded wifi card that supports 160mhz and using wifi in the same room as their router (wire is best but is an eyesore when randomly strung across a room :grin:). Wifi 6E will hopefully make 160mhz more mainstream.

This is a great write up that is regularly updated and cuts through a ton of the hype (worth the read): https://www.duckware.com/tech/wifi-in-the-us.html

For comparison against a typical 80Mhz setup - This is what a r7800 looks like with a 2x2 80Mhz client (iPhone 7)ā€¦. Theoretically a 160mhz 2x2 client could have up to double this bandwidth :


ath10k-ct
[SUM]   0.00-30.01  sec  1.53 GBytes   437 Mbits/sec                  receiver
[SUM]   0.00-30.01  sec  1.21 GBytes   347 Mbits/sec  763             sender

ath10k
[SUM]   0.00-30.01  sec  1.60 GBytes   459 Mbits/sec                  receiver
[SUM]   0.00-30.01  sec  1.14 GBytes   326 Mbits/sec  699             sender

ath10k with encap offloading:
[SUM]   0.00-30.01  sec  1.63 GBytes   468 Mbits/sec                  receiver
[SUM]   0.00-30.01  sec  1.50 GBytes   428 Mbits/sec  1717             sender

ath10k NSS + encap offloading
[SUM]   0.00-30.01  sec  1.65 GBytes   473 Mbits/sec                  receiver
[SUM]   0.00-30.01  sec  1.81 GBytes   517 Mbits/sec  784             sender

Here is a speedtest result I found on the forum from a r7800 at 160mhz:

I tested that patch with OpenWrt master r17216-8c2509dc5f, and it seems to help R7800 to start the VHT160 DFS scan start.

When configuring the 5 GHz radio for 160 MHz with channel 36,

  • without the patch I receive failure for DFS scan:
Sun Jul 25 20:58:50 2021 kern.info kernel: [  647.959859] device wlan0 entered promiscuous mode
Sun Jul 25 20:58:51 2021 daemon.err hostapd: DFS start_dfs_cac() failed, -1
Sun Jul 25 20:58:51 2021 daemon.err hostapd: Interface initialization failed
  • with the patch:
Sun Jul 25 22:03:42 2021 kern.info kernel: [  126.482916] device wlan0 entered promiscuous mode
Sun Jul 25 22:04:48 2021 daemon.warn hostapd: Can't set DFS state for freq 5180 MHz
Sun Jul 25 22:04:48 2021 daemon.warn hostapd: Can't set DFS state for freq 5200 MHz
Sun Jul 25 22:04:48 2021 daemon.warn hostapd: Can't set DFS state for freq 5220 MHz
Sun Jul 25 22:04:48 2021 daemon.warn hostapd: Can't set DFS state for freq 5240 MHz
Sun Jul 25 22:04:48 2021 kern.info kernel: [  192.476663] ath10k_pci 0000:01:00.0: mac flush null vif, drop 0 queues 0xffff
Sun Jul 25 22:04:48 2021 kern.info kernel: [  192.512828] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Sun Jul 25 22:04:48 2021 kern.info kernel: [  192.512976] br-lan: port 3(wlan0) entered blocking state
Sun Jul 25 22:04:48 2021 kern.info kernel: [  192.518328] br-lan: port 3(wlan0) entered forwarding state
Sun Jul 25 22:04:48 2021 daemon.notice netifd: Network device 'wlan0' link is up

As the end result, the device seems to start with VHT80, but at least it starts.
(The same with channel 100: clients detect VHT80 radio at 5490-5570)

However, a bit later I received kernel DFS related crashes "cfg80211_radar_event", "cfg80211_propagate_radar_detect_wk" ...:

Sun Jul 25 22:20:15 2021 kern.warn kernel: [ 1119.993604] ------------[ cut here ]------------
Sun Jul 25 22:20:15 2021 kern.warn kernel: [ 1119.999367] WARNING: CPU: 0 PID: 7016 at backports-5.10.42-1/net/wireless/chan.c:423 cfg80211_radar_event+0x2c/0xb4 [cfg80211]
Sun Jul 25 22:20:15 2021 kern.warn kernel: [ 1120.004070] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath wireguard pptp pppox ppp_mppe ppp_generic mac80211 libchacha20poly1305 libblake2s ipt_REJECT curve25519_neon cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_MASQUERADE xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY slhc sch_cake poly1305_arm nf_reject_ipv4 nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_netlink nf_conncount libcurve25519_generic libblake2s_generic iptable_raw iptable_nat iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables crc_ccitt compat chaoskey chacha_neon fuse sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred act_gact ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport
Sun Jul 25 22:20:15 2021 kern.warn kernel: [ 1120.004345]  ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6table_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6t_NPT nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 msdos ip_gre gre ifb ip6_udp_tunnel udp_tunnel sit tunnel4 ip_tunnel tun vfat fat hfsplus cifs nls_utf8 nls_iso8859_15 nls_iso8859_1 nls_cp850 nls_cp437 nls_cp1250 sha512_generic sha1_generic seqiv md5 md4 ghash_generic gf128mul gcm ecb des_generic libdes ctr cmac ccm arc4 usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom ohci_platform ohci_hcd phy_qcom_ipq806x_usb ahci fsl_mph_dr_of ehci_platform ehci_fsl sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 exfat(C) crc32c_generic
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.167332] CPU: 0 PID: 7016 Comm: kworker/0:5 Tainted: G         C        5.4.134 #0
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.189458] Hardware name: Generic DT based system
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.197318] Workqueue: events ieee80211_dfs_radar_detected_work [mac80211]
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.201895] [<c030f954>] (unwind_backtrace) from [<c030b968>] (show_stack+0x14/0x20)
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.208749] [<c030b968>] (show_stack) from [<c08e4518>] (dump_stack+0x94/0xa8)
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.216650] [<c08e4518>] (dump_stack) from [<c031e85c>] (__warn+0xb4/0xd0)
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.223673] [<c031e85c>] (__warn) from [<c031e8c8>] (warn_slowpath_fmt+0x50/0x90)
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.230591] [<c031e8c8>] (warn_slowpath_fmt) from [<bf65a804>] (cfg80211_radar_event+0x2c/0xb4 [cfg80211])
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.238290] [<bf65a804>] (cfg80211_radar_event [cfg80211]) from [<bf6d10b0>] (ieee80211_dfs_radar_detected_work+0x120/0x124 [mac80211])
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.247754] [<bf6d10b0>] (ieee80211_dfs_radar_detected_work [mac80211]) from [<c0337930>] (process_one_work+0x234/0x4a0)
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.259705] [<c0337930>] (process_one_work) from [<c0337e80>] (worker_thread+0x2e4/0x604)
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.270813] [<c0337e80>] (worker_thread) from [<c033dbbc>] (kthread+0x160/0x164)
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.278881] [<c033dbbc>] (kthread) from [<c03010e8>] (ret_from_fork+0x14/0x2c)
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.286336] Exception stack(0xd98cffb0 to 0xd98cfff8)
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.293376] ffa0:                                     00000000 00000000 00000000 00000000
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.298510] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.306665] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.314949] ---[ end trace 6eb67672eb46e71a ]---
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.321307] ------------[ cut here ]------------
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.326162] WARNING: CPU: 0 PID: 7016 at backports-5.10.42-1/net/wireless/nl80211.c:3500 nl80211_stop_ap+0x188/0x18c [cfg80211]
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.330789] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath wireguard pptp pppox ppp_mppe ppp_generic mac80211 libchacha20poly1305 libblake2s ipt_REJECT curve25519_neon cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_MASQUERADE xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY slhc sch_cake poly1305_arm nf_reject_ipv4 nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_netlink nf_conncount libcurve25519_generic libblake2s_generic iptable_raw iptable_nat iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables crc_ccitt compat chaoskey chacha_neon fuse sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred act_gact ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.331030]  ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6table_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6t_NPT nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 msdos ip_gre gre ifb ip6_udp_tunnel udp_tunnel sit tunnel4 ip_tunnel tun vfat fat hfsplus cifs nls_utf8 nls_iso8859_15 nls_iso8859_1 nls_cp850 nls_cp437 nls_cp1250 sha512_generic sha1_generic seqiv md5 md4 ghash_generic gf128mul gcm ecb des_generic libdes ctr cmac ccm arc4 usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom ohci_platform ohci_hcd phy_qcom_ipq806x_usb ahci fsl_mph_dr_of ehci_platform ehci_fsl sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 exfat(C) crc32c_generic
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.494170] CPU: 0 PID: 7016 Comm: kworker/0:5 Tainted: G        WC        5.4.134 #0
Sun Jul 25 22:20:16 2021 daemon.notice netifd: radio1 (7017): Command failed: Not found
Sun Jul 25 22:20:16 2021 daemon.notice netifd: radio0 (7018): Command failed: Not found
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.516287] Hardware name: Generic DT based system
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.524143] Workqueue: events ieee80211_dfs_radar_detected_work [mac80211]
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.528715] [<c030f954>] (unwind_backtrace) from [<c030b968>] (show_stack+0x14/0x20)
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.535583] [<c030b968>] (show_stack) from [<c08e4518>] (dump_stack+0x94/0xa8)
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.543476] [<c08e4518>] (dump_stack) from [<c031e85c>] (__warn+0xb4/0xd0)
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.550495] [<c031e85c>] (__warn) from [<c031e8c8>] (warn_slowpath_fmt+0x50/0x90)
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.557435] [<c031e8c8>] (warn_slowpath_fmt) from [<bf641d70>] (nl80211_stop_ap+0x188/0x18c [cfg80211])
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.565007] [<bf641d70>] (nl80211_stop_ap [cfg80211]) from [<bf658da0>] (nl80211_radar_notify+0x144/0x1d4 [cfg80211])
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.574210] [<bf658da0>] (nl80211_radar_notify [cfg80211]) from [<bf65a824>] (cfg80211_radar_event+0x4c/0xb4 [cfg80211])
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.585032] [<bf65a824>] (cfg80211_radar_event [cfg80211]) from [<bf6d10b0>] (ieee80211_dfs_radar_detected_work+0x120/0x124 [mac80211])
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.595893] [<bf6d10b0>] (ieee80211_dfs_radar_detected_work [mac80211]) from [<c0337930>] (process_one_work+0x234/0x4a0)
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.607705] [<c0337930>] (process_one_work) from [<c0337e80>] (worker_thread+0x2e4/0x604)
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.618816] [<c0337e80>] (worker_thread) from [<c033dbbc>] (kthread+0x160/0x164)
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.626881] [<c033dbbc>] (kthread) from [<c03010e8>] (ret_from_fork+0x14/0x2c)
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.634338] Exception stack(0xd98cffb0 to 0xd98cfff8)
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.641376] ffa0:                                     00000000 00000000 00000000 00000000
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.646511] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.654666] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.662900] ---[ end trace 6eb67672eb46e71b ]---
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.670503] ath10k_pci 0001:01:00.0: peer-unmap-event: unknown peer id 0
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.674112] ath10k_pci 0001:01:00.0: peer-unmap-event: unknown peer id 0
Sun Jul 25 22:20:16 2021 kern.info kernel: [ 1120.763935] br-lan: port 2(wlan1) entered disabled state
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.770703] ath10k_pci 0000:01:00.0: peer-unmap-event: unknown peer id 0
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.770764] ath10k_pci 0000:01:00.0: peer-unmap-event: unknown peer id 0
Sun Jul 25 22:20:16 2021 kern.info kernel: [ 1120.855887] br-lan: port 3(wlan0) entered disabled state
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.864934] ------------[ cut here ]------------
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.865066] WARNING: CPU: 1 PID: 6954 at backports-5.10.42-1/net/wireless/reg.c:4140 cfg80211_propagate_radar_detect_wk+0x24/0x34 [cfg80211]
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.868625] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath wireguard pptp pppox ppp_mppe ppp_generic mac80211 libchacha20poly1305 libblake2s ipt_REJECT curve25519_neon cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_MASQUERADE xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY slhc sch_cake poly1305_arm nf_reject_ipv4 nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_netlink nf_conncount libcurve25519_generic libblake2s_generic iptable_raw iptable_nat iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables crc_ccitt compat chaoskey chacha_neon fuse sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred act_gact ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1120.868903]  ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6table_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6t_NPT nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 msdos ip_gre gre ifb ip6_udp_tunnel udp_tunnel sit tunnel4 ip_tunnel tun vfat fat hfsplus cifs nls_utf8 nls_iso8859_15 nls_iso8859_1 nls_cp850 nls_cp437 nls_cp1250 sha512_generic sha1_generic seqiv md5 md4 ghash_generic gf128mul gcm ecb des_generic libdes ctr cmac ccm arc4 usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom ohci_platform ohci_hcd phy_qcom_ipq806x_usb ahci fsl_mph_dr_of ehci_platform ehci_fsl sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 exfat(C) crc32c_generic
Sun Jul 25 22:20:16 2021 kern.warn kernel: [ 1121.033290] CPU: 1 PID: 6954 Comm: kworker/u4:2 Tainted: G        WC        5.4.134 #0
Sun Jul 25 22:20:17 2021 kern.warn kernel: [ 1121.055336] Hardware name: Generic DT based system
Sun Jul 25 22:20:17 2021 kern.warn kernel: [ 1121.063160] Workqueue: cfg80211 cfg80211_propagate_radar_detect_wk [cfg80211]
Sun Jul 25 22:20:17 2021 kern.warn kernel: [ 1121.067860] [<c030f954>] (unwind_backtrace) from [<c030b968>] (show_stack+0x14/0x20)
Sun Jul 25 22:20:17 2021 kern.warn kernel: [ 1121.075058] [<c030b968>] (show_stack) from [<c08e4518>] (dump_stack+0x94/0xa8)
Sun Jul 25 22:20:17 2021 kern.warn kernel: [ 1121.082873] [<c08e4518>] (dump_stack) from [<c031e85c>] (__warn+0xb4/0xd0)
Sun Jul 25 22:20:17 2021 kern.warn kernel: [ 1121.089898] [<c031e85c>] (__warn) from [<c031e8c8>] (warn_slowpath_fmt+0x50/0x90)
Sun Jul 25 22:20:17 2021 kern.warn kernel: [ 1121.096807] [<c031e8c8>] (warn_slowpath_fmt) from [<bf62c20c>] (cfg80211_propagate_radar_detect_wk+0x24/0x34 [cfg80211])
Sun Jul 25 22:20:17 2021 kern.warn kernel: [ 1121.104375] [<bf62c20c>] (cfg80211_propagate_radar_detect_wk [cfg80211]) from [<c0337930>] (process_one_work+0x234/0x4a0)
Sun Jul 25 22:20:17 2021 kern.warn kernel: [ 1121.115253] [<c0337930>] (process_one_work) from [<c0337bf0>] (worker_thread+0x54/0x604)
Sun Jul 25 22:20:17 2021 kern.warn kernel: [ 1121.126099] [<c0337bf0>] (worker_thread) from [<c033dbbc>] (kthread+0x160/0x164)
Sun Jul 25 22:20:17 2021 kern.warn kernel: [ 1121.134254] [<c033dbbc>] (kthread) from [<c03010e8>] (ret_from_fork+0x14/0x2c)
Sun Jul 25 22:20:17 2021 kern.warn kernel: [ 1121.141623] Exception stack(0xd8719fb0 to 0xd8719ff8)
Sun Jul 25 22:20:17 2021 kern.warn kernel: [ 1121.148663] 9fa0:                                     00000000 00000000 00000000 00000000
Sun Jul 25 22:20:17 2021 kern.warn kernel: [ 1121.153799] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sun Jul 25 22:20:17 2021 kern.warn kernel: [ 1121.161952] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
Sun Jul 25 22:20:17 2021 kern.warn kernel: [ 1121.170217] ---[ end trace 6eb67672eb46e71c ]---
Sun Jul 25 22:20:17 2021 kern.info kernel: [ 1121.221002] device wlan1 left promiscuous mode
Sun Jul 25 22:20:17 2021 kern.info kernel: [ 1121.221037] br-lan: port 2(wlan1) entered disabled state
Sun Jul 25 22:20:17 2021 kern.info kernel: [ 1121.351058] device wlan0 left promiscuous mode
Sun Jul 25 22:20:17 2021 kern.info kernel: [ 1121.351091] br-lan: port 3(wlan0) entered disabled state
Sun Jul 25 22:20:23 2021 kern.warn kernel: [ 1127.723809] ath10k_pci 0001:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
Sun Jul 25 22:20:23 2021 kern.warn kernel: [ 1127.723837] ath10k_pci 0001:01:00.0: msdu-desc: 2500  skid: 32
Sun Jul 25 22:20:23 2021 kern.info kernel: [ 1127.808135] ath10k_pci 0001:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
Sun Jul 25 22:20:23 2021 kern.info kernel: [ 1127.809017] ath10k_pci 0001:01:00.0: wmi print 'free: 84920 iram: 13156 sram: 11224'
Sun Jul 25 22:20:24 2021 kern.info kernel: [ 1128.204517] ath10k_pci 0001:01:00.0: rts threshold -1
Sun Jul 25 22:20:24 2021 kern.warn kernel: [ 1128.205481] ath10k_pci 0001:01:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
Sun Jul 25 22:20:24 2021 kern.info kernel: [ 1128.217270] br-lan: port 2(wlan1) entered blocking state
Sun Jul 25 22:20:24 2021 kern.info kernel: [ 1128.219546] br-lan: port 2(wlan1) entered disabled state
Sun Jul 25 22:20:24 2021 kern.info kernel: [ 1128.225459] device wlan1 entered promiscuous mode
Sun Jul 25 22:20:24 2021 kern.info kernel: [ 1128.547735] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
Sun Jul 25 22:20:24 2021 kern.info kernel: [ 1128.547879] br-lan: port 2(wlan1) entered blocking state
Sun Jul 25 22:20:24 2021 kern.info kernel: [ 1128.553218] br-lan: port 2(wlan1) entered forwarding state
Sun Jul 25 22:20:30 2021 kern.warn kernel: [ 1134.478870] ath10k_pci 0000:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
Sun Jul 25 22:20:30 2021 kern.warn kernel: [ 1134.478896] ath10k_pci 0000:01:00.0: msdu-desc: 2500  skid: 32
Sun Jul 25 22:20:30 2021 kern.info kernel: [ 1134.561339] ath10k_pci 0000:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
Sun Jul 25 22:20:30 2021 kern.info kernel: [ 1134.562188] ath10k_pci 0000:01:00.0: wmi print 'free: 84920 iram: 13156 sram: 11224'
Sun Jul 25 22:20:30 2021 kern.info kernel: [ 1134.946788] ath10k_pci 0000:01:00.0: rts threshold -1
Sun Jul 25 22:20:30 2021 kern.warn kernel: [ 1134.948284] ath10k_pci 0000:01:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
Sun Jul 25 22:20:30 2021 kern.info kernel: [ 1134.956177] br-lan: port 3(wlan0) entered blocking state
Sun Jul 25 22:20:30 2021 kern.info kernel: [ 1134.961843] br-lan: port 3(wlan0) entered disabled state
Sun Jul 25 22:20:30 2021 kern.info kernel: [ 1134.967449] device wlan0 entered promiscuous mode
Sun Jul 25 22:20:31 2021 daemon.err hostapd: could not get valid channel

Any update on fix?

@hnyman tested the patch and was able to initiate a 160MHz channel, but quickly got a kernel panic (kernel or driver i can't remember). So there may be something deeper going on here.

Any update on patch?

Thanks

The patch is as it was.
It has been tested by one person. It fixed 160MHz, but potentially (anecdote of 1) introduces a DFS radar related crash.
It would require others to corroborate that finding and then get enough crash data for the ath10k-ct developers to take an interest.

Ben applied my patch. It may now be worth testing it again to get additional user cases of success/failure.

This is a bit easier to build now by updating the Makefile at package/kernel/ath10k-ct/Makefile with the new pkg version 23c74615877fa6bf2c09df773a42e30073657cb8 (and probably the mirror hash and dates).