From: Paul <Paul@freedomwifi.com.au>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ATH9K PCI Question
Date: Sun, 3 Jul 2016 05:05:13 +0000 (UTC) [thread overview]
Message-ID: <loom.20160703T065822-158@post.gmane.org> (raw)
In-Reply-To: 51489DBC.8060409@verizon.net
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
prev parent reply other threads:[~2016-07-03 5:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20160703T065822-158@post.gmane.org \
--to=paul@freedomwifi.com.au \
--cc=ath9k-devel@lists.ath9k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).