3 [ -e /lib
/firmware
/$FIRMWARE ] && exit 0
5 .
/lib
/functions
/caldata.sh
10 "ath10k/cal-pci-0000:00:00.0.bin")
12 allnet
,all-wap02860ac|\
13 araknis
,an-500-ap-i-ac|\
14 araknis
,an-700-ap-i-ac|\
15 comfast
,cf-e380ac-v2|\
16 engenius
,enstationac-v1|\
19 caldata_extract
"art" 0x5000 0x844
20 ath10k_patch_mac $
(macaddr_add $
(mtd_get_mac_binary art
0x0) 2)
24 comfast
,cf-wr650ac-v1|\
25 comfast
,cf-wr650ac-v2|\
26 devolo
,dlan-pro-1200plus-ac|\
29 qxwlan
,e1700ac-v2-8m|\
30 qxwlan
,e1700ac-v2-16m|\
31 qxwlan
,e600gac-v2-8m|\
32 qxwlan
,e600gac-v2-16m|\
43 ubnt
,unifiac-mesh-pro|\
45 ubnt
,litebeam-ac-gen2|\
47 ubnt
,nanobeam-ac-gen2|\
50 ubnt
,nanostation-ac-loco|\
51 ubnt
,powerbeam-5ac-500|\
52 ubnt
,powerbeam-5ac-gen2|\
53 ubnt
,rocket-5ac-lite|\
57 caldata_extract
"art" 0x5000 0x844
61 caldata_extract
"urlader" 0x198a 0x844
69 caldata_extract
"art" 0x5000 0x844
70 ath10k_patch_mac $
(macaddr_add $
(mtd_get_mac_binary art
0x0) -1)
74 caldata_extract
"art" 0x5000 0x844
75 ath10k_patch_mac $
(mtd_get_mac_ascii u-boot-env athaddr
)
78 caldata_extract
"art" 0x5000 0x844
79 ath10k_patch_mac $
(macaddr_add $
(cat /sys
/class
/net
/eth
0/address
) 1)
81 extreme-networks
,ws-ap3805i
)
82 caldata_extract
"art" 0x5000 0x844
83 ath10k_patch_mac $
(mtd_get_mac_ascii cfg1 RADIOADDR0
)
86 caldata_extract
"art" 0x5000 0x844
87 ath10k_patch_mac $
(macaddr_add $
(mtd_get_mac_binary art
0x0) 1)
90 iodata
,wn-ac1600dgr2|\
93 caldata_extract
"art" 0x5000 0x844
94 ath10k_patch_mac $
(macaddr_add $
(mtd_get_mac_ascii u-boot-env ethaddr
) 1)
97 caldata_extract
"art" 0x5000 0x844
98 ath10k_patch_mac $
(mtd_get_mac_text board_data
0x880)
102 caldata_extract
"art" 0x5000 0x844
103 ath10k_patch_mac $
(mtd_get_mac_binary art
0xc)
110 caldata_extract
"ART" 0x5000 0x844
111 ath10k_patch_mac $
(macaddr_add $
(cat /sys
/class
/net
/eth
0/address
) 16)
114 caldata_extract
"radiocfg" 0x5000 0x844
115 ath10k_patch_mac $
(mtd_get_mac_ascii devdata wlan5mac
)
117 tplink
,archer-a7-v5|\
118 tplink
,archer-c2-v3|\
119 tplink
,archer-c7-v4|\
120 tplink
,archer-c7-v5|\
121 tplink
,archer-c25-v1|\
122 tplink
,tl-wr902ac-v1
)
123 caldata_extract
"art" 0x5000 0x844
124 ath10k_patch_mac $
(macaddr_add $
(mtd_get_mac_binary info
0x8) -1)
126 tplink
,archer-c5-v1|\
127 tplink
,tl-wdr7500-v3
)
128 caldata_extract
"art" 0x5000 0x844
129 ath10k_patch_mac $
(macaddr_add $
(mtd_get_mac_binary u-boot
0x1fc00) -1)
131 tplink
,archer-d50-v1
)
132 caldata_extract
"art" 0x5000 0x844
133 ath10k_patch_mac $
(macaddr_add $
(mtd_get_mac_binary romfile
0xf100) 2)
135 tplink
,archer-d7-v1|\
136 tplink
,archer-d7b-v1
)
137 caldata_extract
"art" 0x5000 0x844
138 ath10k_patch_mac $
(macaddr_add $
(mtd_get_mac_binary romfs
0xf100) 2)
141 caldata_extract
"art" 0x5000 0x844
142 ath10k_patch_mac $
(macaddr_add $
(mtd_get_mac_binary info
0x8) 2)
146 caldata_extract
"art" 0x5000 0x844
147 ath10k_patch_mac $
(macaddr_add $
(cat /sys
/class
/net
/eth
0/address
) -2)
152 caldata_extract
"art" 0x5000 0x844
153 ath10k_patch_mac $
(macaddr_add $
(mtd_get_mac_binary info
0x8) 1)
155 tplink
,tl-wpa8630-v1
)
156 caldata_extract
"art" 0x5000 0x844
157 ath10k_patch_mac $
(macaddr_add $
(mtd_get_mac_binary u-boot
0x0fc00) 1)
161 "ath10k/cal-pci-0000:01:00.0.bin")
164 caldata_extract
"ART" 0x5000 0x844
165 ath10k_patch_mac $
(macaddr_add $
(cat /sys
/class
/net
/eth
0/address
) +16)
168 caldata_extract
"art" 0x5000 0x844
169 ath10k_patch_mac $
(macaddr_add $
(mtd_get_mac_ascii u-boot-env ethaddr
) 1)
173 "ath10k/pre-cal-pci-0000:00:00.0.bin")
178 caldata_extract
"art" 0x5000 0x2f20
179 caldata_valid
"202f" || caldata_extract
"reserved" 0x15000 0x2f20
180 ath10k_patch_mac $
(mtd_get_mac_ascii devdata wlan5mac
)
181 ln -sf /lib
/firmware
/ath10k
/pre-cal-pci-0000\
:00\
:00.0.bin \
182 /lib
/firmware
/ath10k
/QCA9888
/hw2.0
/board.bin