All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] Wrt TP-Link TL-WN821N V3 (confusing/missing info on wiki)
@ 2011-04-22 16:52 Maciej Mrozowski
  2011-04-24  8:41 ` Sujith
  0 siblings, 1 reply; 4+ messages in thread
From: Maciej Mrozowski @ 2011-04-22 16:52 UTC (permalink / raw)
  To: ath9k-devel

Hello,

Recently I found myself a bit confused wrt my WiFi USB device 0x0cf3:0x7015 
described at Linux Wireless wiki page (and handled differently in driver 
code).

It seems (I asked TP-Link directly) my TP-Link TL-WN821N V3 uses AR9287+AR7010 
Atheros chips (http://wireless.kernel.org/en/users/Drivers/ath9k_htc/devices 
claims AR9271).
While we're at this, http://wireless.kernel.org/en/users/Devices/USB could be 
updated in this regard as well (I know it's a wiki but I'd prefer more 
transparency here..)

Looking at driver code, it applies proper firmware.

(it stopped working completely recently in wireless-testing though:
ieee80211 phy0: device no longer idle - working
wlan0: direct probe to 68:7f:74:77:36:bc (try 1/3)
wlan0: direct probe to 68:7f:74:77:36:bc (try 2/3)
wlan0: direct probe to 68:7f:74:77:36:bc (try 3/3)
wlan0: direct probe to 68:7f:74:77:36:bc timed out
ieee80211 phy0: device now idle
but that's different a story)

M.

-- 
regards
MM
-------------- next part --------------
Bus 001 Device 002: ID 0cf3:7015 Atheros Communications, Inc. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass       255 Vendor Specific Subclass
  bDeviceProtocol       255 Vendor Specific Protocol
  bMaxPacketSize0        64
  idVendor           0x0cf3 Atheros Communications, Inc.
  idProduct          0x7015 
  bcdDevice            2.02
  iManufacturer          16 ATHEROS
  iProduct               32 UB95
  iSerial                48 12345
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           60
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           6
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x05  EP 5 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x06  EP 6 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass       255 Vendor Specific Subclass
  bDeviceProtocol       255 Vendor Specific Protocol
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)
-------------- next part --------------
-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 2108
    .nlmsg_type = 17 <0x11>
    .nlmsg_flags = 2 <MULTI>
    .nlmsg_seq = 1303490542
    .nlmsg_pid = 22001
  [PAYLOAD] 2092 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 06 00 38 00 d1 08 00 00 14 00 ..+.......8.......
    39 00 01 ac 0f 00 05 ac 0f 00 02 ac 0f 00 04 ac 0f 00 9.................
    05 00 56 00 00 00 00 00 04 00 66 00 08 00 71 00 00 00 ..V.......f...q...
    00 00 08 00 72 00 00 00 00 00 20 00 20 00 04 00 01 00 ....r..... . .....
    04 00 02 00 04 00 03 00 04 00 04 00 04 00 06 00 04 00 ..................
    08 00 04 00 09 00 14 02 16 00 10 02 00 00 14 00 03 00 ..................
    ff ff 00 00 00 00 00 00 00 00 00 00 01 00 00 00 06 00 ..................
    04 00 6e 11 00 00 05 00 05 00 03 00 00 00 05 00 06 00 ..n...............
    06 00 00 00 40 01 01 00 14 00 00 00 08 00 01 00 6c 09 .... at ...........l.
    00 00 08 00 06 00 d0 07 00 00 14 00 01 00 08 00 01 00 ..................
    71 09 00 00 08 00 06 00 d0 07 00 00 14 00 02 00 08 00 q.................
    01 00 76 09 00 00 08 00 06 00 d0 07 00 00 14 00 03 00 ..v...............
    08 00 01 00 7b 09 00 00 08 00 06 00 d0 07 00 00 14 00 ....{.............
    04 00 08 00 01 00 80 09 00 00 08 00 06 00 d0 07 00 00 ..................
    14 00 05 00 08 00 01 00 85 09 00 00 08 00 06 00 d0 07 ..................
    00 00 14 00 06 00 08 00 01 00 8a 09 00 00 08 00 06 00 ..................
    d0 07 00 00 14 00 07 00 08 00 01 00 8f 09 00 00 08 00 ..................
    06 00 d0 07 00 00 14 00 08 00 08 00 01 00 94 09 00 00 ..................
    08 00 06 00 d0 07 00 00 14 00 09 00 08 00 01 00 99 09 ..................
    00 00 08 00 06 00 d0 07 00 00 14 00 0a 00 08 00 01 00 ..................
    9e 09 00 00 08 00 06 00 d0 07 00 00 20 00 0b 00 08 00 ............ .....
    01 00 a3 09 00 00 04 00 02 00 04 00 03 00 04 00 04 00 ..................
    08 00 06 00 d0 07 00 00 20 00 0c 00 08 00 01 00 a8 09 ........ .........
    00 00 04 00 02 00 04 00 03 00 04 00 04 00 08 00 06 00 ..................
    d0 07 00 00 20 00 0d 00 08 00 01 00 b4 09 00 00 04 00 .... .............
    02 00 04 00 03 00 04 00 04 00 08 00 06 00 d0 07 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 00 00 04 00 02 00 10 00 03 00 08 00 ....7.............
    01 00 6e 00 00 00 04 00 02 00 0c 00 04 00 08 00 01 00 ..n...............
    3c 00 00 00 0c 00 05 00 08 00 01 00 5a 00 00 00 0c 00 <...........Z.....
    06 00 08 00 01 00 78 00 00 00 0c 00 07 00 08 00 01 00 ......x...........
    b4 00 00 00 0c 00 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 ......h...........
    e0 01 00 00 0c 00 0b 00 08 00 01 00 1c 02 00 00 a4 00 ..................
    32 00 08 00 01 00 07 00 00 00 08 00 02 00 06 00 00 00 2.................
    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 19 00 00 00 08 00 07 00 ..................
    25 00 00 00 08 00 08 00 26 00 00 00 08 00 09 00 27 00 %.......&.......'.
    00 00 08 00 0a 00 28 00 00 00 08 00 0b 00 2b 00 00 00 ......(.......+...
    08 00 0c 00 37 00 00 00 08 00 0d 00 39 00 00 00 08 00 ....7.......9.....
    0e 00 3b 00 00 00 08 00 0f 00 43 00 00 00 08 00 10 00 ..;.......C.......
    31 00 00 00 08 00 11 00 41 00 00 00 08 00 12 00 42 00 1.......A.......B.
    00 00 08 00 13 00 2e 00 00 00 08 00 14 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                                           ....
---------------------------  END NETLINK MESSAGE   ---------------------------
Wiphy phy0
        Band 1:
                HT capabilities: 0x116e
                        * 20/40 MHz operation
                        * SM PS disabled
                        * 20 MHz short GI
                        * 40 MHz short GI
                        * RX STBC 1 streams
                        * max A-MSDU len 3839
                        * DSSS/CCK 40 MHz
                HT A-MPDU factor: 0x0003 (65535 bytes)
                HT A-MPDU density: 0x0006 (8 usec)
                HT MCS set: ff ff 00 00 00 00 00 00 00 00 00 00 01 00 00 00
                HT TX/RX MCS rate indexes supported:
                        MCS index 0
                        MCS index 1
                        MCS index 2
                        MCS index 3
                        MCS index 4
                        MCS index 5
                        MCS index 6
                        MCS index 7
                        MCS index 8
                        MCS index 9
                        MCS index 10
                        MCS index 11
                        MCS index 12
                        MCS index 13
                        MCS index 14
                        MCS index 15
                Frequencies:
                        * 2412 MHz [1] (20.0 dBm)
                        * 2417 MHz [2] (20.0 dBm)
                        * 2422 MHz [3] (20.0 dBm)
                        * 2427 MHz [4] (20.0 dBm)
                        * 2432 MHz [5] (20.0 dBm)
                        * 2437 MHz [6] (20.0 dBm)
                        * 2442 MHz [7] (20.0 dBm)
                        * 2447 MHz [8] (20.0 dBm)
                        * 2452 MHz [9] (20.0 dBm)
                        * 2457 MHz [10] (20.0 dBm)
                        * 2462 MHz [11] (20.0 dBm)
                        * 2467 MHz [12] (disabled)
                        * 2472 MHz [13] (disabled)
                        * 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
                 * monitor
                 * Unknown mode (8)
                 * Unknown mode (9)
-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 20
    .nlmsg_type = 3 <DONE>
    .nlmsg_flags = 2 <MULTI>
    .nlmsg_seq = 1303490542
    .nlmsg_pid = 22001
  [PAYLOAD] 4 octets
    00 00 00 00                                           ....
---------------------------  END NETLINK MESSAGE   ---------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110422/3a8f4877/attachment.pgp 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ath9k-devel] Wrt TP-Link TL-WN821N V3 (confusing/missing info on wiki)
  2011-04-22 16:52 [ath9k-devel] Wrt TP-Link TL-WN821N V3 (confusing/missing info on wiki) Maciej Mrozowski
@ 2011-04-24  8:41 ` Sujith
  2011-04-28  0:35   ` Maciej Mrozowski
  2011-04-28  0:39   ` Maciej Mrozowski
  0 siblings, 2 replies; 4+ messages in thread
