Search Linux Wireless

Re: [RFCv2] Add spectral scan support for Atheros AR92xx/AR93xx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Simon - I've reviewed your code a bit.

You're not (yet) shifting the magnitude values over as needed before
trying to extract the channel power out of it all.

Specifically:

* each bin has a 7 bit value;
* the bin value is scaled by max_exp;
* there's a max magnitude value which I don't think you need for
spectral FFT reports; only radar FFT reports (since in radar FFT
reports, the reported FFT bins are between 0..7/8ths of the maximum
magnitude value)

You're not scaling the data by max_exp in your FFT dump program, so
the values aren't entirely correct.
Are you doing it in the kernel code?

I've just finished my first pass at this and plotting whatever values
I get from the spectral data frames. I'll post more updates as I
find/fix more bugs.

Thanks,



Adrian
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux