OpenCloudOS-Kernel/drivers/net/wireless/ath
Sven Eckelmann 4ab0b0aa57 ath9k: Update spectral scan output data
The sample data received through the spectral scan can be either in big or
little endian byteorder. This information isn't stored in the output file.
Therefore it is not possible for the analyzer software to find the correct byte
order.

It is relative common to get the data from a low end AP in big endian mode and
transfer it to another computer in little endian mode to analyze it. Therefore,
it would be better to store it in network (big endian) byte order.

The extension of the 8 bit bins for each bin to 16 bit is not necessary. This
operation can be done in userspace or on a different machine. Instead the
max_exp defining the amount of shifting required for each bin is exported to
userspace.

The change of the output format requires a change of the type in the sample
tlv to allow the userspace program to correctly detect the bin format.

Reported-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
[siwu@hrz.tu-chemnitz.de: squashed patches, update commit message, rebase, fix endianess bug]
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2013-01-30 15:06:42 -05:00
..
ar5523 wireless: allow Atheros card to not depend on ath.ko 2012-11-30 13:38:16 -05:00
ath5k wireless: make the reg_notifier() void 2013-01-14 11:32:44 +01:00
ath6kl wireless: make the reg_notifier() void 2013-01-14 11:32:44 +01:00
ath9k ath9k: Update spectral scan output data 2013-01-30 15:06:42 -05:00
carl9170 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-01-28 13:54:03 -05:00
wil6210 wireless: add new wil6210 802.11ad 60GHz driver 2013-01-04 16:10:53 -05:00
Kconfig wireless: add new wil6210 802.11ad 60GHz driver 2013-01-04 16:10:53 -05:00
Makefile wireless: add new wil6210 802.11ad 60GHz driver 2013-01-04 16:10:53 -05:00
ath.h ath9k: Add a module parameter to enable diversity 2012-09-24 14:59:11 -04:00
debug.c drivers/net: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:31:08 -04:00
hw.c ath_hw: Use common REG_WRITE parameter order 2012-10-19 15:53:06 -04:00
key.c ath9k: fix dynamic WEP related regression 2012-06-25 15:14:13 -04:00
main.c ath: Add and use pr_fmt, convert printks to pr_<level> 2012-04-10 14:52:13 -04:00
reg.h
regd.c wireless: make the reg_notifier() void 2013-01-14 11:32:44 +01:00
regd.h wireless: make the reg_notifier() void 2013-01-14 11:32:44 +01:00
regd_common.h ath: fix spelling of Grenada 2011-08-08 16:04:13 -04:00