Thanks Karl for the detailed response...will go through it.
Just one query....will the spectral scan work in parallel with WiFi AP or WiFi 
CLient mode?
What I mean is that when the WiFi chipset (AR92xx/AR93xx) is operating in AP or 
client mode, based on request from Linux userspace, it should also perform a 
scan of the spectrum and return the energy values.
Thanks & regards
Sandeep Suresh.

From: "k...@aspodata.se" <k...@aspodata.se>
To: sandeep.sur...@yahoo.co.in 
Cc: ath9k-devel@lists.ath9k.org; linux-wirel...@vger.kernel.org 
Sent: Monday, 10 February 2014 3:11 AM
Subject: Re: [ath9k-devel] How to prepare a 802.11 channel map with energy 
using ATH9K


Sandeep:
> This is regarding generating a 802.11 channel map with energy at
> periodic intervals. That means from a WiFi CLient I would like to
> query and retrieve the energy detected on each of the 802.11
> channel from the WiFi AP and prepare a map of it. This is
> simillar/same as results available from a Site survey tool loke
> "Fluxe based WiFi Air Check meter".

That functionality would be welcome. A review about Fluke's
air magnet is available at:

http://www.enterprisenetworkingplanet.com/netsysm/article.php/3652756/AirMagnets-Spectrum-Analyzer-20.htm

> Can anyone help me with the method and APIs available for the same?

There are patches at e.g.:
http://article.gmane.org/gmane.linux.kernel.wireless.general/102332/match=spectral+scan

The last one I have seen is
http://article.gmane.org/gmane.linux.kernel.wireless.general/117038/match=spectral+scan

The wireless playground seem to be:
http://wireless.kernel.org/en/developers/Documentation/git-guide
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-testing.git

The Atheros 92xx/93xx seems to support spectral scan:
http://wireless.kernel.org/en/users/Drivers/ath9k/spectral_scan/

To enable it look at:
http://wireless.kernel.org/en/users/Drivers/ath9k/debug

Programs to test spectral scan with:
https://github.com/simonwunderlich/FFT_eval/
https://github.com/LorenzoBianconi/ath_spectral

I am testing this with the kernel at:
http://turkos.aspodata.se/tmp/linux-image-3.12.8-i2-rt11_1_i386.deb

and using the preocedure in FFT_eval/scan.sh I just got my first scan:
http://turkos.aspodata.se/tmp/ath9k_first_scan

I'm using a TP-Link TL-WDN4800 pcie card for testing. 


Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57 
_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to