From: Oleksij Rempel <linux@rempel-privat.de>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Stable Version for ath9k_htc in AP Mode?
Date: Fri, 30 May 2014 06:21:05 +0200 [thread overview]
Message-ID: <53880731.90107@rempel-privat.de> (raw)
In-Reply-To: <CAFjWW+ZEEU=840CixUc11gKvA7xz2QGYS_gHh+D0TLk0J2paGQ@mail.gmail.com>
Am 28.05.2014 07:36, schrieb Aaron Hamilton:
> If one device has 7ms pings while the other consistently has 200 to
> 1500ms pings, then wouldn't this rule out an interrupt issue? I'd assume
> if the latency was caused by delays in interrupt processing, that both
> devices would have similar latency problems?
>
> The only difference I can see between the PC (no latency) and the
> embedded device (high latency) is that the PC is also sending other
> traffic over the interface while the embedded device is simply
> responding to pings. If it helps, this is a station dump for the two
> devices:
>
> Station 10:0b:a9:a5:46:e4 (on wlan0) <--- low latency PC
> inactive time:35 ms
> rx bytes:345250
> rx packets:2488
> tx bytes:4568941
> tx packets:3258
> tx retries:0
> tx failed:0
> signal: -55 dBm
> signal avg:-54 dBm
> tx bitrate:2.0 MBit/s
> Station 00:22:52:02:20:b1 (on wlan0) <--- high latency embedded device
> inactive time:20136 ms
> rx bytes:40968
> rx packets:364
> tx bytes:18713
> tx packets:127
> tx retries:0
> tx failed:0
> signal: -52 dBm
> signal avg:-52 dBm
> tx bitrate:2.0 MBit/s
>
> I've also attached packet captures using tcpdump on the AP.
IP level capture is not interesting. More interesting is radio level
capture - should be made in monitore mode with radiotap enabled. And
probably more important usb traffic capture - usbmonitore module should
be enabled.
> On Mon, May 12, 2014 at 7:47 AM, Oleksij Rempel <linux@rempel-privat.de
> <mailto:linux@rempel-privat.de>> wrote:
>
> Am 12.05.2014 15:11, schrieb Peter Stuge:
> > Oleksij Rempel wrote:
> >> From dmesg i see that, to one USB 1.1 root-hub attached two device,
> >> ath9k_htc and GobiNet. GobiNet was recognised as eth1 + 3 x ttyUSB.
> >> IMO, it is a lot for one USB 1.1.
> >
> > True as that may be, if there is a bandwidth requirement for the
> > interface to function correctly and the USB protocol being used does
> > not guarantee that bandwidth (only control+interrupt transfers could
> > do it in a meaningful way, and they are rather low bandwidth) then
> > the USB stack would have to allow the driver to reserve bus time, and
> > the driver would have to make a reservation to successfully handle
> > worst-case load.
> >
> > That's not neccessarily a small change. :\
>
> I tested ath9k-htc on many different usb host controllers (not usb 1.1),
> and noticed that most USB 2.0 controllers need some *msecs* to transfer
> one Interrupt package to the adapter or at least to get ACK signal. USB
> 3.0 was transferring same package in some *usecs*. The results should be
> similar for both controller, but it is not the case. Even different USB
> 2.0 controller was performing differently.
>
> This big difference is responsible for extremely long scan time on
> ath9k_htc on USB 2.0. Since Interrupt Endpoints are heavily used on this
> devices, reducing bandwidth and/or increasing transfer time for
> Interrupt traffic will be critical.
>
> Best indicator for this issue would be, disabling LED subsystem to get
> better stability. What, according to Aaron, is the case.
>
> --
> Regards,
> Oleksij
>
>
>
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
--
Regards,
Oleksij
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 278 bytes
Desc: OpenPGP digital signature
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140530/abe167c4/attachment.pgp
next prev parent reply other threads:[~2014-05-30 4:21 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-28 20:43 [ath9k-devel] Stable Version for ath9k_htc in AP Mode? Aaron Hamilton
2014-04-28 22:03 ` Oleksij Rempel
2014-04-29 6:19 ` Aaron Hamilton
2014-04-29 6:31 ` Oleksij Rempel
2014-04-29 9:08 ` Aaron Hamilton
2014-04-30 17:29 ` Aaron Hamilton
2014-04-30 18:27 ` Oleksij Rempel
2014-04-30 18:59 ` Aaron Hamilton
2014-04-30 20:16 ` Oleksij Rempel
2014-04-30 20:40 ` Oleksij Rempel
2014-04-30 23:03 ` Aaron Hamilton
2014-05-01 5:37 ` Oleksij Rempel
2014-05-01 21:33 ` Aaron Hamilton
2014-05-01 22:00 ` Aaron Hamilton
2014-05-01 22:41 ` Oleksij Rempel
2014-05-02 6:27 ` Aaron Hamilton
2014-05-02 10:11 ` Aaron Hamilton
2014-05-03 9:07 ` Oleksij Rempel
2014-05-05 18:09 ` Aaron Hamilton
2014-05-05 19:32 ` Oleksij Rempel
2014-05-06 1:57 ` Aaron Hamilton
2014-05-06 7:21 ` Oleksij Rempel
2014-05-08 22:57 ` Aaron Hamilton
2014-05-10 9:26 ` Oleksij Rempel
2014-05-11 6:40 ` Aaron Hamilton
2014-05-11 15:40 ` Adrian Chadd
2014-05-12 1:46 ` Aaron Hamilton
2014-05-12 8:01 ` Oleksij Rempel
2014-05-12 13:11 ` Peter Stuge
2014-05-12 14:47 ` Oleksij Rempel
2014-05-28 5:36 ` Aaron Hamilton
2014-05-30 4:21 ` Oleksij Rempel [this message]
2014-06-04 18:06 ` Aaron Hamilton
2014-06-06 2:12 ` Aaron Hamilton
2014-06-06 7:52 ` Oleksij Rempel
2014-06-06 11:06 ` Aaron Hamilton
2014-06-06 20:24 ` Gui Iribarren
2014-06-06 20:27 ` Gui Iribarren
2014-05-01 4:12 ` Ben Greear
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=53880731.90107@rempel-privat.de \
--to=linux@rempel-privat.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox