From 84c8eb5ccf7126c7cdc2bfe1d887ce2e1aa7a7e6 Mon Sep 17 00:00:00 2001 From: Arif Alam Date: Fri, 26 Jan 2024 16:23:07 -0500 Subject: [PATCH] base-files/ipq807x: wf196: fix BSSIDs Use base MAC address to generate PHY BSSIDs. Signed-off-by: Arif Alam --- .../base-files/etc/hotplug.d/firmware/10-ath11k-caldata | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/feeds/ipq807x_v5.4/ipq807x/base-files/etc/hotplug.d/firmware/10-ath11k-caldata b/feeds/ipq807x_v5.4/ipq807x/base-files/etc/hotplug.d/firmware/10-ath11k-caldata index 3e5a2a243..266935e50 100755 --- a/feeds/ipq807x_v5.4/ipq807x/base-files/etc/hotplug.d/firmware/10-ath11k-caldata +++ b/feeds/ipq807x_v5.4/ipq807x/base-files/etc/hotplug.d/firmware/10-ath11k-caldata @@ -16,9 +16,9 @@ ath11k_generate_macs() { echo -ne \\x${mac3//:/\\x} >> /lib/firmware/ath11k-macs } -ath11k_generate_macs_wf194() { +ath11k_generate_macs_wf196() { touch /lib/firmware/ath11k-macs - mac=$(grep BaseMacAddress= /dev/mtd14 | cut -dx -f2) + mac=$(grep BaseMacAddress= /dev/mtd18 | cut -dx -f2) eth=$(macaddr_canonicalize $mac) mac1=$(macaddr_add $eth 2) mac2=$(macaddr_add $eth 3) @@ -92,8 +92,8 @@ ath11k-macs) edgecore,eap106) ath11k_generate_macs ;; - cig,wf194c) - ath11k_generate_macs_wf194 + cig,wf196) + ath11k_generate_macs_wf196 ;; esac ;;