From: Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
To: Martin Schleier <drahemmaps@gmx.net>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [RFC 0/3] Add spectral scan support for Atheros AR92xx/AR93xx
Date: Tue, 27 Nov 2012 20:49:52 +0100 [thread overview]
Message-ID: <20121127194952.GA530@pandem0nium> (raw)
In-Reply-To: <loom.20121127T201036-82@post.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 2176 bytes --]
On Tue, Nov 27, 2012 at 07:16:38PM +0000, Martin Schleier wrote:
> Simon Wunderlich <simon.wunderlich@...> writes:
>
> > This patchset is a first request for comments for the upcoming spectral
> > scan feature. It adds a new attribute to nl80211 to ask for a spectral
> > scan while scanning, because we cycle through the channels anyway at
> > this time. If enabled by the driver, spectral scan results will be
> > collected. This feature has been enabled for AR92xx and AR93xx based
> > chipsets. As the FFT samples are very hardware dependent, they are only
> > provided via a debugfs file for further evaluation.
> >
> > [3] http://www.wehavemorefun.de/fritzbox/Ath_spectral.ko#Symbole
>
> Erm. Just a quick question, since you mentioned this fritzbox ath_spectral.ko
> module... Is your "work" based or related to it, i.e.: did you peek at the
> assembler listings of it, or did someone else write a spec. and you just
> implemented it?
I didn't peek in assembler listings or anything, I've mostly followed
hints given on this mailing list or on the web and did some research who
else did implement spectrum scanning. Some of my sources:
http://permalink.gmane.org/gmane.linux.drivers.ath9k.devel/4834
http://comments.gmane.org/gmane.linux.drivers.ath9k.devel/8409
http://wiki.mikrotik.com/wiki/Manual:Spectrum_analyzer
From this, one can grasp that the AR_PHY_SPECTRAL_SCAN has to be used and
some phy errors have to be interpreted (phy error 5 and 38). The rest was
mostly trial and error, including the interpretation of the data - most of
this is guessing and comparing to the Ubiquiti AirView [1] Spectrum analyzer
USB dongle when using an analogue wireless camera. :)
The goal of this was to create the spectral scan feature based on public
information, so the results are probably not optimal yet, but I hope that
this will help to move Qualcomm/Atheros disclosing some information (this seems
to be planned anyway[2]). Otherwise, maybe other people can help
reverse-engineering this. :)
Cheers,
Simon
[1] http://www.ubnt.com/airview
[2] http://thread.gmane.org/gmane.linux.drivers.ath9k.devel/8409/focus=8411
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2012-11-27 19:50 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-27 19:01 [RFC 0/3] Add spectral scan support for Atheros AR92xx/AR93xx Simon Wunderlich
2012-11-27 19:01 ` [RFC 1/3] nl80211: add spec scan flag Simon Wunderlich
2012-11-28 12:35 ` Johannes Berg
2012-11-28 12:43 ` Johannes Berg
2012-11-28 15:19 ` Simon Wunderlich
2012-11-28 15:29 ` [ath9k-devel] " Malinen, Jouni
2012-11-28 16:12 ` Simon Wunderlich
2012-11-28 16:49 ` Malinen, Jouni
2012-11-28 16:57 ` Johannes Berg
2012-11-28 17:06 ` Malinen, Jouni
2012-11-28 17:09 ` Johannes Berg
2012-11-28 16:26 ` Johannes Berg
2012-11-28 19:39 ` Simon Wunderlich
2012-11-27 19:01 ` [RFC 2/3] mac80211: add spectral_scan function, hook it up in scanning Simon Wunderlich
2012-11-27 19:01 ` [RFC 3/3] ath9k: add spectral scan feature Simon Wunderlich
2012-12-01 4:00 ` Adrian Chadd
2012-12-05 10:40 ` Simon Wunderlich
2012-12-05 11:38 ` Felix Fietkau
2012-12-05 12:05 ` Adrian Chadd
2012-12-17 20:08 ` Adrian Chadd
2012-11-27 19:01 ` [RFC] iw: add spectral scan attribute to scan function Simon Wunderlich
2012-11-27 19:16 ` [RFC 0/3] Add spectral scan support for Atheros AR92xx/AR93xx Martin Schleier
2012-11-27 19:49 ` Simon Wunderlich [this message]
2012-11-27 20:32 ` Simon Wunderlich
2012-11-27 21:01 ` Jonathan Bither
2012-11-28 10:37 ` Simon Wunderlich
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=20121127194952.GA530@pandem0nium \
--to=simon.wunderlich@s2003.tu-chemnitz.de \
--cc=drahemmaps@gmx.net \
--cc=linux-wireless@vger.kernel.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).