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]

 



On 12/18/2012 02:46 PM, Simon Wunderlich wrote:
> [...]
> 
> Yes, that helped very much, especially the varying data part was something I had no
> clue about. This might also fix the "weird high numbers in the middle of the dump"
> problem I was seeing.
> 
If you mean the bin at center frequency, it is because spectral is blind there. To
remove discontinuity, that bin is interpolated, see line
+	// DC value is invalid -> interpolate
+	*dc_pwr = (dc_pwr[-1] + dc_pwr[1]) / 2;

> I'll change the patch according to your explanations, so that only 56 byte data samples
> are returned (at least for HT20).
> 
> Thank you very much!
> 	Simon
> 

Good luck!
Zefir
--
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