All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gui Iribarren <gui@altermundi.net>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Realtime plot of Spectral Scan in ath9k
Date: Fri, 26 Jul 2013 13:18:18 -0300	[thread overview]
Message-ID: <51F2A14A.2020809@altermundi.net> (raw)
In-Reply-To: <CAJ-Vmok92GQ_THbQkQhgPsLpQBYeOuAbEkQngjYOmNdnWT_T1Q@mail.gmail.com>

On 07/25/2013 04:54 PM, Adrian Chadd wrote:
> Cool!
>
> Where's the web-side of things?
>
> I'd like to write a freebsd version of this and just share the same
> web UI for plotting.

Hey Adrian!
glad you liked it :D

i made fft_eval output JSON with that in mind. Later it can be optimized 
to save bandwidth, but for my first tinkerings, plain JSON is easier :)

>> i haven't wrapped up neatly the openwrt Makefile yet, or flot html/ json
>> cgi, but will do ASAP and send links

work in progress...
[as of this writing, still mising a trivial Makefile to make a proper 
openwrt package]

https://github.com/libre-mesh/lime-packages/tree/master/packages/spectral-scan-webgui

http://[2a00:1508:1:f002:6670:2ff:feed:f8da]/spectral_scan.html

San Piccinini is working on the waterfall view, consuming the same JSON

http://[2a00:1508:1:f002:6670:2ff:feed:f8da]/spectral_scan_waterfall.html

Gabriel Tolon has various measurement equipment, so i hope with this 
visualization he'll be able to better calibrate or find 
misintepretations of the source data :D

>>
>> 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)

Turns out I didn't quite understand the meaning of the "tsf",
so those figures are crap,

A full pass over thirteen 2.4ghz channels on my hardware (iw wlan0 scan) 
takes about 75ms, so about 6ms per hop

(specifying "passive" only makes it take longer, funny)

have a nice day!

gui

>> 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
>>
>>

  reply	other threads:[~2013-07-26 16:18 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                 ` [ath9k-devel] Realtime plot of " Gui Iribarren
2013-07-25 19:54                   ` Adrian Chadd
2013-07-26 16:18                     ` Gui Iribarren [this message]
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=51F2A14A.2020809@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.