FYI. I sent this to Jes ages ago. The dongle in question works well as a client. You may remove the efuse dump. AP support apparently is still missing. It would be nice to have that at some point. Martin-Éric ---------- Forwarded message --------- From: Martin-Éric Racine <martin-eric.racine@xxxxxx> Date: Thu, Aug 20, 2020 at 5:00 PM Subject: rtl8xxxu: untested dongle, test results To: <jes.sorensen@xxxxxxxxx> Hej Jes, Kernel: Linux 5.7.10 (Debian) Device: D-Link DWA-131 rev. E1 https://wikidevi.wi-cat.ru/D-Link_DWA-131_rev_E1 https://eu.dlink.com/uk/en/products/dwa-131-wireless-n-nano-usb-adapter Bought this to use as an AP with hostapd, but the AP feature apparently isn't supported yet. See enclosed files. Next, I tested this as a client on another host (also running kernel 5.7.10) connecting to a BGN access point. This is what I got on the client side: [ 87.902641] wlxc4e90a041cb2: authenticate with 24:4b:fe:3d:d0:be [ 87.969749] wlxc4e90a041cb2: send auth to 24:4b:fe:3d:d0:be (try 1/3) [ 87.987682] wlxc4e90a041cb2: authenticated [ 88.045388] wlxc4e90a041cb2: associate with 24:4b:fe:3d:d0:be (try 1/3) [ 88.093604] wlxc4e90a041cb2: RX AssocResp from 24:4b:fe:3d:d0:be (capab=0x411 status=0 aid=4) [ 88.219990] usb 1-3: rtl8xxxu_bss_info_changed: HT supported [ 88.282793] wlxc4e90a041cb2: associated [ 90.439696] IPv6: ADDRCONF(NETDEV_CHANGE): wlxc4e90a041cb2: link becomes ready I hope this helps. Cheers! Martin-Éric
[102708.871707] usb 2-1.5: new high-speed USB device number 14 using ehci-pci [102708.980796] usb 2-1.5: New USB device found, idVendor=2001, idProduct=3319, bcdDevice= 2.00 [102708.980799] usb 2-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [102708.980800] usb 2-1.5: Product: Wireless N Nano USB Adapter [102708.980802] usb 2-1.5: Manufacturer: Realtek [102708.980803] usb 2-1.5: SerialNumber: 00e04c000001 [102709.027315] usb 2-1.5: This Realtek USB WiFi dongle (0x2001:0x3319) is untested! [102709.027317] usb 2-1.5: Please report results to Jes.Sorensen@xxxxxxxxx [102709.210668] usb 2-1.5: Vendor: Realtek [102709.210671] usb 2-1.5: Product: Wireless N [102709.210672] usb 2-1.5: Serial: no USB Adap [102709.210674] usb 2-1.5: rtl8192eu_parse_efuse: dumping efuse (0x200 bytes): [102709.210676] usb 2-1.5: 00: 29 81 00 7c 01 40 03 00 [102709.210678] usb 2-1.5: 08: 40 74 04 50 14 00 00 00 [102709.210679] usb 2-1.5: 10: 21 21 21 21 21 21 25 25 [102709.210681] usb 2-1.5: 18: 25 25 25 ee 0f ef ff ff [102709.210682] usb 2-1.5: 20: ff ff ff ff ff ff ff ff [102709.210683] usb 2-1.5: 28: ff ff ff ff ff ff ff ff [102709.210685] usb 2-1.5: 30: ff ff ff ff ff ff ff ff [102709.210686] usb 2-1.5: 38: ff ff 1e 1e 1e 1e 1e 1e [102709.210687] usb 2-1.5: 40: 24 24 24 24 24 ee 0f ef [102709.210689] usb 2-1.5: 48: ff ff ff ff ff ff ff ff [102709.210690] usb 2-1.5: 50: ff ff ff ff ff ff ff ff [102709.210691] usb 2-1.5: 58: ff ff ff ff ff ff ff ff [102709.210693] usb 2-1.5: 60: ff ff ff ff ff ff ff ff [102709.210694] usb 2-1.5: 68: ff ff ff ff ff ff ff ff [102709.210696] usb 2-1.5: 70: ff ff ff ff ff ff ff ff [102709.210697] usb 2-1.5: 78: ff ff ff ff ff ff ff ff [102709.210698] usb 2-1.5: 80: ff ff ff ff ff ff ff ff [102709.210700] usb 2-1.5: 88: ff ff ff ff ff ff ff ff [102709.210701] usb 2-1.5: 90: ff ff ff ff ff ff ff ff [102709.210702] usb 2-1.5: 98: ff ff ff ff ff ff ff ff [102709.210704] usb 2-1.5: a0: ff ff ff ff ff ff ff ff [102709.210705] usb 2-1.5: a8: ff ff ff ff ff ff ff ff [102709.210706] usb 2-1.5: b0: ff ff ff ff ff ff ff ff [102709.210708] usb 2-1.5: b8: 21 36 21 00 00 00 ff ff [102709.210709] usb 2-1.5: c0: ff 01 00 10 00 00 00 ff [102709.210710] usb 2-1.5: c8: 00 00 ff ff ff ff ff ff [102709.210712] usb 2-1.5: d0: 01 20 19 33 e7 47 02 c4 [102709.210713] usb 2-1.5: d8: e9 0a 04 1c b2 09 03 52 [102709.210715] usb 2-1.5: e0: 65 61 6c 74 65 6b 1d 03 [102709.210716] usb 2-1.5: e8: 57 69 72 65 6c 65 73 73 [102709.210717] usb 2-1.5: f0: 20 4e 20 4e 61 6e 6f 20 [102709.210719] usb 2-1.5: f8: 55 53 42 20 41 64 61 70 [102709.210720] usb 2-1.5: 100: 74 65 72 00 ff ff ff ff [102709.210721] usb 2-1.5: 108: ff ff ff ff ff ff ff ff [102709.210723] usb 2-1.5: 110: ff ff ff ff ff ff ff 0d [102709.210724] usb 2-1.5: 118: 03 00 05 00 30 00 00 00 [102709.210726] usb 2-1.5: 120: 00 93 ff ff ff ff ff ff [102709.210727] usb 2-1.5: 128: ff ff ff ff ff ff ff ff [102709.210728] usb 2-1.5: 130: f6 a8 98 2d 03 92 98 00 [102709.210730] usb 2-1.5: 138: fc 8c 00 11 9b 44 02 0a [102709.210731] usb 2-1.5: 140: ff ff ff ff ff ff ff ff [102709.210732] usb 2-1.5: 148: ff ff ff ff ff ff ff ff [102709.210734] usb 2-1.5: 150: ff ff ff ff ff ff ff ff [102709.210735] usb 2-1.5: 158: ff ff ff ff ff ff ff ff [102709.210736] usb 2-1.5: 160: ff ff ff ff ff ff ff ff [102709.210738] usb 2-1.5: 168: ff ff ff ff ff ff ff ff [102709.210739] usb 2-1.5: 170: ff ff ff ff ff ff ff ff [102709.210741] usb 2-1.5: 178: ff ff ff ff ff ff ff ff [102709.210742] usb 2-1.5: 180: ff ff ff ff ff ff ff ff [102709.210743] usb 2-1.5: 188: ff ff ff ff ff ff ff ff [102709.210745] usb 2-1.5: 190: ff ff ff ff ff ff ff ff [102709.210746] usb 2-1.5: 198: ff ff ff ff ff ff ff ff [102709.210747] usb 2-1.5: 1a0: ff ff ff ff ff ff ff ff [102709.210749] usb 2-1.5: 1a8: ff ff ff ff ff ff ff ff [102709.210750] usb 2-1.5: 1b0: ff ff ff ff ff ff ff ff [102709.210751] usb 2-1.5: 1b8: ff ff ff ff ff ff ff ff [102709.210753] usb 2-1.5: 1c0: ff ff ff ff ff ff ff ff [102709.210754] usb 2-1.5: 1c8: ff ff ff ff ff ff ff ff [102709.210756] usb 2-1.5: 1d0: ff ff ff ff ff ff ff ff [102709.210757] usb 2-1.5: 1d8: ff ff ff ff ff ff ff ff [102709.210758] usb 2-1.5: 1e0: ff ff ff ff ff ff ff ff [102709.210760] usb 2-1.5: 1e8: ff ff ff ff ff ff ff ff [102709.210761] usb 2-1.5: 1f0: ff ff ff ff ff ff ff ff [102709.210762] usb 2-1.5: 1f8: ff ff ff ff ff ff ff ff [102709.210766] usb 2-1.5: RTL8192EU rev B (SMIC) 2T2R, TX queues 3, WiFi=1, BT=0, GPS=0, HI PA=0 [102709.210767] usb 2-1.5: RTL8192EU MAC: c4:e9:0a:04:1c:b2 [102709.210769] usb 2-1.5: rtl8xxxu: Loading firmware rtlwifi/rtl8192eu_nic.bin [102709.228173] usb 2-1.5: firmware: direct-loading firmware rtlwifi/rtl8192eu_nic.bin [102709.228179] usb 2-1.5: Firmware revision 19.0 (signature 0x92e1) [102710.303020] usbcore: registered new interface driver rtl8xxxu
Wiphy phy4 max # scan SSIDs: 4 max scan IEs length: 2257 bytes max # sched scan SSIDs: 0 max # match sets: 0 max # scan plans: 1 max scan plan interval: -1 max scan plan iterations: 0 RTS threshold: 2347 Retry short limit: 7 Retry long limit: 4 Coverage class: 0 (up to 0m) Supported Ciphers: * WEP40 (00-0f-ac:1) * WEP104 (00-0f-ac:5) * TKIP (00-0f-ac:2) * CCMP-128 (00-0f-ac:4) * CCMP-256 (00-0f-ac:10) * GCMP-128 (00-0f-ac:8) * GCMP-256 (00-0f-ac:9) Available Antennas: TX 0 RX 0 Supported interface modes: * managed * monitor Band 1: Capabilities: 0x6c HT20 SM Power Save disabled RX HT20 SGI RX HT40 SGI No RX STBC Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 16 usec (0x07) HT TX/RX MCS rate indexes supported: 0-15, 32 Bitrates (non-HT): * 1.0 Mbps * 2.0 Mbps * 5.5 Mbps * 11.0 Mbps * 6.0 Mbps * 9.0 Mbps * 12.0 Mbps * 18.0 Mbps * 24.0 Mbps * 36.0 Mbps * 48.0 Mbps * 54.0 Mbps 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] (20.0 dBm) * 2472 MHz [13] (20.0 dBm) * 2484 MHz [14] (disabled) Supported commands: * new_interface * set_interface * new_key * start_ap * new_station * new_mpath * set_mesh_config * set_bss * authenticate * associate * deauthenticate * disassociate * join_ibss * join_mesh * remain_on_channel * set_tx_bitrate_mask * frame * frame_wait_cancel * set_wiphy_netns * set_channel * set_wds_peer * probe_client * set_noack_map * register_beacons * start_p2p_device * set_mcast_rate * connect * disconnect * set_qos_map * set_multicast_to_unicast Supported TX frame types: * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 Supported RX frame types: * IBSS: 0x40 0xb0 0xc0 0xd0 * managed: 0x40 0xb0 0xd0 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0 * mesh point: 0xb0 0xc0 0xd0 * P2P-client: 0x40 0xd0 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0 * P2P-device: 0x40 0xd0 software interface modes (can always be added): * monitor interface combinations are not supported HT Capability overrides: * MCS: ff ff ff ff ff ff ff ff ff ff * maximum A-MSDU length * supported channel width * short GI for 40 MHz * max A-MPDU length exponent * min MPDU start spacing Device supports TX status socket option. Device supports HT-IBSS. Device supports SAE with AUTHENTICATE command Device supports low priority scan. Device supports scan flush. Device supports AP scan. Device supports per-vif TX power setting Driver supports full state transitions for AP/GO clients Driver supports a userspace MPM Device supports configuring vdev MAC-addr on create. Supported extended features: * [ RRM ]: RRM * [ FILS_STA ]: STA FILS (Fast Initial Link Setup) * [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records * [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
28: USB 00.0: 0282 WLAN controller [Created at usb.122] Unique ID: Bgjr.yvYBPyLLqV5 Parent ID: FKGF.4Nx_qoDfSd7 SysFS ID: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0 SysFS BusID: 2-1.5:1.0 Hardware Class: network Model: "D-Link Wireless N Nano USB Adapter" Hotplug: USB Vendor: usb 0x2001 "D-Link" Device: usb 0x3319 "Wireless N Nano USB Adapter" Revision: "2.00" Serial ID: "00e04c000001" Driver: "rtl8xxxu" Driver Modules: "rtl8xxxu" Device File: wlxc4e90a041cb2 Features: WLAN Speed: 480 Mbps HW Address: d6:83:8f:d6:ba:ed Permanent HW Address: c4:e9:0a:04:1c:b2 Link detected: no WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13 WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472 WLAN encryption modes: WEP40 WEP104 TKIP CCMP WLAN authentication modes: open sharedkey wpa-psk wpa-eap Module Alias: "usb:v2001p3319d0200dc00dsc00dp00icFFiscFFipFFin00" Driver Info #0: Driver Status: rtl8xxxu is active Driver Activation Cmd: "modprobe rtl8xxxu" Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #29 (Hub)