From: Sujith @ 2011-04-24  8:41 UTC (permalink / raw)
  To: ath9k-devel

Maciej Mrozowski wrote:
> Hello,
> 
> Recently I found myself a bit confused wrt my WiFi USB device 0x0cf3:0x7015 
> described at Linux Wireless wiki page (and handled differently in driver 
> code).
> 
> It seems (I asked TP-Link directly) my TP-Link TL-WN821N V3 uses AR9287+AR7010 
> Atheros chips (http://wireless.kernel.org/en/users/Drivers/ath9k_htc/devices 
> claims AR9271).
> While we're at this, http://wireless.kernel.org/en/users/Devices/USB could be 
> updated in this regard as well (I know it's a wiki but I'd prefer more 
> transparency here..)
> 
> Looking at driver code, it applies proper firmware.
> 
> (it stopped working completely recently in wireless-testing though:
> ieee80211 phy0: device no longer idle - working
> wlan0: direct probe to 68:7f:74:77:36:bc (try 1/3)
> wlan0: direct probe to 68:7f:74:77:36:bc (try 2/3)
> wlan0: direct probe to 68:7f:74:77:36:bc (try 3/3)
> wlan0: direct probe to 68:7f:74:77:36:bc timed out
> ieee80211 phy0: device now idle
> but that's different a story)

How recent is your wireless-testing tree ?

Can you post the debug log ?
See: http://wireless.kernel.org/en/users/Drivers/ath9k/debug

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ath9k-devel] Wrt TP-Link TL-WN821N V3 (confusing/missing info on wiki)
  2011-04-24  8:41 ` Sujith
@ 2011-04-28  0:35   ` Maciej Mrozowski
  2011-04-28  0:39   ` Maciej Mrozowski
  1 sibling, 0 replies; 4+ messages in thread
From: Maciej Mrozowski @ 2011-04-28  0:35 UTC (permalink / raw)
  To: linux-wireless

[-- Attachment #1: Type: Text/Plain, Size: 8058 bytes --]

On Sunday 24 of April 2011 10:41:16 Sujith wrote:

Hello

> > (it stopped working completely recently in wireless-testing though:
> > ieee80211 phy0: device no longer idle - working
> > wlan0: direct probe to 68:7f:74:77:36:bc (try 1/3)
> > wlan0: direct probe to 68:7f:74:77:36:bc (try 2/3)
> > wlan0: direct probe to 68:7f:74:77:36:bc (try 3/3)
> > wlan0: direct probe to 68:7f:74:77:36:bc timed out
> > ieee80211 phy0: device now idle
> > but that's different a story)
> 
> How recent is your wireless-testing tree ?
> 
> Can you post the debug log ?
> See: http://wireless.kernel.org/en/users/Drivers/ath9k/debug

It was some wireless-testing master from around a week ago.
Now I've re-cloned it again (since git pull resulted in conflicts for some 
reason), I'm at 903e9c0102cb9b4b3b1560df31f9b46650cdea88 and using htc_7010.fw 
from http://wireless.kernel.org/download/htc_fw/1.1/ - and so far so good :)

I'll testfield it for a while and see whether it drops connection after some 
time or after "some bandwidth is exceeded" like it appeared to in a past (but 
if was at times when the most recent firmware was still sitting in linux-
firmware repo, I think I experienced the same results with stock kernel 2.6.37 
ath9k_htc driver and corresponding wireless-testing, many things has changes 
since then and I'm optimistic)

regards
MM

(that's not exactly full debug, just I quick look, if there are to be any 
issues, I'll provide full debug respectively)

usb 1-2: new high speed USB device number 5 using ehci_hcd
usb 1-2: ath9k_htc: Transferred FW: htc_7010.fw, size: 72996
ath9k_htc 1-2:1.0: ath9k_htc: HTC initialized with 45 credits
ath9k_htc 1-2:1.0: ath9k_htc: FW Version: 1.1
ath: EEPROM regdomain: 0x809c
ath: EEPROM indicates we should expect a country code
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x52
ath: Country alpha2 being used: CN
ath: Regpair used: 0x52
cfg80211: Updating information on frequency 2412 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2417 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2422 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2427 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2432 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2437 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2442 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2447 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2452 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2457 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2462 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
cfg80211: Disabling freq 2467 MHz as custom regd has no rule that fits a 20 
MHz wide channel
cfg80211: Disabling freq 2472 MHz as custom regd has no rule that fits a 20 
MHz wide channel
cfg80211: Disabling freq 2484 MHz as custom regd has no rule that fits a 20 
MHz wide channel
cfg80211: Updating information on frequency 2412 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2417 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2422 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2427 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2432 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2437 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2442 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2447 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2452 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2457 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2462 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2467 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2457000 KHz - 2482000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2472 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2457000 KHz - 2482000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2484 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2474000 KHz - 2494000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Pending regulatory request, waiting for it to be processed...
ieee80211 phy2: Atheros AR9287 Rev:2
Registered led device: ath9k-phy2::radio
Registered led device: ath9k-phy2::assoc
Registered led device: ath9k-phy2::tx
Registered led device: ath9k-phy2::rx
usb 1-2: ath9k_htc: USB layer initialized
ieee80211 phy2: device now idle
cfg80211: Pending regulatory request, waiting for it to be processed...
ieee80211 phy2: device no longer idle - scanning
ieee80211 phy2: device now idle
ieee80211 phy2: device no longer idle - working
wlan0: authenticate with 68:7f:74:77:36:bc (try 1)
wlan0: authenticated
wlan0: associate with 68:7f:74:77:36:bc (try 1)
wlan0: RX AssocResp from 68:7f:74:77:36:bc (capab=0x531 status=0 aid=1)
wlan0: associated
ieee80211 phy2: Allocated STA 68:7f:74:77:36:bc
ieee80211 phy2: Inserted STA 68:7f:74:77:36:bc
ieee80211 phy2: WMM queue=2 aci=0 acm=0 aifs=3 cWmin=15 cWmax=1023 txop=0 
uapsd=0
ieee80211 phy2: WMM queue=3 aci=1 acm=0 aifs=7 cWmin=15 cWmax=1023 txop=0 
uapsd=0
ieee80211 phy2: WMM queue=1 aci=2 acm=0 aifs=2 cWmin=7 cWmax=15 txop=94 
uapsd=0
ieee80211 phy2: WMM queue=0 aci=3 acm=0 aifs=2 cWmin=3 cWmax=7 txop=47 uapsd=0
cfg80211: Pending regulatory request, waiting for it to be processed...
Rx A-MPDU request on tid 7 result 0
Open BA session requested for 68:7f:74:77:36:bc tid 0
activated addBA response timer on tid 0
switched off addBA timer for tid 0
Aggregation is on for tid 0
Rx A-MPDU request on tid 0 result 0

-- 
regards
MM

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ath9k-devel] Wrt TP-Link TL-WN821N V3 (confusing/missing info on wiki)
  2011-04-24  8:41 ` Sujith
  2011-04-28  0:35   ` Maciej Mrozowski
@ 2011-04-28  0:39   ` Maciej Mrozowski
  1 sibling, 0 replies; 4+ messages in thread
