Code Monkey home page Code Monkey logo

8821au-20210708's People

Contributors

5kft avatar akmalkadi avatar alyssais avatar deadmozay avatar gemesa avatar kirmozor avatar mikesco3 avatar morrownr avatar pajkastare avatar zeno-sole avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

8821au-20210708's Issues

Fixed channel problem with aireplay-ng

Hi Nick,

I installed your driver just as described and tried to run aircrack-ng with it.
Everything went perfectly up until I ran the following
sudo aireplay-ng --deauth 0 -c <client mac> -a <ap mac> wlan1

I always get the following error msg:

Waiting for beacon frame.... on channel 100
wlan1 is on channel 100, but the AP uses channel 2

(My problem is that I cannot set the interface to use another channel)
I already tried changing the channel using:
sudo iw dev wlan1 set channel 2 HT20
but it just stays the same

I also tried this on another PC as well as without concurrent mode without success
I managed to switch it to channel 1 by reinstalling with concurrent mode but that just gave me the same error msg, as expected

Thank you in advance
Fabian

Unable to set 4addr on

Hi,

Using a RTL8811au chipset wifi dongle, I am unable to enable WDS so I can create a real bridge with the RPI 3B ethernet adapter or internal Wifi adapter.

root@raspberrypi:~ # iw wlx1cbfce25609c set 4addr on
command failed: Operation not supported (-95)

I've seen this issue posted earlier, but not fixed yet. Any idea how this can be solved?

phy#1 --> USB wifi adapter, client connection to router (static ip)
        Interface wlx1cbfce25609c
                ifindex 4
                wdev 0x100000001
                addr 1c:bf:ce:25:60:9c
                type managed
                txpower 42949572.96 dBm
phy#0 --> internal wifi chip, already setup as AP.
        Interface wlxb827eba4746c
                ifindex 3
                wdev 0x1
                addr b8:27:eb:a4:74:6c
                ssid MagicMirror
                type AP
                channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
                txpower 31.00 dBm

Hope you can help me.

Best regards,

Martijn

(info) RTL8811AU device fixed to channel 1 (cannot set band or channel)

I'm trying to use an Edimax EW-7811UAC (containing RTL8811AU) in monitor mode on a Raspberry Pi and it appears it is staying fixed to channel 1 in the 2.4GHz band. airodump -c 11 or airodump -b a are always returning channel 1 data for example. iw list lists all the expected channels in the 2.4 and 5 GHz bands, but iw wlan0 set channel 11 produces command failed: Device or resource busy (-16) while the interface is not in use, not even by network managers. I have enabled ARM support during the build process and the interface appears to be working, except channel switching.

(solved) Problem installing Driver on Manjaro

Hi,
i´ve used your installation guideline, but i got the following error:

Running install-driver.sh version 20220108
Operating System: Manjaro Linux
5.15.32-1-MANJARO
x86_64
Starting installation...
Copying source files to: /usr/src/rtl8821au-5.12.5.2
Copying 8821au.conf to: /etc/modprobe.d
Creating symlink /var/lib/dkms/rtl8821au/5.12.5.2/source -> /usr/src/rtl8821au-5.12.5.2
Error! Your kernel headers for kernel 5.15.32-1-MANJARO cannot be found at /usr/lib/modules/5.15.32-1-MANJARO/build or /usr/lib/modules/5.15.32-1-MANJARO/source.
Please install the linux-headers-5.15.32-1-MANJARO package or use the --kernelsourcedir option to tell DKMS where it's located.
An error occurred. dkms build error = 1
Please report this error.

You will need to run the following before reattempting installation.
$ sudo ./remove-driver.sh

So, i also did the status list:
Bus 002 Device 005: ID 145f:02e7 Trust Trust QHD Webcam
Bus 002 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 003: ID 2357:011f TP-Link 802.11ac WLAN Adapter
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0951:1666 Kingston Technology DataTraveler 100 G3/G4/SE9 G2/50
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
rtl8821au/5.12.5.2: added

Honestly i am a newbie to manjaro an Linux, only know a little commands. And with this, i can´t help out myself. Would you be so kind and tell me what to do?

Thank you so far!

(info) Thanks for a great driver!

Hi there! After spending many hours going through drivers, I finally thought to just search Netgear A6100 in github, and saw this as being the most up-to-date. It works! Thanks for your great work!

Error! Your kernel headers for kernel 4.9.277-76 cannot be found

Right after sending the command to install the drivers, this message appears in the terminal:

Error! Your kernel headers for kernel 4.9.277-76 cannot be found.
Please install the linux-headers-4.9.277-76 package,
or use the --kernelsourcedir option to tell DKMS where it's located
An error occurred. dkms build error = 1
Please report this error.

Sorry if my interaction on Github isn't correct, it's like the first time I'm using it.
My PC board: Odroid C4;
My OS: Ubuntu Mate 20.04.3 LTS;
Wi-Fi dongle: Cudy UW600
Wi-Fi dongle chipset: something between rtl8821cu and rtl8731au.

about the endian of 802.11 header

Hi,

I'm not familiar with 802.11 or usb protocol, and I have a question about the endian.

my PC is debian and driver build config CONFIG_PLATFORM_I386_PC=y and this -DCONFIG_LITTLE_ENDIAN is enabled.

In rtw_recv.c, when get a raw 802.11 frame, driver use GetFrameType(ptr) to get frame type, which is:

#define GetFrameType(pbuf)	(le16_to_cpu(*(unsigned short *)(pbuf)) & (BIT(3) | BIT(2)))

le16_to_cpu() means data read from usb is little endain. While when I read other library that parse 802.11 header, they usually use ntohs() which means the origin data is network endian(big endian).

This confuses me, so the header endain is depend on the device self or os system type ?

(solved) Support for RTL8832AU

I've got the usb wi-fi dongle D-Link DWA-X1850 https://wikidevi.wi-cat.ru/D-Link_DWA-X1850_rev_A1
Being optimistic I simply tried to build the driver by adding the following line to os_dep/linux/usb_intf.c under #ifdef CONFIG_RTL8821A

    {USB_DEVICE(0x2001, 0x3321), .driver_info = RTL8821}, /* D-Link - DWA-X1850 */

When I connect the dongle I see these messages in syslog:
Mar 16 16:22:12 condor kernel: [ 3228.702391] rtl8821au 1-2:1.0 wlx00e04cec2869: renamed from wlan0
Mar 16 16:22:12 condor NetworkManager[983]: [1647444132.2483] device (wlan0): interface index 8 renamed iface from 'wlan0' to 'wlx00e04cec2869'
Mar 16 16:22:12 condor NetworkManager[983]: [1647444132.2620] device (wlx00e04cec2869): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Mar 16 16:22:12 condor wpa_supplicant[1019]: Could not set interface wlx00e04cec2869 flags (UP): Operation not permitted
Mar 16 16:22:12 condor wpa_supplicant[1019]: nl80211: Could not set interface 'wlx00e04cec2869' UP
Mar 16 16:22:12 condor wpa_supplicant[1019]: nl80211: deinit ifname=wlx00e04cec2869 disabled_11b_rates=0
Mar 16 16:22:12 condor wpa_supplicant[1019]: Could not set interface wlx00e04cec2869 flags (UP): Operation not permitted
Mar 16 16:22:12 condor wpa_supplicant[1019]: WEXT: Could not set interface 'wlx00e04cec2869' UP
Mar 16 16:22:12 condor wpa_supplicant[1019]: wlx00e04cec2869: Failed to initialize driver interface
Mar 16 16:22:12 condor NetworkManager[983]: [1647444132.2827] sup-iface[0x555bb49c6a00,wlx00e04cec2869]: error adding interface: wpa_supplicant couldn't grab this interface.

Can I do something else to get the driver working for my new dongle?

Netgear ac600 wont use the driver

I have installed the driver 3 times on new installs and on 2 different sd cards and I still cannot get it to work with my Netgear ac600 the driver installs normally and after installing the device isn't used for wlan

Not working on Kernel above 5.13.0.40

Hi

As the tittle says, it doesn't work on more recent kernel versions.
Although it installs OK, it doesn't seem to start.
I'm using Kubuntu 21.10
I have to boot with kernel .40 to work.

Thank You

(info) Bit more information on the kernel headers path not found with dkms?

Trip over this again, Odd, this time a simple reboot did not fix the issue. This was on Pi Zero, but not sure that matters.

Since the install-driver.sh failed, I ran the remove-driver.sh, did not reboot and did a make clean then make, just so see what happened, and this was the result:

root@template:/8821au-20210708-morrownr# make
make ARCH=arm CROSS_COMPILE= -C /lib/modules/5.15.78+/build M=/root/8821au-20210708-morrownr modules
make[1]: *** /lib/modules/5.15.78+/build: No such file or directory. Stop.
make: *** [Makefile:2517: modules] Error 2
root@template:
/8821au-20210708-morrownr# ls -l /lib/modules/5.15.78+/
total 2436
drwxr-xr-x 11 root root 4096 Nov 13 23:19 kernel
-rw-r--r-- 1 root root 581281 Nov 13 23:19 modules.alias
-rw-r--r-- 1 root root 610734 Nov 13 23:19 modules.alias.bin
-rw-r--r-- 1 root root 13930 Nov 13 23:19 modules.builtin
-rw-r--r-- 1 root root 0 Nov 13 23:19 modules.builtin.alias.bin
-rw-r--r-- 1 root root 15282 Nov 13 23:19 modules.builtin.bin
-rw-r--r-- 1 root root 77245 Nov 13 23:19 modules.builtin.modinfo
-rw-r--r-- 1 root root 220535 Nov 13 23:19 modules.dep
-rw-r--r-- 1 root root 297158 Nov 13 23:19 modules.dep.bin
-rw-r--r-- 1 root root 324 Nov 13 23:19 modules.devname
-rw-r--r-- 1 root root 66705 Nov 13 23:19 modules.order
-rw-r--r-- 1 root root 913 Nov 13 23:19 modules.softdep
-rw-r--r-- 1 root root 262188 Nov 13 23:19 modules.symbols
-rw-r--r-- 1 root root 318677 Nov 13 23:19 modules.symbols.bin

Pi headers for the given kernel is there...
# uname -a
Linux template 5.15.78+ #1599 Fri Nov 11 12:20:14 GMT 2022 armv6l GNU/Linux

# apt install raspberrypi-kernel-headers
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
raspberrypi-kernel-headers is already the newest version (1:1.20221104-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

# find /usr/lib | grep 15.78+ | grep build
[no output]

Really weird, since the correct headers are there.

I am going to recreate the image, and see if I can recreate it again.

(solved) Not running on kernel 5.15

Running install-driver.sh version 20220705
5.15.32-v7l+
armv7l
Starting installation...
Copying source files to: /usr/src/rtl8821au-5.12.5.2
Copying 8821au.conf to: /etc/modprobe.d

Creating symlink /var/lib/dkms/rtl8821au/5.12.5.2/source ->
/usr/src/rtl8821au-5.12.5.2

DKMS: add completed.
Error! echo
Your kernel headers for kernel 5.15.32-v7l+ cannot be found at
/lib/modules/5.15.32-v7l+/build or /lib/modules/5.15.32-v7l+/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
An error occurred. dkms build error = 1
Please report this error.
You will need to run the following before reattempting installation.
$ sudo ./remove-driver.sh

sudo -uname -mr

(solved) Problems with A6100 on RPI4 64 bit

Hi,
I am tinkering with a RPI4 and a A6100, but as soon as I plug in the A6100 things go downhill :-| - Basically any iw and uname command as requested for the issue report cause cause some lockup as seen in the syslog dump below. Anyone have experience with this kind of behavior? Is it my kernel version that is unsupported - Any tips for debugging?

I am using wlan0 for connecting to wlan - So I would like to keep that enabled and then use the A6100 for testing.

Info before plugging in:

Linux pi4hyper 5.15.32-v8+ #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022 aarch64 GNU/Linux
EFI variables are not supported on this system
Bus 002 Device 002: ID 152d:0562 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 3151:3000 YICHIP Wireless Device
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
rtl8821au, 5.12.5.2, 5.15.32-v8+, aarch64: installed
phy#0
	Unnamed/non-netdev interface
		wdev 0x2
		addr de:a6:32:18:5d:4e
		type P2P-device
		txpower 31.00 dBm
	Interface wlan0
		ifindex 3
		wdev 0x1
		addr dc:a6:32:18:5d:4e
		ssid billebib
		type managed
		channel 100 (5500 MHz), width: 80 MHz, center1: 5530 MHz
		txpower 31.00 dBm

Log when plugging in the A6100:

Bus 002 Device 002: ID 152d:0562 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 3151:3000 YICHIP Wireless Device
Bus 001 Device 004: ID 0846:9052 NetGear, Inc. A6100 AC600 DB Wireless Adapter [Realtek RTL8811AU]
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
2: phy1: Wireless LAN
	Soft blocked: no
	Hard blocked: no
rtl8821au, 5.12.5.2, 5.15.32-v8+, aarch64: installed

syslog:


Apr 10 21:11:12 pi4hyper PackageKit: daemon start
Apr 10 21:11:12 pi4hyper dbus-daemon[373]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Apr 10 21:11:12 pi4hyper systemd[1]: Started PackageKit Daemon.
Apr 10 21:11:16 pi4hyper PackageKit: refresh-cache transaction /133_bccaabac from uid 1000 finished with success after 3573ms
Apr 10 21:11:17 pi4hyper dhcpcd[484]: wlan0: no IPv6 Routers available
Apr 10 21:11:20 pi4hyper kernel: [   31.710836] cam-dummy-reg: disabling
Apr 10 21:11:22 pi4hyper PackageKit: get-updates transaction /134_dccbaabc from uid 1000 finished with success after 5761ms
Apr 10 21:11:26 pi4hyper systemd[1]: systemd-fsckd.service: Succeeded.
Apr 10 21:11:36 pi4hyper systemd[1]: systemd-hostnamed.service: Succeeded.
Apr 10 21:17:01 pi4hyper CRON[1641]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Apr 10 21:22:39 pi4hyper kernel: [  711.185171] usb 1-1.3: new high-speed USB device number 4 using xhci_hcd
Apr 10 21:22:39 pi4hyper kernel: [  711.289837] usb 1-1.3: New USB device found, idVendor=0846, idProduct=9052, bcdDevice= 2.00
Apr 10 21:22:39 pi4hyper kernel: [  711.289869] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 10 21:22:39 pi4hyper kernel: [  711.289882] usb 1-1.3: Product: 802.11ac WLAN Adapter 
Apr 10 21:22:39 pi4hyper kernel: [  711.289894] usb 1-1.3: Manufacturer: Realtek 
Apr 10 21:22:39 pi4hyper kernel: [  711.289904] usb 1-1.3: SerialNumber: 00e04c000001
Apr 10 21:22:39 pi4hyper mtp-probe: checking bus 1, device 4: "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3"
Apr 10 21:22:39 pi4hyper mtp-probe: bus: 1, device: 4 was not an MTP device
Apr 10 21:22:39 pi4hyper kernel: [  711.358293] 8821au: loading out-of-tree module taints kernel.
Apr 10 21:22:39 pi4hyper kernel: [  711.390273] RTW: module init start
Apr 10 21:22:39 pi4hyper kernel: [  711.390299] RTW: rtl8821au v5.12.5.2-0-g70054197b.20210708_COEX20190509-6d6f
Apr 10 21:22:39 pi4hyper kernel: [  711.390307] RTW: rtl8821au BT-Coex version = COEX20190509-6d6f
Apr 10 21:22:39 pi4hyper kernel: [  711.475969] RTW: HW EFUSE
Apr 10 21:22:39 pi4hyper kernel: [  711.475998] RTW: 0x000: 29 81 00 7C  01 00 01 00  4C 00 04 00  10 00 00 00  
Apr 10 21:22:39 pi4hyper kernel: [  711.476081] RTW: 0x010: 31 31 31 31  31 35 35 35  35 35 35 02  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.476146] RTW: 0x020: FF FF 23 22  21 20 20 1E  1B 1A 1A 1B  1A 19 18 17  
Apr 10 21:22:39 pi4hyper kernel: [  711.476212] RTW: 0x030: 02 FF FF FF  FF FF 02 FF  FF FF FF FF  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.476276] RTW: 0x040: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.476341] RTW: 0x050: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.476406] RTW: 0x060: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.476470] RTW: 0x070: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.476535] RTW: 0x080: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.476599] RTW: 0x090: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.476664] RTW: 0x0A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.476729] RTW: 0x0B0: FF FF FF FF  FF FF FF FF  7F 23 20 00  01 00 FF 08  
Apr 10 21:22:39 pi4hyper kernel: [  711.476793] RTW: 0x0C0: FF 08 00 FF  00 00 00 55  00 FF FF FF  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.476858] RTW: 0x0D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.476923] RTW: 0x0E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.476987] RTW: 0x0F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.477052] RTW: 0x100: 46 08 52 90  FF FF 03 44  A5 6E 53 0F  4C 0A 03 52  
Apr 10 21:22:39 pi4hyper kernel: [  711.477116] RTW: 0x110: 65 61 6C 74  65 6B 20 18  03 38 30 32  2E 31 31 61  
Apr 10 21:22:39 pi4hyper kernel: [  711.477248] RTW: 0x120: 63 20 57 4C  41 4E 20 41  64 61 70 74  65 72 20 00  
Apr 10 21:22:39 pi4hyper kernel: [  711.477313] RTW: 0x130: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.477378] RTW: 0x140: FF FF FF FF  FF FF FF 0F  FF FF FF FF  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.477442] RTW: 0x150: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.477726] RTW: 0x160: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.477792] RTW: 0x170: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.477857] RTW: 0x180: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.477922] RTW: 0x190: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.477986] RTW: 0x1A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.478051] RTW: 0x1B0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.478115] RTW: 0x1C0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.478180] RTW: 0x1D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.478244] RTW: 0x1E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.478309] RTW: 0x1F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
Apr 10 21:22:39 pi4hyper kernel: [  711.478466] RTW: hal_com_config_channel_plan chplan:0x7F
Apr 10 21:22:39 pi4hyper kernel: [  711.479353] RTW: [RF_PATH] ver_id.RF_TYPE:RF_1T1R
Apr 10 21:22:39 pi4hyper kernel: [  711.479361] RTW: [RF_PATH] HALSPEC's rf_reg_trx_path_bmp:0x11, rf_reg_path_avail_num:1, max_tx_cnt:1
Apr 10 21:22:39 pi4hyper kernel: [  711.479367] RTW: [RF_PATH] PG's trx_path_bmp:0x00, max_tx_cnt:0
Apr 10 21:22:39 pi4hyper kernel: [  711.479372] RTW: [RF_PATH] Registry's trx_path_bmp:0x00, tx_path_lmt:0, rx_path_lmt:0
Apr 10 21:22:39 pi4hyper kernel: [  711.479377] RTW: [RF_PATH] HALDATA's trx_path_bmp:0x11, max_tx_cnt:1
Apr 10 21:22:39 pi4hyper kernel: [  711.479381] RTW: [RF_PATH] HALDATA's rf_type:RF_1T1R, NumTotalRFPath:1
Apr 10 21:22:39 pi4hyper kernel: [  711.479387] RTW: [TRX_Nss] HALSPEC - tx_nss:1, rx_nss:1
Apr 10 21:22:39 pi4hyper kernel: [  711.479392] RTW: [TRX_Nss] Registry - tx_nss:0, rx_nss:0
Apr 10 21:22:39 pi4hyper kernel: [  711.479397] RTW: [TRX_Nss] HALDATA - tx_nss:1, rx_nss:1
Apr 10 21:22:39 pi4hyper kernel: [  711.479403] RTW: txpath=0x1, rxpath=0x1
Apr 10 21:22:39 pi4hyper kernel: [  711.479408] RTW: txpath_1ss:0x1, num:1
Apr 10 21:22:39 pi4hyper kernel: [  711.480247] RTW: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
Apr 10 21:22:39 pi4hyper kernel: [  711.482441] RTW: rtw_ndev_init(wlan1) if1 mac_addr=44:a5:6e:53:0f:4c
Apr 10 21:22:39 pi4hyper kernel: [  711.486174] usbcore: registered new interface driver rtl8821au
Apr 10 21:22:39 pi4hyper kernel: [  711.486197] RTW: module init ret=0
Apr 10 21:22:39 pi4hyper systemd[1]: Starting Load/Save RF Kill Switch Status...
Apr 10 21:22:39 pi4hyper mtp-probe: checking bus 1, device 4: "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3"
Apr 10 21:22:39 pi4hyper mtp-probe: bus: 1, device: 4 was not an MTP device
Apr 10 21:22:39 pi4hyper systemd-udevd[1992]: Using default interface naming scheme 'v247'.
Apr 10 21:22:40 pi4hyper systemd[1]: Started Load/Save RF Kill Switch Status.
Apr 10 21:22:40 pi4hyper systemd[1]: Found device A6100 AC600 DB Wireless Adapter [Realtek RTL8811AU].
Apr 10 21:22:40 pi4hyper systemd[1]: Started ifup for wlan1.
Apr 10 21:22:45 pi4hyper systemd[1]: systemd-rfkill.service: Succeeded.
Apr 10 21:23:40 pi4hyper systemd-udevd[170]: mon1: Worker [2015] processing SEQNUM=1879 is taking a long time
Apr 10 21:24:55 pi4hyper kernel: [  846.827010] INFO: task systemd-udevd:2015 blocked for more than 120 seconds.
Apr 10 21:24:55 pi4hyper kernel: [  846.827048]       Tainted: G         C O      5.15.32-v8+ #1538
Apr 10 21:24:55 pi4hyper kernel: [  846.827061] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Apr 10 21:24:55 pi4hyper kernel: [  846.827073] task:systemd-udevd   state:D stack:    0 pid: 2015 ppid:   170 flags:0x00000800
Apr 10 21:24:55 pi4hyper kernel: [  846.827106] Call trace:
Apr 10 21:24:55 pi4hyper kernel: [  846.827116]  __switch_to+0x114/0x1c8
Apr 10 21:24:55 pi4hyper kernel: [  846.827151]  __schedule+0x30c/0x8e8
Apr 10 21:24:55 pi4hyper kernel: [  846.827174]  schedule+0x48/0x100
Apr 10 21:24:55 pi4hyper kernel: [  846.827193]  schedule_preempt_disabled+0x20/0x38
Apr 10 21:24:55 pi4hyper kernel: [  846.827213]  __mutex_lock.isra.15+0x2a4/0x5b0
Apr 10 21:24:55 pi4hyper kernel: [  846.827232]  __mutex_lock_slowpath+0x1c/0x28
Apr 10 21:24:55 pi4hyper kernel: [  846.827247]  mutex_lock+0x40/0x58
Apr 10 21:24:55 pi4hyper kernel: [  846.827261]  rtnl_lock+0x20/0x30
Apr 10 21:24:55 pi4hyper kernel: [  846.827281]  dev_ioctl+0x1f4/0x400
Apr 10 21:24:55 pi4hyper kernel: [  846.827297]  sock_do_ioctl+0xbc/0x100
Apr 10 21:24:55 pi4hyper kernel: [  846.827313]  sock_ioctl+0x2dc/0x3c0
Apr 10 21:24:55 pi4hyper kernel: [  846.827340]  __arm64_sys_ioctl+0xb0/0xf0
Apr 10 21:24:55 pi4hyper kernel: [  846.827368]  invoke_syscall+0x4c/0x110
Apr 10 21:24:55 pi4hyper kernel: [  846.827387]  el0_svc_common.constprop.3+0x98/0x120
Apr 10 21:24:55 pi4hyper kernel: [  846.827405]  do_el0_svc+0x2c/0x90
Apr 10 21:24:55 pi4hyper kernel: [  846.827422]  el0_svc+0x24/0x60
Apr 10 21:24:55 pi4hyper kernel: [  846.827438]  el0t_64_sync_handler+0x90/0xb8
Apr 10 21:24:55 pi4hyper kernel: [  846.827455]  el0t_64_sync+0x1a0/0x1a4
Apr 10 21:24:55 pi4hyper kernel: [  846.827473] INFO: task iw:2020 blocked for more than 120 seconds.
Apr 10 21:24:55 pi4hyper kernel: [  846.827488]       Tainted: G         C O      5.15.32-v8+ #1538
Apr 10 21:24:55 pi4hyper kernel: [  846.827500] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Apr 10 21:24:55 pi4hyper kernel: [  846.827510] task:iw              state:D stack:    0 pid: 2020 ppid:  2019 flags:0x00000008
Apr 10 21:24:55 pi4hyper kernel: [  846.827536] Call trace:
Apr 10 21:24:55 pi4hyper kernel: [  846.827545]  __switch_to+0x114/0x1c8
Apr 10 21:24:55 pi4hyper kernel: [  846.827565]  __schedule+0x30c/0x8e8
Apr 10 21:24:55 pi4hyper kernel: [  846.827584]  schedule+0x48/0x100
Apr 10 21:24:55 pi4hyper kernel: [  846.827601]  schedule_preempt_disabled+0x20/0x38
Apr 10 21:24:55 pi4hyper kernel: [  846.827620]  __mutex_lock.isra.15+0x2a4/0x5b0
Apr 10 21:24:55 pi4hyper kernel: [  846.827640]  __mutex_lock_slowpath+0x1c/0x28
Apr 10 21:24:55 pi4hyper kernel: [  846.827653]  mutex_lock+0x40/0x58
Apr 10 21:24:55 pi4hyper kernel: [  846.827666]  cfg80211_netdev_notifier_call+0x1f8/0x5a8 [cfg80211]
Apr 10 21:24:55 pi4hyper kernel: [  846.827882]  raw_notifier_call_chain+0x5c/0x80
Apr 10 21:24:55 pi4hyper kernel: [  846.827902]  call_netdevice_notifiers_info+0x60/0xb0
Apr 10 21:24:55 pi4hyper kernel: [  846.827920]  register_netdevice+0x388/0x400
Apr 10 21:24:55 pi4hyper kernel: [  846.827936]  cfg80211_rtw_add_virtual_intf+0x1e4/0x47c [8821au]
Apr 10 21:24:55 pi4hyper kernel: [  846.828269]  nl80211_new_interface+0x15c/0x448 [cfg80211]
Apr 10 21:24:55 pi4hyper kernel: [  846.828449]  genl_family_rcv_msg_doit.isra.15+0x114/0x158
Apr 10 21:24:55 pi4hyper kernel: [  846.828469]  genl_rcv_msg+0xf8/0x1e0
Apr 10 21:24:55 pi4hyper kernel: [  846.828485]  netlink_rcv_skb+0x64/0x128
Apr 10 21:24:55 pi4hyper kernel: [  846.828500]  genl_rcv+0x40/0x58
Apr 10 21:24:55 pi4hyper kernel: [  846.828515]  netlink_unicast+0x1c0/0x280
Apr 10 21:24:55 pi4hyper kernel: [  846.828530]  netlink_sendmsg+0x1d0/0x418
Apr 10 21:24:55 pi4hyper kernel: [  846.828545]  sock_sendmsg+0x54/0x60
Apr 10 21:24:55 pi4hyper kernel: [  846.828561]  ____sys_sendmsg+0x260/0x2a0
Apr 10 21:24:55 pi4hyper kernel: [  846.828576]  ___sys_sendmsg+0x8c/0xd0
Apr 10 21:24:55 pi4hyper kernel: [  846.828591]  __sys_sendmsg+0x74/0xc8
Apr 10 21:24:55 pi4hyper kernel: [  846.828607]  __arm64_sys_sendmsg+0x2c/0x38
Apr 10 21:24:55 pi4hyper kernel: [  846.828622]  invoke_syscall+0x4c/0x110
Apr 10 21:24:55 pi4hyper kernel: [  846.828640]  el0_svc_common.constprop.3+0xfc/0x120
Apr 10 21:24:55 pi4hyper kernel: [  846.828658]  do_el0_svc+0x2c/0x90
Apr 10 21:24:55 pi4hyper kernel: [  846.828675]  el0_svc+0x24/0x60
Apr 10 21:24:55 pi4hyper kernel: [  846.828693]  el0t_64_sync_handler+0x90/0xb8
Apr 10 21:24:55 pi4hyper kernel: [  846.828710]  el0t_64_sync+0x1a0/0x1a4
Apr 10 21:25:40 pi4hyper systemd-udevd[170]: mon1: Worker [2015] processing SEQNUM=1879 killed

