All of lore.kernel.org
 help / color / mirror / Atom feed
From: ferran <ranker72@gmail.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] [USB] AR7010+AR9280 missing tx_bitrate at 5GHz
Date: Tue, 20 Oct 2015 17:22:46 +0200	[thread overview]
Message-ID: <56265C46.3090107@gmail.com> (raw)

Hello everyone,

I have been working around a bad behaviour with Linux Penguin's
TPE-NUSBDB, that uses AR7010 and AR9280 chips.  I have found that
cfg80211 reports weird tx bitrates when the device is  operating at mesh
mode at 5GHz band. From inside mac80211, the reported rate is zero,
which makes it lethal to calculate a frame duration due to div by zero.
From iw part, the reported values is sometimes "518", sometimes  just
invalid characters. I have checked that it only happens at 5GHz.

###
$ iw --version
iw version 4.1

$ uname -a
Linux raspberrypi 3.10-3-rpi #1 Debian 3.10.11-1+rpi7 (2014-05-05)
armv6l  GNU/Linux

$ iw dev mesh0 station dump
Station e0:ca:94:5f:xx:xx (on mesh0)
[...]
tx bitrate:    518.0 MBit/s
rx bitrate:    6.0 MBit/s
###

By the moment I haven't been able to test it in a newer kernel. For mesh
mode to work, I need to disable "no-IR" flag configuring a new db.txt
for CRDA.

I have read "usb related issues" on ath9k_htc firmware github page
(https://github.com/qca/open-ath9k-htc-firmware/wiki/usb-related-issues)
but I can't relate directly any of them to my problem. Is this already
covered?

Thank you in advance for your time and work!
Ferran

             reply	other threads:[~2015-10-20 15:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-20 15:22 ferran [this message]
2015-10-21 12:52 ` [ath9k-devel] [USB] AR7010+AR9280 missing tx_bitrate at 5GHz Oleksij Rempel
2015-10-23 15:42   ` ferran

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=56265C46.3090107@gmail.com \
    --to=ranker72@gmail.com \
    --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.