mirror of
https://github.com/FUjr/gl-infra-builder.git
synced 2025-12-16 09:10:02 +00:00
36 lines
1.2 KiB
Diff
36 lines
1.2 KiB
Diff
From 74492b5cbbf570ce777502367e308604c4393f93 Mon Sep 17 00:00:00 2001
|
|
From: Luo Chongjun <luochongjun@gl-inet.com>
|
|
Date: Thu, 4 May 2023 19:22:11 +0800
|
|
Subject: [PATCH] ath79 adjust ath10k caldata
|
|
|
|
---
|
|
.../base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 7 +++++++
|
|
1 file changed, 7 insertions(+)
|
|
|
|
diff --git a/target/linux/ath79/nand/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ath79/nand/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
|
index e5c26d6bb5..2b45ecc1ff 100644
|
|
--- a/target/linux/ath79/nand/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
|
+++ b/target/linux/ath79/nand/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
|
@@ -13,11 +13,18 @@ case "$FIRMWARE" in
|
|
caldata_extract "art" 0x5000 0x844
|
|
ath10k_patch_mac $(mtd_get_mac_binary art 0x12)
|
|
;;
|
|
+ glinet,gl-ar750|\
|
|
+ glinet,gl-e750|\
|
|
glinet,gl-ar750s-nor|\
|
|
glinet,gl-ar750s-nor-nand)
|
|
caldata_extract "art" 0x5000 0x844
|
|
ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary art 0x0) 1)
|
|
;;
|
|
+ glinet,gl-x750-nor|\
|
|
+ glinet,gl-x750-nor-nand)
|
|
+ caldata_extract "art" 0x5000 0x844
|
|
+ ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary art 0x0) 3)
|
|
+ ;;
|
|
netgear,r6100)
|
|
caldata_extract "caldata" 0x5000 0x844
|
|
;;
|
|
--
|
|
2.25.1
|
|
|