All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] Capture all transmissions with monitor interface
@ 2012-12-04 18:43 Julien Herzen
  2012-12-05  5:45 ` Alex Hacker
  0 siblings, 1 reply; 5+ messages in thread
From: Julien Herzen @ 2012-12-04 18:43 UTC (permalink / raw)
  To: ath9k-devel

Hello,

I'm sending traffic from a node A to a node B, and I'm capturing traffic
sent by node A, at node A itself, using a monitor interface. I'm doing this
on lossy links, where many re-transmissions occur. It seems, however, that
each packet sent by A is captured only once (with our without retry bit
set). Is there a way to capture _all_ transmissions done by A?

I'm using AR9220 on Alix boards with kernel 2.6.32.27.

Thanks!


Julien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20121204/e6ae1718/attachment.htm 

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

* [ath9k-devel] Capture all transmissions with monitor interface
  2012-12-04 18:43 [ath9k-devel] Capture all transmissions with monitor interface Julien Herzen
@ 2012-12-05  5:45 ` Alex Hacker
  2012-12-05  8:55   ` Julien Herzen
  2012-12-05 10:29   ` Julien Herzen
  0 siblings, 2 replies; 5+ messages in thread
From: Alex Hacker @ 2012-12-05  5:45 UTC (permalink / raw)
  To: ath9k-devel

On Tue, Dec 04, 2012 at 07:43:40PM +0100, Julien Herzen wrote:
>    Hello,
> 
>    I'm sending traffic from a node A to a node B, and I'm capturing traffic
>    sent by node A, at node A itself, using a monitor interface. I'm doing
>    this on lossy links, where many re-transmissions occur. It seems, however,
>    that each packet sent by A is captured only once (with our without retry
>    bit set). Is there a way to capture _all_ transmissions done by A?

No, packets automatically generated by HW i.e. retries, acks, rts/cts is not
visible for the software. Only solution is to use node C in monitor mode next
to node A.

> 
>    I'm using AR9220 on Alix boards with kernel 2.6.32.27.
> 
>    Thanks!
> 
>    Julien

Best wishes,
Alex.

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

* [ath9k-devel] Capture all transmissions with monitor interface
  2012-12-05  5:45 ` Alex Hacker
@ 2012-12-05  8:55   ` Julien Herzen
  2012-12-05 10:29   ` Julien Herzen
  1 sibling, 0 replies; 5+ messages in thread
From: Julien Herzen @ 2012-12-05  8:55 UTC (permalink / raw)
  To: ath9k-devel

Alex,

Thanks a lot for your answer.

Best,
Julien



On Wed, Dec 5, 2012 at 6:45 AM, Alex Hacker <hacker@epn.ru> wrote:

> On Tue, Dec 04, 2012 at 07:43:40PM +0100, Julien Herzen wrote:
> >    Hello,
> >
> >    I'm sending traffic from a node A to a node B, and I'm capturing
> traffic
> >    sent by node A, at node A itself, using a monitor interface. I'm doing
> >    this on lossy links, where many re-transmissions occur. It seems,
> however,
> >    that each packet sent by A is captured only once (with our without
> retry
> >    bit set). Is there a way to capture _all_ transmissions done by A?
>
> No, packets automatically generated by HW i.e. retries, acks, rts/cts is
> not
> visible for the software. Only solution is to use node C in monitor mode
> next
> to node A.
>
> >
> >    I'm using AR9220 on Alix boards with kernel 2.6.32.27.
> >
> >    Thanks!
> >
> >    Julien
>
> Best wishes,
> Alex.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20121205/fd2dc634/attachment.htm 

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

* [ath9k-devel] Capture all transmissions with monitor interface
  2012-12-05  5:45 ` Alex Hacker
  2012-12-05  8:55   ` Julien Herzen
@ 2012-12-05 10:29   ` Julien Herzen
  2012-12-05 15:53     ` abhinav narain
  1 sibling, 1 reply; 5+ messages in thread
From: Julien Herzen @ 2012-12-05 10:29 UTC (permalink / raw)
  To: ath9k-devel

Thanks for your reply,

Does this mean that a packet is passed to the monitor interface only once
it has been successfully ACK'd by the receiver? In this case, do you know
how to exactly interpret the retry bit of the packets received by the
monitor interface?
In particular, if the retry bit is set, does it mean that at least one
hardware (or software?) re-transmission occurred for this packet before it
has been successfully ACK'd ?

Thanks!
Best,

Julien


On Wed, Dec 5, 2012 at 6:45 AM, Alex Hacker <hacker@epn.ru> wrote:

> On Tue, Dec 04, 2012 at 07:43:40PM +0100, Julien Herzen wrote:
> >    Hello,
> >
> >    I'm sending traffic from a node A to a node B, and I'm capturing
> traffic
> >    sent by node A, at node A itself, using a monitor interface. I'm doing
> >    this on lossy links, where many re-transmissions occur. It seems,
> however,
> >    that each packet sent by A is captured only once (with our without
> retry
> >    bit set). Is there a way to capture _all_ transmissions done by A?
>
> No, packets automatically generated by HW i.e. retries, acks, rts/cts is
> not
> visible for the software. Only solution is to use node C in monitor mode
> next
> to node A.
>
> >
> >    I'm using AR9220 on Alix boards with kernel 2.6.32.27.
> >
> >    Thanks!
> >
> >    Julien
>
> Best wishes,
> Alex.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20121205/ea635feb/attachment.htm 

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

* [ath9k-devel] Capture all transmissions with monitor interface
  2012-12-05 10:29   ` Julien Herzen
@ 2012-12-05 15:53     ` abhinav narain
  0 siblings, 0 replies; 5+ messages in thread
From: abhinav narain @ 2012-12-05 15:53 UTC (permalink / raw)
  To: ath9k-devel

On Wed, Dec 5, 2012 at 5:29 AM, Julien Herzen <j.herzen@gmail.com> wrote:

> Thanks for your reply,
>
> Does this mean that a packet is passed to the monitor interface only once
> it has been successfully ACK'd by the receiver? In this case, do you know
> how to exactly interpret the retry bit of the packets received by the
> monitor interface?
>
Yes.

> In particular, if the retry bit is set, does it mean that at least one
> hardware (or software?) re-transmission occurred for this packet before it
> has been successfully ACK'd ?
>

Yes.

-Abhinav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20121205/391c3a07/attachment.htm 

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

end of thread, other threads:[~2012-12-05 15:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-04 18:43 [ath9k-devel] Capture all transmissions with monitor interface Julien Herzen
2012-12-05  5:45 ` Alex Hacker
2012-12-05  8:55   ` Julien Herzen
2012-12-05 10:29   ` Julien Herzen
2012-12-05 15:53     ` abhinav narain

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.