All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Kudelski <michal@idsia.ch>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Incorrect TX statistics
Date: Thu, 04 Jul 2013 10:35:57 +0200	[thread overview]
Message-ID: <web-81967662@ti-edu.ch> (raw)

Hi All,

I still can't solve my problem with incorrect TX status 
info in ath9k_htc driver.

 From the MAC layer, I need the information about the 
status of a single packet transmission. I am interested 
only in data packets, and only in 'unicast' transmissions, 
so it is a matter of information whether the perception of 
the packet has been confirmed by the receiver (by ACK). I 
work in "Ad Hoc" mode (but the problem relates to the 
access point mode as well - statistics displayed by the 
Linux system always show 100% of correct transmissions).

It seems that the MAC layer in Linux is not properly 
informed about the status of transmission: in the 
"ieee80211_tx_status" function, being called by the device 
driver, a flag "IEEE80211_TX_STAT_ACK" is always set, 
regardless of whether the packet arrived to the recipient 
or not.

I use:
  - TP-LINK TL-WN722N
  - "Ad-Hoc" mode
  - compat-wireless-3.6.2-1 [but it's the same with the 
latest compat-drivers-3.9-rc4-2-su]

Could you please help? If this requires some changes in 
the driver/firmware, I'm ready to give it a try, and to 
propose a fixing patch for this, but I need some info on 
where to start... Or maybe it's my device that does not 
work properly (it seems to me that ACKs are handled by the 
internal CPU of TL-WN722N, and I'm not sure if the status 
is propagated to the higher layers...)?

Best regards,
Michal Kudelski

                 reply	other threads:[~2013-07-04  8:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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-81967662@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.