[openwrt/openwrt] qualcommax: ipq807x: use ath11k_patch_mac for RAX120v2
LEDE Commits
lede-commits at lists.infradead.org
Tue Apr 23 13:36:05 PDT 2024
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/48daac25ce78770e1580f23241cd66b74036f7c2
commit 48daac25ce78770e1580f23241cd66b74036f7c2
Author: Paweł Owoc <frut3k7 at gmail.com>
AuthorDate: Mon Mar 4 19:29:51 2024 +0100
qualcommax: ipq807x: use ath11k_patch_mac for RAX120v2
Use ath11k_patch_mac and ath11k_set_macflag functions for RAX120v2 (pre-caldata does not contain valid MAC addresses)
Signed-off-by: Paweł Owoc <frut3k7 at gmail.com>
---
.../ipq807x/base-files/etc/hotplug.d/firmware/11-ath11k-caldata | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/target/linux/qualcommax/ipq807x/base-files/etc/hotplug.d/firmware/11-ath11k-caldata b/target/linux/qualcommax/ipq807x/base-files/etc/hotplug.d/firmware/11-ath11k-caldata
index b373e8471d..8f207a38b0 100644
--- a/target/linux/qualcommax/ipq807x/base-files/etc/hotplug.d/firmware/11-ath11k-caldata
+++ b/target/linux/qualcommax/ipq807x/base-files/etc/hotplug.d/firmware/11-ath11k-caldata
@@ -17,7 +17,6 @@ case "$FIRMWARE" in
edgecore,eap102|\
edimax,cax1800|\
linksys,mx5300|\
- netgear,rax120v2|\
netgear,wax218|\
netgear,wax620|\
netgear,wax630|\
@@ -44,6 +43,13 @@ case "$FIRMWARE" in
ath11k_remove_regdomain
ath11k_set_macflag
;;
+ netgear,rax120v2)
+ caldata_extract "0:art" 0x1000 0x20000
+ ath11k_patch_mac $(mtd_get_mac_binary boarddata1 0xc) 0
+ ath11k_patch_mac $(mtd_get_mac_binary boarddata1 0x0) 1
+ ath11k_patch_mac $(mtd_get_mac_binary boarddata1 0x6) 2
+ ath11k_set_macflag
+ ;;
prpl,haze|\
spectrum,sax1v1k)
caldata_extract_mmc "0:ART" 0x1000 0x20000
More information about the lede-commits
mailing list