From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Hacker Date: Fri, 1 Jun 2012 14:57:14 +0600 Subject: [ath9k-devel] Spectral Scan in ath9k In-Reply-To: References: <20120530102533.GA28491@infinet.ru> Message-ID: <20120601085714.GA1205@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 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.