* [ath9k-devel] ATH9K PCI Question
@ 2013-03-15 17:54 C. McPherson
2013-03-15 20:28 ` Adrian Chadd
0 siblings, 1 reply; 5+ messages in thread
From: C. McPherson @ 2013-03-15 17:54 UTC (permalink / raw)
To: ath9k-devel
Hello:
I am using the Ubiquity SR71 PCI in my lab using monitor mode and frame
injection. I noticed that when I inject control frames RTS/CTS, ACKs the
card is also sending out retry frames. I was wondering if there is a way
I can turn that off that in ath9k software? In other words I want to
inject 1 CTS frame, and on my wireshark machine I just want to see that
CTS frame I injected, no retry frames.
Thanks in advance
Clyde
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ath9k-devel] ATH9K PCI Question
2013-03-15 17:54 [ath9k-devel] ATH9K PCI Question C. McPherson
@ 2013-03-15 20:28 ` Adrian Chadd
2013-03-16 17:06 ` C. McPherson
0 siblings, 1 reply; 5+ messages in thread
From: Adrian Chadd @ 2013-03-15 20:28 UTC (permalink / raw)
To: ath9k-devel
You need to ensure that:
* you don't request an ACK if you don't want one;
* you set the hardware retry count to 1
Adrian
On 15 March 2013 10:54, C. McPherson <ccmcphe@verizon.net> wrote:
> Hello:
> I am using the Ubiquity SR71 PCI in my lab using monitor mode and frame
> injection. I noticed that when I inject control frames RTS/CTS, ACKs the
> card is also sending out retry frames. I was wondering if there is a way
> I can turn that off that in ath9k software? In other words I want to
> inject 1 CTS frame, and on my wireshark machine I just want to see that
> CTS frame I injected, no retry frames.
>
>
> Thanks in advance
> Clyde
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ath9k-devel] ATH9K PCI Question
2013-03-15 20:28 ` Adrian Chadd
@ 2013-03-16 17:06 ` C. McPherson
2013-03-19 17:17 ` C. McPherson
0 siblings, 1 reply; 5+ messages in thread
From: C. McPherson @ 2013-03-16 17:06 UTC (permalink / raw)
To: ath9k-devel
Okay, thank you for the information.
-Clyde
On 03/15/2013 04:28 PM, Adrian Chadd wrote:
> You need to ensure that:
>
> * you don't request an ACK if you don't want one;
> * you set the hardware retry count to 1
>
>
>
> Adrian
>
>
> On 15 March 2013 10:54, C. McPherson <ccmcphe@verizon.net> wrote:
>> Hello:
>> I am using the Ubiquity SR71 PCI in my lab using monitor mode and frame
>> injection. I noticed that when I inject control frames RTS/CTS, ACKs the
>> card is also sending out retry frames. I was wondering if there is a way
>> I can turn that off that in ath9k software? In other words I want to
>> inject 1 CTS frame, and on my wireshark machine I just want to see that
>> CTS frame I injected, no retry frames.
>>
>>
>> Thanks in advance
>> Clyde
>> _______________________________________________
>> ath9k-devel mailing list
>> ath9k-devel at lists.ath9k.org
>> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ath9k-devel] ATH9K PCI Question
2013-03-16 17:06 ` C. McPherson
@ 2013-03-19 17:17 ` C. McPherson
2016-07-03 5:05 ` Paul
0 siblings, 1 reply; 5+ messages in thread
From: C. McPherson @ 2013-03-19 17:17 UTC (permalink / raw)
To: ath9k-devel
That did not work. I did change ieee80211_monitor_start_xmit() in
mac80211 tx.c where it sets the info->flags from:
info->flags = IEEE80211_TX_CTL_REQ_TX_STATUS |
IEEE80211_TX_CTL_INJECTED;
to the following:
info->flags = IEEE80211_TX_CTL_REQ_TX_STATUS | IEEE80211_TX_CTL_NO_ACK
IEEE80211_TX_CTL_INJECTED;
and that got rid of the retries. When injecting. This is because the
setting of the IEEE80211_TX_CTL_NO_ACK flag in
ieee80211_monitor_start_xmit(), allows the ath9k ath_tx_fill_desc() to
check the flags and set ATH9K_TXDESC_NOACK properly.
-Clyde
> Okay, thank you for the information.
>
> -Clyde
> On 03/15/2013 04:28 PM, Adrian Chadd wrote:
>> You need to ensure that:
>>
>> * you don't request an ACK if you don't want one;
>> * you set the hardware retry count to 1
>>
>>
>>
>> Adrian
>>
>>
>> On 15 March 2013 10:54, C. McPherson <ccmcphe@verizon.net> wrote:
>>> Hello:
>>> I am using the Ubiquity SR71 PCI in my lab using monitor mode and frame
>>> injection. I noticed that when I inject control frames RTS/CTS, ACKs the
>>> card is also sending out retry frames. I was wondering if there is a way
>>> I can turn that off that in ath9k software? In other words I want to
>>> inject 1 CTS frame, and on my wireshark machine I just want to see that
>>> CTS frame I injected, no retry frames.
>>>
>>>
>>> Thanks in advance
>>> Clyde
>>> _______________________________________________
>>> ath9k-devel mailing list
>>> ath9k-devel at lists.ath9k.org
>>> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ath9k-devel] ATH9K PCI Question
2013-03-19 17:17 ` C. McPherson
@ 2016-07-03 5:05 ` Paul
0 siblings, 0 replies; 5+ messages in thread
From: Paul @ 2016-07-03 5:05 UTC (permalink / raw)
To: ath9k-devel
C. McPherson <ccmcphe <at>
verizon.net> writes:
>
> That did not work. I did change
ieee80211_monitor_start_xmit() in
> mac80211 tx.c where it sets the
info->flags from:
>
> info->flags =
IEEE80211_TX_CTL_REQ_TX_STATUS |
> IEEE80211_TX_CTL_INJECTED;
>
> to the following:
> info->flags =
IEEE80211_TX_CTL_REQ_TX_STATUS |
IEEE80211_TX_CTL_NO_ACK
> IEEE80211_TX_CTL_INJECTED;
>
> and that got rid of the retries.
When injecting. This is because the
> setting of the
IEEE80211_TX_CTL_NO_ACK flag in
> ieee80211_monitor_start_xmit(),
allows the ath9k ath_tx_fill_desc()
to
> check the flags and set
ATH9K_TXDESC_NOACK properly.
>
> -Clyde
>
> > Okay, thank you for the
information.
> >
> > -Clyde
> > On 03/15/2013 04:28 PM, Adrian
Chadd wrote:
> >> You need to ensure that:
> >>
> >> * you don't request an ACK if
you don't want one;
> >> * you set the hardware retry
count to 1
> >>
> >>
> >>
> >> Adrian
> >>
> >>
> >> On 15 March 2013 10:54, C.
McPherson <ccmcphe <at> verizon.net>
wrote:
> >>> Hello:
> >>> I am using the Ubiquity SR71
PCI in my lab using monitor mode and
frame
> >>> injection. I noticed that when
I inject control frames RTS/CTS, ACKs
the
> >>> card is also sending out retry
frames. I was wondering if there is a
way
> >>> I can turn that off that in
ath9k software? In other words I want
to
> >>> inject 1 CTS frame, and on my
wireshark machine I just want to see
that
> >>> CTS frame I injected, no retry
frames.
> >>>
> >>>
> >>> Thanks in advance
> >>> Clyde
> >>>
_____________________________________
__________
> >>> ath9k-devel mailing list
> >>> ath9k-devel <at>
lists.ath9k.org
> >>>
https://lists.ath9k.org/mailman/listi
nfo/ath9k-devel
> >
_____________________________________
__________
> > ath9k-devel mailing list
> > ath9k-devel <at> lists.ath9k.org
> >
https://lists.ath9k.org/mailman/listi
nfo/ath9k-devel
> >
>
Hi,
I realise this is quite an old
thread, but I have this exact issue
of retry packets when injecting. I'd
just like to know if this requires
the driver to be patched or if it is
something that can be passed in while
injecting the packet?
I found an example packet injector
script that mentioned building the
radio tap header with 2 extra bytes
(0x80,0x00) on the end to turn ack
off. I tried this, but the retries
still come through.
If anyone could lend a bit if
assistance or more detail on how to
implement this without patching the
driver it would be greatly
appreciated.
Regards
Paul
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-07-03 5:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-15 17:54 [ath9k-devel] ATH9K PCI Question C. McPherson
2013-03-15 20:28 ` Adrian Chadd
2013-03-16 17:06 ` C. McPherson
2013-03-19 17:17 ` C. McPherson
2016-07-03 5:05 ` Paul
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.