Re: [ath9k-devel] [RFC] Where are the sanity checks in ath9k done?

2012-10-09 Thread Torsten Zimmermann
Hi, Can someone point out where it can be enabled that the driver passes frames even if the device is not associated? (Unfortunately even with a look at what happens if i trigger a scan - where the device is able to receive beacons/probe respones without being associated - i couldn't

Re: [ath9k-devel] [RFC] Where are the sanity checks in ath9k done?

2012-10-08 Thread Torsten Zimmermann
Adrian Chadd adrian at freebsd.org writes: erm, I think you're misunderstanding what's going on there. The last thing the hardware DMAs out at that point is that last dword, with the RxDone bit set. There's no guarantee that the hardware is DMAing out raw frame contents to main memory at

Re: [ath9k-devel] [RFC] Where are the sanity checks in ath9k done?

2012-10-04 Thread Torsten Zimmermann
After some messing around with the receive path in the driver i did the following: - I enabled the receive tasklet without being associated - In ath9k/mac.c, i disabled /* OH MY GOD ... if ((adsp-ds_rxstatus8 AR_RxDone) == 0) return -EINPROGRESS; */ -

Re: [ath9k-devel] [RFC] Where are the sanity checks in ath9k done?

2012-10-04 Thread Adrian Chadd
erm, I think you're misunderstanding what's going on there. The last thing the hardware DMAs out at that point is that last dword, with the RxDone bit set. There's no guarantee that the hardware is DMAing out raw frame contents to main memory at all. There's an internal RX FIFO which it uses to

Re: [ath9k-devel] [RFC] Where are the sanity checks in ath9k done?

2012-10-03 Thread Mohammed Shafi
On Tue, Oct 2, 2012 at 2:44 PM, Torsten Zimmermann flotteto...@googlemail.com wrote: Hi, can anyone point out where the driver does the very early frame sanity checks for the received frames? Up to know i'm getting a little confused (after reading some source code files) what is done by the

[ath9k-devel] [RFC] Where are the sanity checks in ath9k done?

2012-10-02 Thread Torsten Zimmermann
Hi, can anyone point out where the driver does the very early frame sanity checks for the received frames? Up to know i'm getting a little confused (after reading some source code files) what is done by the hardware itself and what still needs to be done by the driver. Point of all this is that i