From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peizhao Hu Date: Fri, 01 Jun 2012 13:01:11 +1000 Subject: [ath9k-devel] Spectral Scan in ath9k In-Reply-To: References: <20120530102533.GA28491@infinet.ru> Message-ID: <4FC83077.6010607@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On 01/06/12 05:19, 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 > _______________________________________________ > ath9k-devel mailing list > ath9k-devel at lists.ath9k.org > https://lists.ath9k.org/mailman/listinfo/ath9k-devel Hi Adrian, To summarize what you saying if I have later chipset than AR9160 (e.g., AR9280/AR9285), then the FFT bit is enabled by default. 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. Could you please explain what you mean by the radar stuff? So what is the spectral scan report? does anyone know? Is there anyone ready to start a documentation on this feature? -- Regards; Peizhao