Ubuntu installed succesfully, but not detected

Opening new thread for Ubuntu issues. The USB devices is detected and driver is installed, but the system does not recognize any WiFi device and does not offer any networks. Any help would be appreciated.

dkms status
rtl8821au/5.12.5.2, 5.19.0-23-generic, x86_64: installed

lsusb
Bus 001 Device 002: ID 2357:0120 TP-Link Archer T2U PLUS [RTL8821AU]

iw reg get
global country 00: DFS-UNSET
 (755 - 928 @ 2), (N/A, 20), (N/A), PASSIVE-SCAN
 (2402 - 2472 @ 40), (N/A, 20), (N/A)
 (2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN 
(2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN 
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN 
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN 
(5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN 
(5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN 
(57240 - 63720 @ 2160), (N/A, 0), (N/A)

mokutil --sb-state
SecureBoot disabled

iwconfig

lo no wireless extensions.

eno1 no wireless extensions.

I have been struggling with it all day, but no luck.

I have tried to set the proper iw

sudo iw reg set CZ
and I get
global country CZ: DFS-ETSI

but it is gone after reboot

System is

Kubuntu 22.10
Kernel 5.19.0-23-generic

Not working on kernel 6.0.8

Hey, I tried to install the driver on Fedora 37 with kernel 6.0.8 and it fails with the following dmesg output:

[  114.552965] 8821au: Unknown symbol __cfg80211_alloc_event_skb (err -2)
[  114.552992] 8821au: Unknown symbol wiphy_register (err -2)
[  114.553005] 8821au: Unknown symbol cfg80211_remain_on_channel_expired (err -2)
[  114.553028] 8821au: Unknown symbol cfg80211_vendor_cmd_reply (err -2)
[  114.553043] 8821au: Unknown symbol cfg80211_del_sta_sinfo (err -2)
[  114.553056] 8821au: Unknown symbol wiphy_unregister (err -2)
[  114.553090] 8821au: Unknown symbol cfg80211_ch_switch_notify (err -2)
[  114.553103] 8821au: Unknown symbol cfg80211_ch_switch_started_notify (err -2)
[  114.553113] 8821au: Unknown symbol ieee80211_get_channel_khz (err -2)
[  114.553126] 8821au: Unknown symbol cfg80211_ready_on_channel (err -2)
[  114.553179] 8821au: Unknown symbol wiphy_free (err -2)
[  114.553188] 8821au: Unknown symbol wiphy_new_nm (err -2)
[  114.553197] 8821au: Unknown symbol cfg80211_get_bss (err -2)
[  114.553213] 8821au: Unknown symbol ieee80211_freq_khz_to_channel (err -2)
[  114.553222] 8821au: Unknown symbol __cfg80211_send_event_skb (err -2)
[  114.553241] 8821au: Unknown symbol cfg80211_disconnected (err -2)
[  114.553250] 8821au: Unknown symbol cfg80211_michael_mic_failure (err -2)
[  114.553264] 8821au: Unknown symbol cfg80211_ibss_joined (err -2)
[  114.553300] 8821au: Unknown symbol cfg80211_scan_done (err -2)
[  114.553316] 8821au: Unknown symbol cfg80211_roamed (err -2)
[  114.553324] 8821au: Unknown symbol cfg80211_put_bss (err -2)
[  114.553342] 8821au: Unknown symbol cfg80211_connect_done (err -2)
[  114.553368] 8821au: Unknown symbol cfg80211_unlink_bss (err -2)
[  114.553391] 8821au: Unknown symbol cfg80211_inform_bss_frame_data (err -2)
[  114.553413] 8821au: Unknown symbol cfg80211_new_sta (err -2)
[  114.553437] 8821au: Unknown symbol __cfg80211_alloc_reply_skb (err -2)
[  114.553450] 8821au: Unknown symbol cfg80211_rx_mgmt_ext (err -2)
[  114.553472] 8821au: Unknown symbol cfg80211_mgmt_tx_status_ext (err -2)
[  114.553482] 8821au: Unknown symbol cfg80211_external_auth_request (err -2)
[  340.153684] 8821au: Unknown symbol __cfg80211_alloc_event_skb (err -2)
[  340.153708] 8821au: Unknown symbol wiphy_register (err -2)
[  340.153722] 8821au: Unknown symbol cfg80211_remain_on_channel_expired (err -2)
[  340.153742] 8821au: Unknown symbol cfg80211_vendor_cmd_reply (err -2)
[  340.153757] 8821au: Unknown symbol cfg80211_del_sta_sinfo (err -2)
[  340.153768] 8821au: Unknown symbol wiphy_unregister (err -2)
[  340.153801] 8821au: Unknown symbol cfg80211_ch_switch_notify (err -2)
[  340.153813] 8821au: Unknown symbol cfg80211_ch_switch_started_notify (err -2)
[  340.153823] 8821au: Unknown symbol ieee80211_get_channel_khz (err -2)
[  340.153836] 8821au: Unknown symbol cfg80211_ready_on_channel (err -2)
[  340.153874] 8821au: Unknown symbol wiphy_free (err -2)
[  340.153883] 8821au: Unknown symbol wiphy_new_nm (err -2)
[  340.153891] 8821au: Unknown symbol cfg80211_get_bss (err -2)
[  340.153906] 8821au: Unknown symbol ieee80211_freq_khz_to_channel (err -2)
[  340.153921] 8821au: Unknown symbol __cfg80211_send_event_skb (err -2)
[  340.153939] 8821au: Unknown symbol cfg80211_disconnected (err -2)
[  340.153947] 8821au: Unknown symbol cfg80211_michael_mic_failure (err -2)
[  340.153961] 8821au: Unknown symbol cfg80211_ibss_joined (err -2)
[  340.153995] 8821au: Unknown symbol cfg80211_scan_done (err -2)
[  340.154009] 8821au: Unknown symbol cfg80211_roamed (err -2)
[  340.154016] 8821au: Unknown symbol cfg80211_put_bss (err -2)
[  340.154033] 8821au: Unknown symbol cfg80211_connect_done (err -2)
[  340.154057] 8821au: Unknown symbol cfg80211_unlink_bss (err -2)
[  340.154078] 8821au: Unknown symbol cfg80211_inform_bss_frame_data (err -2)
[  340.154093] 8821au: Unknown symbol cfg80211_new_sta (err -2)
[  340.154116] 8821au: Unknown symbol __cfg80211_alloc_reply_skb (err -2)
[  340.154128] 8821au: Unknown symbol cfg80211_rx_mgmt_ext (err -2)
[  340.154149] 8821au: Unknown symbol cfg80211_mgmt_tx_status_ext (err -2)
[  340.154159] 8821au: Unknown symbol cfg80211_external_auth_request (err -2)

(solved) Can I use 2 wifi adaptors on the my laptop on linux?

$ sudo uname -a
Linux xfce 5.15.0-41-generic #44~20.04.1-Ubuntu SMP Fri Jun 24 13:27:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

$ mokutil --sb-state
SecureBoot disabled

$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 04f3:0c00 Elan Microelectronics Corp. ELAN:ARM-M4
Bus 001 Device 004: ID 30c9:0013 DJKCVA1WSD73IE HP TrueVision HD Camera
Bus 001 Device 007: ID 2357:0120 TP-Link 802.11ac WLAN Adapter 
Bus 001 Device 006: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

$ rfkill list all
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

$ dkms status
8812au, 5.6.4.2_35491.20191025, 5.15.0-41-generic, x86_64: installed
rtl8821au, 5.12.5.2, 5.15.0-41-generic, x86_64: installed

$ iw dev
phy#0
	Interface wlo1
		ifindex 3
		wdev 0x1
		addr XX:XX:XX:XX:XX:XX
		type managed
		txpower 20.00 dBm
		multicast TXQ:
			qsz-byt	qsz-pkt	flows	drops	marks	overlmt	hashcol	tx-bytes	tx-packets
			0	0	0	0	0	0	0	0		0

Can I install my TP-Link Adapter on wlo2 interface?

Stoping wifi

Hi there!
I hope you are going great!
First of all I would like to congrats all people evolved on this project you are amazing!
Thank you all!

So, my issue is a sudden stop of the wifi. I'm using a dungle USB TP-Link Archer T2u AC600 dual band. However, I don't know why the internet connection sudden stop on my Xerolinux OS and when I touch the wifi icon the internet returns to work in a few seconds.
I use the same dungle on Windows and I have no issues at all.
My question to you guys is there a setting on the rtl8821au config file that I could do to sort it out or some?
Thank you in advance!
Be fine out there!

kernel 4.14.180

does this support kernel 4.14.180

i made module 8821au.ko
without dkms

i am getting following error if i try to run

insmod /vendor/lib/modules/8821au.ko
insmod: failed to load /vendor/lib/modules/8821au.ko: Exec format error

./vendor/lib/modules/8821au.ko
/system/bin/sh: ./vendor/lib/modules/8821au.ko: not executable: 64-bit ELF file

modinfo ./vendor/lib/modules/8821au.ko
filename: ./vendor/lib/modules/8821au.ko
license: GPL
author: Realtek Semiconductor Corp.
description: Realtek Wireless Lan Driver
name: 8821au
vermagic: 4.14.180 SMP preempt mod_unload modversions aarch64

(solved) Not working for Kernel 5.15

Hi. I have tried to install the driver on kernel (5.15.0-41-generic), but it doesn't seem to work.

Thank you.

sudo uname -a; mokutil --sb-state; lsusb; rfkill list all; dkms status; iw dev

Linux jongvis 5.15.0-41-generic #44-Ubuntu SMP Wed Jun 22 14:20:53 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
SecureBoot disabled
Platform is in Setup Mode
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 174c:3074 ASMedia Technology Inc. ASM1074 SuperSpeed hub
Bus 002 Device 002: ID 1058:25e2 Western Digital Technologies, Inc. My Passport (WD40NMZW)
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 05ac:024f Apple, Inc. Aluminium Keyboard (ANSI)
Bus 001 Device 004: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 001 Device 003: ID 0bda:0811 Realtek Semiconductor Corp. Realtek 8812AU/8821AU 802.11ac WLAN Adapter [USB Wireless Dual-Band Adapter 2.4/5Ghz]
Bus 001 Device 002: ID 174c:2074 ASMedia Technology Inc. ASM1074 High-Speed hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
0: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
rtl8821au/5.12.5.2, 5.15.0-41-generic, x86_64: installed

Unable to connect 5 GHZ and showing two wifi

https://ibb.co/FhLwHWs

sudo uname -a; mokutil --sb-state; lsusb; rfkill list all; dkms status; iw dev
Linux blackbox 5.17.5-76051705-generic #202204271406165547678622.0462dd706 SMP PREEMPT Fri Jun 17 16 x86_64 x86_64 x86_64 GNU/Linux
SecureBoot disabled
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 04f3:0c5e Elan Microelectronics Corp. ELAN:ARM-M4
Bus 003 Device 003: ID 04f2:b6c0 Chicony Electronics Co., Ltd HP HD Camera
Bus 003 Device 005: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP)
Bus 003 Device 002: ID 2357:011e TP-Link AC600 wireless Realtek RTL8811AU [Archer T2U Nano]
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
2: phy1: Wireless LAN
Soft blocked: no
Hard blocked: no
rtl8821au/5.12.5.2, 5.17.5-76051705-generic, x86_64: installed
system76/1.0.14
164339129122.0478ede46, 5.17.5-76051705-generic, x86_64: installed
system76_acpi/1.0.2164012275522.0404145b8, 5.17.5-76051705-generic, x86_64: installed (original_module exists)
system76-io/1.0.2
165549048022.040217576, 5.17.5-76051705-generic, x86_64: installed
phy#1
Interface wlxb6b024bf2d82
ifindex 5
wdev 0x100000002
addr b6:b0:24:bf:2d:82
ssid Wizards V2
type managed
txpower 14.00 dBm
Interface wlxb4b024bf2d82
ifindex 4
wdev 0x100000001
addr b4:b0:24:bf:2d:82
type managed
txpower -100.00 dBm
phy#0
Interface wlp0s20f3
ifindex 3
wdev 0x1
addr 48:51:c5:41:d3:c7
type managed
txpower 0.00 dBm
multicast TXQ:
qsz-byt qsz-pkt flows drops marks overlmt hashcol tx-bytes tx-packets
0 0 0 0 0 0 0 0 0

Missing channel (like 157)

I'm with Ubuntu 20.04.3 and when my wifi is on channel is 157, I can't connect to 5ghz.
With Windows I don't have any issue.

iwlist chan :

wlx7cc2c61c4a31 32 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 36 : 5.18 GHz
Channel 40 : 5.2 GHz
Channel 44 : 5.22 GHz
Channel 48 : 5.24 GHz
Channel 52 : 5.26 GHz
Channel 56 : 5.28 GHz
Channel 60 : 5.3 GHz
Channel 64 : 5.32 GHz
Channel 100 : 5.5 GHz
Channel 104 : 5.52 GHz
Channel 108 : 5.54 GHz
Channel 112 : 5.56 GHz
Channel 116 : 5.58 GHz
Channel 120 : 5.6 GHz
Channel 124 : 5.62 GHz
Channel 128 : 5.64 GHz
Channel 132 : 5.66 GHz
Channel 136 : 5.68 GHz
Channel 140 : 5.7 GHz
Channel 149 : 5.745 GHz
Channel 153 : 5.765 GHz
Current Frequency:5.22 GHz (Channel 44)

I have an TP-Link Mini - AC600 USB 2.0 (Archer T2U Nano)

(info) A lot of 5 GHz Wi-Fi channels are disabled

I'm using a TP-Link Archer T2U Nano and I cannot connect to certain Wi-Fi AP. My phone does connect just fine, and when I check the frequency, it was on channel 157 which is disabled in the driver according to iw phy0.

I have tried changing iw reg, but this did nothing to improve the channel situation.

The following Wi-Fi channels are disabled, according to iw phy0 info

			* 5075 MHz [15] (disabled)
			* 5080 MHz [16] (disabled)
			* 5085 MHz [17] (disabled)
			* 5090 MHz [18] (disabled)
			* 5100 MHz [20] (disabled)
			* 5120 MHz [24] (disabled)
			* 5140 MHz [28] (disabled)
			* 5160 MHz [32] (disabled)
			* 5180 MHz [36] (13.0 dBm)
			* 5200 MHz [40] (13.0 dBm)
			* 5220 MHz [44] (13.0 dBm)
			* 5240 MHz [48] (13.0 dBm)
			* 5260 MHz [52] (13.0 dBm) (radar detection)
			* 5280 MHz [56] (13.0 dBm) (radar detection)
			* 5300 MHz [60] (13.0 dBm) (radar detection)
			* 5320 MHz [64] (13.0 dBm) (radar detection)
			* 5340 MHz [68] (disabled)
			* 5360 MHz [72] (disabled)
			* 5380 MHz [76] (disabled)
			* 5400 MHz [80] (disabled)
			* 5420 MHz [84] (disabled)
			* 5440 MHz [88] (disabled)
			* 5460 MHz [92] (disabled)
			* 5480 MHz [96] (disabled)
			* 5500 MHz [100] (13.0 dBm) (radar detection)
			* 5520 MHz [104] (13.0 dBm) (radar detection)
			* 5540 MHz [108] (13.0 dBm) (radar detection)
			* 5560 MHz [112] (13.0 dBm) (radar detection)
			* 5580 MHz [116] (13.0 dBm) (radar detection)
			* 5600 MHz [120] (13.0 dBm) (radar detection)
			* 5620 MHz [124] (13.0 dBm) (radar detection)
			* 5640 MHz [128] (13.0 dBm) (radar detection)
			* 5660 MHz [132] (13.0 dBm) (radar detection)
			* 5680 MHz [136] (13.0 dBm) (radar detection)
			* 5700 MHz [140] (13.0 dBm) (radar detection)
			* 5720 MHz [144] (disabled)
			* 5745 MHz [149] (disabled)
			* 5765 MHz [153] (disabled)
			* 5785 MHz [157] (disabled)
			* 5805 MHz [161] (disabled)
			* 5825 MHz [165] (disabled)
			* 5845 MHz [169] (disabled)
			* 5865 MHz [173] (disabled)
			* 5885 MHz [177] (disabled)

Output requested by maintainer

6.0.2-1-MANJARO-ARM-ODROID aarch64
Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 2357:011e TP-Link AC600 wireless Realtek RTL8811AU [Archer T2U Nano]
Bus 001 Device 006: ID 046d:c092 Logitech, Inc. G102/G203 LIGHTSYNC Gaming Mouse
Bus 001 Device 005: ID 258a:002a SINO WEALTH Keyboard
Bus 001 Device 004: ID 0a05:7211 Unknown Manufacturer hub
Bus 001 Device 002: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: hci0: Bluetooth
	Soft blocked: yes
	Hard blocked: no
8821au/5.12.5.2.r155.gb46c98d, 6.0.2-1-MANJARO-ARM-ODROID, aarch64: installed
phy#0
	Interface wlan0
		ifindex 4
		wdev 0x1
		addr 12:34:56:78:90:AA
		ssid XXXXXXXXXXXXXXX
		type managed
		channel 11 (2462 MHz), width: 20 MHz, center1: 2462 MHz
		txpower 16.00 dBm
global
country NZ: DFS-ETSI
	(2402 - 2482 @ 40), (N/A, 30), (N/A)
	(5170 - 5250 @ 80), (N/A, 17), (N/A), AUTO-BW
	(5250 - 5330 @ 80), (N/A, 24), (0 ms), DFS, AUTO-BW
	(5490 - 5730 @ 160), (N/A, 24), (0 ms), DFS
	(5735 - 5835 @ 80), (N/A, 30), (N/A)

(solved) Installation fails on Raspberry Pi 400 running Raspbian (kernel 5.15)

I followed your guide, but when I ran install-driver.sh I got this error:
Running install-driver.sh version 20220108
Raspbian GNU/Linux 10 (buster)
5.15.41-v7l+
armv7l
Starting installation...
Copying source files to: /usr/src/rtl8821au-5.12.5.2
Copying 8821au.conf to: /etc/modprobe.d

Creating symlink /var/lib/dkms/rtl8821au/5.12.5.2/source ->
/usr/src/rtl8821au-5.12.5.2

DKMS: add completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
'make' -j4 KVER=5.15.41-v7l+ KSRC=/lib/modules/5.15.41-v7l+/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.15.41-v7l+ (armv7l)
Consult /var/lib/dkms/rtl8821au/5.12.5.2/build/make.log for more information.
An error occurred. dkms build error = 10
Please report this error.
You will need to run the following before reattempting installation.
$ sudo ./remove-driver.sh

Here is _ /var/lib/dkms/rtl8821au/5.12.5.2/build/make.log _:
DKMS make.log for rtl8821au-5.12.5.2 for kernel 5.15.41-v7l+ (armv7l)
ven 27 mag 2022, 17.47.35, CEST
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/5.15.41-v7l+/build M=/var/lib/dkms/rtl8821au/5.12.5.2/build modules
make[1]: ingresso nella directory "/home/pietro/linux-2d1db105ff95870920f3d6c5480d125cf70437fd"
CC [M] /var/lib/dkms/rtl8821au/5.12.5.2/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl8821au/5.12.5.2/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl8821au/5.12.5.2/build/core/rtw_debug.o
gcc: error: unrecognized command line option ‘-mgeneral-regs-only’
make[2]: *** [scripts/Makefile.build:288: /var/lib/dkms/rtl8821au/5.12.5.2/build/core/rtw_cmd.o] Error 1
make[2]: *** Attesa per i processi non terminati....
CC [M] /var/lib/dkms/rtl8821au/5.12.5.2/build/core/rtw_io.o
gcc: error: unrecognized command line option ‘-mgeneral-regs-only’
make[2]: *** [scripts/Makefile.build:288: /var/lib/dkms/rtl8821au/5.12.5.2/build/core/rtw_security.o] Error 1
gcc: error: unrecognized command line option ‘-mgeneral-regs-only’
make[2]: *** [scripts/Makefile.build:288: /var/lib/dkms/rtl8821au/5.12.5.2/build/core/rtw_debug.o] Error 1
gcc: error: unrecognized command line option ‘-mgeneral-regs-only’
make[2]: *** [scripts/Makefile.build:288: /var/lib/dkms/rtl8821au/5.12.5.2/build/core/rtw_io.o] Error 1
make[1]: *** [Makefile:1868: /var/lib/dkms/rtl8821au/5.12.5.2/build] Error 2
make[1]: uscita dalla directory "/home/pietro/linux-2d1db105ff95870920f3d6c5480d125cf70437fd"
make: *** [Makefile:2510: modules] Error 2

Driver works as well in openSUSE Tumbleweed

Not an issue just to add a line to your list of tested distributions. I have used this driver successfully in openSUSE Tumbleweed since last August (previous version first, this version now).

openSUSE Tumbleweed is a rolling distribution that is continuously upgraded, so a number of kernel versions have come and gone since last August. All of them have worked flawlessly. Current kernel is 5.15.2.

The WiFI adapter is a generic USB dongle based on RTL8811AU (0bda:a811 Realtek Semiconductor Corp. RTL8811AU 802.11a/b/g/n/ac WLAN Adapter).

Thank you for this effort, much appreciated!

Hi, strange problem, not going to drive

I reinstalled Solus Linux, but when I tried to build the driver, after installing all the dependencies, it didn't build

kirill@kirmozor ~/tools/8821au-20210708 $ sudo make
Password: 
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.14.21-210.current/build M=/home/kirill/tools/8821au-20210708  modules
make[1]: Entering directory '/usr/src/linux-headers-5.14.21-210.current'
arch/x86/Makefile:148: CONFIG_X86_X32 enabled but no binutils support
  CC [M]  /home/kirill/tools/8821au-20210708/core/rtw_cmd.o
In file included from /home/kirill/tools/8821au-20210708/include/drv_types.h:78,
                 from /home/kirill/tools/8821au-20210708/core/rtw_cmd.c:17:
/home/kirill/tools/8821au-20210708/include/rtw_recv.h: In function 'recvframe_put':
/home/kirill/tools/8821au-20210708/include/rtw_recv.h:755:24: warning: variable 'prev_rx_tail' set but not used [-Wunused-but-set-variable]
  755 |         unsigned char *prev_rx_tail;
      |                        ^~~~~~~~~~~~
/home/kirill/tools/8821au-20210708/core/rtw_cmd.c: In function 'rtw_cmd_thread':
/home/kirill/tools/8821au-20210708/core/rtw_cmd.c:529:23: warning: variable 'prspbuf' set but not used [-Wunused-but-set-variable]
  529 |         u8 *pcmdbuf, *prspbuf;
      |                       ^~~~~~~
/home/kirill/tools/8821au-20210708/core/rtw_cmd.c: In function 'rtw_joinbss_cmd':
/home/kirill/tools/8821au-20210708/core/rtw_cmd.c:1135:74: warning: taking address of packed member of 'struct _WLAN_BSSID_EX' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1135 |                            pnetwork->network.IELength - 12, &psecnetwork->IELength,
      |                                                             ^~~~~~~~~~~~~~~~~~~~~~

/home/kirill/tools/8821au-20210708/core/rtw_cmd.c:1157:61: warning: taking address of packed member of 'struct _WLAN_BSSID_EX' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1157 |                                 pnetwork->network.IELength, &psecnetwork->IELength);
      |                                                             ^~~~~~~~~~~~~~~~~~~~~~
/home/kirill/tools/8821au-20210708/core/rtw_cmd.c:1162:64: warning: taking address of packed member of 'struct _WLAN_BSSID_EX' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1162 |      rtw_append_exented_cap(padapter, &psecnetwork->IEs[0], &psecnetwork->IELength);
      |                                                             ^~~~~~~~~~~~~~~~~~~~~~

/home/kirill/tools/8821au-20210708/core/rtw_cmd.c:993:18: warning: variable 'auth' set but not used [-Wunused-but-set-variable]
  993 |         u8      *auth, res = _SUCCESS;
      |                  ^~~~
gcc: fatal error: cannot execute 'as': execvp: No such file or directory
compilation terminated.
make[2]: *** [scripts/Makefile.build:271: /home/kirill/tools/8821au-20210708/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1858: /home/kirill/tools/8821au-20210708] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.14.21-210.current'
make: *** [Makefile:2503: modules] Error 2
kirill@kirmozor ~/tools/8821au-20210708 $ sudo eopkg install gcc git make linux-current-headers
The following package(s) are already installed and are not going to be installed again:
gcc  git  linux-current-headers  make
No packages to install.
kirill@kirmozor ~/tools/8821au-20210708 $ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.14.21-210.current/build M=/home/kirill/tools/8821au-20210708  modules
make[1]: Entering directory '/usr/src/linux-headers-5.14.21-210.current'
arch/x86/Makefile:148: CONFIG_X86_X32 enabled but no binutils support
  CC [M]  /home/kirill/tools/8821au-20210708/core/rtw_cmd.o
In file included from /home/kirill/tools/8821au-20210708/include/drv_types.h:78,
                 from /home/kirill/tools/8821au-20210708/core/rtw_cmd.c:17:
/home/kirill/tools/8821au-20210708/include/rtw_recv.h: In function 'recvframe_put':
/home/kirill/tools/8821au-20210708/include/rtw_recv.h:755:24: warning: variable 'prev_rx_tail' set but not used [-Wunused-but-set-variable]
  755 |         unsigned char *prev_rx_tail;
      |                        ^~~~~~~~~~~~
/home/kirill/tools/8821au-20210708/core/rtw_cmd.c: In function 'rtw_cmd_thread':
/home/kirill/tools/8821au-20210708/core/rtw_cmd.c:529:23: warning: variable 'prspbuf' set but not used [-Wunused-but-set-variable]
  529 |         u8 *pcmdbuf, *prspbuf;
      |                       ^~~~~~~
/home/kirill/tools/8821au-20210708/core/rtw_cmd.c: In function 'rtw_joinbss_cmd':
/home/kirill/tools/8821au-20210708/core/rtw_cmd.c:1135:74: warning: taking address of packed member of 'struct _WLAN_BSSID_EX' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1135 |                            pnetwork->network.IELength - 12, &psecnetwork->IELength,
      |                                                             ^~~~~~~~~~~~~~~~~~~~~~

/home/kirill/tools/8821au-20210708/core/rtw_cmd.c:1157:61: warning: taking address of packed member of 'struct _WLAN_BSSID_EX' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1157 |                                 pnetwork->network.IELength, &psecnetwork->IELength);
      |                                                             ^~~~~~~~~~~~~~~~~~~~~~
/home/kirill/tools/8821au-20210708/core/rtw_cmd.c:1162:64: warning: taking address of packed member of 'struct _WLAN_BSSID_EX' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1162 |      rtw_append_exented_cap(padapter, &psecnetwork->IEs[0], &psecnetwork->IELength);
      |                                                             ^~~~~~~~~~~~~~~~~~~~~~

/home/kirill/tools/8821au-20210708/core/rtw_cmd.c:993:18: warning: variable 'auth' set but not used [-Wunused-but-set-variable]
  993 |         u8      *auth, res = _SUCCESS;
      |                  ^~~~
gcc: fatal error: cannot execute 'as': execvp: No such file or directory
compilation terminated.
make[2]: *** [scripts/Makefile.build:271: /home/kirill/tools/8821au-20210708/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1858: /home/kirill/tools/8821au-20210708] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.14.21-210.current'
make: *** [Makefile:2503: modules] Error 2
kirill@kirmozor ~/tools/8821au-20210708 $ 

Before installing the driver, I updated the system, could this be the problem?

This system:

kirill@kirmozor
--------------- 
OS: Solus x86_64
Kernel: 5.14.21-210.current 
Uptime: 12 mins 
Packages: 716 (eopkg) 
Shell: bash 5.1.16 
Resolution: 1280x1024
DE: MATE 1.26.0 
WM: Metacity (Marco)
Theme: Plata-Noir [GTK2/3] 
Icons: Papirus [GTK2/3]
Terminal: mate-terminal 
Terminal Font: Hack 9
CPU: Intel Core 2 Duo E8500 (2) @ 3.1
GPU: NVIDIA GeForce GT 630 
Memory: 1154MiB / 5942MiB 

Also if it helps, I uploaded the list of installed packages to pastebin: click

(info) Problem Reporting Guidelines - Please Read.

When reporting problems, remember that the people that will attempt to help you do not know what Linux distro or computer you have. Painting a picture that includes the computer you are using, the distro you are using and a brief description of the problem is important. The information provided by the below command should also be provided with the problem report: Please run the following command and paste all output in your problem report:

sudo uname -mr; mokutil --sb-state; lsusb; rfkill list all; dkms status; iw dev; iw reg get

To reiterate: remember to include:

  • A brief description of the problem.
  • The name and version of the Linux distro you are using.
  • The name and model of the computer you are using.
  • The information obtained with the above command.

Thank you

Error on Fedora 37 Beta

[Yep@fedora 8821au-20210708]$ sudo ./install-driver.sh
Running install-driver.sh version 20221018
5.19.7-300.fc37.x86_64
x86_64
Installing 8821au.conf to: /etc/modprobe.d
The non-dkms installation routines are in use.
#make -C /lib/modules/5.19.7-300.fc37.x86_64/build M=/home/caide/Documents/Caide/Software/Externel_wifi_driver/8821au-20210708 clean
cd hal ; rm -fr ///.mod.c ///.mod ///.o ///..cmd ///.ko
cd hal ; rm -fr //.mod.c //.mod //.o //..cmd //*.ko
cd hal ; rm -fr /.mod.c /.mod /.o /..cmd /.ko
cd hal ; rm -fr *.mod.c *.mod .o ..cmd *.ko
cd core ; rm -fr /.mod.c /.mod /.o /..cmd /.ko
cd core ; rm -fr *.mod.c *.mod .o ..cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod .o ..cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod .o ..cmd *.ko
cd platform ; rm -fr *.mod.c *.mod .o ..cmd *.ko
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
rm -fr *.mod.c *.mod .o ..cmd *.ko *~
rm -fr .tmp_versions
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.19.7-300.fc37.x86_64/build M=/home/caide/Documents/Caide/Software/Externel_wifi_driver/8821au-20210708 modules
make[1]: *** /lib/modules/5.19.7-300.fc37.x86_64/build: No such file or directory. Stop.
make: *** [Makefile:2517: modules] Error 2
An error occurred. Error = 2
Please report this error.
Please copy all screen output and paste it into the report.
You will need to run the following before reattempting installation.

(solved - no new posts please) EW-7611UCB: WiFi doesn't seem to work . Kernel 5.19

Hi! I did installation as instructed (except enabling Concurrent Mode; Edimax doc. did not mention it).
No errors. Seems to have worked. DKMS status returned:

rtl8821au/5.12.5.2, 5.19.0-23-generic, x86_64: installed

Bluetooth worked out of the box (no driver needed) but WiFi is absent. I moved the dongle to another port in the back but was not successful either.
My system uses Ubuntu 22.10, so kernel 5.19. Is connected through cable too.
Might have to do with Linux 5.19? Or related to that concurrent mode?
I really appreciate your help.

driver appears installed but iwconfig shows adapter not connecting to the wifi network

I searched all of the issues and don't see how to fix this. The USB dongle is wlan1 in the following. Any help will be greatly appreciated.

Background:
Linux raspberrypi 5.15.76-v7+ #1597 SMP Fri Nov 4 12:13:17 GMT 2022 armv7l

lsusb
Bus 001 Device 004: ID 0bda:0811 Realtek Semiconductor Corp. Realtek 8812AU/8821AU 802.11ac WLAN Adapter [USB Wireless Dual-Band Adapter 2.4/5Ghz]
Bus 001 Device 005: ID 0424:7800 Microchip Technology, Inc. (formerly SMSC)
Bus 001 Device 003: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11 ESSID:"djnet-1"
Mode:Managed Frequency:2.452 GHz Access Point: 04:D4:C4:07:EF:F8
Bit Rate=39 Mb/s Tx-Power=31 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=37/70 Signal level=-73 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

wlan1 unassociated Nickname:"WIFI@RTL8821AU"
Mode:Managed Frequency=2.412 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether b8:27:eb:9c:78:e0 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 634 bytes 224038 (218.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 634 bytes 224038 (218.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.57.175 netmask 255.255.255.0 broadcast 192.168.57.255
inet6 fdfd:21f0:e140:495d:e99a:8d16:53e1:89db prefixlen 64 scopeid 0x0
inet6 fe80::99ef:3632:cec7:b88c prefixlen 64 scopeid 0x20
ether b8:27:eb:c9:2d:b5 txqueuelen 1000 (Ethernet)
RX packets 994 bytes 262013 (255.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 287 bytes 38127 (37.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:c0:ca:a7:88:7c txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 2 overruns 0 carrier 0 collisions 0

dkms status
rtl8821au, 5.12.5.2, 5.15.76-v7+, armv7l: installed


grep [[:alnum:]] /sys/module/8821au/parameters/*
/sys/module/8821au/parameters/rtw_ampdu_enable:1
/sys/module/8821au/parameters/rtw_beamform_cap:10
/sys/module/8821au/parameters/rtw_channel:1
/sys/module/8821au/parameters/rtw_drv_ant_band_switch:1
/sys/module/8821au/parameters/rtw_dynamic_agg_enable:1
/sys/module/8821au/parameters/rtw_en_dyn_rrsr:1
/sys/module/8821au/parameters/rtw_en_gro:1
/sys/module/8821au/parameters/rtw_en_napi:1
/sys/module/8821au/parameters/rtw_hiq_filter:1
/sys/module/8821au/parameters/rtw_ht_enable:1
/sys/module/8821au/parameters/rtw_hw_wps_pbc:1
/sys/module/8821au/parameters/rtw_ips_mode:1
/sys/module/8821au/parameters/rtw_led_ctrl:1
/sys/module/8821au/parameters/rtw_lps_chk_by_tp:1
/sys/module/8821au/parameters/rtw_pll_ref_clk_sel:15
/sys/module/8821au/parameters/rtw_power_mgnt:1
/sys/module/8821au/parameters/rtw_rrsr_value:-1
/sys/module/8821au/parameters/rtw_rx_stbc:1
/sys/module/8821au/parameters/rtw_scan_interval_thr:16000
/sys/module/8821au/parameters/rtw_stbc_cap:19
/sys/module/8821au/parameters/rtw_vcs_type:1
/sys/module/8821au/parameters/rtw_vht_24g_enable:1
/sys/module/8821au/parameters/rtw_vht_enable:1
/sys/module/8821au/parameters/rtw_wmm_enable:1


rfkill list all
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: phy1: Wireless LAN
Soft blocked: no
Hard blocked: no


iw reg get
global
country US: DFS-FCC
(902 - 904 @ 2), (N/A, 30), (N/A)
(904 - 920 @ 16), (N/A, 30), (N/A)
(920 - 928 @ 8), (N/A, 30), (N/A)
(2400 - 2472 @ 40), (N/A, 30), (N/A)
(5150 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
(5250 - 5350 @ 80), (N/A, 24), (0 ms), DFS, AUTO-BW
(5470 - 5730 @ 160), (N/A, 24), (0 ms), DFS
(5730 - 5850 @ 80), (N/A, 30), (N/A), AUTO-BW
(5850 - 5895 @ 40), (N/A, 27), (N/A), NO-OUTDOOR, AUTO-BW, NO-IR
(57240 - 71000 @ 2160), (N/A, 40), (N/A)

phy#0
country 99: DFS-UNSET
(2402 - 2482 @ 40), (6, 20), (N/A)
(2474 - 2494 @ 20), (6, 20), (N/A)
(5140 - 5360 @ 160), (6, 20), (N/A)
(5460 - 5860 @ 160), (6, 20), (N/A)

(solved) Unable to build with kernel 5.19.2

rtl8812au/os_dep/linux/ioctl_cfg80211.c: At top level:
rtl8812au/os_dep/linux/ioctl_cfg80211.c:10133:20: error: initialization ofint (*)(struct wiphy *, struct net_device *, unsigned int)’ from incompatible pointer typeint (*)(struct wiphy *, struct net_device *)’ [-Werror=incompatible-pointer-types]
10133 |         .stop_ap = cfg80211_rtw_stop_ap,
      |                    ^~~~~~~~~~~~~~~~~~~~
rtl8812au/os_dep/linux/ioctl_cfg80211.c:10133:20: note: (near initialization forrtw_cfg80211_ops.stop_ap’)
rtl8812au/os_dep/linux/ioctl_cfg80211.c:10219:24: error: initialization ofint (*)(struct wiphy *, struct wireless_dev *, unsigned int,  struct cfg80211_chan_def *)’ from incompatible pointer typeint (*)(struct wiphy *, struct wireless_dev *, struct cfg80211_chan_def *)’ [-Werror=incompatible-pointer-types]
10219 |         .get_channel = cfg80211_rtw_get_channel,
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~
rtl8812au/os_dep/linux/ioctl_cfg80211.c:10219:24: note: (near initialization forrtw_cfg80211_ops.get_channel’)
rtl8812au/os_dep/linux/ioctl_cfg80211.c: In functionrtw_wdev_unregister’:
rtl8812au/os_dep/linux/ioctl_cfg80211.c:10398:17: error: ‘struct wireless_devhas no member named  current_bss10398 |         if (wdev->current_bss) {
      |                 ^~

OS: Arch Linux x86_64
Kernel: 5.19.2
Device: RTL8821AU

It worked perfectly with kernel 5.19.1

Same issue with aircrack-ng/rtl8812au (this issue)

(info) Tested and working on Odroid n2+ w/ WiFi Nation 0bda:0811 on mainline (tobetter) kernel

Not an issue, but wanted to indicate that this has worked great on my odroid n2+ 64bit arm sbc from hardkernel. I'm running "archdroid" which is essentially alarm (arch linux arm) with an additional set of helpful device specific packages such as the tobetter patched kernel with panfrost gpu driver and other odroid specific changes. None of the changes should affect the network subsystem, it's essentially a 5.13 mainline kernel.

I did run the raspiOS-64.sh script beforehand. Not sure if it was needed, but it seems to work fine.

Linux squirt 5.13.16-1-ARCH #1 SMP PREEMPT Thu Oct 14 13:55:45 AST 2021 aarch64 GNU/Linux

(solved) Does the drive support Monitor Mode ?

To start with, I want to thank you for this piece of work. It works for me K5.15.

I am using TP-LINK Archer T2U USB wireless adapter to take sniff using virtual machine (vBox).
Thanks to your driver I am seeing this within my VM as wireless card.
But, when it comes to taking this to monitor mode, it seems not working.
I opened this just to ask your recommendations or maybe it is a driver problem i dont know.
However, wireless card supposedly supports monitor mode.
image

(solved) Installation error - cannot find kernel headers

Running install-driver.sh version 20211212
Starting installation...
Copying source files to: /usr/src/rtl8821au-5.12.5.2
Copying 8821au.conf to: /etc/modprobe.d

Creating symlink /var/lib/dkms/rtl8821au/5.12.5.2/source ->
/usr/src/rtl8821au-5.12.5.2

DKMS: add completed.
Error! echo
Your kernel headers for kernel 5.10.17-v7+ cannot be found at
/lib/modules/5.10.17-v7+/build or /lib/modules/5.10.17-v7+/source.
An error occurred. dkms build error = 1
Please report this error.
You will need to run the following before reattempting installation.
$ sudo ./remove-driver.sh

Doesn't compile in Alpine Linux

My dystrohop turned me on to Alpine Linux, but I can't compile a driver for it
Here's what I did:

git clone https://github.com/morrownr/8821au-20210708.git
apk add make g++ linux-headers
cd 8821au-20210708
sh install-driver-no-dkms.sh

image

Support 8811CU Device

I can build the driver for the 8811AU device (CONFIG_RTL8821A=y), but I need to also build for the 8811CU part at the same time (CONFIG_RTL8821C=y). When I also enable CONFIG_RTL8821C=y, the build fails with rt8821c.mk: No such file or directory.

Can you update the driver source to support the rtl8811CU part?

about wlan0

i can't be able to enable wlan0 with this driver... : (

rtl8821au or RT5370??

sry i know this proably not the right place but , i gotta ask i bought tp link t2u plus (rtl8821au) , should i return it and get the one with rt5370?

tp link has both 2.4 and 5 .0 hz support while other doesn't, they both cost the same, and other options are too costly in my region?

(in-progress) Some differences between this driver and the older repo

This issue is related to the following issue in the older repo:
https://github.com/morrownr/8821au/issues/19

I installed the newer driver and tried again:
dkms status reported rtl8821au, 5.12.5.2, 5.11.0-36-generic, x86_64: installed

The good:

  • This driver is functional for both wpa_supplicant and hostapd, on the system described in the above link.
  • When using this driver in the client mode (wpa_supplicant) to connect to an external AP, connection can be established (and according to tcpdump -i RTL8811AU_DONGLE_INTERFACE while issuing ping -c 20 -f -I RTL8811AU_DONGLE_INTERFACE AP_ADDRESS, ping traffic works. (Still an ethernet cable connected, so not performance-tested, but this is a step I could not get to work with the older driver at all.)
  • When using this driver in the AP mode (hostapd), it still works more or less as before.

The bad:

Some minor problems were detected:

  • For some reason, wpa_supplicant seems to be not quite compatible with this driver, since I never got wpa_cli -i RTL8811AU_DONGLE_INTERFACE to work. The error was "Could not connect to wpa_supplicant: RTL8811AU_DONGLE_INTERFACE - re-trying". (I do not think the older driver worked here either, but am not 100% sure I tested it.)
  • When starting wpa_supplicant, there is still the same error in dmesg, or according to journalctl: "wpa_supplicant[851254]: nl80211: kernel reports: Authentication algorithm number required". But it seems to work (see above), so this must be minor.
  • Incorrect, see below: Despite rtw_drv_log_level=0 in /etc/modprobe.d/8821au.conf, The dmesg log is severely spammed (2-3 seconds between each) by messages such as "[191259.082604] RTW: rtl8812_sreset_xmit_status_check REG_TXDMA_STATUS:0x00000401" during normal operation. Note that it says 8812, not 8811 (which matches my chipset) or 8821 (which is the name of this driver).
  • Incorrect, see below: Despite rtw_drv_log_level=0 in /etc/modprobe.d/8821au.conf, during start of either wpa_supplicant or hostapd, it seems every step of the setup process is logged there too, with "RTW" as a prefix in dmesg.
  • The default output power in the AP mode, as reported by e.g. iw phy#2 channels, was not higher than +13 dBm in any of the 5 GHz channels, which is lower than the older driver reported. The older driver supported up to +31 dBm for some (not all) of the 5 GHz channels.

The last issue above is annoying, but not really a stopper, since a command such as this can be used to increase the output power if needed: iw phy#2 set txpower fixed 2000
Note that higher output power is not always better, but that is a completely separate discussion

Driver doesn't pick up usb wifi adapter

I bought this USB wifi adapter to use with my Raspberry Pi 3 and installed your driver and rebooted, but the adapter is still showing up as unclaimed in lshw:

        *-usb:1 UNCLAIMED
             description: Generic USB device
             product: 802.11ac NIC
             vendor: Realtek
             physical id: 5
             bus info: usb@1:1.5
             version: 2.00
             serial: 123456
             capabilities: usb-2.00
             configuration: maxpower=500mA speed=480Mbit/s

Any ideas?

I have error, please, help me

kirill@localhost:~/src> sudo zypper install git dkms kernel-headers
Загрузка данных о репозиториях...
Чтение установленных пакетов...
"git" уже установлен.
Нет кандидатов на обновление "git-2.34.1-1.1.x86_64". Самая последняя версия уже установлена.
"dkms" уже установлен.
Нет кандидатов на обновление "dkms-2.6.1-2.8.noarch". Самая последняя версия уже установлена.
Строка "kernel-headers" не найдена в именах пакетов. Пробуем возможности.
"linux-glibc-devel", предоставляющий "kernel-headers", уже установлен.
Разрешение зависимостей пакетов...
Нечего выполнять.
kirill@localhost:~/src> mkdir -p ~/src
kirill@localhost:~/src> cd ~/src
kirill@localhost:~/src> git clone https://github.com/morrownr/8821au-20210708.git
Клонирование в «8821au-20210708»…
remote: Enumerating objects: 1046, done.
remote: Counting objects: 100% (1046/1046), done.
remote: Compressing objects: 100% (713/713), done.
remote: Total 1046 (delta 475), reused 887 (delta 329), pack-reused 0
Получение объектов: 100% (1046/1046), 3.07 МиБ | 135.00 КиБ/с, готово.
Определение изменений: 100% (475/475), готово.
kirill@localhost:~/src> cd ~/src/8821au-20210708
kirill@localhost:~/src/8821au-20210708> sudo ./install-driver.sh



Running install-driver.sh version 20211002
Starting installation...
Copying source files to: /usr/src/rtl8821au-5.12.5.2
Copying 8821au.conf to: /etc/modprobe.d

Creating symlink /var/lib/dkms/rtl8821au/5.12.5.2/source ->
                 /usr/src/rtl8821au-5.12.5.2

DKMS: add completed.
Error! echo
Your kernel headers for kernel 5.15.3-1-default cannot be found at
/lib/modules/5.15.3-1-default/build or /lib/modules/5.15.3-1-default/source.
An error occurred. dkms build error = 1
Please report this error.
kirill@localhost:~/src/8821au-20210708> 

(solved) No interface showing on Raspi 2 (Raspbian GNU/Linux 11)

sudo uname -a; mokutil --sb-state; lsusb; rfkill list all; dkms status; iw dev

Linux raspberrypi 5.15.56-v7+ #1575 SMP Fri Jul 22 20:28:11 BST 2022 armv7l GNU/Linux
-bash: mokutil: command not found
Bus 001 Device 009: ID 2357:011e TP-Link AC600 wireless Realtek RTL8811AU [Archer T2U Nano]
Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
rtl88x2bu, 5.13.1, 5.15.56-v7+, armv7l: installed

After installation, no interface shows in ifconfig or iw dev.
No error in the the kernel log.

Hostapd: Invalid/unknown driver '8821au'

After installing the driver on my Raspberry Pi 4, attempting to get an AP working I run into this error in journalctl -xe

Nov 10 05:53:44 raspberrypi hostapd[943]: Line 2: invalid/unknown driver '8821au'
Nov 10 05:53:44 raspberrypi hostapd[943]: 1 errors found in configuration file '/etc/hostapd/hosta>
Nov 10 05:53:44 raspberrypi hostapd[943]: Failed to set up interface with /etc/hostapd/hostapd.conf
Nov 10 05:53:44 raspberrypi hostapd[943]: Failed to initialize interface
Nov 10 05:53:44 raspberrypi systemd[1]: hostapd.service: Control process exited, code=exited, stat>
Subject: Unit process exited
Defined-By: systemd
Support: https://www.debian.org/support

An ExecStart= process belonging to unit hostapd.service has exited.
 
The process' exit code is 'exited' and its exit status is 1.
Nov 10 05:53:44 raspberrypi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Subject: Unit failed
Defined-By: systemd
Support: https://www.debian.org/support

The unit hostapd.service has entered the 'failed' state with result 'exit-code'.
Nov 10 05:53:44 raspberrypi systemd[1]: Failed to start Access point and authentication server for>
░░ Subject: A start job for unit hostapd.service has failed
Defined-By: systemd
Support: https://www.debian.org/support

A start job for unit hostapd.service has finished with a failure.

The job identifier is 6231 and the job result is failed.

openSUSE Leap 15.3 installation error

install-driver.sh returns error
manual installation gives:
~/src/8821au-20210708> LANG=C make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.3.18-150300.59.49-default/build M=/home/onir/src/8821au-20210708 modules
make[1]: Entering directory '/usr/src/linux-5.3.18-150300.59.49-obj/x86_64/default'
CC [M] /home/onir/src/8821au-20210708/os_dep/linux/ioctl_cfg80211.o
/home/onir/src/8821au-20210708/os_dep/linux/ioctl_cfg80211.c:10477:3: error: 'struct cfg80211_ops' has no member named 'mgmt_frame_register'
.mgmt_frame_register = cfg80211_rtw_mgmt_frame_register,
^~~~~~~~~~~~~~~~~~~
/home/onir/src/8821au-20210708/os_dep/linux/ioctl_cfg80211.c:10477:25: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.mgmt_frame_register = cfg80211_rtw_mgmt_frame_register,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/onir/src/8821au-20210708/os_dep/linux/ioctl_cfg80211.c:10477:25: note: (near initialization for 'rtw_cfg80211_ops.mgmt_tx_cancel_wait')
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-5.3.18-150300.59.49/scripts/Makefile.build:288: /home/onir/src/8821au-20210708/os_dep/linux/ioctl_cfg80211.o] Error 1
make[2]: *** [/usr/src/linux-5.3.18-150300.59.49/Makefile:1675: module/home/onir/src/8821au-20210708] Error 2
make[1]: *** [../../../linux-5.3.18-150300.59.49/Makefile:179: sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-5.3.18-150300.59.49-obj/x86_64/default'
make: *** [Makefile:2510: modules] Error 2
~/src/8821au-20210708> uname -r
5.3.18-150300.59.49-default

How to install your driver in Solus Linux?

Hello, I wanted to install your driver on Solus Linux, but there is a problem: DKMS was cut by the creators of the distribution: Quick
How then to install the driver?

kirill@kirmozor ~/tools/8821au-20210708 $ sudo uname -a; mokutil --sb-state; lsusb; rfkill list all; dkms status; iw dev
Пароль: 
Попробуйте ещё раз.
Пароль: 
Linux kirmozor 5.13.1-187.current #1 SMP PREEMPT Wed Jul 7 19:52:26 UTC 2021 x86_64 GNU/Linux
bash: mokutil: команда не найдена
Bus 001 Device 002: ID 2357:011e TP-Link AC600 wireless Realtek RTL8811AU [Archer T2U Nano]
Bus 001 Device 007: ID 0e8d:2005 MediaTek Inc. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 0458:0186 KYE Systems Corp. (Mouse Systems) Genius DX-120 Mouse
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 046d:c21d Logitech, Inc. F310 Gamepad [XInput Mode]
Bus 004 Device 002: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
bash: dkms: команда не найдена
bash: iw: команда не найдена

command failed: Network is down (-100)

Hello,

I cannot get this driver to work. The device I am using the driver with is:
ID 7392:a812 Edimax Technology Co., Ltd Edimax AC600 USB

The 8821au driver compiles as a module for 5.15.13 using clang-13.0.1, but produces several warning messages. It installs and loads fine, and it shows up as a device with iw and also as a network device with ifconfig.

However, when trying to run a scan using the command iw dev wlx... scan does it produce the error command failed: Network is down (-100).

hostapd in AP mode starts, it initialises and also recognises an incoming connection on the device, but then appears stuck and a full connection never gets established (no DHCP information gets exchanged).

When compiling the kernel and 8821au driver with gcc-11.2.1 can I get as far as running a scan on the device and produce a list of the surrounding WiFi networks unlike with clang. hostapd however still fails even when using gcc-11.2.1.

When I use the rtl8812au AirCrack-NG driver (v5.6.4.2) with gcc-11.2.1 does everything work fine. I can see surrounding WiFi APs and I can connect with various devices to my own WiFi AP and access the local network as expected.

I appreciate any suggestions you have. My main goal is to find a driver for this device, which compiles with clang and supports most if not all of it features.

On a minor note, the rtl8812au AirCrack-NG driver reports somewhat different device capabilities than this 8821au driver:

AirCrack-NG:
Wiphy phy0
wiphy index: 0
max # scan SSIDs: 9
max scan IEs length: 2304 bytes
max # sched scan SSIDs: 0
max # match sets: 0
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)
* CMAC (00-0f-ac:6)
Available Antennas: TX 0x1 RX 0x1
Supported interface modes:
* IBSS
* managed
* AP
* monitor
* P2P-client
* P2P-GO
Band 1:
Capabilities: 0x1972
HT20/HT40
Static SM Power Save
RX Greenfield
RX HT20 SGI
RX HT40 SGI
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: 16 usec (0x07)
HT Max RX data rate: 150 Mbps
HT TX/RX MCS rate indexes supported: 0-7
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] (20.0 dBm)
Band 2:
Capabilities: 0x1972
HT20/HT40
Static SM Power Save
RX Greenfield
RX HT20 SGI
RX HT40 SGI
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: 16 usec (0x07)
HT Max RX data rate: 150 Mbps
HT TX/RX MCS rate indexes supported: 0-7
VHT Capabilities (0x03c03122):
Max MPDU length: 11454
Supported Channel Width: neither 160 nor 80+80
short GI (80 MHz)
SU Beamformee
+HTC-VHT
VHT RX MCS set:
1 streams: MCS 0-9
2 streams: not supported
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT RX highest supported: 434 Mbps
VHT TX MCS set:
1 streams: MCS 0-9
2 streams: not supported
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT TX highest supported: 434 Mbps
Bitrates (non-HT):
* 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:
* 5075 MHz [15] (30.0 dBm)
* 5080 MHz [16] (30.0 dBm)
* 5085 MHz [17] (30.0 dBm)
* 5090 MHz [18] (30.0 dBm)
* 5100 MHz [20] (30.0 dBm)
* 5120 MHz [24] (30.0 dBm)
* 5140 MHz [28] (30.0 dBm)
* 5160 MHz [32] (30.0 dBm)
* 5180 MHz [36] (30.0 dBm)
* 5200 MHz [40] (30.0 dBm)
* 5220 MHz [44] (30.0 dBm)
* 5240 MHz [48] (30.0 dBm)
* 5260 MHz [52] (30.0 dBm)
* 5280 MHz [56] (30.0 dBm)
* 5300 MHz [60] (30.0 dBm)
* 5320 MHz [64] (30.0 dBm)
* 5340 MHz [68] (30.0 dBm)
* 5360 MHz [72] (30.0 dBm)
* 5380 MHz [76] (30.0 dBm)
* 5400 MHz [80] (30.0 dBm)
* 5420 MHz [84] (30.0 dBm)
* 5440 MHz [88] (30.0 dBm)
* 5460 MHz [92] (30.0 dBm)
* 5480 MHz [96] (30.0 dBm)
* 5500 MHz [100] (30.0 dBm)
* 5520 MHz [104] (30.0 dBm)
* 5540 MHz [108] (30.0 dBm)
* 5560 MHz [112] (30.0 dBm)
* 5580 MHz [116] (30.0 dBm)
* 5600 MHz [120] (30.0 dBm)
* 5620 MHz [124] (30.0 dBm)
* 5640 MHz [128] (30.0 dBm)
* 5660 MHz [132] (30.0 dBm)
* 5680 MHz [136] (30.0 dBm)
* 5700 MHz [140] (30.0 dBm)
* 5720 MHz [144] (30.0 dBm)
* 5745 MHz [149] (30.0 dBm)
* 5765 MHz [153] (30.0 dBm)
* 5785 MHz [157] (30.0 dBm)
* 5805 MHz [161] (30.0 dBm)
* 5825 MHz [165] (30.0 dBm)
* 5845 MHz [169] (30.0 dBm)
* 5865 MHz [173] (30.0 dBm)
* 5885 MHz [177] (30.0 dBm)
Supported commands:
* new_interface
* set_interface
* new_key
* start_ap
* new_station
* set_bss
* join_ibss
* set_pmksa
* del_pmksa
* flush_pmksa
* remain_on_channel
* frame
* set_wiphy_netns
* set_channel
* connect
* disconnect
WoWLAN support:
* wake up on anything (device continues operating normally)
software interface modes (can always be added):
* monitor
interface combinations are not supported
Device supports SAE with AUTHENTICATE command
Device supports scan flush.
max # scan plans: 1
max scan plan interval: -1
max scan plan iterations: 0
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
* 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
Supported RX frame types:
* IBSS: 0xd0
* managed: 0x40 0xb0 0xd0
* AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* P2P-client: 0x40 0xd0
* P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
Supported extended features:

8821au driver:
Wiphy phy0
wiphy index: 0
max # scan SSIDs: 9
max scan IEs length: 2304 bytes
max # sched scan SSIDs: 0
max # match sets: 0
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)
* CMAC (00-0f-ac:6)
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
* AP
* monitor
* P2P-client
* P2P-GO
Band 1:
Capabilities: 0x1962
HT20/HT40
Static SM Power Save
RX HT20 SGI
RX HT40 SGI
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: 16 usec (0x07)
HT Max RX data rate: 150 Mbps
HT TX/RX MCS rate indexes supported: 0-7
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] (16.0 dBm)
* 2417 MHz [2] (16.0 dBm)
* 2422 MHz [3] (16.0 dBm)
* 2427 MHz [4] (16.0 dBm)
* 2432 MHz [5] (16.0 dBm)
* 2437 MHz [6] (16.0 dBm)
* 2442 MHz [7] (16.0 dBm)
* 2447 MHz [8] (16.0 dBm)
* 2452 MHz [9] (16.0 dBm)
* 2457 MHz [10] (16.0 dBm)
* 2462 MHz [11] (16.0 dBm)
* 2467 MHz [12] (16.0 dBm) (no IR)
* 2472 MHz [13] (16.0 dBm) (no IR)
* 2484 MHz [14] (disabled)
Band 2:
Capabilities: 0x962
HT20/HT40
Static SM Power Save
RX HT20 SGI
RX HT40 SGI
RX STBC 1-stream
Max AMSDU length: 7935 bytes
No DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 16 usec (0x07)
HT Max RX data rate: 150 Mbps
HT TX/RX MCS rate indexes supported: 0-7
VHT Capabilities (0x03c03122):
Max MPDU length: 11454
Supported Channel Width: neither 160 nor 80+80
short GI (80 MHz)
SU Beamformee
+HTC-VHT
VHT RX MCS set:
1 streams: MCS 0-9
2 streams: not supported
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT RX highest supported: 434 Mbps
VHT TX MCS set:
1 streams: MCS 0-9
2 streams: not supported
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT TX highest supported: 434 Mbps
Bitrates (non-HT):
* 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:
* 5180 MHz [36] (13.0 dBm)
* 5200 MHz [40] (13.0 dBm)
* 5220 MHz [44] (13.0 dBm)
* 5240 MHz [48] (13.0 dBm)
* 5260 MHz [52] (13.0 dBm) (radar detection)
* 5280 MHz [56] (13.0 dBm) (radar detection)
* 5300 MHz [60] (13.0 dBm) (radar detection)
* 5320 MHz [64] (13.0 dBm) (radar detection)
* 5500 MHz [100] (disabled)
* 5520 MHz [104] (disabled)
* 5540 MHz [108] (disabled)
* 5560 MHz [112] (disabled)
* 5580 MHz [116] (disabled)
* 5600 MHz [120] (disabled)
* 5620 MHz [124] (disabled)
* 5640 MHz [128] (disabled)
* 5660 MHz [132] (disabled)
* 5680 MHz [136] (disabled)
* 5700 MHz [140] (disabled)
* 5720 MHz [144] (disabled)
* 5745 MHz [149] (disabled)
* 5765 MHz [153] (disabled)
* 5785 MHz [157] (disabled)
* 5805 MHz [161] (disabled)
* 5825 MHz [165] (disabled)
* 5845 MHz [169] (disabled)
* 5865 MHz [173] (disabled)
* 5885 MHz [177] (disabled)
Supported commands:
* new_interface
* set_interface
* new_key
* start_ap
* new_station
* set_bss
* join_ibss
* set_pmksa
* del_pmksa
* flush_pmksa
* remain_on_channel
* frame
* set_channel
* connect
* disconnect
WoWLAN support:
* wake up on anything (device continues operating normally)
software interface modes (can always be added):
* monitor
interface combinations are not supported
Device supports SAE with AUTHENTICATE command
Device supports scan flush.
Device supports randomizing MAC-addr in scans.
max # scan plans: 1
max scan plan interval: -1
max scan plan iterations: 0
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
* 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
Supported RX frame types:
* IBSS: 0xd0
* managed: 0x40 0xb0 0xd0
* AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* P2P-client: 0x40 0xd0
* P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
Supported extended features:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.