From: Maciej Mrozowski @ 2011-04-28  0:39 UTC (permalink / raw)
  To: ath9k-devel

On Sunday 24 of April 2011 10:41:16 Sujith wrote:

Hello

> > (it stopped working completely recently in wireless-testing though:
> > ieee80211 phy0: device no longer idle - working
> > wlan0: direct probe to 68:7f:74:77:36:bc (try 1/3)
> > wlan0: direct probe to 68:7f:74:77:36:bc (try 2/3)
> > wlan0: direct probe to 68:7f:74:77:36:bc (try 3/3)
> > wlan0: direct probe to 68:7f:74:77:36:bc timed out
> > ieee80211 phy0: device now idle
> > but that's different a story)
> 
> How recent is your wireless-testing tree ?
> 
> Can you post the debug log ?
> See: http://wireless.kernel.org/en/users/Drivers/ath9k/debug

It was some wireless-testing master from around a week ago.
Now I've re-cloned it again (since git pull resulted in conflicts for some 
reason), I'm at 903e9c0102cb9b4b3b1560df31f9b46650cdea88 and using htc_7010.fw 
from http://wireless.kernel.org/download/htc_fw/1.1/ - and so far so good :)

I'll testfield it for a while and see whether it drops connection after some 
time or after "some bandwidth is exceeded" like it appeared to in a past (but 
if was at times when the most recent firmware was still sitting in linux-
firmware repo, I think I experienced the same results with stock kernel 2.6.37 
ath9k_htc driver and corresponding wireless-testing, many things has changes 
since then and I'm optimistic)

regards
MM

(that's not exactly full debug, just I quick look, if there are to be any 
issues, I'll provide full debug respectively)
(btw, sorry for mistaken crosspost to linux-wireless@ - it's second time I 
fail today in this regard...)

usb 1-2: new high speed USB device number 5 using ehci_hcd
usb 1-2: ath9k_htc: Transferred FW: htc_7010.fw, size: 72996
ath9k_htc 1-2:1.0: ath9k_htc: HTC initialized with 45 credits
ath9k_htc 1-2:1.0: ath9k_htc: FW Version: 1.1
ath: EEPROM regdomain: 0x809c
ath: EEPROM indicates we should expect a country code
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x52
ath: Country alpha2 being used: CN
ath: Regpair used: 0x52
cfg80211: Updating information on frequency 2412 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2417 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2422 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2427 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2432 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2437 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2442 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2447 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2452 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2457 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2462 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
cfg80211: Disabling freq 2467 MHz as custom regd has no rule that fits a 20 
MHz wide channel
cfg80211: Disabling freq 2472 MHz as custom regd has no rule that fits a 20 
MHz wide channel
cfg80211: Disabling freq 2484 MHz as custom regd has no rule that fits a 20 
MHz wide channel
cfg80211: Updating information on frequency 2412 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2417 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2422 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2427 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2432 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2437 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2442 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2447 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2452 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2457 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2462 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2467 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2457000 KHz - 2482000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2472 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2457000 KHz - 2482000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2484 MHz for a 20 MHz width 
channel with regulatory rule:
cfg80211: 2474000 KHz - 2494000 KHz @  KHz), (600 mBi, 2000 mBm)
cfg80211: Pending regulatory request, waiting for it to be processed...
ieee80211 phy2: Atheros AR9287 Rev:2
Registered led device: ath9k-phy2::radio
Registered led device: ath9k-phy2::assoc
Registered led device: ath9k-phy2::tx
Registered led device: ath9k-phy2::rx
usb 1-2: ath9k_htc: USB layer initialized
ieee80211 phy2: device now idle
cfg80211: Pending regulatory request, waiting for it to be processed...
ieee80211 phy2: device no longer idle - scanning
ieee80211 phy2: device now idle
ieee80211 phy2: device no longer idle - working
wlan0: authenticate with 68:7f:74:77:36:bc (try 1)
wlan0: authenticated
wlan0: associate with 68:7f:74:77:36:bc (try 1)
wlan0: RX AssocResp from 68:7f:74:77:36:bc (capab=0x531 status=0 aid=1)
wlan0: associated
ieee80211 phy2: Allocated STA 68:7f:74:77:36:bc
ieee80211 phy2: Inserted STA 68:7f:74:77:36:bc
ieee80211 phy2: WMM queue=2 aci=0 acm=0 aifs=3 cWmin=15 cWmax=1023 txop=0 
uapsd=0
ieee80211 phy2: WMM queue=3 aci=1 acm=0 aifs=7 cWmin=15 cWmax=1023 txop=0 
uapsd=0
ieee80211 phy2: WMM queue=1 aci=2 acm=0 aifs=2 cWmin=7 cWmax=15 txop=94 
uapsd=0
ieee80211 phy2: WMM queue=0 aci=3 acm=0 aifs=2 cWmin=3 cWmax=7 txop=47 uapsd=0
cfg80211: Pending regulatory request, waiting for it to be processed...
Rx A-MPDU request on tid 7 result 0
Open BA session requested for 68:7f:74:77:36:bc tid 0
activated addBA response timer on tid 0
switched off addBA timer for tid 0
Aggregation is on for tid 0
Rx A-MPDU request on tid 0 result 0

-- 
regards
MM
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110428/704b7a56/attachment-0001.pgp 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-28  0:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-22 16:52 [ath9k-devel] Wrt TP-Link TL-WN821N V3 (confusing/missing info on wiki) Maciej Mrozowski
2011-04-24  8:41 ` Sujith
2011-04-28  0:35   ` Maciej Mrozowski
2011-04-28  0:39   ` Maciej Mrozowski

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.