[][MAC80211][WiFi6/7][app][Add ATETXNSS in iwpriv wrapper]
[Description]
Add ATETXNSS (identical to ATEVHTNSS) in iwpriv wrapper
Kite BE7200 iFEM 5T5R ibf use ATETXNSS to config nss instead of
ATEVHTNSS.
[Release-log]
N/A
Change-Id: I23ea0a94ba40cf774fe007b57375969f10f6d7ce
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/9514974
diff --git a/feed/app/atenl/files/iwpriv.sh b/feed/app/atenl/files/iwpriv.sh
index a4257f1..f6cbd4c 100755
--- a/feed/app/atenl/files/iwpriv.sh
+++ b/feed/app/atenl/files/iwpriv.sh
@@ -243,7 +243,7 @@
echo "tx_length"
elif [ "$1" = "ATETXMCS" ]; then
echo "tx_rate_idx"
- elif [ "$1" = "ATEVHTNSS" ]; then
+ elif [ "$1" = "ATEVHTNSS" ] || [ "$1" = "ATETXNSS" ]; then
echo "tx_rate_nss"
elif [ "$1" = "ATETXLDPC" ]; then
echo "tx_rate_ldpc"
@@ -1105,7 +1105,7 @@
skip=1
;;
- "ATETXCNT"|"ATETXLEN"|"ATETXMCS"|"ATEVHTNSS"|"ATETXLDPC"|"ATETXSTBC"| \
+ "ATETXCNT"|"ATETXLEN"|"ATETXMCS"|"ATEVHTNSS"|"ATETXNSS"|"ATETXLDPC"|"ATETXSTBC"| \
"ATEPKTTXTIME"|"ATEIPG"|"ATEDUTYCYCLE"|"ATETXFREQOFFSET")
cmd_new=$(simple_convert ${cmd})
if [ "${param_new}" = "undefined" ]; then