mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-17 17:31:27 +00:00
55 lines
1.8 KiB
Diff
55 lines
1.8 KiB
Diff
From 2be3d0c63e62087cfc2c455e7412cddcaf371a77 Mon Sep 17 00:00:00 2001
|
|
From: Rick Sommerville <rick.sommerville@netexperience.com>
|
|
Date: Fri, 23 Oct 2020 15:03:34 -0400
|
|
Subject: [PATCH] apply ec420 changes to calibation
|
|
|
|
---
|
|
.../etc/hotplug.d/firmware/11-ath10k-caldata | 14 ++++++++++----
|
|
1 file changed, 10 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
|
index a8ebced11a..ff77aed304 100644
|
|
--- a/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
|
+++ b/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
|
@@ -123,10 +123,13 @@ case "$FIRMWARE" in
|
|
# OEM assigns 4 sequential MACs
|
|
ath10kcal_patch_mac_crc $(macaddr_setbit_la $(macaddr_add "$(cat /sys/class/net/eth0/address)" 4))
|
|
;;
|
|
- openmesh,a62 |\
|
|
+ openmesh,a62)
|
|
+ ath10kcal_extract "0:ART" 36864 12064
|
|
+ ;;
|
|
tp-link,ap2220 |\
|
|
tp-link,ec420-g1)
|
|
ath10kcal_extract "0:ART" 36864 12064
|
|
+ ath10kcal_patch_mac_crc $(macaddr_add "$(get_tip mac_address)" 1) # 5G, wlan0
|
|
;;
|
|
esac
|
|
;;
|
|
@@ -166,9 +169,7 @@ case "$FIRMWARE" in
|
|
openmesh,a42 |\
|
|
openmesh,a62 |\
|
|
qxwlan,e2600ac-c1 |\
|
|
- qxwlan,e2600ac-c2 |\
|
|
- tp-link,ap2220 |\
|
|
- tp-link,ec420-g1)
|
|
+ qxwlan,e2600ac-c2)
|
|
ath10kcal_extract "0:ART" 4096 12064
|
|
;;
|
|
engenius,ens620ext)
|
|
@@ -194,6 +195,11 @@ case "$FIRMWARE" in
|
|
ath10kcal_extract "ART" 4096 12064
|
|
ath10kcal_patch_mac_crc $(macaddr_add $(cat /sys/class/net/eth0/address) -2)
|
|
;;
|
|
+ tp-link,ap2220 |\
|
|
+ tp-link,ec420-g1)
|
|
+ ath10kcal_extract "0:ART" 4096 12064
|
|
+ ath10kcal_patch_mac_crc $(macaddr_add "$(get_tip mac_address)" 9) #2.4G, wlan1
|
|
+ ;;
|
|
esac
|
|
;;
|
|
"ath10k/pre-cal-ahb-a800000.wifi.bin")
|
|
--
|
|
2.17.1
|
|
|