mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00

[mac80211] ca5ee6e mac80211: Fix potential endless loop 2c14710 mac80211: add more AQL fixes/improvements 91fb3ce mac80211: remove an obsolete patch that is no longer doing anything useful acf1733 mac80211: add preliminary support for enabling 802.11ax in config d717343 mac80211: update encap offload patches to the latest version 673062f mac80211: allow bigger A-MSDU sizes in VHT, even if HT is limited caf7277 mac80211: do not allow bigger VHT MPDUs than the hardware supports cd36c0d mac80211: select the first available channel for 5GHz interfaces 1c6d456 mac80211: fix regression in station connection monitor optimization 4bd7689 mac80211: update sta connection monitor regression fix [target] Sync: at91, ath25, ath79, lantiq, mediatek, mvebu.
46 lines
925 B
Bash
46 lines
925 B
Bash
#!/bin/sh
|
|
|
|
[ -e /lib/firmware/$FIRMWARE ] && exit 0
|
|
|
|
. /lib/functions/caldata.sh
|
|
|
|
board=$(board_name)
|
|
|
|
case "$FIRMWARE" in
|
|
"ath9k-eeprom-pci-0000:43:00.0.bin")
|
|
case $board in
|
|
netgear,wndr4700)
|
|
. /lib/upgrade/nand.sh
|
|
|
|
if [ -n "$(nand_find_volume ubi0 caldata)" ]; then
|
|
caldata_extract_ubi "caldata" 0x1000 0x1000
|
|
else
|
|
caldata_extract "wifi_data" 0x1000 0x1000
|
|
ath9k_patch_mac $(mtd_get_mac_binary wifi_data 0x0)
|
|
fi
|
|
;;
|
|
*)
|
|
caldata_die "board $board is not supported yet"
|
|
;;
|
|
esac
|
|
;;
|
|
|
|
"ath9k-eeprom-pci-0000:44:00.0.bin")
|
|
case $board in
|
|
netgear,wndr4700)
|
|
. /lib/upgrade/nand.sh
|
|
|
|
if [ -n "$(nand_find_volume ubi0 caldata)" ]; then
|
|
caldata_extract_ubi "caldata" 0x5000 0x1000
|
|
else
|
|
caldata_extract "wifi_data" 0x5000 0x1000
|
|
ath9k_patch_mac $(mtd_get_mac_binary wifi_data 0xc)
|
|
fi
|
|
;;
|
|
*)
|
|
caldata_die "board $board is not supported yet"
|
|
;;
|
|
esac
|
|
;;
|
|
esac
|