From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Hacker Date: Thu, 31 May 2012 19:27:20 +0600 Subject: [ath9k-devel] Spectral Scan in ath9k In-Reply-To: References: <20120530102533.GA28491@infinet.ru> Message-ID: <20120531132720.GA374@infinet.ru> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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 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 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 --