All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alexander Müller" <aexme@arcor.de>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9k ar9285, wlan speed <2 Mbyte/s, how to speedup?
Date: Wed, 04 Jan 2012 16:08:41 +0100	[thread overview]
Message-ID: <4F046B79.5070001@arcor.de> (raw)
In-Reply-To: <CAJ-VmomS4GtH0pniXAXgFGLPj98AXEjEmxhQ5cqzQoQp1M1YFg@mail.gmail.com>

Hi,

<2Mbyte/s is for receiving from a samba Server.
for sending its a little more like 2.5 Mbyte/s.

with "options ath9k nohwcrypt=1" in /etc/modprobe.d/ath9k.conf I get 
about 2.1-2.2 Mbyte/s receiving

don't know if thats what you wanted

iw --debug phy phy0 info

-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE 
---------------------------
   [HEADER] 16 octets
     .nlmsg_len = 2160
     .nlmsg_type = 24 <0x18>
     .nlmsg_flags = 0 <>
     .nlmsg_seq = 1325689164
     .nlmsg_pid = 2494
   [PAYLOAD] 2144 octets
     03 01 00 00 08 00 01 00 00 00 00 00 09 00 02 00 70 68 
................ph
     79 30 00 00 00 00 08 00 2e 00 01 00 00 00 05 00 3d 00 
y0..............=.
     07 00 00 00 05 00 3e 00 04 00 00 00 08 00 3f 00 ff ff 
......>.......?...
     ff ff 08 00 40 00 ff ff ff ff 05 00 59 00 00 00 00 00 
.... at .......Y.....
     05 00 2b 00 04 00 00 00 05 00 7b 00 00 00 00 00 06 00 
