From: Paweł Owoc Date: Mon, 4 Mar 2024 18:29:51 +0000 (+0100) Subject: qualcommax: ipq807x: use ath11k_patch_mac for RAX120v2 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=48daac25ce78770e1580f23241cd66b74036f7c2;p=openwrt%2Fstaging%2Fneocturne.git 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 --- 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