diff --git a/feeds/ipq807x/ipq807x/base-files/etc/hotplug.d/firmware/10-ath11k-caldata b/feeds/ipq807x/ipq807x/base-files/etc/hotplug.d/firmware/10-ath11k-caldata index 5b948d096..317d2e540 100755 --- a/feeds/ipq807x/ipq807x/base-files/etc/hotplug.d/firmware/10-ath11k-caldata +++ b/feeds/ipq807x/ipq807x/base-files/etc/hotplug.d/firmware/10-ath11k-caldata @@ -39,6 +39,16 @@ ath11k_generate_macs_wf194() { echo -ne \\x${mac3//:/\\x} >> /lib/firmware/ath11k-macs } +ath11k_generate_macs_ion4x() { + touch /lib/firmware/ath11k-macs + wifimac0=$(grep WLAN0_BASEMAC= /dev/mtd15 |cut -d '=' -f2) + wifimac1=$(grep WLAN1_BASEMAC= /dev/mtd15 |cut -d '=' -f2) + wifimac2=00:00:00:00:00:00 + echo -ne \\x${wifimac0//:/\\x} >> /lib/firmware/ath11k-macs + echo -ne \\x${wifimac1//:/\\x} >> /lib/firmware/ath11k-macs + echo -ne \\x${wifimac2//:/\\x} >> /lib/firmware/ath11k-macs +} + caldata_die() { echo "caldata: " "$*" exit 1 @@ -119,6 +129,10 @@ ath11k/QCN9074/hw1.0/caldata_2.bin) ;; ath11k-macs) case "$board" in + hfcl,ion4xi|\ + hfcl,ion4xe) + ath11k_generate_macs_ion4x + ;; edgecore,eap101) ath11k_generate_macs_eap101 ;;