linux/drivers/net/wireless/ath/ath9k
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
..
Kconfig ath9k: Fix Kconfig for ATH9K_HTC 2013-01-04 14:34:27 -05:00
Makefile ath9k_hw: Add hardware code for WoW 2012-07-12 15:27:16 -04:00
ahb.c ath9k: use the devres API for allocations/mappings 2013-01-07 15:16:51 -05:00
ani.c ath9k_hw: remove a useless WARN_ON 2013-01-22 16:05:32 -05:00
ani.h ath9k_hw: reduce struct ar5416AniState size 2013-01-22 16:05:31 -05:00
antenna.c ath9k: Add a module parameter to enable diversity 2012-09-24 14:59:11 -04:00
ar955x_1p0_initvals.h ath9k_hw: Update initvals for QCA955x 2013-01-09 14:37:11 -05:00
ar5008_initvals.h ath9k: fix column header comments for some initval arrays 2013-01-07 15:16:53 -05:00
ar5008_phy.c ath9k_hw: use the devres API for allocations 2013-01-07 15:16:51 -05:00
ar9001_initvals.h ath9k: fix column header comments for some initval arrays 2013-01-07 15:16:53 -05:00
ar9002_calib.c
ar9002_hw.c ath9k_hw: fix RF bank initialization 2013-01-22 15:58:48 -05:00
ar9002_initvals.h ath9k_hw: INI changes for WoW for AR9002 chipsets 2012-07-12 15:27:16 -04:00
ar9002_mac.c ath9k: Gather and report IRQ sync_cause errors. 2012-04-16 14:16:58 -04:00
ar9002_phy.c ath9k_hw: ar9002_hw_spectral_scan_config() can be static 2013-01-14 15:10:40 -05:00
ar9002_phy.h ath9k: inline AR9271 1.0 INI overrides 2012-03-15 13:45:08 -04:00
ar9003_2p2_initvals.h ath9k_hw: add tx gain tables for newer devices 2013-01-11 14:50:00 -05:00
ar9003_calib.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-01-28 13:54:03 -05:00
ar9003_eeprom.c ath9k_hw: Add TempCompensation feature for AR9550 2013-01-09 14:37:11 -05:00
ar9003_eeprom.h ath9k: ar9003: fix OTP register offsets for AR9340 2012-12-10 15:49:44 -05:00
ar9003_hw.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-01-28 13:54:03 -05:00
ar9003_mac.c ath9k_hw: Handle AR_INTR_SYNC_HOST1_(FATAL|PERR) on AR9003 2012-09-28 13:54:10 -04:00
ar9003_mac.h ath9k: Fix descriptor length for AR9462 2012-02-27 14:05:44 -05:00
ar9003_mci.c ath9k: Fix MCI reset in BT cal_req 2012-11-21 14:16:01 -05:00
ar9003_mci.h ath9k: Add new BT profile info A2DP_Voice 2012-10-29 15:19:30 -04:00
ar9003_paprd.c ath9k_hw: Calculate the correct training power for PAPRD 2012-12-10 15:49:51 -05:00
ar9003_phy.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-01-28 13:54:03 -05:00
ar9003_phy.h ath9k_hw: Add TempCompensation feature for AR9550 2013-01-09 14:37:11 -05:00
ar9003_rtt.c ath9k_hw: Fix RTT calibration 2012-05-15 17:27:55 -04:00
ar9003_rtt.h ath9k_hw: Fix RTT calibration 2012-05-15 17:27:55 -04:00
ar9330_1p1_initvals.h ath9k: de-duplicate initvals 2012-06-28 14:37:47 -04:00
ar9330_1p2_initvals.h ath9k: de-duplicate initvals 2012-06-28 14:37:47 -04:00
ar9340_initvals.h ath9k_hw: add tx gain tables for newer devices 2013-01-11 14:50:00 -05:00
ar9462_2p0_initvals.h ath9k_hw: Fix wrong peak detector DC offset 2012-11-16 14:11:14 -05:00
ar9485_initvals.h ath9k_hw: add tx gain tables for newer devices 2013-01-11 14:50:00 -05:00
ar9565_1p0_initvals.h ath9k_hw: Enable hw PLL power save for AR9565 2012-10-29 15:30:31 -04:00
ar9580_1p0_initvals.h ath9k_hw: add tx gain tables for newer devices 2013-01-11 14:50:00 -05:00
ath9k.h ath9k: Update spectral scan output data 2013-01-30 15:06:42 -05:00
beacon.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-01-28 13:54:03 -05:00
btcoex.c ath9k: stomp audio profiles on weak signal strength 2012-11-21 14:16:01 -05:00
btcoex.h ath9k: stomp audio profiles on weak signal strength 2012-11-21 14:16:01 -05:00
calib.c ath9k_hw: Fix signal strength / channel noise reporting 2012-12-10 15:49:54 -05:00
calib.h ath9k_hw: Fix signal strength / channel noise reporting 2012-12-10 15:49:54 -05:00
common.c
common.h ath9k: Replace WME_NUM_TID with IEEE80211_NUM_TIDS 2012-11-30 13:38:15 -05:00
debug.c ath9k: Update spectral scan output data 2013-01-30 15:06:42 -05:00
debug.h ath9k: drop spectral packets after processing them 2013-01-30 15:06:40 -05:00
dfs.c ath9k: extend DFS detector stats in dfs_debugfs 2012-04-23 15:37:41 -04:00
dfs.h ath9k: update to DFS pattern detector interface 2012-04-11 16:23:54 -04:00
dfs_debug.c ath9k: extend DFS detector stats in dfs_debugfs 2012-04-23 15:37:41 -04:00
dfs_debug.h ath9k: extend DFS detector stats in dfs_debugfs 2012-04-23 15:37:41 -04:00
dfs_pattern_detector.c ath9k: [DFS] add pulse width tolerance for ETSI 2012-11-16 14:11:13 -05:00
dfs_pattern_detector.h ath9k: resolve name collision in DFS detector 2012-11-14 14:55:32 -05:00
dfs_pri_detector.c ath9k: extend DFS detector stats in dfs_debugfs 2012-04-23 15:37:41 -04:00
dfs_pri_detector.h ath9k: add DFS pattern detector 2012-04-11 16:23:52 -04:00
eeprom.c ath9k: allow to load EEPROM content via firmware API 2012-12-10 15:49:57 -05:00
eeprom.h ath9k: use 'struct ath_hw *' as the first argument for 'ath9k_hw_nvram_read' 2012-12-10 15:49:56 -05:00
eeprom_4k.c ath9k: use 'struct ath_hw *' as the first argument for 'ath9k_hw_nvram_read' 2012-12-10 15:49:56 -05:00
eeprom_9287.c ath9k: use 'struct ath_hw *' as the first argument for 'ath9k_hw_nvram_read' 2012-12-10 15:49:56 -05:00
eeprom_def.c ath9k: use 'struct ath_hw *' as the first argument for 'ath9k_hw_nvram_read' 2012-12-10 15:49:56 -05:00
gpio.c ath9k/ath9k_htc: Remove WME macros 2012-11-21 14:16:02 -05:00
hif_usb.c ath9k_htc: Add PID/VID for a Ubiquiti WiFiStation 2012-10-24 13:18:08 -04:00
hif_usb.h wireless: ath9k-htc: only load firmware in need 2012-09-07 15:03:36 -04:00
htc.h ath9k/ath9k_htc: Remove WME macros 2012-11-21 14:16:02 -05:00
htc_drv_beacon.c ath9k/ath9k_htc: Remove WME macros 2012-11-21 14:16:02 -05:00
htc_drv_debug.c ath9k/ath9k_htc: Remove WME macros 2012-11-21 14:16:02 -05:00
htc_drv_gpio.c ath9k/ath9k_htc: Remove WME macros 2012-11-21 14:16:02 -05:00
htc_drv_init.c wireless: make the reg_notifier() void 2013-01-14 11:32:44 +01:00
htc_drv_main.c mac80211: split TX aggregation stop action 2013-01-03 13:01:42 +01:00
htc_drv_txrx.c ath9k_htc: RX timestamp is reported at end of frame 2012-12-11 16:00:38 -05:00
htc_hst.c ath9k_htc: Fix memory leak 2013-01-11 14:12:01 -05:00
htc_hst.h
hw-ops.h ath9k_hw: use the devres API for allocations 2013-01-07 15:16:51 -05:00
hw.c ath9k_hw: remove ath9k_hw_ani_setup and its variables 2013-01-22 16:05:31 -05:00
hw.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-01-28 13:54:03 -05:00
init.c ath9k: add debug parameters for spectral scan 2013-01-30 15:06:40 -05:00
link.c ath9k_hw: Add HW cap for PAPRD 2012-12-10 15:49:50 -05:00
mac.c ath9k: reorder error codes for spectral 2013-01-30 15:06:41 -05:00
mac.h ath9k: add spectral scan feature 2013-01-09 14:37:12 -05:00
main.c ath9k: add debug parameters for spectral scan 2013-01-30 15:06:40 -05:00
mci.c ath9k: use the devres API for allocations/mappings 2013-01-07 15:16:51 -05:00
mci.h ath9k: Add new BT profile info A2DP_Voice 2012-10-29 15:19:30 -04:00
pci.c ath9k: use the devres API for allocations/mappings 2013-01-07 15:16:51 -05:00
phy.h
rc.c ath9k: Fix rate control debugging 2012-11-21 14:16:04 -05:00
rc.h ath9k: Fix rate control debugging 2012-11-21 14:16:04 -05:00
recv.c ath9k: Update spectral scan output data 2013-01-30 15:06:42 -05:00
reg.h ath9k_hw: add tx gain tables for newer devices 2013-01-11 14:50:00 -05:00
wmi.c
wmi.h
wow.c ath9k_hw: Configure new switch table for AR9565 BTCOEX 2012-10-29 15:19:30 -04:00
xmit.c ath9k: use ath_tx_process_buffer instead of open-coding similar code 2013-01-22 16:03:21 -05:00