3 [ -e /lib
/firmware
/$FIRMWARE ] && exit 0
5 .
/lib
/functions
/caldata.sh
7 wlan_data
="/sys/firmware/mikrotik/hard_config/wlan_data"
8 mac_base
="$(cat /sys/firmware/mikrotik/hard_config/mac_base)"
13 "ath9k-eeprom-ahb-18100000.wmac.bin")
15 mikrotik
,routerboard-wap-g-5hact2hnd
)
16 caldata_from_file
$wlan_data 0x1000 0x440
17 ath9k_patch_mac $
(macaddr_add
"$mac_base" +2)
20 caldata_die
"board $board is not supported yet"