Re: [PATCH] mac80211: fixed injection in monitor mode

Richard Farina
2009-10-16T17:19:23Z

Johannes Berg wrote:
> On Fri, 2009-10-16 at 04:09 +0200, Gabriele Gristina wrote:
>
>> I have a problem with mac80211 injection:
>> if i setup interface in monitor mode with iwconfig and i try to send a
>> custum 802.11 frame i see twice the packet in monitor interface.
>> The first packet is right, the second is different only in the radiotap
>> header: rtap len is fixed to 13 bytes...
>> If i setup interface with airmon-ng the packet is sended once but the
>> radiotap header is fixed to 13 bytes.
>>
>
> This is correct. The patch is wrong.
>
>
I'm very stupid, could you please elaborate how seeing every single
packets twice with different headers is "correct"?

Thanks,
Rick
> johannes
>