mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 09:32:34 +00:00
Compare commits
2 Commits
WIFI-14993
...
WIFI-14574
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a86080e697 | ||
|
|
d24ae2c18f |
Binary file not shown.
@@ -16,14 +16,14 @@ ath11k_generate_macs() {
|
|||||||
echo -ne \\x${mac3//:/\\x} >> /lib/firmware/ath11k-macs
|
echo -ne \\x${mac3//:/\\x} >> /lib/firmware/ath11k-macs
|
||||||
}
|
}
|
||||||
|
|
||||||
ath11k_generate_macs_sonicfi() {
|
ath11k_generate_macs_rap650c() {
|
||||||
mac=$(fw_printenv -n BaseMacAddress)
|
mac=$(fw_printenv -n BaseMacAddress)
|
||||||
[ -z "$mac" ] && return;
|
[ -z "$mac" ] && return;
|
||||||
|
|
||||||
touch /lib/firmware/ath11k-macs
|
touch /lib/firmware/ath11k-macs
|
||||||
eth=$(macaddr_canonicalize $mac)
|
eth=$(macaddr_canonicalize $mac)
|
||||||
mac1=$(macaddr_add $eth 2)
|
mac1=$(macaddr_add $eth 3)
|
||||||
mac2=$(macaddr_add $eth 3)
|
mac2=$(macaddr_add $eth 2)
|
||||||
mac3=$(macaddr_add $eth 4)
|
mac3=$(macaddr_add $eth 4)
|
||||||
echo -ne \\x${mac1//:/\\x} >> /lib/firmware/ath11k-macs
|
echo -ne \\x${mac1//:/\\x} >> /lib/firmware/ath11k-macs
|
||||||
echo -ne \\x${mac2//:/\\x} >> /lib/firmware/ath11k-macs
|
echo -ne \\x${mac2//:/\\x} >> /lib/firmware/ath11k-macs
|
||||||
@@ -112,8 +112,8 @@ ath11k-macs)
|
|||||||
cig,wf196)
|
cig,wf196)
|
||||||
ath11k_generate_macs_wf196
|
ath11k_generate_macs_wf196
|
||||||
;;
|
;;
|
||||||
sonicfi*)
|
sonicfi,rap650c)
|
||||||
ath11k_generate_macs_sonicfi
|
ath11k_generate_macs_rap650c
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user