Hi Pavel,

    After setting the device in monitor mode, I was dumping out the
packets at the kernel level by modifying some parts of the driver code
(dumping from ath_rx_tasklet( ) before call to ieee80211_rx( )). I am
not using any user-space software

Thanks,
Mahanth

On Mon, Jun 27, 2011 at 11:55 AM, Pavel Roskin <pro...@gnu.org> wrote:
> On 06/25/2011 10:08 PM, mahaveer gupta wrote:
>>
>> Hello,
>>
>>    I have set my atheros wireless card driven by ath9k driver in
>> monitor mode. I wish to see all packets which have a failed CRC.
>>
>> Now, for a given channel condition between transmitter-receiver pair
>> (80211 g link), I am not receiving all of the packets with failed
>> CRCs. I am able to receive 50% of them, but the rest leave no trace
>> whatsoever.
>>
>> In the test environment, collisions could be safely ignored and the
>> channel condition was good enough for decoding plcp header and
>> preamble. The question is, why am I not receiving all packets that
>> have failed CRCs?
>>
>>   Is this because of some filtering happening in the hardware. If so,
>> can I do some configuration to prevent such filtering and pass all
>> erroneous packets to upper layers? Is there anything to do with
>> "ath9k_hw_setrxfilter()" in "hw.c"?
>
> Promiscuous mode should disable rx filtering.  Programs like wireshark
> enable promiscuous mode, but maybe you are using some userspace software
> that doesn't?
>
> --
> Regards,
> Pavel Roskin
>
_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to