From: Alex Hacker <hacker@epn.ru>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Spectral Scan in ath9k
Date: Thu, 31 May 2012 19:27:20 +0600 [thread overview]
Message-ID: <20120531132720.GA374@infinet.ru> (raw)
In-Reply-To: <CABeHafjawVFXi7V+dabU57HKiUSNj0_GvY19GKBYZpPq4t-zag@mail.gmail.com>
On Thu, May 31, 2012 at 07:58:11AM -0300, Saulo Queiroz wrote:
> Alex,
> I'm really new in the ath9k code.
> May you give at least soure-code-related key words about that?
> What should I look for in the code to get raw FFT?
> Then, what may you point a reference about what procedure should be
> performed in mathlab to decoded it?
> thanks
Hi Saulo,
It's too long to describe all required code in detail but in short you need
to do the following.
1. Enable receiving of radar pulses in AR_RX_FILTER register.
2. Set some values in AR_PHY_SPECTRAL_SCAN. Do not miss both
AR_PHY_SPECTRAL_SCAN_ENABLE and AR_PHY_SPECTRAL_SCAN_ACTIVE bits.
3. Catch the rx descriptors with phy error 5 (on ar92xx) or 38 (on ar93xx).
You get several packets around 1500 bytes long with FFT data. About MatLab it
is joke of course, but it can be helpful in data analysis. :) For my eye it
looks like series of radar pulses.
Best wishes to you, let me know if you found something.
Alex.
>
> On 30 May 2012 07:25, Alex Hacker <hacker@epn.ru> wrote:
>
> Hi,
>
> It's easy to get raw FFT data from the card, but then some
> cryptoanalytic work
> should be done in MathLab. Actualy I'm busy (lazy) man... will wait for
> open
> information which Adrian promised. :) I beleave the open source
> community can
> implement these features better than MicroTik did it.
>
> Best regards,
> Alex.
> On Sat, Mar 24, 2012 at 03:53:40PM -0700, Adrian Chadd wrote:
> > On 24 March 2012 08:50, Saulo Queiroz <ssaulojorge@gmail.com> wrote:
> > > Hello,
> > >
> > > I intend to use ath9k to perform some tests on demodulated FFT
> samples.
> > > I found out the definition #define AR_PHY_SPECTRAL_SCAN
> > > 0x9910 /* AR9280 spectral scan configuration register
> > > but since I am a beginner in the ath9k, I have no idea about using
> it to
> > > achieve my goal.
> > >
> > > I really would be very grateful if some can provide me with
> informations
> > > that help me to access such data in the code.
> >
> > Hi,
> >
> > People keep asking about spectral scan, bah. :-)
> >
> > There are some plans afoot to try and get this stuff opened and
> > documented. Like anything, it's more complicated than "just provide
> > register details", as it's not as easy as just flipping on some bits
> > and getting FFT samples.
> >
> >
> >
> > Adrian
> > _______________________________________________
> > ath9k-devel mailing list
> > ath9k-devel at lists.ath9k.org
> > https://lists.ath9k.org/mailman/listinfo/ath9k-devel
> --
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
> --
> Saulo Jorge bq
> -
> "In theory, there is no difference between practice and theory, in
> practice there is"
> -- Someone
>
> References
>
> Visible links
> . mailto:hacker at epn.ru
> . mailto:ssaulojorge at gmail.com
> . mailto:ath9k-devel at lists.ath9k.org
> . https://lists.ath9k.org/mailman/listinfo/ath9k-devel
> . mailto:ath9k-devel at lists.ath9k.org
> . https://lists.ath9k.org/mailman/listinfo/ath9k-devel
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
--
next prev parent reply other threads:[~2012-05-31 13:27 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 [this message]
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
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=20120531132720.GA374@infinet.ru \
--to=hacker@epn.ru \
--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;
as well as URLs for NNTP newsgroup(s).