From: Gui Iribarren <gui@altermundi.net>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Realtime plot of Spectral Scan in ath9k
Date: Thu, 25 Jul 2013 10:43:50 -0300 [thread overview]
Message-ID: <51F12B96.5020401@altermundi.net> (raw)
In-Reply-To: <51B5EDA6.6030009@altermundi.net>
On 06/10/2013 12:15 PM, Gui Iribarren wrote:
> 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/
And today, as a homage,
I destroyed Simon's code, removing SDL-related stuff, and managed to
port it to (a.k.a. blindly hacked my way into) an openwrt package.
then threw in some flot and *cough*bash-cgi, and made this mashup of a
realtime plot of a spectral scan result, running at 3fps, while
maintaining normal traffic, since samples are collected during idle
times with no channel hopping involved
http://czuk.red.quintanalibre.org.ar/spectral_scan.html
(as usual, it's ipv6 only, `dig aaaa @8.8.8.8` if in doubt
also, czuk's connectivity has been flaky these days, so if it doesn't
work, retry in a couple hours)
i only wrote a few lines (most of the work was in fact the *opposite* of
writing ;) ), but the obligatory fork is here
https://github.com/libre-mesh/FFT_eval/
i haven't wrapped up neatly the openwrt Makefile yet, or flot html/ json
cgi, but will do ASAP and send links
plotting the whole spectrum is trivial (a single line of code) but
hopping takes longer (i see a 45ms gap between one freq and another, vs
1.5 ms between samples on the same freq) and disrupts communications, so
fps must be lowered to about 0.3 to get a reasonable compromise between
1) temporal resolution, and 2) being able to communicate to get the data.
(unless, of course, you do like some propietary vendors who disable
radios during spectral scan views, which then you can only get through
ethernet, with mobile-unfriendly java software :P)
Cheers!
Gui
next prev parent reply other threads:[~2013-07-25 13:43 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
2013-07-25 13:43 ` Gui Iribarren [this message]
2013-07-25 19:54 ` [ath9k-devel] Realtime plot of " 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=51F12B96.5020401@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.