summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/spectral.c
Commit message (Collapse)AuthorAgeFilesLines
* ath9k: move spectral.* to common-spectral.*Oleksij Rempel2014-11-111-614/+0
| | | | | | | and rename exports from ath9k_spectral_* to ath9k_cmn_spectral_* Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* ath9k: move ath9k_spectral_scan_ from main.c to spectral.cOleksij Rempel2014-11-111-0/+70
| | | | | | | Now we should be ready to make this code common. Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* ath9k: make ath9k_spectral_scan_ do not depend on ath_softcOleksij Rempel2014-11-111-5/+5
| | | | | | | last preparation before moving ath9k_spectral_scan_ to spectral.c Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* ath9k: use ath_common instead of ieee80211_hw in ath9k_spectral_scan_Oleksij Rempel2014-11-111-5/+5
| | | | | | | we don't have here any ieee80211_hw dependencies any way. Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* ath9k: remove all struct ath_softc dependencies from spectral codeOleksij Rempel2014-11-111-43/+44
| | | | | Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* ath9k: use struct dentry by ath9k_spectral_init_debugOleksij Rempel2014-11-111-7/+7
| | | | | | | this will alow us to make ath_softc independent code. Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* ath9k: move spec_config to ath_spec_scan_privOleksij Rempel2014-11-111-8/+8
| | | | | Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* ath9k: move spectral_mode to ath_spec_scan_privOleksij Rempel2014-11-111-1/+1
| | | | | Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* ath9k: add struct ath_spec_scan_privOleksij Rempel2014-11-111-6/+6
| | | | | | | | and move rfs_chan_spec_scan to this struct. We will need it for common spectral scan code. Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* ath9k: fix wrong string size for strncmp in write_file_spec_scan_ctl()Maks Naumov2014-08-251-1/+1
| | | | | Signed-off-by: Maks Naumov <maksqwe1@ukr.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* ath9k: drop negativity checks for unsigned values coming from kstrtoul()Andrey Utkin2014-07-181-4/+4
| | | | | | | | Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=80471 Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=80481 Reported-by: David Binderman <dcb314@hotmail.com> Signed-off-by: Andrey Utkin <andrey.krieger.utkin@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* ath9k: fix sparse non static symbol warningWei Yongjun2014-01-031-1/+1
| | | | | | | | | | Fixes the following sparse warning: drivers/net/wireless/ath/ath9k/spectral.c:500:24: warning: symbol 'rfs_spec_scan_cb' was not declared. Should it be static? Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* ath9k: Cleanup spectral scan codeSujith Manoharan2013-12-181-0/+543
* Move definitions to spectral.h * Move processing/debug code to spectral.c Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
OpenPOWER on IntegriCloud