From mboxrd@z Thu Jan 1 00:00:00 1970 From: karl at aspodata.se Date: Sun, 9 Feb 2014 22:41:08 +0100 (CET) Subject: [ath9k-devel] How to prepare a 802.11 channel map with energy using ATH9K In-Reply-To: <1391784518.29684.YahooMailNeo@web193505.mail.sg3.yahoo.com> References: <515A0847.7000306@gmail.com> <1365088789.89181.YahooMailNeo@web193504.mail.sg3.yahoo.com> <1365131280.68622.YahooMailNeo@web193506.mail.sg3.yahoo.com> <1365148844.61162.YahooMailNeo@web193503.mail.sg3.yahoo.com> <1365152761.13005.YahooMailNeo@web193505.mail.sg3.yahoo.com> <20830.46610.23754.783231@gargle.gargle.HOWL> <1365175482.75704.YahooMailNeo@web193505.mail.sg3.yahoo.com> <1365346495.79596.YahooMailNeo@web193506.mail.sg3.yahoo.com> <1366084534.24187.YahooMailNeo@web193501.mail.sg3.yaho o.com> <1366194814.88121.YahooMailNeo@web193506.mail.sg3.yahoo.com> <1366248389.18545.YahooMailNeo@web193503.mail.sg3.yahoo.com> <1366281249.7026.YahooMailNeo@web193504.mail.sg3.yahoo.com> <1369118418.41680.YahooMailNeo@web193504.mail.sg3.yahoo.com> <1369201780.73721.YahooMailNeo@web193506.mail.sg3.yahoo.com> <1372140589.84426.YahooMailNeo@web193506.mail.sg3.yahoo.com> <1373035549.60009.YahooMailNeo@web193504.mail.sg3.yahoo.com> <1391784518.29684.YahooMailNeo@web193505.mail.sg3.yahoo.com> Message-ID: <20140209214108.506F38045B78@turkos.aspodata.se> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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