Historical ath9k-devel archives
 help / color / mirror / Atom feed
From: Gui Iribarren <gui@altermundi.net>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Spectral Scan in ath9k
Date: Mon, 10 Jun 2013 17:15:50 +0200	[thread overview]
Message-ID: <51B5EDA6.6030009@altermundi.net> (raw)
In-Reply-To: <518A905B.1050309@rempel-privat.de>

On 05/08/2013 07:50 PM, Oleksij Rempel wrote:
> Am 08.05.2013 18:15, schrieb Claudio:
>> Hi all,
>>    first of all thank you for the code you have developed.

Indeed, it opens the door to many interesting possibilities!
Thanks a lot Simon and Mathias for letting the genie out of the bottle, 
and Adrian, Felix, Zefir for helping its way out :P

I finally got to play with Simon's code and it works better than i expected
http://blog.altermundi.net/article/playing-with-ath9k-spectral-scan/

>> echo chanscan > /sys/kernel/debug/ieee80211/phy0/ath9k/spectral_scan_ctl
>> iw dev wlan0 scan
>> cat /sys/kernel/debug/ieee80211/phy0/ath9k/spectral_scan0 > /tmp/fft_resusts
>> ./fft_eval /tmp/fft_results
>>
>> On average I get 200-400 samples but sometimes I got even 7k samples, which
>> is very good.

In my case i get a fairly constant 112 samples per "iw wlan0 scan", but 
as always, YMMV.

maybe something is triggering periodic scans on your hardware? (i.e. a 
STA wifi-iface in OpenWrt does this every 2 or 3 seconds until it 
associates to an AP). In that case, just idling between "cat 
spectral_scan"s will increase the number of samples.
Try running "iw event" in parallel to see what's happening.

Cheers and have spectral fun!!

Gui

  reply	other threads:[~2013-06-10 15:15 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-24 15:50 [ath9k-devel] Spectral Scan in ath9k Saulo Queiroz
2012-03-24 22:53 ` Adrian Chadd
2012-05-30 10:25   ` Alex Hacker
2012-05-31 10:58     ` Saulo Queiroz
2012-05-31 13:27       ` Alex Hacker
2012-05-31 14:48     ` abhinav narain
2012-05-31 19:19       ` Adrian Chadd
2012-06-01  3:01         ` Peizhao Hu
2012-06-01 14:10           ` Adrian Chadd
2012-06-01  8:57         ` Alex Hacker
2013-05-08 16:15           ` Claudio
2013-05-08 17:50             ` Oleksij Rempel
2013-06-10 15:15               ` Gui Iribarren [this message]
2013-07-25 13:43                 ` [ath9k-devel] Realtime plot of " Gui Iribarren
2013-07-25 19:54                   ` Adrian Chadd
2013-07-26 16:18                     ` Gui Iribarren
2013-07-26 18:26                       ` Gui Iribarren
2013-07-26 21:18                         ` Adrian Chadd
2013-07-28  7:29                           ` Gui Iribarren
2013-07-28 17:52                             ` Adrian Chadd
2013-07-30 12:12                   ` Michal Kazior
2013-07-25 20:24                 ` [ath9k-devel] Measurements with " Gabriel Tolón

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51B5EDA6.6030009@altermundi.net \
    --to=gui@altermundi.net \
    --cc=ath9k-devel@lists.ath9k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox