ath9k: Support processing of multiple FFT frames per report.
authorNick Kossifidis <mickflemm@gmail.com>
Wed, 29 Apr 2015 23:51:16 +0000 (23:51 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 9 May 2015 13:46:13 +0000 (16:46 +0300)
commit72dd2cdaade639edc91483d5b0e526701926f630
tree3ad652d4a60b8d9ffba9fc41f644fc74266d93bb
parent7fa580c193490beb0fb713ecb7611bf59f00021b
ath9k: Support processing of multiple FFT frames per report.

Since we can identify the FFT frames on the report by checking the
consistency of their magnitude info, we can process all of them,
even when some of them are corrupted.

This patch introduces two functions to quickly verify the integrity
of the mag_info fields and some further tweaks to detect the frames
in the report and process them.

Note that in case of missing bytes we don't duplicate them, instead
we leave them as zeroes. This way we get less noise on the FFT plot.

Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/common-spectral.c
This page took 0.028631 seconds and 5 git commands to generate.