All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] Incorrect TX statistics
@ 2013-07-04  8:35 Michal Kudelski
  0 siblings, 0 replies; only message in thread
From: Michal Kudelski @ 2013-07-04  8:35 UTC (permalink / raw)
  To: ath9k-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-07-04  8:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-04  8:35 [ath9k-devel] Incorrect TX statistics Michal Kudelski

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.