From: Claudio <rossi.claudio.82@gmail.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Spectral Scan in ath9k
Date: Wed, 8 May 2013 16:15:49 +0000 (UTC) [thread overview]
Message-ID: <loom.20130508T180809-509@post.gmane.org> (raw)
In-Reply-To: 20120601085714.GA1205@infinet.ru
Alex Hacker <hacker <at> epn.ru> writes:
>
> On Thu, May 31, 2012 at 12:19:08PM -0700, Adrian Chadd wrote:
> > Argh, there's more to it..
> >
> > For AR9160 and later, you can enable the FFT bit in one of the radar
> > registers and you'll get some FFT reports for longer radar pulses.
> > It's enabled by default in the code that we've committed to ath9k and
> > FreeBSD HAL.
> >
> > Spectral scan mode is related but different (and not in AR9160.)
> >
> > So for longer pulses, you'll get RADAR payload (phyerr code = 5) which
> > may just have the pri/ext pulse duration and some config info, or it
> > may have a series of FFT reports first. That's just for radar stuff
> > though, it's not spectral scan.
> >
> > That's why he mentioned code = 5 or code = 38.
> >
> >
> > Adrian
>
> Hi Adrian.
> Yes, I'm thinking same way. You right, some additional information
required.
> But for guys who have an interest and time to do some reverse engineering
we
> give a starting point. :) Just another more clear hint for them. Look into
> published DFS code (it's low level part) and HW radar filter parameters in
> AR_PHY_RADAR_* registers.
>
> Best regards to you,
> Alex.
>
Hi all,
first of all thank you for the code you have developed.
I have tried to use it but at each time outputs a different number of FFT
samples.
I am using FFT_eval (https://github.com/simonwunderlich/FFT_eval) and the
following commands:
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.
I was wondering what causes such variability on how (if possible) perform
the spectral scan obtaining a high and constant sample set.
I am not touching the other parameters and I am using compat-drivers-3.9-
rc4-2-s
Thank you
Claudio
next prev parent reply other threads:[~2013-05-08 16: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 [this message]
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
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=loom.20130508T180809-509@post.gmane.org \
--to=rossi.claudio.82@gmail.com \
--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