All of lore.kernel.org
 help / color / mirror / Atom feed
* ath9k: packets sent twice 1Mbps & 54Mbps
@ 2010-03-24  8:43 Anthony
  2010-03-24 12:11 ` Gábor Stefanik
  0 siblings, 1 reply; 3+ messages in thread
From: Anthony @ 2010-03-24  8:43 UTC (permalink / raw)
  To: linux-wireless

Hi all,
I'm using:
Ubuntu 9.10
Atheros card with ath9k
compat-wireless latest stable version
ad-hoc 802.11g with 2 nodes (same hardware & software configuration)

I tried to inject packets using mac80211 (similar way as in packetspammer)
Radiotap header contains only Flag=0 & Rate=1Mbps (total size = 14 bytes)
However when I use wireshark to capture traffic, I discovered that
each frame was sent twice:
first time with 14 bytes radiotap header
second time with 13 bytes of radiotap header (Rate omitted), so 54Mbps here.

Is this a problem of ath9k or a default feature of 802.11 ???

Another question: if I set the FCS flag to send frame with all zeros
FCS, the receiver reported frame as bad FCS, but still deliver it to
upper layer. Why? I think the frame should be discarded ? I want to
simulate broken phy link by jamming FCS. Is there any alternative way
?

Hope some one can help.

Thank you.

Anthony

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ath9k: packets sent twice 1Mbps & 54Mbps
  2010-03-24  8:43 ath9k: packets sent twice 1Mbps & 54Mbps Anthony
@ 2010-03-24 12:11 ` Gábor Stefanik
  2010-03-24 12:12   ` Gábor Stefanik
  0 siblings, 1 reply; 3+ messages in thread
From: Gábor Stefanik @ 2010-03-24 12:11 UTC (permalink / raw)
  To: Anthony; +Cc: linux-wireless

On Wed, Mar 24, 2010 at 9:43 AM, Anthony <lazugau@gmail.com> wrote:
> Hi all,
> I'm using:
> Ubuntu 9.10
> Atheros card with ath9k
> compat-wireless latest stable version
> ad-hoc 802.11g with 2 nodes (same hardware & software configuration)
>
> I tried to inject packets using mac80211 (similar way as in packetspammer)
> Radiotap header contains only Flag=0 & Rate=1Mbps (total size = 14 bytes)
> However when I use wireshark to capture traffic, I discovered that
> each frame was sent twice:
> first time with 14 bytes radiotap header
> second time with 13 bytes of radiotap header (Rate omitted), so 54Mbps here.

Are you sure it is not the AP relaying the packet?

>
> Is this a problem of ath9k or a default feature of 802.11 ???
>
> Another question: if I set the FCS flag to send frame with all zeros
> FCS, the receiver reported frame as bad FCS, but still deliver it to
> upper layer. Why? I think the frame should be discarded ? I want to
> simulate broken phy link by jamming FCS. Is there any alternative way
> ?
>
> Hope some one can help.
>
> Thank you.
>
> Anthony
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



-- 
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ath9k: packets sent twice 1Mbps & 54Mbps
  2010-03-24 12:11 ` Gábor Stefanik
@ 2010-03-24 12:12   ` Gábor Stefanik
  0 siblings, 0 replies; 3+ messages in thread
From: Gábor Stefanik @ 2010-03-24 12:12 UTC (permalink / raw)
  To: Anthony; +Cc: linux-wireless

2010/3/24 Gábor Stefanik <netrolller.3d@gmail.com>:
> On Wed, Mar 24, 2010 at 9:43 AM, Anthony <lazugau@gmail.com> wrote:
>> Hi all,
>> I'm using:
>> Ubuntu 9.10
>> Atheros card with ath9k
>> compat-wireless latest stable version
>> ad-hoc 802.11g with 2 nodes (same hardware & software configuration)
>>
>> I tried to inject packets using mac80211 (similar way as in packetspammer)
>> Radiotap header contains only Flag=0 & Rate=1Mbps (total size = 14 bytes)
>> However when I use wireshark to capture traffic, I discovered that
>> each frame was sent twice:
>> first time with 14 bytes radiotap header
>> second time with 13 bytes of radiotap header (Rate omitted), so 54Mbps here.
>
> Are you sure it is not the AP relaying the packet?

Sorry, I had a blonde moment and didn't notice that you are using adhoc.

>
>>
>> Is this a problem of ath9k or a default feature of 802.11 ???
>>
>> Another question: if I set the FCS flag to send frame with all zeros
>> FCS, the receiver reported frame as bad FCS, but still deliver it to
>> upper layer. Why? I think the frame should be discarded ? I want to
>> simulate broken phy link by jamming FCS. Is there any alternative way
>> ?
>>
>> Hope some one can help.
>>
>> Thank you.
>>
>> Anthony
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>
>
>
> --
> Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
>



-- 
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-24 12:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-24  8:43 ath9k: packets sent twice 1Mbps & 54Mbps Anthony
2010-03-24 12:11 ` Gábor Stefanik
2010-03-24 12:12   ` Gábor Stefanik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.