R7800 160MHz Wireless Interface

Grab the OpenWrt source, add a patches folder to package/kernel/ath10k-ct/
Add new patch 001-fix_160mhz.patch with the contents

--- a/ath10k-5.10/mac.c
+++ b/ath10k-5.10/mac.c
@@ -10780,6 +10780,8 @@ static struct ieee80211_iface_combinatio
 		.radar_detect_widths =	BIT(NL80211_CHAN_WIDTH_20_NOHT) |
 					BIT(NL80211_CHAN_WIDTH_20) |
 					BIT(NL80211_CHAN_WIDTH_40) |
+					BIT(NL80211_CHAN_WIDTH_80P80) |
+					BIT(NL80211_CHAN_WIDTH_160) |
 					BIT(NL80211_CHAN_WIDTH_80),
 #endif
 	},

That may not be entirely right i typed it up by hand but it's close enough

1 Like