diff options
| author | Nick Kossifidis <mickflemm@gmail.com> | 2015-04-30 02:51:15 +0300 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2015-05-09 16:46:12 +0300 |
| commit | 7fa580c193490beb0fb713ecb7611bf59f00021b (patch) | |
| tree | fe500727921e46b6e5a1bc8d753b26bd1fffc49b /lib/mpi/mpi-bit.c | |
| parent | 58b5e4c731b5b8455571fbd64a100e3afe4fa501 (diff) | |
| download | linux-7fa580c193490beb0fb713ecb7611bf59f00021b.tar.xz | |
ath9k: Perform integrity checks when processing FFT frames
a) Check that the maximum magnitude is at the specified index
b) Check if the maximum magnitude index is at dc_pos and if so
calculate a new one (value at dc_pos is invalid)
c) Check if the specified maximum magnitude is indeed the maximum
Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions
