[][MAC80211][WiFi6][app][Add atenl support for cheetah]
[Description]
Add atenl support for cheetah
[Release-log]
N/A
Change-Id: I0e543c138c9d7a189acb10efb97c9066a93909b8
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/8188100
diff --git a/feed/atenl/files/iwpriv.sh b/feed/atenl/files/iwpriv.sh
index a29c765..a9bcfab 100755
--- a/feed/atenl/files/iwpriv.sh
+++ b/feed/atenl/files/iwpriv.sh
@@ -101,6 +101,10 @@
SOC_start_idx="1"
SOC_end_idx="2"
is_connac3="0"
+ elif [ ! -z "$(head -c 2 ${eeprom_file} | hexdump | grep "7981")" ]; then
+ SOC_start_idx="0"
+ SOC_end_idx="1"
+ is_connac3="0"
elif [ ! -z "$(head -c 2 ${eeprom_file} | hexdump | grep "7986")" ]; then
SOC_start_idx="0"
SOC_end_idx="1"
@@ -116,7 +120,7 @@
else
echo "Interface Conversion Failed!"
echo "Please use iwpriv <phy0/phy1/..> set <...> or configure the sku of your board manually by the following commands"
- echo "For AX6000:"
+ echo "For AX3000/AX6000:"
echo " echo STARTIDX=0 >> ${interface_file}"
echo " echo ENDIDX=1 >> ${interface_file}"
echo " echo IS_CONNAC3=0 >> ${interface_file}"