From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maciej Mrozowski Date: Fri, 22 Apr 2011 18:52:41 +0200 Subject: [ath9k-devel] Wrt TP-Link TL-WN821N V3 (confusing/missing info on wiki) Message-ID: <201104221852.41733.reavertm@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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 .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 .nlmsg_flags = 2 .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