]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: add spectral scan feature
authorSimon Wunderlich <sw@simonwunderlich.de>
Sat, 2 Aug 2014 06:12:54 +0000 (09:12 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 4 Aug 2014 06:07:54 +0000 (09:07 +0300)
commitabb5b929791f85cdddeab4612265a7b7e470109c
tree9d94bc1928b1dd95b4d807d751b1618a69964f7c
parent0c3b950c43a995cef7a1bfa91d9c6edd571810ea
ath10k: add spectral scan feature

Adds the spectral scan feature for ath10k. The spectral scan is triggered by
configuring a mode through a debugfs control file. Samples can be gathered via
another relay debugfs file.

Essentially, to try it out:

ip link set dev wlan0 up
echo background > /sys/kernel/debug/ieee80211/phy0/ath10k/spectral_scan_ctl
echo trigger > /sys/kernel/debug/ieee80211/phy0/ath10k/spectral_scan_ctl
iw dev wlan0 scan
echo disable > /sys/kernel/debug/ieee80211/phy0/ath10k/spectral_scan_ctl
cat /sys/kernel/debug/ieee80211/phy0/ath10k/spectral_scan0 > samples

This feature is still experimental. Based on the original RFC patch of
Sven Eckelmann.

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/Kconfig
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/mac.c
drivers/net/wireless/ath/ath10k/spectral.c [new file with mode: 0644]
drivers/net/wireless/ath/ath10k/spectral.h [new file with mode: 0644]
drivers/net/wireless/ath/ath10k/wmi.c
drivers/net/wireless/ath/ath10k/wmi.h
drivers/net/wireless/ath/spectral_common.h