From d24ae2c18f67dc790c3612ce13a2b751f60c07e2 Mon Sep 17 00:00:00 2001 From: jackcybertan Date: Wed, 18 Jun 2025 07:35:00 +0800 Subject: [PATCH] ipq807x_v5.4: change SonicFi RAP650C Wi-Fi MAC address sequence Signed-off-by: jackcybertan --- .../etc/hotplug.d/firmware/10-ath11k-caldata | 10 +++++----- 1 file changed, 5 insertions(+), 5 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 baec71c76..167fd020a 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,14 +16,14 @@ ath11k_generate_macs() { echo -ne \\x${mac3//:/\\x} >> /lib/firmware/ath11k-macs } -ath11k_generate_macs_sonicfi() { +ath11k_generate_macs_rap650c() { mac=$(fw_printenv -n BaseMacAddress) [ -z "$mac" ] && return; touch /lib/firmware/ath11k-macs eth=$(macaddr_canonicalize $mac) - mac1=$(macaddr_add $eth 2) - mac2=$(macaddr_add $eth 3) + mac1=$(macaddr_add $eth 3) + mac2=$(macaddr_add $eth 2) mac3=$(macaddr_add $eth 4) echo -ne \\x${mac1//:/\\x} >> /lib/firmware/ath11k-macs echo -ne \\x${mac2//:/\\x} >> /lib/firmware/ath11k-macs @@ -112,8 +112,8 @@ ath11k-macs) cig,wf196) ath11k_generate_macs_wf196 ;; - sonicfi*) - ath11k_generate_macs_sonicfi + sonicfi,rap650c) + ath11k_generate_macs_rap650c ;; esac ;;