summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/wcn36xx/Makefile
diff options
context:
space:
mode:
authorEyal Ilsar <eilsar@codeaurora.org>2018-05-22 22:02:56 +0300
committerKalle Valo <kvalo@codeaurora.org>2018-05-25 13:17:28 +0300
commit87f825e6e246cee0cdeaafd5bba4ef8c6df2748d (patch)
treea329909543981f5c6c59b22bdc7ca5455cea984c /drivers/net/wireless/ath/wcn36xx/Makefile
parent6f6eb1bcbeff48c875617b800f00f1c5d1b12290 (diff)
downloadlinux-87f825e6e246cee0cdeaafd5bba4ef8c6df2748d.tar.xz
wcn36xx: Add support for Factory Test Mode (FTM)
Introduce infrastructure for supporting Factory Test Mode (FTM) of the wireless LAN subsystem. In order for the user space to access the firmware in test mode the relevant netlink channel needs to be exposed from the kernel driver. The above is achieved as follows: 1) Register wcn36xx driver to testmode callback from netlink 2) Add testmode callback implementation to handle incoming FTM commands 3) Add FTM command packet structure 4) Add handling for GET_BUILD_RELEASE_NUMBER (msgid=0x32A2) 5) Add generic handling for all PTT_MSG packets Signed-off-by: Eyal Ilsar <eilsar@codeaurora.org> Signed-off-by: Ramon Fried <ramon.fried@linaro.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/wcn36xx/Makefile')
-rw-r--r--drivers/net/wireless/ath/wcn36xx/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/wcn36xx/Makefile b/drivers/net/wireless/ath/wcn36xx/Makefile
index 3b09435104eb..582049f65735 100644
--- a/drivers/net/wireless/ath/wcn36xx/Makefile
+++ b/drivers/net/wireless/ath/wcn36xx/Makefile
@@ -6,3 +6,5 @@ wcn36xx-y += main.o \
smd.o \
pmc.o \
debug.o
+
+wcn36xx-$(CONFIG_NL80211_TESTMODE) += testmode.o