..+.......{.......
     38 00 d1 08 00 00 06 00 7c 00 00 00 00 00 04 00 68 00 
8.......|.......h.
     04 00 73 00 18 00 39 00 01 ac 0f 00 05 ac 0f 00 02 ac 
..s...9...........
     0f 00 04 ac 0f 00 06 ac 0f 00 05 00 56 00 00 00 00 00 
............V.....
     04 00 66 00 08 00 71 00 00 00 00 00 08 00 72 00 00 00 
..f...q.......r...
     00 00 28 00 20 00 04 00 01 00 04 00 02 00 04 00 03 00 ..(. 
.............
     04 00 04 00 04 00 05 00 04 00 06 00 04 00 07 00 04 00 
..................
     08 00 04 00 09 00 fc 01 16 00 f8 01 00 00 14 00 03 00 
..................
     ff 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 06 00 
..................
     04 00 ce 11 00 00 05 00 05 00 03 00 00 00 05 00 06 00 
..................
     06 00 00 00 28 01 01 00 14 00 00 00 08 00 01 00 6c 09 
....(...........l.
     00 00 08 00 06 00 78 05 00 00 14 00 01 00 08 00 01 00 
......x...........
     71 09 00 00 08 00 06 00 78 05 00 00 14 00 02 00 08 00 
q.......x.........
     01 00 76 09 00 00 08 00 06 00 78 05 00 00 14 00 03 00 
..v.......x.......
     08 00 01 00 7b 09 00 00 08 00 06 00 78 05 00 00 14 00 
....{.......x.....
     04 00 08 00 01 00 80 09 00 00 08 00 06 00 78 05 00 00 
..............x...
     14 00 05 00 08 00 01 00 85 09 00 00 08 00 06 00 78 05 
................x.
     00 00 14 00 06 00 08 00 01 00 8a 09 00 00 08 00 06 00 
..................
     78 05 00 00 14 00 07 00 08 00 01 00 8f 09 00 00 08 00 
x.................
     06 00 78 05 00 00 14 00 08 00 08 00 01 00 94 09 00 00 
..x...............
     08 00 06 00 78 05 00 00 14 00 09 00 08 00 01 00 99 09 
....x.............
     00 00 08 00 06 00 78 05 00 00 14 00 0a 00 08 00 01 00 
......x...........
     9e 09 00 00 08 00 06 00 78 05 00 00 18 00 0b 00 08 00 
........x.........
     01 00 a3 09 00 00 04 00 03 00 08 00 06 00 78 05 00 00 
..............x...
     18 00 0c 00 08 00 01 00 a8 09 00 00 04 00 03 00 08 00 
..................
     06 00 78 05 00 00 18 00 0d 00 08 00 01 00 b4 09 00 00 
..x...............
     04 00 02 00 08 00 06 00 a4 06 00 00 a0 00 02 00 0c 00 
..................
     00 00 08 00 01 00 0a 00 00 00 10 00 01 00 08 00 01 00 
..................
     14 00 00 00 04 00 02 00 10 00 02 00 08 00 01 00 37 00 
................7.
     00 00 04 00 02 00 10 00 03 00 08 00 01 00 6e 00 00 00 
..............n...
     04 00 02 00 0c 00 04 00 08 00 01 00 3c 00 00 00 0c 00 
............<.....
     05 00 08 00 01 00 5a 00 00 00 0c 00 06 00 08 00 01 00 
......Z...........
     78 00 00 00 0c 00 07 00 08 00 01 00 b4 00 00 00 0c 00 
x.................
     08 00 08 00 01 00 f0 00 00 00 0c 00 09 00 08 00 01 00 
..................
     68 01 00 00 0c 00 0a 00 08 00 01 00 e0 01 00 00 0c 00 
h.................
     0b 00 08 00 01 00 1c 02 00 00 bc 00 32 00 08 00 01 00 
............2.....
     07 00 00 00 08 00 02 00 06 00 00 00 08 00 03 00 0b 00 
..................
     00 00 08 00 04 00 0f 00 00 00 08 00 05 00 13 00 00 00 
..................
     08 00 06 00 17 00 00 00 08 00 07 00 1d 00 00 00 08 00 
..................
     08 00 19 00 00 00 08 00 09 00 25 00 00 00 08 00 0a 00 
..........%.......
     26 00 00 00 08 00 0b 00 27 00 00 00 08 00 0c 00 28 00 
&.......'.......(.
     00 00 08 00 0d 00 2b 00 00 00 08 00 0e 00 44 00 00 00 
......+.......D...
     08 00 0f 00 37 00 00 00 08 00 10 00 39 00 00 00 08 00 
....7.......9.....
     11 00 3b 00 00 00 08 00 12 00 43 00 00 00 08 00 13 00 
..;.......C.......
     31 00 00 00 08 00 14 00 41 00 00 00 08 00 15 00 42 00 
1.......A.......B.
     00 00 08 00 16 00 2e 00 00 00 08 00 17 00 30 00 00 00 
..............0...
     08 00 6f 00 88 13 00 00 04 00 6c 00 ac 03 63 00 04 00 
..o.......l...c...
     00 00 84 00 01 00 06 00 65 00 00 00 00 00 06 00 65 00 
........e.......e.
     10 00 00 00 06 00 65 00 20 00 00 00 06 00 65 00 30 00 ......e. 
.....e.0.
     00 00 06 00 65 00 40 00 00 00 06 00 65 00 50 00 00 00 
....e. at .....e.P...
     06 00 65 00 60 00 00 00 06 00 65 00 70 00 00 00 06 00 
..e.`.....e.p.....
     65 00 80 00 00 00 06 00 65 00 90 00 00 00 06 00 65 00 
e.......e.......e.
     a0 00 00 00 06 00 65 00 b0 00 00 00 06 00 65 00 c0 00 
......e.......e...
     00 00 06 00 65 00 d0 00 00 00 06 00 65 00 e0 00 00 00 
....e.......e.....
     06 00 65 00 f0 00 00 00 84 00 02 00 06 00 65 00 00 00 
..e...........e...
     00 00 06 00 65 00 10 00 00 00 06 00 65 00 20 00 00 00 
....e.......e. ...
     06 00 65 00 30 00 00 00 06 00 65 00 40 00 00 00 06 00 
..e.0.....e. at .....
     65 00 50 00 00 00 06 00 65 00 60 00 00 00 06 00 65 00 
e.P.....e.`.....e.
     70 00 00 00 06 00 65 00 80 00 00 00 06 00 65 00 90 00 
p.....e.......e...
     00 00 06 00 65 00 a0 00 00 00 06 00 65 00 b0 00 00 00 
....e.......e.....
     06 00 65 00 c0 00 00 00 06 00 65 00 d0 00 00 00 06 00 
..e.......e.......
     65 00 e0 00 00 00 06 00 65 00 f0 00 00 00 84 00 03 00 
e.......e.........
     06 00 65 00 00 00 00 00 06 00 65 00 10 00 00 00 06 00 
..e.......e.......
     65 00 20 00 00 00 06 00 65 00 30 00 00 00 06 00 65 00 e. 
.....e.0.....e.
     40 00 00 00 06 00 65 00 50 00 00 00 06 00 65 00 60 00 
@.....e.P.....e.`.
     00 00 06 00 65 00 70 00 00 00 06 00 65 00 80 00 00 00 
....e.p.....e.....
     06 00 65 00 90 00 00 00 06 00 65 00 a0 00 00 00 06 00 
..e.......e.......
     65 00 b0 00 00 00 06 00 65 00 c0 00 00 00 06 00 65 00 
e.......e.......e.
     d0 00 00 00 06 00 65 00 e0 00 00 00 06 00 65 00 f0 00 
......e.......e...
     00 00 84 00 04 00 06 00 65 00 00 00 00 00 06 00 65 00 
........e.......e.
     10 00 00 00 06 00 65 00 20 00 00 00 06 00 65 00 30 00 ......e. 
.....e.0.
     00 00 06 00 65 00 40 00 00 00 06 00 65 00 50 00 00 00 
....e. at .....e.P...
     06 00 65 00 60 00 00 00 06 00 65 00 70 00 00 00 06 00 
..e.`.....e.p.....
     65 00 80 00 00 00 06 00 65 00 90 00 00 00 06 00 65 00 
e.......e.......e.
     a0 00 00 00 06 00 65 00 b0 00 00 00 06 00 65 00 c0 00 
......e.......e...
     00 00 06 00 65 00 d0 00 00 00 06 00 65 00 e0 00 00 00 
....e.......e.....
     06 00 65 00 f0 00 00 00 04 00 05 00 04 00 06 00 84 00 
..e...............
     07 00 06 00 65 00 00 00 00 00 06 00 65 00 10 00 00 00 
....e.......e.....
     06 00 65 00 20 00 00 00 06 00 65 00 30 00 00 00 06 00 ..e. 
.....e.0.....
     65 00 40 00 00 00 06 00 65 00 50 00 00 00 06 00 65 00 
e. at .....e.P.....e.
     60 00 00 00 06 00 65 00 70 00 00 00 06 00 65 00 80 00 
`.....e.p.....e...
     00 00 06 00 65 00 90 00 00 00 06 00 65 00 a0 00 00 00 
....e.......e.....
     06 00 65 00 b0 00 00 00 06 00 65 00 c0 00 00 00 06 00 
..e.......e.......
     65 00 d0 00 00 00 06 00 65 00 e0 00 00 00 06 00 65 00 
e.......e.......e.
     f0 00 00 00 84 00 08 00 06 00 65 00 00 00 00 00 06 00 
..........e.......
     65 00 10 00 00 00 06 00 65 00 20 00 00 00 06 00 65 00 e.......e. 
.....e.
     30 00 00 00 06 00 65 00 40 00 00 00 06 00 65 00 50 00 
0.....e. at .....e.P.
     00 00 06 00 65 00 60 00 00 00 06 00 65 00 70 00 00 00 
....e.`.....e.p...
     06 00 65 00 80 00 00 00 06 00 65 00 90 00 00 00 06 00 
..e.......e.......
     65 00 a0 00 00 00 06 00 65 00 b0 00 00 00 06 00 65 00 
e.......e.......e.
     c0 00 00 00 06 00 65 00 d0 00 00 00 06 00 65 00 e0 00 
......e.......e...
     00 00 06 00 65 00 f0 00 00 00 84 00 09 00 06 00 65 00 
....e...........e.
     00 00 00 00 06 00 65 00 10 00 00 00 06 00 65 00 20 00 
......e.......e. .
     00 00 06 00 65 00 30 00 00 00 06 00 65 00 40 00 00 00 
....e.0.....e. at ...
     06 00 65 00 50 00 00 00 06 00 65 00 60 00 00 00 06 00 
..e.P.....e.`.....
     65 00 70 00 00 00 06 00 65 00 80 00 00 00 06 00 65 00 
e.p.....e.......e.
     90 00 00 00 06 00 65 00 a0 00 00 00 06 00 65 00 b0 00 
......e.......e...
     00 00 06 00 65 00 c0 00 00 00 06 00 65 00 d0 00 00 00 
....e.......e.....
     06 00 65 00 e0 00 00 00 06 00 65 00 f0 00 00 00 14 01 
..e.......e.......
     64 00 04 00 00 00 0c 00 01 00 06 00 65 00 d0 00 00 00 
d...........e.....
     14 00 02 00 06 00 65 00 40 00 00 00 06 00 65 00 d0 00 
......e. at .....e...
     00 00 3c 00 03 00 06 00 65 00 00 00 00 00 06 00 65 00 
..<.....e.......e.
     20 00 00 00 06 00 65 00 40 00 00 00 06 00 65 00 a0 00  
.....e. at .....e...
     00 00 06 00 65 00 b0 00 00 00 06 00 65 00 c0 00 00 00 
....e.......e.....
     06 00 65 00 d0 00 00 00 3c 00 04 00 06 00 65 00 00 00 
..e.....<.....e...
     00 00 06 00 65 00 20 00 00 00 06 00 65 00 40 00 00 00 ....e. 
.....e. at ...
     06 00 65 00 a0 00 00 00 06 00 65 00 b0 00 00 00 06 00 
..e.......e.......
     65 00 c0 00 00 00 06 00 65 00 d0 00 00 00 04 00 05 00 
e.......e.........
     04 00 06 00 1c 00 07 00 06 00 65 00 b0 00 00 00 06 00 
..........e.......
     65 00 c0 00 00 00 06 00 65 00 d0 00 00 00 14 00 08 00 
e.......e.........
     06 00 65 00 40 00 00 00 06 00 65 00 d0 00 00 00 3c 00 
..e. at .....e.....<.
     09 00 06 00 65 00 00 00 00 00 06 00 65 00 20 00 00 00 
....e.......e. ...
     06 00 65 00 40 00 00 00 06 00 65 00 a0 00 00 00 06 00 
..e.@.....e.......
     65 00 b0 00 00 00 06 00 65 00 c0 00 00 00 06 00 65 00 
e.......e.......e.
     d0 00 00 00 0c 00 79 00 04 00 04 00 04 00 06 00 04 00 
......y...........
     78 00                                                 x.
---------------------------  END NETLINK MESSAGE   
---------------------------
Wiphy phy0
         Band 1:
                 Capabilities: 0x11ce
                         HT20/HT40
                         SM Power Save disabled
                         RX HT40 SGI
                         TX STBC
                         RX STBC 1-stream
                         Max AMSDU length: 7935 bytes
                         DSSS/CCK HT40
                 Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                 Minimum RX AMPDU time spacing: 8 usec (0x06)
                 HT TX/RX MCS rate indexes supported: 0-7
                 Frequencies:
                         * 2412 MHz [1] (14.0 dBm)
                         * 2417 MHz [2] (14.0 dBm)
                         * 2422 MHz [3] (14.0 dBm)
                         * 2427 MHz [4] (14.0 dBm)
                         * 2432 MHz [5] (14.0 dBm)
                         * 2437 MHz [6] (14.0 dBm)
                         * 2442 MHz [7] (14.0 dBm)
                         * 2447 MHz [8] (14.0 dBm)
                         * 2452 MHz [9] (14.0 dBm)
                         * 2457 MHz [10] (14.0 dBm)
                         * 2462 MHz [11] (14.0 dBm)
                         * 2467 MHz [12] (14.0 dBm) (passive scanning)
                         * 2472 MHz [13] (14.0 dBm) (passive scanning)
                         * 2484 MHz [14] (disabled)
                 Bitrates (non-HT):
                         * 1.0 Mbps
                         * 2.0 Mbps (short preamble supported)
                         * 5.5 Mbps (short preamble supported)
                         * 11.0 Mbps (short preamble supported)
                         * 6.0 Mbps
                         * 9.0 Mbps
                         * 12.0 Mbps
                         * 18.0 Mbps
                         * 24.0 Mbps
                         * 36.0 Mbps
                         * 48.0 Mbps
                         * 54.0 Mbps
         max # scan SSIDs: 4
         Supported interface modes:
                  * IBSS
                  * managed
                  * AP
                  * AP/VLAN
                  * WDS
                  * monitor
                  * mesh point
                  * Unknown mode (8)
                  * Unknown mode (9)
         Supported commands:
                  * new_interface
                  * set_interface
                  * new_key
                  * new_beacon
                  * new_station
                  * new_mpath
                  * set_mesh_params
                  * set_bss
                  * authenticate
                  * associate
                  * deauthenticate
                  * disassociate
                  * join_ibss
                  * Unknown command (68)
                  * Unknown command (55)
                  * Unknown command (57)
                  * Unknown command (59)
                  * Unknown command (67)
                  * set_wiphy_netns
                  * Unknown command (65)
                  * Unknown command (66)
                  * connect
                  * disconnect
-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE 
---------------------------
   [HEADER] 16 octets
     .nlmsg_len = 36
     .nlmsg_type = 2 <ERROR>
     .nlmsg_flags = 0 <>
     .nlmsg_seq = 1325689164
     .nlmsg_pid = 2494
   [ERRORMSG] 20 octets
     .error = 0 "Success"
   [ORIGINAL MESSAGE] 16 octets
     .nlmsg_len = 16
     .nlmsg_type = 24 <0x18>
     .nlmsg_flags = 5 <REQUEST,ACK>
     .nlmsg_seq = 1325689164
     .nlmsg_pid = 2494
---------------------------  END NETLINK MESSAGE   
---------------------------


On 04.01.2012 08:20, Adrian Chadd wrote:
> Well, is it TX or RX speed? Or both?
>
> 2 megabytes/sec sounds like it's doing 11g only, but you've shown it's
> currently selected MCS6, so it should be TX'ing fine.
>
> It would likely be nice if there were some better tools for trying to
> log some aggregate, real-time statistics as to what's going on, both
> TX and RX. It's quite likely something that's easily fixed.
>
> I don't have a Linux box handy, but the output of the phy debug
> statistics would be nice. Eg, stuff like:
>
> * The output of the rate control logic;
> * The output of the packet errror counters.
>
> I also wonder if ubuntu is shipping with the 'nohwcrypt' option enabled.
>
> Would someone please give me a hand and help Alexander here find out
> the above? That way we can try and move forward.
>
> (Note: with ar9285 issues it seems ath9k is either having issues with
> antenna selection and/or crypto handling. I don't know why the latter
> is occuring and I don't have time to go digging into it. I do know the
> driver can and does do full rate MCS7 TX though. I've done it myself,
> both Linux and FreeBSD.)
>
>
>
> Adrian
>

  reply	other threads:[~2012-01-04 15:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-03 19:01 [ath9k-devel] ath9k ar9285, wlan speed <2 Mbyte/s, how to speedup? Alexander Müller
2012-01-03 20:17 ` Peter Stuge
2012-01-04  7:20 ` Adrian Chadd
2012-01-04 15:08   ` Alexander Müller [this message]
2012-01-04 11:02 ` Mohammed Shafi
2012-01-04 15:13   ` Alexander Müller

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=4F046B79.5070001@arcor.de \
    --to=aexme@arcor.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 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.