ATH9K PCI Question
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
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
Quoted 15 lines · C. McPherson
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
Okay, thank you for the information.
-Clyde
Quoted 26 lines · Adrian Chadd
You need to ensure that:
* you don't request an ACK if you don't want one;
* you set the hardware retry count to 1Adrian
Quoted 15 lines · C. McPherson
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
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
Quoted 35 lines
Okay, thank you for the information.
-Clyde
Quoted 7 lines · Adrian Chadd
You need to ensure that:
* you don't request an ACK if you don't want one;
* you set the hardware retry count to 1Quoted 19 lines
Adrian
Quoted 15 lines · C. McPherson
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
C. McPherson <ccmcphe <at>
Quoted 2 lines · verizon.net> writes:
That did not work. I did change
ieee80211_monitor_start_xmit() in
Quoted 1 line
mac80211
tx.cwhere it sets the
info->flags from:
Quoted 2 lines
info->flags = IEEE80211_TX_CTL_REQ_TX_STATUS |
Quoted 4 lines
IEEE80211_TX_CTL_INJECTED;to the following:
info->flags =
IEEE80211_TX_CTL_REQ_TX_STATUS | IEEE80211_TX_CTL_NO_ACK
Quoted 3 lines
IEEE80211_TX_CTL_INJECTED;and that got rid of the retries.
When injecting. This is because the
Quoted 1 line
setting of the
IEEE80211_TX_CTL_NO_ACK flag in
Quoted 1 line
ieee80211_monitor_start_xmit(),
allows the ath9k ath_tx_fill_desc() to
Quoted 1 line
check the flags and set
ATH9K_TXDESC_NOACK properly.
Quoted 4 lines
-Clyde
Quoted 1 line
Okay, thank you for the
information.
Quoted 3 lines
Quoted 3 lines
-Clyde
On 03/15/2013 04:28 PM, Adrian
Quoted 3 lines · Chadd
Quoted 3 lines
Quoted 3 lines
You need to ensure that:
* you don't request an ACK if
you don't want one;
Quoted 1 line
Quoted 1 line
Quoted 1 line
* you set the hardware retry
count to 1
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Adrian
On 15 March 2013 10:54, C.
McPherson <ccmcphe <at> verizon.net>
Quoted 2 lines · wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Hello:
I am using the Ubiquity SR71
PCI in my lab using monitor mode and frame
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
injection. I noticed that when
I inject control frames RTS/CTS, ACKs the
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
card is also sending out retry
frames. I was wondering if there is a way
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
I can turn that off that in
ath9k software? In other words I want to
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
inject 1 CTS frame, and on my
wireshark machine I just want to see that
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
CTS frame I injected, no retry
frames.
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Thanks in advance
Clyde
_____________________________________
__________
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
ath9k-devel mailing list
ath9k-devel <at>
lists.ath9k.org
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
https://lists.ath9k.org/mailman/listi
nfo/ath9k-devel
Quoted 1 line
Quoted 1 line
_____________________________________
__________
Quoted 3 lines
Quoted 3 lines
ath9k-devel mailing list
ath9k-devel <at> lists.ath9k.org
https://lists.ath9k.org/mailman/listi
nfo/ath9k-devel
Quoted 2 lines
Quoted 1 line
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