From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleksij Rempel Date: Mon, 15 Jul 2013 22:16:44 +0200 Subject: [ath9k-devel] [ath9k_htc] TX retry packet In-Reply-To: References: Message-ID: <51E458AC.4040308@rempel-privat.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Am 15.07.2013 18:19, schrieb Matteo Danieletto: > 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? Hi Matteo, you need to digg into firmware. Retransmission is done some where here target_firmware/wlan/if_owl.c: ath_tx_retry_subframe() or some thing like this. You are welcome to provide patches ;) see: https://github.com/qca/open-ath9k-htc-firmware I also started to work on documentaion... there are some drafts, may be it will help you understand how firmware works: https://github.com/qca/open-ath9k-htc-firmware/wiki/usb-regs https://docs.google.com/document/d/1pg27qHGx-2hsx9tGCwj0l9EtJZU-viquaOKC02WRt6Y/pub -- Regards, Oleksij