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 _______________________________________________ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel