[rdkb][common][app][Add WMM script]
[Description]
Add WMM script to enble txop for MSP, SQC test.
[Release-log]
N/A
Change-Id: Ia874eca3a6a569ddd4036f3586b0a9e71b8eb328
diff --git a/recipes-devtools/wifi-test-tool/files/src/wmm-ax6000.sh b/recipes-devtools/wifi-test-tool/files/src/wmm-ax6000.sh
new file mode 100755
index 0000000..3e90d9d
--- /dev/null
+++ b/recipes-devtools/wifi-test-tool/files/src/wmm-ax6000.sh
@@ -0,0 +1,4 @@
+echo 0x820e40c4 > /sys/kernel/debug/ieee80211/phy0/mt76/regidx
+echo 0x00bb0000 > /sys/kernel/debug/ieee80211/phy0/mt76/regval
+echo 0x820f425c > /sys/kernel/debug/ieee80211/phy1/mt76/regidx
+echo 0x00bb0000 > /sys/kernel/debug/ieee80211/phy1/mt76/regval
diff --git a/recipes-devtools/wifi-test-tool/files/src/wmm-ax8400.sh b/recipes-devtools/wifi-test-tool/files/src/wmm-ax8400.sh
new file mode 100755
index 0000000..5d9dc81
--- /dev/null
+++ b/recipes-devtools/wifi-test-tool/files/src/wmm-ax8400.sh
@@ -0,0 +1,7 @@
+echo 0x820e4014 > /sys/kernel/debug/ieee80211/phy0/mt76/regidx
+echo 0x00bb0000 > /sys/kernel/debug/ieee80211/phy0/mt76/regval
+echo 0x820e40c4 > /sys/kernel/debug/ieee80211/phy1/mt76/regidx
+echo 0x00bb0000 > /sys/kernel/debug/ieee80211/phy1/mt76/regval
+echo 0x820f425c > /sys/kernel/debug/ieee80211/phy2/mt76/regidx
+echo 0x00bb0000 > /sys/kernel/debug/ieee80211/phy2/mt76/regval
+
diff --git a/recipes-devtools/wifi-test-tool/wifi-test-tool.bb b/recipes-devtools/wifi-test-tool/wifi-test-tool.bb
index d04d8be..703eada 100644
--- a/recipes-devtools/wifi-test-tool/wifi-test-tool.bb
+++ b/recipes-devtools/wifi-test-tool/wifi-test-tool.bb
@@ -19,4 +19,5 @@
do_install_append() {
install -d ${D}${sbindir}
install -m 0755 ${WORKDIR}/build/wifi_test_tool ${D}${sbindir}/wifi
+ install -m 0755 ${WORKDIR}/git/src/wmm-*.sh ${D}${sbindir}
}