1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Update RUTX config/tools for 6.1 kernel

This commit is contained in:
Ycarus (Yannick Chabanois) 2023-10-03 11:26:29 +02:00
parent 0fd066f6ce
commit facff1658d
7 changed files with 8 additions and 748 deletions

View file

@ -53,6 +53,8 @@ ensure_correct_art
case "$FIRMWARE" in
"ath10k/pre-cal-ahb-a000000.wifi.bin")
case "$board" in
teltonika,rutx50|\
teltonika,rutx12|\
teltonika,rutx)
ath10kcal_extract "0:ART" 4096 12064
;;
@ -60,6 +62,8 @@ case "$FIRMWARE" in
;;
"ath10k/pre-cal-ahb-a800000.wifi.bin")
case "$board" in
teltonika,rutx50|\
teltonika,rutx12|\
teltonika,rutx)
ath10kcal_extract "0:ART" 20480 12064
;;

View file

@ -12,6 +12,8 @@ PHYNBR=${DEVPATH##*/phy}
board=$(board_name)
case "$board" in
teltonika,rutx12|\
teltonika,rutx50|\
teltonika,rutx)
mac_addr=$(mtd_get_mac_binary 0:CONFIG 0)
if [ "$mac_addr" != "ff:ff:ff:ff:ff:ff" ]; then