ath10k: add testmode
authorKalle Valo <kvalo@qca.qualcomm.com>
Wed, 10 Sep 2014 15:23:30 +0000 (18:23 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 11 Sep 2014 20:42:36 +0000 (23:42 +0300)
commit43d2a30fa80166243498fc6b8c841828ce52fcc1
tree47e1db5f4cbb7a7f2c9bd058383fb29a51d4b04b
parent666a73f327d5a8fec58bbfedb36ae545862f479e
ath10k: add testmode

Add testmode interface for starting and using UTF firmware which is used to run
factory tests. This is implemented by adding new state ATH10K_STATE_UTF and user
space can enable this state with ATH10K_TM_CMD_UTF_START command. To go back to
normal mode user space can send ATH10K_TM_CMD_UTF_STOP.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/Makefile
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/debug.c
drivers/net/wireless/ath/ath10k/debug.h
drivers/net/wireless/ath/ath10k/hw.h
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/testmode.c [new file with mode: 0644]
drivers/net/wireless/ath/ath10k/testmode.h [new file with mode: 0644]
drivers/net/wireless/ath/ath10k/testmode_i.h [new file with mode: 0644]
drivers/net/wireless/ath/ath10k/wmi.c