Search Linux Wireless

Re: [RFC 0/3] Add spectral scan support for Atheros AR92xx/AR93xx

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

 



On Tue, Nov 27, 2012 at 07:16:38PM +0000, Martin Schleier wrote:
> Simon Wunderlich <simon.wunderlich@...> writes:
> 
> > This patchset is a first request for comments for the upcoming spectral
> > scan feature. It adds a new attribute to nl80211 to ask for a spectral
> > scan while scanning, because we cycle through the channels anyway at
> > this time. If enabled by the driver, spectral scan results will be
> > collected. This feature has been enabled for AR92xx and AR93xx based
> > chipsets. As the FFT samples are very hardware dependent, they are only
> > provided via a debugfs file for further evaluation.
> > 
> > [3] http://www.wehavemorefun.de/fritzbox/Ath_spectral.ko#Symbole
> 
> Erm. Just a quick question, since you mentioned this fritzbox ath_spectral.ko
> module... Is your "work" based or related to it, i.e.: did you peek at the
> assembler listings of it, or did someone else write a spec. and you just
> implemented it? 

I didn't peek in assembler listings or anything, I've mostly followed
hints given on this mailing list or on the web and did some research who
else did implement spectrum scanning. Some of my sources:

http://permalink.gmane.org/gmane.linux.drivers.ath9k.devel/4834
http://comments.gmane.org/gmane.linux.drivers.ath9k.devel/8409
http://wiki.mikrotik.com/wiki/Manual:Spectrum_analyzer

From this, one can grasp that the AR_PHY_SPECTRAL_SCAN has to be used and
some phy errors have to be interpreted (phy error 5 and 38). The rest was
mostly trial and error, including the interpretation of the data - most of
this is guessing and comparing to the Ubiquiti AirView [1] Spectrum analyzer
USB dongle when using an analogue wireless camera. :)

The goal of this was to create the spectral scan feature based on public
information, so the results are probably not optimal yet, but I hope that
this will help to move Qualcomm/Atheros disclosing some information (this seems
to be planned anyway[2]). Otherwise, maybe other people can help
reverse-engineering this. :)

Cheers,
	Simon

[1] http://www.ubnt.com/airview
[2] http://thread.gmane.org/gmane.linux.drivers.ath9k.devel/8409/focus=8411

Attachment: signature.asc
Description: Digital signature


[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