[rdk-b][mt7986][wifi-hal][Add WiFi-test-tool]
[Description]
Add WiFi-test-tool for MSP, SQC test.
The tool now only support dual band.
[Release-log]
N/A
Change-Id: I6d3d4bf65dd9ae03ac70491840eebbbde0ac2ffc
diff --git a/recipes-devtools/wifi-test-tool/wifi-test-tool.bb b/recipes-devtools/wifi-test-tool/wifi-test-tool.bb
new file mode 100644
index 0000000..d04d8be
--- /dev/null
+++ b/recipes-devtools/wifi-test-tool/wifi-test-tool.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "wifi-test-tool"
+SECTION = "applications"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=fcf339a1c4fb17c1e878859b11a2cdba"
+
+DEPENDS += "libnl-tiny hal-wifi uci"
+
+inherit autotools coverity
+
+SRC_URI = " \
+ file://COPYING;subdir=git/src \
+ file://src;subdir=git \
+ "
+
+S = "${WORKDIR}/git/src"
+
+CFLAGS_append = " -DWIFI_HAL_VERSION_3 -DMTK_UCI_SUPPORT -luci "
+CFLAGS_append = " -I=${includedir}/ccsp "
+do_install_append() {
+ install -d ${D}${sbindir}
+ install -m 0755 ${WORKDIR}/build/wifi_test_tool ${D}${sbindir}/wifi
+}