From: Michal Kudelski <michal@idsia.ch>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] [ath9k_htc] TX retry packet
Date: Tue, 16 Jul 2013 12:58:49 +0200 [thread overview]
Message-ID: <web-82249926@ti-edu.ch> (raw)
In-Reply-To: <mailman.3.1373968801.13046.ath9k-devel@lists.ath9k.org>
Hi,
Recently, I discovered one problem in firmware, and I
didn't have time to report it yet... It could also solve
your issue.
Namely, in the firmware, in the file if_owl.c, in the
function ath_tx_status_update(...), status flags are not
being reset. And they definitely should. Thus, you can add
something like this:
txs->txstatus[txs->cnt].ts_flags = 0;
after the following line of code:
txs->txstatus[txs->cnt].ts_rate = SM(bf->bf_endpt,
ATH9K_HTC_TXSTAT_EPID);
And you need to recompile and re-install the firmware, of
course.
Hope this can help.
Cheers,
Michal Kudelski
> ------------------------------
>
> Message: 3
> Date: Mon, 15 Jul 2013 18:19:20 +0200
>From: Matteo Danieletto <matteo.danieletto@gmail.com>
> Subject: [ath9k-devel] [ath9k_htc] TX retry packet
> To: ath9k-devel at lists.ath9k.org,
>linux-wireless at vger.kernel.org
> Message-ID:
> <CAPfemNeQTfPOokxKdvtSk7jYTuT3L+Bf_r=YE5et_v2dVXc9zQ@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi all,
> I am looking for the number of packets (frame)
>retransmitted during a
> finite interval.
> The USB adapter is TL-WN722N (driver ath9k_htc) and I am
>testing it in IBSS
> mode with kernel 3.2.0 .
>
> I found
> in
>/sys/kernel/debug/ieee80211/phy1/netdev:wlan3/stations/00:1d:7d:49:2e:4e/tx_retry_count
> but the output is always 0 .
>
> So, for my point of view is strange that never occurred
>a mac
> retransmission.
> Do you know if it is a common problem?
>
> I have tried even with an ath9k and this time it worked.
>
> Do you know which is the C struct I need to read to find
>the number of
> retransmission?
>
> Thanks a lot
> Best
>
> --
> Matteo Danieletto
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
>http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20130715/f777bb61/attachment-0001.htm
>
> ------------------------------
next parent reply other threads:[~2013-07-16 10:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.3.1373968801.13046.ath9k-devel@lists.ath9k.org>
2013-07-16 10:58 ` Michal Kudelski [this message]
2013-07-15 16:19 [ath9k-devel] [ath9k_htc] TX retry packet Matteo Danieletto
2013-07-15 20:16 ` Oleksij Rempel
2013-07-19 16:46 ` Matteo
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=web-82249926@ti-edu.ch \
--to=michal@idsia.ch \
--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 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.