Skip to content

Commit 8108967

Browse files
aiamadeusrobimarko
authored andcommitted
qualcommax: use ath11k_patch_mac for MR7350
Use ath11k_patch_mac and ath11k_set_macflag functions instead of fix_wifi_mac script. Signed-off-by: Chukun Pan <[email protected]> Link: openwrt#17230 Signed-off-by: Robert Marko <[email protected]>
1 parent d6be0a2 commit 8108967

File tree

2 files changed

+7
-19
lines changed

2 files changed

+7
-19
lines changed

target/linux/qualcommax/ipq60xx/base-files/etc/hotplug.d/firmware/11-ath11k-caldata

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ case "$FIRMWARE" in
1515
cambiumnetworks,xe3-4)
1616
caldata_extract "0:ART" 0x1000 0x10000
1717
;;
18-
linksys,mr7350|\
18+
linksys,mr7350)
19+
caldata_extract "0:art" 0x1000 0x10000
20+
addr=$(mtd_get_mac_ascii devinfo hw_mac_addr)
21+
ath11k_patch_mac $(macaddr_add $addr 2) 0
22+
ath11k_patch_mac $(macaddr_add $addr 1) 1
23+
ath11k_set_macflag
24+
;;
1925
netgear,wax214)
2026
caldata_extract "0:art" 0x1000 0x10000
2127
;;

target/linux/qualcommax/ipq60xx/base-files/etc/hotplug.d/ieee80211/11_fix_wifi_mac

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)