Rtl8812au: driver v5.2.20.2 released

Created on 18 Jan 2018  ·  125Comments  ·  Source: aircrack-ng/rtl8812au

Driver v5.2.20.2 is released. for 8812au at the moment.
More information found here

A complete changelog may be found here

I've started the work on this! Currently, frame injection (packet injection) has been added and is reported working, but there is lots to do on it still. Progress will be posted below.

Feel free to tag along, all contributions are welcome to make this a good driver.

Most helpful comment

Another one.. and that's it for today.. minor fixes..

  • Initialize some variables
  • Use DEBUG=1 to enable debug messages, DEBUG=2 to enable trace messages
  • Updated DKMS.conf
  • Updated README.md
  • Makefile cleanup

Use "git pull" to fetch the changes. Enjoy

All 125 comments

One thing I noticed with the current driver in this repo as compared to the one from umdlife/rtl8812au_rtl8821au is that reported signal strengths are much lower, sometimes almost half. I now which value I find less surprising when I'm only getting about 75% signal strength when sitting next to the wifi modem with one driver while the other shows me a value close to 99%...

It'd be interesting to see if that new driver is any different in that department.

Any progress here? I'm about to file a ticket for another issue I'm having with the current driver (5Ghz networks no longer being detected after a few sleep/wake cycles) ...

It's only for the 8812au. We use the rtl8821au version, which we added the 8814au HAL files too.
This issue was just for informational purposes.

8812au is exactly the chipset that interests me.

A solution for is may be to break them up in two, and let 8814au stay on v5.1.5 and update 8812au to v5.2.20 and add injection to it but it would take some time and I'd don't know whats the best right now

If the 2 drivers are in separate subtrees (or otherwise independent enough) you could also include the latest version of both, under whatever version number you deem best.

I don't know what changed (in the air?) but since a few days it's become increasingly difficult to get a connection to the 5Ghz network; yesterday the connection I had simply stopped working without giving me as much as an error.

will order myself a 8812au adapter and start looking into it (adding injection to it for a starter) then maybe actually divide them up. seems like the smartest thing, if not they both stuck on v5.1.5 with all the issues it actually got (according to the v5.2.20 changelog).

Sounds like a plan.

Actually I'm beginning to think my adapter has an issue itself. Still have to try it on a 2nd Win10 machine but the old one I tried it on showed the same behaviour as I've been starting to see on my Linux notebook. The WiFi stack shows a good, strong connection, but at some point nothing is actually being sent or received any longer. That happens with the 4.2 and 5.1 driver on Linux and the native one in Win10, so I think we can exclude any issues on the host and blame the adapter.

Fortunately these things cost almost nothing and this one might still be under warranty but getting it repaired might in fact turn out just as expensive as getting a new one. In which case I think I'll try to find a model with 2.4 and 5Ghz capabilities that doesn't require an external driver...

@RJVB well, here you go!
@kcdtv you're a good one, you should also check this out. the v5.2.20 driver for 8812au with packet injection added.

I surely will need some testers over here, so I tagged you along..

https://github.com/aircrack-ng/rtl8812au/tree/v5.2.20

cloned gordboy's repo, enabled monitor mode & added radiotap headers and packet injection.
It may be a little bit dirty still, but I just ordered myself a 8812au chipset (the AWUS036ACH) to play with, but it may at least be tested now, so shortly when I got mine I may continue the work.

damn it's nice to play fast for once :D

Well, with the tip of that new branch built and loaded I see this in my syslog when I insert the USB adapter

Jun 22 22:09:53 bola kernel: [84115.645161] usb 1-2: new high-speed USB device number 7 using xhci_hcd
Jun 22 22:09:53 bola kernel: [84115.816851] usb 1-2: New USB device found, idVendor=0bda, idProduct=a811
Jun 22 22:09:53 bola kernel: [84115.816857] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 22 22:09:53 bola kernel: [84115.816860] usb 1-2: Product: 802.11ac WLAN Adapter 
Jun 22 22:09:53 bola kernel: [84115.816865] usb 1-2: Manufacturer: Realtek 
Jun 22 22:09:53 bola kernel: [84115.816867] usb 1-2: SerialNumber: 00e04c000001
Jun 22 22:09:54 bola mtp-probe: checking bus 1, device 7: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2"
Jun 22 22:09:54 bola mtp-probe: bus: 1, device: 7 was not an MTP device

and lsusb prints what looks like the expected output (the same as with the 5.1.5 driver), but I'm not seeing a wlan device appear (and the led on the dongle remains off).

Added your VID/PID "0bda:a811". Do a "git pull" to update and build/install it again and try.
also, after the "make && make install" you may do the "modprobe -r 8812au" and then "modprobe 8812au" again.

Which adapter is this btw? :)

I'll probably give you the verdict tomorrow.

The adapter:

https://www.amazon.fr/gp/product/B06XF118RS

Great. Added it to the driver, so it should be supported now. Also did some other nifty changes.
The most important ones will have to wait until I get my own 8812 chipset, but it should work by now.

Will be back in a week for more. Thanks

Not so fast ...

That latest version is progress in the sense that the device is recognised, but now I get a sort of boot loop when I insert it, and each time I remove and put it back the wlan device counter increases by 1. Below is an extract. That loop may exit at some point and then the wlanN device shows up in ifconfig but uninitialised, and it's not visible in the network manager.

Reloading the 5.1.5 or 4.3.20 driver gives me back the wlan3 device I'm used to.

Jun 23 00:02:02 bola NetworkManager[5874]: <error> [1529704922.840607] [nm-system.c:768] nm_system_iface_get_flags(): (unknown): failed to get interface link object
Jun 23 00:02:02 bola wpa_supplicant[6682]: Could not read interface wlan7 flags: No such device
Jun 23 00:02:02 bola wpa_supplicant[6682]: Could not read interface wlan7 flags: No such device
Jun 23 00:02:02 bola wpa_supplicant[6682]: WEXT: Could not set interface 'wlan7' UP
Jun 23 00:02:02 bola wpa_supplicant[6682]: wlan7: Failed to initialize driver interface
Jun 23 00:02:02 bola NetworkManager[5874]: <error> [1529704922.870647] [nm-supplicant-interface.c:997] interface_add_cb(): (wlan7): error adding interface: wpa_supplicant couldn't grab this interface.
Jun 23 00:02:02 bola NetworkManager[5874]: dbus_g_proxy_cancel_call: assertion 'pending != NULL' failed
Jun 23 00:02:02 bola NetworkManager[5874]: <warn> Trying to remove a non-existant call id.
Jun 23 00:02:03 bola kernel: [90844.985239] usb 1-2: reset high-speed USB device number 14 using xhci_hcd
Jun 23 00:02:15 bola kernel: [90857.494759] usbcore: registered new interface driver 8814au
Jun 23 00:02:18 bola kernel: [90860.861931] usb 1-2: USB disconnect, device number 14
Jun 23 00:02:18 bola laptop-mode: Laptop mode 
Jun 23 00:02:18 bola laptop-mode: enabled, not active
Jun 23 00:02:19 bola laptop-mode: Laptop mode 
Jun 23 00:02:19 bola laptop-mode: enabled, not active
Jun 23 00:02:21 bola kernel: [90863.504981] usb 1-2: new high-speed USB device number 15 using xhci_hcd
Jun 23 00:02:21 bola kernel: [90863.680577] usb 1-2: New USB device found, idVendor=0bda, idProduct=a811
Jun 23 00:02:21 bola kernel: [90863.680587] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 23 00:02:21 bola kernel: [90863.680595] usb 1-2: Product: 802.11ac WLAN Adapter 
Jun 23 00:02:21 bola kernel: [90863.680602] usb 1-2: Manufacturer: Realtek 
Jun 23 00:02:21 bola kernel: [90863.680607] usb 1-2: SerialNumber: 00e04c000001
Jun 23 00:02:21 bola mtp-probe: checking bus 1, device 15: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2"
Jun 23 00:02:21 bola mtp-probe: bus: 1, device: 15 was not an MTP device
Jun 23 00:02:21 bola laptop-mode: Laptop mode 
Jun 23 00:02:21 bola laptop-mode: enabled, not active
Jun 23 00:02:21 bola kernel: [90863.841468] usbcore: registered new interface driver rtl8812au
Jun 23 00:02:21 bola NetworkManager[5874]: <info> rfkill15: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/ieee80211/phy11/rfkill15) (driver rtl8812au)
Jun 23 00:02:21 bola laptop-mode: Laptop mode 
Jun 23 00:02:21 bola laptop-mode: enabled, not active
Jun 23 00:02:21 bola kernel: [90863.910732] rtl8812au 1-2:1.0 wlan8: renamed from wlan0
Jun 23 00:02:22 bola NetworkManager[5874]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/net/wlan8, iface: wlan8)
Jun 23 00:02:22 bola NetworkManager[5874]:    SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/net/wlan8, iface: wlan8): no ifupdown configuration found.
Jun 23 00:02:22 bola kernel: [90863.955581] systemd-udevd[31996]: renamed network interface wlan0 to wlan8
Jun 23 00:02:22 bola NetworkManager[5874]: <info> (wlan8): using nl80211 for WiFi device control
Jun 23 00:02:22 bola NetworkManager[5874]: <info> (wlan8): driver supports Access Point (AP) mode
Jun 23 00:02:22 bola NetworkManager[5874]: <info> (wlan8): new 802.11 WiFi device (driver: 'rtl8812au' ifindex: 14)
Jun 23 00:02:22 bola NetworkManager[5874]: <info> (wlan8): exported as /org/freedesktop/NetworkManager/Devices/16
Jun 23 00:02:22 bola NetworkManager[5874]: <info> (wlan8): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Jun 23 00:02:22 bola NetworkManager[5874]: <info> (wlan8): bringing up device.
UdevQt: unhandled device action "move"
Jun 23 00:02:22 bola NetworkManager[5874]: <info> (wlan8): deactivating device (reason 'managed') [2]
Jun 23 00:02:22 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:22 bola wpa_supplicant[6682]: nl80211: Could not set interface 'wlan8' UP
Jun 23 00:02:22 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:22 bola wpa_supplicant[6682]: WEXT: Could not set interface 'wlan8' UP
Jun 23 00:02:22 bola wpa_supplicant[6682]: wlan8: Failed to initialize driver interface
Jun 23 00:02:22 bola NetworkManager[5874]: <error> [1529704942.875948] [nm-supplicant-interface.c:997] interface_add_cb(): (wlan8): error adding interface: wpa_supplicant couldn't grab this interface.
Jun 23 00:02:22 bola NetworkManager[5874]: dbus_g_proxy_cancel_call: assertion 'pending != NULL' failed
Jun 23 00:02:22 bola NetworkManager[5874]: <info> (wlan8): supplicant interface state: starting -> down
Jun 23 00:02:22 bola NetworkManager[5874]: <warn> Trying to remove a non-existant call id.
Jun 23 00:02:23 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:23 bola wpa_supplicant[6682]: nl80211: Could not set interface 'wlan8' UP
Jun 23 00:02:23 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:23 bola wpa_supplicant[6682]: WEXT: Could not set interface 'wlan8' UP
Jun 23 00:02:23 bola wpa_supplicant[6682]: wlan8: Failed to initialize driver interface
Jun 23 00:02:23 bola NetworkManager[5874]: <error> [1529704943.438531] [nm-supplicant-interface.c:997] interface_add_cb(): (wlan8): error adding interface: wpa_supplicant couldn't grab this interface.
Jun 23 00:02:23 bola NetworkManager[5874]: dbus_g_proxy_cancel_call: assertion 'pending != NULL' failed
Jun 23 00:02:23 bola NetworkManager[5874]: <info> (wlan8): supplicant interface state: starting -> down
Jun 23 00:02:23 bola NetworkManager[5874]: <warn> Trying to remove a non-existant call id.
Jun 23 00:02:23 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:23 bola wpa_supplicant[6682]: nl80211: Could not set interface 'wlan8' UP
Jun 23 00:02:24 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:24 bola wpa_supplicant[6682]: WEXT: Could not set interface 'wlan8' UP
Jun 23 00:02:24 bola wpa_supplicant[6682]: wlan8: Failed to initialize driver interface
Jun 23 00:02:24 bola NetworkManager[5874]: <error> [1529704944.5889] [nm-supplicant-interface.c:997] interface_add_cb(): (wlan8): error adding interface: wpa_supplicant couldn't grab this interface.
Jun 23 00:02:24 bola NetworkManager[5874]: dbus_g_proxy_cancel_call: assertion 'pending != NULL' failed
Jun 23 00:02:24 bola NetworkManager[5874]: <info> (wlan8): supplicant interface state: starting -> down
Jun 23 00:02:24 bola NetworkManager[5874]: <warn> Trying to remove a non-existant call id.
Jun 23 00:02:24 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:24 bola wpa_supplicant[6682]: nl80211: Could not set interface 'wlan8' UP
Jun 23 00:02:24 bola ModemManager[5343]: <warn>  Couldn't find support for device at '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2': not supported by any plugin
Jun 23 00:02:24 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:24 bola wpa_supplicant[6682]: WEXT: Could not set interface 'wlan8' UP
Jun 23 00:02:24 bola wpa_supplicant[6682]: wlan8: Failed to initialize driver interface
Jun 23 00:02:24 bola NetworkManager[5874]: <error> [1529704944.567621] [nm-supplicant-interface.c:997] interface_add_cb(): (wlan8): error adding interface: wpa_supplicant couldn't grab this interface.
Jun 23 00:02:24 bola NetworkManager[5874]: dbus_g_proxy_cancel_call: assertion 'pending != NULL' failed
Jun 23 00:02:24 bola NetworkManager[5874]: <info> (wlan8): supplicant interface state: starting -> down
Jun 23 00:02:24 bola NetworkManager[5874]: <warn> Trying to remove a non-existant call id.
Jun 23 00:02:24 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:24 bola wpa_supplicant[6682]: nl80211: Could not set interface 'wlan8' UP
Jun 23 00:02:25 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:25 bola wpa_supplicant[6682]: WEXT: Could not set interface 'wlan8' UP
Jun 23 00:02:25 bola wpa_supplicant[6682]: wlan8: Failed to initialize driver interface
Jun 23 00:02:25 bola NetworkManager[5874]: <error> [1529704945.139873] [nm-supplicant-interface.c:997] interface_add_cb(): (wlan8): error adding interface: wpa_supplicant couldn't grab this interface.
Jun 23 00:02:25 bola NetworkManager[5874]: dbus_g_proxy_cancel_call: assertion 'pending != NULL' failed
Jun 23 00:02:25 bola NetworkManager[5874]: <info> (wlan8): supplicant interface state: starting -> down
Jun 23 00:02:25 bola NetworkManager[5874]: <warn> Trying to remove a non-existant call id.
Jun 23 00:02:25 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:25 bola wpa_supplicant[6682]: nl80211: Could not set interface 'wlan8' UP
Jun 23 00:02:25 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:25 bola wpa_supplicant[6682]: WEXT: Could not set interface 'wlan8' UP
Jun 23 00:02:25 bola wpa_supplicant[6682]: wlan8: Failed to initialize driver interface
Jun 23 00:02:25 bola NetworkManager[5874]: <error> [1529704945.703094] [nm-supplicant-interface.c:997] interface_add_cb(): (wlan8): error adding interface: wpa_supplicant couldn't grab this interface.
Jun 23 00:02:25 bola NetworkManager[5874]: dbus_g_proxy_cancel_call: assertion 'pending != NULL' failed
Jun 23 00:02:25 bola NetworkManager[5874]: <info> (wlan8): supplicant interface state: starting -> down
Jun 23 00:02:25 bola NetworkManager[5874]: <warn> Trying to remove a non-existant call id.
Jun 23 00:02:25 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:25 bola wpa_supplicant[6682]: nl80211: Could not set interface 'wlan8' UP
Jun 23 00:02:26 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:26 bola wpa_supplicant[6682]: WEXT: Could not set interface 'wlan8' UP
Jun 23 00:02:26 bola wpa_supplicant[6682]: wlan8: Failed to initialize driver interface
Jun 23 00:02:26 bola NetworkManager[5874]: <error> [1529704946.261850] [nm-supplicant-interface.c:997] interface_add_cb(): (wlan8): error adding interface: wpa_supplicant couldn't grab this interface.
Jun 23 00:02:26 bola NetworkManager[5874]: dbus_g_proxy_cancel_call: assertion 'pending != NULL' failed
Jun 23 00:02:26 bola NetworkManager[5874]: <info> (wlan8): supplicant interface state: starting -> down
Jun 23 00:02:26 bola NetworkManager[5874]: <warn> Trying to remove a non-existant call id.
Jun 23 00:02:26 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:26 bola wpa_supplicant[6682]: nl80211: Could not set interface 'wlan8' UP
Jun 23 00:02:26 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:26 bola wpa_supplicant[6682]: WEXT: Could not set interface 'wlan8' UP
Jun 23 00:02:26 bola wpa_supplicant[6682]: wlan8: Failed to initialize driver interface
Jun 23 00:02:26 bola NetworkManager[5874]: <error> [1529704946.829346] [nm-supplicant-interface.c:997] interface_add_cb(): (wlan8): error adding interface: wpa_supplicant couldn't grab this interface.
Jun 23 00:02:26 bola NetworkManager[5874]: dbus_g_proxy_cancel_call: assertion 'pending != NULL' failed
Jun 23 00:02:26 bola NetworkManager[5874]: <info> (wlan8): supplicant interface state: starting -> down
Jun 23 00:02:26 bola NetworkManager[5874]: <warn> Trying to remove a non-existant call id.
Jun 23 00:02:27 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:27 bola wpa_supplicant[6682]: nl80211: Could not set interface 'wlan8' UP
Jun 23 00:02:27 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:27 bola wpa_supplicant[6682]: WEXT: Could not set interface 'wlan8' UP
Jun 23 00:02:27 bola wpa_supplicant[6682]: wlan8: Failed to initialize driver interface
Jun 23 00:02:27 bola NetworkManager[5874]: <error> [1529704947.385816] [nm-supplicant-interface.c:997] interface_add_cb(): (wlan8): error adding interface: wpa_supplicant couldn't grab this interface.
Jun 23 00:02:27 bola NetworkManager[5874]: dbus_g_proxy_cancel_call: assertion 'pending != NULL' failed
Jun 23 00:02:27 bola NetworkManager[5874]: <info> (wlan8): supplicant interface state: starting -> down
Jun 23 00:02:27 bola NetworkManager[5874]: <warn> Trying to remove a non-existant call id.
Jun 23 00:02:27 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:27 bola wpa_supplicant[6682]: nl80211: Could not set interface 'wlan8' UP
Jun 23 00:02:27 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:27 bola wpa_supplicant[6682]: WEXT: Could not set interface 'wlan8' UP
Jun 23 00:02:27 bola wpa_supplicant[6682]: wlan8: Failed to initialize driver interface
Jun 23 00:02:27 bola NetworkManager[5874]: <error> [1529704947.942060] [nm-supplicant-interface.c:997] interface_add_cb(): (wlan8): error adding interface: wpa_supplicant couldn't grab this interface.
Jun 23 00:02:27 bola NetworkManager[5874]: dbus_g_proxy_cancel_call: assertion 'pending != NULL' failed
Jun 23 00:02:27 bola NetworkManager[5874]: <info> (wlan8): supplicant interface state: starting -> down
Jun 23 00:02:27 bola NetworkManager[5874]: <warn> Trying to remove a non-existant call id.
Jun 23 00:02:28 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:28 bola wpa_supplicant[6682]: nl80211: Could not set interface 'wlan8' UP
Jun 23 00:02:28 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:28 bola wpa_supplicant[6682]: WEXT: Could not set interface 'wlan8' UP
Jun 23 00:02:28 bola wpa_supplicant[6682]: wlan8: Failed to initialize driver interface
Jun 23 00:02:28 bola NetworkManager[5874]: <error> [1529704948.486354] [nm-supplicant-interface.c:997] interface_add_cb(): (wlan8): error adding interface: wpa_supplicant couldn't grab this interface.
Jun 23 00:02:28 bola NetworkManager[5874]: dbus_g_proxy_cancel_call: assertion 'pending != NULL' failed
Jun 23 00:02:28 bola NetworkManager[5874]: <info> (wlan8): supplicant interface state: starting -> down
Jun 23 00:02:28 bola NetworkManager[5874]: <warn> Trying to remove a non-existant call id.
Jun 23 00:02:28 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:28 bola wpa_supplicant[6682]: nl80211: Could not set interface 'wlan8' UP
Jun 23 00:02:29 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:29 bola wpa_supplicant[6682]: WEXT: Could not set interface 'wlan8' UP
Jun 23 00:02:29 bola wpa_supplicant[6682]: wlan8: Failed to initialize driver interface
Jun 23 00:02:29 bola NetworkManager[5874]: <error> [1529704949.33786] [nm-supplicant-interface.c:997] interface_add_cb(): (wlan8): error adding interface: wpa_supplicant couldn't grab this interface.
Jun 23 00:02:29 bola NetworkManager[5874]: dbus_g_proxy_cancel_call: assertion 'pending != NULL' failed
Jun 23 00:02:29 bola NetworkManager[5874]: <info> (wlan8): supplicant interface state: starting -> down
Jun 23 00:02:29 bola NetworkManager[5874]: <warn> Trying to remove a non-existant call id.
Jun 23 00:02:29 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:29 bola wpa_supplicant[6682]: nl80211: Could not set interface 'wlan8' UP
Jun 23 00:02:29 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:29 bola wpa_supplicant[6682]: WEXT: Could not set interface 'wlan8' UP
Jun 23 00:02:29 bola wpa_supplicant[6682]: wlan8: Failed to initialize driver interface
Jun 23 00:02:29 bola NetworkManager[5874]: <error> [1529704949.587329] [nm-supplicant-interface.c:997] interface_add_cb(): (wlan8): error adding interface: wpa_supplicant couldn't grab this interface.
Jun 23 00:02:29 bola NetworkManager[5874]: dbus_g_proxy_cancel_call: assertion 'pending != NULL' failed
Jun 23 00:02:29 bola NetworkManager[5874]: <info> (wlan8): supplicant interface state: starting -> down
Jun 23 00:02:29 bola NetworkManager[5874]: <warn> Trying to remove a non-existant call id.
Jun 23 00:02:29 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:29 bola wpa_supplicant[6682]: nl80211: Could not set interface 'wlan8' UP
Jun 23 00:02:30 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:30 bola wpa_supplicant[6682]: WEXT: Could not set interface 'wlan8' UP
Jun 23 00:02:30 bola wpa_supplicant[6682]: wlan8: Failed to initialize driver interface
Jun 23 00:02:30 bola NetworkManager[5874]: <error> [1529704950.132693] [nm-supplicant-interface.c:997] interface_add_cb(): (wlan8): error adding interface: wpa_supplicant couldn't grab this interface.
Jun 23 00:02:30 bola NetworkManager[5874]: dbus_g_proxy_cancel_call: assertion 'pending != NULL' failed
Jun 23 00:02:30 bola NetworkManager[5874]: <info> (wlan8): supplicant interface state: starting -> down
Jun 23 00:02:30 bola NetworkManager[5874]: <warn> Trying to remove a non-existant call id.
Jun 23 00:02:30 bola wpa_supplicant[6682]: Could not set interface wlan8 flags (UP): Operation not permitted
Jun 23 00:02:30 bola wpa_supplicant[6682]: nl80211: Could not set interface 'wlan8' UP

It says "[90857.494759] usbcore: registered new interface driver 8814au" .. so this is a 8814au chipset, not the 8812au? Not doing more until mine has come, but this seems like the 8814au chipset?

Yepp, this is the Realtek RTL8811 chipset you got there. It runs under RTL8821AU drivers, not the RTL8812AU unfortunately..

Indeed, Win10 shows it as 8811au, but googling led (and still leads) me to the 8812au driver. I can confirm the 8814au driver doesn't work, but the 8812au driver does (until it doesn't any longer for some weird timeout reason).

I'm pretty certain the vendor also claims it has a 8812 chipset in the comments on that Amazon page.

It points to the 8812au, but the one marked 8812a_8821a (which almost is the same) and also is a part of the Makefile, but we don't have the HAL files for it to add it to the driver. This driver only supports the 8812au specific, while v5.1.5 supports 8812au, 8814au and 8821au .. it's a bit messy this one but this is how it is. Take a look St the screenshot from a "working" version from abperiasany

screenshot_20180623-130550

In short, I'm stuck on 5.1.5 or older unless we can somehow get those HAL files? (I thought HAL was obsolete and no longer used?)

I bet so, could always take the HAL from v5.1.5, but that won't bring the changes from v5.2.20 to it anyway.
I really think the HAL files is needed, you may try to disable 8812 compilation (turn it to "n" in Makefile) and enabling the 8821A instead and try compiling and see if that works

I should be able to test it quickly, yes. (From the moment I actually see the notification ;) ).

It won't work. Also, tried to add the HAL for 8821a from v5.1.5 but that was not to easy as the though was, it needs quite some work

Well, I guess I'll continue to juggle between the 5.1.5 driver and my own 4.3.20 version (https://github.com/RJVB/rtl8812au_rtl8821au) then...

Hi there!
I played a little around with this new branch and the chip rtl8812au (awuso36ach) in kali linux (4.16.0-kali2-amd64)
Compilation was clean with no warnings and mode monitor and packet injections seems to work correctly in both bands
ex: DoS in 5Ghz to collect the handshake:
selection_296
I checked also the handshake with wireshark and everything was fine, no "corrupted packet"
I can't say if the mode monitor behavior as improved or not regarding the other branchs. At least it doesn't look worse at first sight.
Unfortunately i couldn't check with the latest revisions of reaver and wash as i have a generic error pointing to pcap
But it worked as intended with versions up to 1.6.4... We will check that

Aaaah this is great! Will continue to work when I get my own 8812au chipset shortly.
The differences between the branches is found in the docs/ folder, the Realtek_changelog, there are quite some fixes since the v5.1.5 there. My additions is in the other changelog, there's also an TODO/upcoming notes. txpower setting (unleashing of power) hasn't been added yet too, but it's tba.

Great! I think the packet injection solution here is a future solution for Realtek drivers / other drivers from Realtek which for me is just awesome to know / learn.

Be back later, thanks for the feedback @kcdtv -- this looks promising

I tried in Xubuntu 18.06 the branch 5.2.20 and i have an error compiling:

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-23-generic/build M=/home/kcdtv/realtekac/aircrack-ng/rtl8812au  modules
make[1] : on entre dans le répertoire « /usr/src/linux-headers-4.15.0-23-generic »
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
  CC [M]  /home/kcdtv/realtekac/aircrack-ng/rtl8812au/core/rtw_cmd.o
In file included from /home/kcdtv/realtekac/aircrack-ng/rtl8812au/include/osdep_service.h:41:0,
                 from /home/kcdtv/realtekac/aircrack-ng/rtl8812au/include/drv_types.h:32,
                 from /home/kcdtv/realtekac/aircrack-ng/rtl8812au/core/rtw_cmd.c:22:
/home/kcdtv/realtekac/aircrack-ng/rtl8812au/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/kcdtv/realtekac/aircrack-ng/rtl8812au/include/osdep_service_linux.h:280:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
/home/kcdtv/realtekac/aircrack-ng/rtl8812au/include/osdep_service_linux.h:281:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/home/kcdtv/realtekac/aircrack-ng/rtl8812au/core/rtw_cmd.o' failed
make[2]: *** [/home/kcdtv/realtekac/aircrack-ng/rtl8812au/core/rtw_cmd.o] Error 1
Makefile:1552: recipe for target '_module_/home/kcdtv/realtekac/aircrack-ng/rtl8812au' failed
make[1]: *** [_module_/home/kcdtv/realtekac/aircrack-ng/rtl8812au] Error 2
make[1] : on quitte le répertoire « /usr/src/linux-headers-4.15.0-23-generic »
Makefile:1264: recipe for target 'modules' failed
make: *** [modules] Error 2

It first points out some missing dependencies which doesn't really make sense as i can compile the other branches.
Anyway, i installed the missing packages "to be sure" and the same error happened (without any reference to the missing dependencies this time.) Gordboy v5.2.20 version compiles correctly (not a surprise as he develops on Ubuntu) Linux Mint users might face the same error as it is Ubuntu based. Cheers

Yes, this is the _init_timer which was introduced with kernel v4.15 and above.
May fix it when I'm back to my laptop. Thanks for the heads up.

If your in a hurry, you might find a solution to it here https://github.com/aircrack-ng/rtl8812au/commit/f221a169f281dab9756a176ec2abd91e0eba7d19

@kcdtv it builds fine under Ubuntu Bionic using kernel 4.15.0-23 ? I installed the libelf-dev too and it stopped nagging about it straight away.. compiled without warnings at all.

The error you reported are the init timer changes as I said above, but fix for that was allready added in the gordboy branch before I started. But this is great anyway, it means I may continue my work without the hazzle :D

screenshot from 2018-06-25 07-53-00

are these suitable for 8814au?

As the README says, no. But will add the HAL files and support it om the future, if it fits to it

  • Fix injected frames drop
  • Fixed compilation on some ARM platforms
  • Added support for PPC platform
  • Minor cleanups

Just merged! More tba in a week or so

  • Enable TX queue in the monitor mode
  • Added support for namespaces (CONFIG_NET_NS)
  • Added more Makefile debug
  • Added more VID/PID's for future use (8814/8821)
  • Updated to a more informational README

Just merged. More tba

Ok.. used some hours today looking into 8814 and 8821 issue today, and what I've learned is that the v5.2.20 got some additions that makes is hard to add those chipset support to it, the only way is that we get the files needed from other releases, which doesn't exist at the moment.

But I've learned something else too, if we use the v5.2.9.3 we could add HAL support for both 8814 and 8821 to it. That would anyway bring some updates (as seen on the Realtek changelog) and that would anyway be better than the v5.1.5 I think.

As for Kali, the drivers should be divided into 2 (3) I think, when finished anyway.
The 8812 on v5.2.20 and 8814 (and 8821) on v5.2.9.3 possibly.

Will take some time to complete all of this, but I'm on the case (on the v5.2.20 currently)

Driver v5.2.20.2 was just released, fixing:

  • Android 8+ support
  • Fixing 4-second delay/lag issue

But I will put this on hold for some weeks/a month and fix the v5.2.9.3, because the priority should be to have proper frame injection support and most up-to-date drivers in Kali and we wan't all chipsets, not only the 8812, but also 8811, 8814 and 8821 support.

Is there any way to get a statement from Realtek why they're excluding still very common (and for sale) chipsets from their latest drivers?

Nah, probably not. But these changes may be ported anyway, so it's great with a new release.
I'm happy, starting on v5.2.9.3 today, easy to add 8821 and 8814 to it, so I'll add frame injection and some monitor patches for a starter, that should bring you (8811) and me (8814) to a next level thing at least

Ok. I've uploaded the v5.2.9.3 to the "v5.2.9" branch today, with 8821 support, but here again.. I can't manage it to support (adding 8814 HAL) 8814 again. These driver make me go nuts.

Will get the 8821 up to v5.2.9.3 anyway, but adding all these patches to both branches will take some time. It's missing frame injection atm, but I'll add in in couple of days along with some monitor/channel patches.

Just to confirm that the compiling worked in ubuntu this time with the updates you made.
I personally do not notice any advantages in mode monitor with 5.2.9 and 5.2.20 over 5.1.5
I guess the real plus is more in managed mode with this vulnerabilities and bugs patched. And the code optimizations. A shame that adaptation for rtl8814au isn't more easy.
But for me branch 5.1.5 delivers it too in mode managed so the situation is OK.
Cheers and thanks for all this great job :smiley_cat:

I'll start on the v5.2.20.2 asap, as the phydm has been improved reducing the 4 second glitch bug.
The 8814 sadly must stay om v5.1.5 until I get a working HAL for it, or if a update to it is released. Info tba

@kcdtv i pushed the v5.2.20.2 driver in the repo, upon the v5.2.20. It needs some testing, just see how it works.. all the above patches have been added to it manually (by hand) but it still needs to be checked. Still haven't got my 8812 adapter, but I can't wait to continue :dancer:

  • Fix the CONFIG_NET_NS, support for network namespaces
  • Count injected frames in interface stats
  • Be quiet about power save
  • Unmask all available channels
  • Enable the channel 14 and 80 MHz width channels in the regdom
  • Fix error switching to 80MHz channels under certain conditions
  • Stop exporting unnecessary symbols
  • Fix channel switch in monitor mode if both CONFIG_WIRELESS_EXT and CONFIG_CFG80211_WEXT are enabled

Just got merged. Enjoy!

  • Add CONFIG_USB2_EXTERNAL_POWER supported
  • unlock all channels in REALTEK_DEFINE (default) channel plan
  • enable DBG_HIGHEST_RATE_BMP_BW_CHANGE with CONFIG_DBG_TXPOWER
  • fix txpwr-by-rate logging and value when txpower-override is enabled
  • use BIT(n) macros instead of pre-calculated masks in bunch of places
  • Add override module parameter for tx-power-index
  • ioctl_cfg80211.init_vht_capab: print highest rates that are set there
  • Enable rx_stbc bit for 5G in HT mode
  • Updated README.md

Just merged. Enjoy!
I think this is where I have to stop until å get the 8812au chipset, cause adding txpower switching with "iwconfig txpower" would needs testing. Also, my USB ammeter is on it's way from China, which would also be needed for the tests. It's on the TODO, so it's coming, one of the most important thing in this driver is that we fix the range (power / txpower) issue which you may find in another issue.

What's next?

  • txpower control needs to be added
  • USB2/3 switching/function needs to be tested
  • iw infomation needs to get more output

I'm lost a bit, what branch was that committed to?

Anyway, I fetched the 5.2.9.3 branch and built it. Seems to work with my adapter.

FWIW, I tried a few build tricks to see if those had any incidence on the disconnects and connection timeouts I've been seeing.

For now, it looks like building with "-O3 -ftracer -march=native" gives me the most stable connections (using GCC 7.3 on an Intel N3150).

To the v5.2.20 which now actually is v5.2.20.2.
I've just added the v5.2.9.3 to the v5.2.9 branch, but haven't added frame injection to it, but at least you should have a bit more working driver then the v5.1.5

Thanks to another repo, a fork of Realtek which are based on another "version" of this driver, I've managed to pull some ideas on howto add the 8821 chipset.. therefor, we've added the 8821au support!
It needs to be tested still, but it looks good!

  • Added support for 8821au chipset
    Just flip the switches in Makefile, both "CONFIG_RTL8812A" and "CONFIG_RTL8821A" should be turned to "y" to build the 8821au driver.

@RJVB this is for you :) you got the v5.2.20.2 support

@RJVB this is for you :)

Why thanks ... with this version the interface no longer keeps increasing each time I reconnect the device, but I'm not seeing any networks through it ;)

With yesterday's 5.2.9.3 rebuild I could use a 5Ghz network for the day (hadn't happened in a long time), but this morning I was again asked to enter the WPA key after waking the machine from sleep. That's a sure sign of "don't bother, won't connect anyway" with this device.

Why oh why is there no IWL-based USB WiFi dongle ...

Hi guys, I've been following this and I can also confirm that 5Ghz networks aren't working with v5.2.20.2 and 8811au chipset. Haven't tried with 5.2.9.3 though.

To be clear: I'm not seeing any networks with this version of the driver.

Ok. Could you try this version and see if that works? It's the v5.2.20 with 8821au support, see if the problems exists over there? Then I may have a pinpoint on in the issue, as the support patch is the same on that repo

No, this one seems to work. I had to enter the 5ghz WPA key (of course, even though it was registed in the corresponding network manager profile). The first connection attempt got stuck on "configuring interface" so I disconnected, removed the device and stuck it back in - then it connected just fine.

We'll see how it holds up.

Great. I appreciate getting reports back on how it works! Thanks

Made some more additions today, preparing to support the 8814au chipset and a 8821au firmware download issue is solved + some minor additions.

  • Added 8814au HAL files + fixed locations [support not finished yet]
  • Fix 8821au firmware download issue
  • Add easy build switch for 8821au
  • Update README.md

8821au users should "git pull" and rebuild/install again, to fix the firmware download issue.
Enjoy!

Did you forget to pull? I'not seeing anything new.

I did actually forget to merge it from my private :p but some additions to it..

  • Fix ISO C90 warning on mixed declarations and/or code
  • Added LICENSE file
  • Fixed README.md a bit

NOTE: rtl8812au may be built with "make" and the rtl8821au chipset
may now be built with "make RTL8821=1"

Merged.

And now I can't get a connection anymore at all

Jul  4 23:18:02 bola NetworkManager[2718]: <info> (wlan3): supplicant interface state: inactive -> associating
Jul  4 23:18:02 bola wpa_supplicant[3298]: wlan3: Associated with 30:7c:b2:35:21:18
Jul  4 23:18:02 bola NetworkManager[2718]: <info> (wlan3): supplicant interface state: associating -> associated
Jul  4 23:18:06 bola wpa_supplicant[3298]: wlan3: CTRL-EVENT-DISCONNECTED bssid=30:7c:b2:35:21:18 reason=2
Jul  4 23:18:06 bola NetworkManager[2718]: <warn> Connection disconnected (reason 2)
Jul  4 23:18:06 bola NetworkManager[2718]: <info> (wlan3): supplicant interface state: associated -> disconnected

and so on, and idem for 2.4Ghz networks.

Solution 1

Not sure if the build switch was used correct, can't check it right now, but instead of building with "make RTL8821=1", flip both switches in Makefile instead, both "CONFIG_8812=y" and "CONFIG_8821=y" then build/install it again. Remember to re-plug adapter to reload the driver used after the module is installed

Solution 2

Try this, look here you see the changes on the bottom there, in file "hal/hal_com_phycfg.c" .. try changing it back, remove the "struct txpwr_idx_comp tic;" (line 2728) the one below the "int i = 0" and on the other line marked, remove the uncomment, the "//" in front (line 2736). Then compile the driver again with "make RTL8821=1 && make install" and then "modprobe -r 8812au" to unload and "modprobe 8812au" to load the updated compiled version.

Alfa Networks contacted me today, they are shipping me the 8811 chipset for testing/debug purposes, then I have them all 3 to work with. Anyway, from here I think I'll pause the project for 2-3 weeks, as any commit from here would require functions to be properly tested and checked before commited, so I don't introduce more bugs than Realtek did om the first place :p

  • AWUS036ACH (8812au chipset) is on it's way
  • AWUS036ACS (8811au chipset) is on it's way
  • RD UM34C USB ammeter is on it's way

@kimocoder that's great. Ping me if you need any help with testing the 8811.

Solution 1

Not sure if the build switch was used correct, can't check it right now, but instead of building with "make RTL8821=1", flip both switches in Makefile instead, both "CONFIG_8812=y" and "CONFIG_8821=y" then build/install it again. Remember to re-plug adapter to reload the driver used

That's actually how I build (I use dkms and don't see how I'd use the switch through there).

>

Solution 2

Using a local struct txpwr_idx_comp tic also doesn't change anything. My 5Ghz network keeps disconnecting with "reason 2" before it even gets a connection going; my 2.4Ghz disconnects with "reason None".

The stupid and enragening thing is that the 5.2.9.3 driver which worked well enough now also doesn't work, whereas the old 5.1.5 driver immediately gave me a 5Ghz connection.

DKMS solution only supports 8812au atm.. you have to build manually for 8821au.
I get the 8811 chipset soon anyway, then we'll figure it out

DKMS solution only supports 8812au atm..

AFAICT it supports whatever the code can support and the Makefile is configured for. Note that I don't use the dkms-install script but a symlink in /usr/src, with a proper version suffix.

you have to build manually for 8821au.

I sort of do just that: I call dkms manually :)

I get the 8811 chipset soon anyway, then we'll figure it out

Exactly what I was thinking...

Just tested the rtl8821au driver (8811 chipset) and it works on first test. Continue the work when I got time :)

@kimocoder how did you build it?. I can't get it working here :( I've built the driver with both CONFIG_RTL8812A = y and CONFIG_RTL8821A = y. The module is loaded and 5/2.4 Ghz networks are detected but can't connect, even with Open authentication. No error messages on dmesg. I'm using Kali with kernel 4.14.0-kali1-amd64.

You have to enable them both actually. Both CONFIG_RTL8812A and CONFIG_RRL8821A has to be turned to "y", I can do some more tests today, as I only tested the usages of monitor mode to it, not using Networks Agder (",)

Yes, I turned on both switches in Makefile.

@etem you are correct, it got issues with WPA2 security / disconnections I see.. while monitor mode functions and scanning works again. Anyhow, got another developer onboard so if we both put our heads together, we'll see what we'll find

Merged some changes.. added these:

  • Fixed 8821au issues & injection working
  • 8814au support is added, but needs testing before we'll call it supported
  • Added RPI (Raspberry PI) platform support
  • Added 1 more VID/PID

Thanks to @fariouche for all his work with this, if it wasn't for him.. I'd be stuck here!
@etem use "git pull" and probably you would have to turn the "CONFIG_RTL8814A" switch to "n" and build/install it again. Remember to do "modprobe -r 8812au" and "modprobe 8812au" again to re-load ;)

Many thanks guys! It's working perfectly now. Will continue testing and let you know in case of issues.

It works for me too, but:

  • after a sleep wake cycle the connection process hangs in the configuring interface stage, or will put up the password dialog because the NM thinks the stored key was rejected because wrong. The most relevant looking bit from the syslog output around the time I get the failure alert:
Jul 15 08:29:27 bola NetworkManager[4824]: <info> (wlan3): supplicant interface state: scanning -> disconnected
Jul 15 08:29:37 bola wpa_supplicant[5641]: wlan3: CTRL-EVENT-SCAN-STARTED 
Jul 15 08:29:37 bola NetworkManager[4824]: <info> (wlan3): supplicant interface state: disconnected -> scanning
Jul 15 08:29:38 bola NetworkManager[4824]: <warn> Activation (wlan3/wireless): association took too long, failing activation.
Jul 15 08:29:38 bola NetworkManager[4824]: <info> (wlan3): device state change: config -> failed (reason 'SSID not found') [50 120 53]
Jul 15 08:29:38 bola NetworkManager[4824]: <warn> Activation (wlan3) failed for connection 'Livebox-69d0-5Ghz'
Jul 15 08:29:38 bola NetworkManager[4824]: <info> (wlan3): device state change: failed -> disconnected (reason 'none') [120 30 0]
Jul 15 08:29:38 bola NetworkManager[4824]: <info> (wlan3): deactivating device (reason 'none') [0]
Jul 15 08:29:38 bola NetworkManager[4824]: <info> (wlan3): supplicant interface state: scanning -> disconnected
Jul 15 08:29:38 bola wpa_supplicant[5641]: wlan3: Reject scan trigger since one is already pending
Jul 15 08:29:38 bola NetworkManager[4824]: <warn> Couldn't disconnect supplicant interface: This interface is not connected.
Jul 15 08:29:41 bola NetworkManager[4824]: <info> Auto-activating connection 'Livebox-69d0-5Ghz'.

I can reproduce this as follows

  1. connect to a network
  2. disconnect
  3. try to reconnect to it.
  4. Cancel and rmmod the driver
  5. insmod/modprobe the driver
  6. back to 3 (possibly automatically).

Usually connection is immediate after the driver reload.

I don't have kext programming experience but this suggests that some relevant state isn't being reset after a disconnect (or that something is being cached that shouldn't).

Just in case, I'm running the 4.14.23 kernel with Con Kolivas's patches.

difficult to say, but if you can also show the output of dmesg around the error, this may help.
The only part that may be keep something is the device itselft. This may be an issue with the driver not correctly initializing the chipset

Is it possible to get real-time dmesg output?

Sent from a pocket terminal

On 15 Jul 2018, at 10:52, fariouche notifications@github.com wrote:

difficult to say, but if you can also show the output of dmesg around the error, this may help.
The only part that may be keep something is the device itselft. This may be an issue with the driver not correctly initializing the chipset


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Try using "dmesg -wH" or watch -n 0.1 "dmesg | tail -n $((LINES-6))"

watch -n 0.1 "dmesg | tail -n $((LINES-6))"

There is in fact nothing that's being output at this level (nor ending up in /var/log/kern.log).

@kimocoder When will we expect the Kali repo version to get updated?

when 8814au support is added and everything gets properly tested.

still waiting for the 8814 dongle. As soon as I have it, I will hopefully make it work quickly

Hi!
So im really interested in helping you, but im new to it so i dont really have a clue on how to compile, build and do all this stuff. I ordered a wifi adapter with the rtl8814au chipset(Asus usb ac-68), because of the very good performance. My main question is, why do we need support for the latest branch(5.2.20)? I mean the 5.1.5 branch supports this chipset. U see i dont really know how all that is working. Could u explain me how that is working? Whats the difference between the branches?

8814au chipset lack support still. Coming soon. Howto build/install is stated in the README.md file
whats changed may be found in the changelog here besides that we've added patches for injection and other that unlocks other features.

Alright, thank u for the information!

But nothing has changed in the 5.2.20 branch for a while now, from the looks of it you just merged that branch into master, correct?

None, just merged the v4.15 and above kernel support. Sone alot, but latest work hasn't been merged from my private.

@kimocoder Does the 5.1.5 branch supports v4.16 kernel? Or only the newest branch(5.2.20)?

Both is tested and working on v4.15 through v4.18

@kimocoder Alright, thank u!

We've pushed various stuff, which is listed below. I'd think it's starting to become complete, almost ready for be pushed to Kali.. we'll do some tests and see

  • Fixed support for the 8814au chipset (many thanks to @fariouche for this!)
  • Enable USB3 mode switch which also enables VHT SS3
  • Fix USB3 modeswitch
  • Added HT Greenfield (Greenfield RX) capabilities
  • Some VHT fixes
  • Set correct number of hardcoded stream 8812/8821
  • More iw link output
  • Fix compile warnings
  • Increased standard txpower used
  • Fix interface rename error
  • Fix support for kernel v4.11
  • Add support for kernels >= v4.7
  • Added get channel function
  • README.md update
  • Fix DKMS support for all chipsets

Still TODO:

  • 8814au LED control is not working atm.
  • 8814au hardcoded streams was fixed (set from 1 to 4) but it still runs with 1 stream only.
  • 8814au USB3 modeswitch was fixed, but switching doesn't seem to work correctly.

Please report issues on the v5.2.20 branch if you find any problems, use the issue reports!

@kimocoder Thank u sooooo much!

A few more... noticed some are half-way.
2 mayor issues is noted, these are the 8814au USB3 modeswitch, something is wrong somewhere.
Another one is the hardcoded stream count for 8814au was changed from 1 to 4 (supporting 4 streams), BUT.. it still only count/uses 1 stream.

  • fix USB3 modeswitch for 8814au
    this fix is half-way, there is something wrong somewhere here, cause it doesn't actually switch?

  • adopt upstream: net: Fix inconsistent teardown

  • fixed hardcoded stream count for 8814au
    the stream count is set from 1 to 4, but it only uses 1 stream still?

  • Changed macro KSRC to be parametrizable instead of hardcoded

Thank you @kimocoder

Some more changes is merged. With this, fariouche made it so the driver supports all 3 chipsets as standard. So building it as is will ensure the 8812, 8821 and 8814 chipset to work.

  • Place signal quality and per antenna rssi into radiotap header
  • Only place signal strength into readiotap header if available
  • Ability to place rx descriptor into radiotap header
  • Renamed interface and driver to 88XX if both 8812, 8821 and 8814 are enabled

Other notes: 8814au USB3 (SuperSpeed) is now working.
TODO: on 8814au still the 4 streams support currently running on only 1. will look into it.

Another one.. and that's it for today.. minor fixes..

  • Initialize some variables
  • Use DEBUG=1 to enable debug messages, DEBUG=2 to enable trace messages
  • Updated DKMS.conf
  • Updated README.md
  • Makefile cleanup

Use "git pull" to fetch the changes. Enjoy

Did you notice the regression you introduced in rtw_ndev_notifier_call?
I did, after I got a KOOPS that forced me to reboot the machine with a 3-finger salute...

diff --git a/os_dep/linux/os_intfs.c b/os_dep/linux/os_intfs.c
index 1bb7292c56c472ceb86517642d1163be355b9026..b20e9570cba3180d3e7c611b8c30a52bcd1ff73e 100644
--- a/os_dep/linux/os_intfs.c
+++ b/os_dep/linux/os_intfs.c
@@ -1352,7 +1352,6 @@ static u8 is_rtw_ndev(struct net_device *ndev)
 static int rtw_ndev_notifier_call(struct notifier_block *nb, unsigned long state, void *ptr)
 {
    struct net_device *ndev;
-   _adapter *adapter = rtw_netdev_priv(ndev);

    if (ptr == NULL)
        return NOTIFY_DONE;
@@ -1372,11 +1371,13 @@ static int rtw_ndev_notifier_call(struct notifier_block *nb, unsigned long state
    RTW_INFO(FUNC_NDEV_FMT" state:%lu\n", FUNC_NDEV_ARG(ndev), state);

    switch (state) {
-   case NETDEV_CHANGENAME:
+   case NETDEV_CHANGENAME: {
+        _adapter *adapter = rtw_netdev_priv(ndev);
        rtw_adapter_proc_replace(ndev);
        strncpy(adapter->old_ifname, ndev->name, IFNAMSIZ);
        adapter->old_ifname[IFNAMSIZ-1] = 0;
        break;
+    }
    }

    return NOTIFY_DONE;

I saw it, but didn't have time to do anything about it yesterday.
Will re-work in in few hours. Anyways, thanks for the notice on which commit it actually was :+1:

  • Fixed the regression. The interface rename function isn't working anyway, as the driver doesn't support virtual interface at this point.

Is this log pollution I'm now getting related?

Aug  6 17:47:20 bola NetworkManager[4064]: <info> Activation (wlan3) successful, device activated.
Aug  6 17:47:20 bola kernel: [ 1961.558340] ------------[ cut here ]------------
Aug  6 17:47:20 bola kernel: [ 1961.558418] WARNING: CPU: 0 PID: 4064 at net/wireless/nl80211.c:2524 nl80211_send_chandef+0x118/0x130 [cfg80211]
Aug  6 17:47:20 bola kernel: [ 1961.558420] Modules linked in: 8812au(OE) ipmi_msghandler(E) pci_stub(E) vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) ctr(E) ccm(E) rfcomm(E) bnep(E) cpufreq_userspace(E) nfsd(E) auth_rpcgss(E) nfs_acl(E) nfs(E) binfmt_misc(E) lockd(E) grace(E) sunrpc(E) fscache(E) uvcvideo(E) videobuf2_vmalloc(E) videobuf2_memops(E) videobuf2_v4l2(E) videobuf2_core(E) videodev(E) media(E) arc4(E) iwlmvm(E) wl(POE) snd_hda_codec_hdmi(E) snd_hda_codec_realtek(E) intel_rapl(E) intel_powerclamp(E) mac80211(E) kvm_intel(E) snd_hda_codec_generic(E) kvm(E) snd_hda_intel(E) btusb(E) btrtl(E) btbcm(E) btintel(E) iwlwifi(E) snd_hda_codec(E) irqbypass(E) punit_atom_debug(E) bluetooth(E) snd_hda_core(E) crct10dif_pclmul(E) crc32_pclmul(E) ghash_clmulni_intel(E) pcbc(E) snd_hwdep(E) snd_pcm_oss(E) snd_mixer_oss(E) snd_pcm(E)
Aug  6 17:47:20 bola kernel: [ 1961.558484]  ecdh_generic(E) snd_seq_dummy(E) dm_multipath(E) snd_seq_oss(E) snd_seq_midi(E) snd_seq_midi_event(E) aesni_intel(E) aes_x86_64(E) crypto_simd(E) snd_rawmidi(E) cfg80211(E) glue_helper(E) cryptd(E) joydev(E) input_leds(E) snd_seq(E) serio_raw(E) snd_seq_device(E) snd_timer(E) rtsx_pci_ms(E) memstick(E) parport_pc(E) lpc_ich(E) ppdev(E) mei_txe(E) mei(E) snd(E) shpchp(E) soundcore(E) processor_thermal_device(E) int340x_thermal_zone(E) intel_soc_dts_iosf(E) coretemp(E) ufsd(POE) int3400_thermal(E) acpi_thermal_rel(E) tpm_crb(E) mac_hid(E) lp(E) parport(E) zfs(POE) zunicode(POE) zavl(POE) icp(POE) zcommon(POE) znvpair(POE) spl(OE) btrfs(E) xor(E) zstd_decompress(E) zstd_compress(E) xxhash(E) raid6_pq(E) sd_mod(E) rtsx_pci_sdmmc(E) psmouse(E) rtsx_pci(E) r8169(E) mii(E) ahci(E) libahci(E)
Aug  6 17:47:20 bola kernel: [ 1961.558554]  wmi(E)
Aug  6 17:47:20 bola kernel: [ 1961.558561] CPU: 0 PID: 4064 Comm: NetworkManager Tainted: P           OE   4.14.23-ck1-mainline-core2-rjvb #1
Aug  6 17:47:20 bola kernel: [ 1961.558563] Hardware name: Notebook                         W510LU/W510LU, BIOS 5.11 10/21/2015
Aug  6 17:47:20 bola kernel: [ 1961.558565] task: ffff9a4aa2ba9ac0 task.stack: ffffa97cc49bc000
Aug  6 17:47:20 bola kernel: [ 1961.558589] RIP: 0010:nl80211_send_chandef+0x118/0x130 [cfg80211]
Aug  6 17:47:20 bola kernel: [ 1961.558591] RSP: 0018:ffffa97cc49bfa20 EFLAGS: 00010246
Aug  6 17:47:20 bola kernel: [ 1961.558594] RAX: 0000000000000000 RBX: ffffa97cc49bfa58 RCX: 000000000000161c
Aug  6 17:47:20 bola kernel: [ 1961.558596] RDX: 000000000000161c RSI: ffffa97cc49bfa58 RDI: ffffa97cc49bfa58
Aug  6 17:47:20 bola kernel: [ 1961.558598] RBP: ffff9a4963e2c800 R08: ffff9a49681f7748 R09: ffff9a49681f5c00
Aug  6 17:47:20 bola kernel: [ 1961.558599] R10: 0000000000000004 R11: 0000000000000000 R12: ffffa97cc49bfa58
Aug  6 17:47:20 bola kernel: [ 1961.558601] R13: ffff9a49681f5800 R14: ffff9a499821e014 R15: ffff9a49681f5b00
Aug  6 17:47:20 bola kernel: [ 1961.558603] FS:  00007f40a284d840(0000) GS:ffff9a4abfc00000(0000) knlGS:0000000000000000
Aug  6 17:47:20 bola kernel: [ 1961.558605] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug  6 17:47:20 bola kernel: [ 1961.558607] CR2: 00007f40a2415ec0 CR3: 000000025355a000 CR4: 00000000001006f0
Aug  6 17:47:20 bola kernel: [ 1961.558609] Call Trace:
Aug  6 17:47:20 bola kernel: [ 1961.558646]  nl80211_send_iface+0x434/0x4e0 [cfg80211]
Aug  6 17:47:20 bola kernel: [ 1961.558673]  nl80211_get_interface+0x4b/0xa0 [cfg80211]
Aug  6 17:47:20 bola kernel: [ 1961.558684]  genl_family_rcv_msg+0x19a/0x430
Aug  6 17:47:20 bola kernel: [ 1961.558693]  ? wake_up_q+0x70/0x70
Aug  6 17:47:20 bola kernel: [ 1961.558696]  genl_rcv_msg+0x47/0x90
Aug  6 17:47:20 bola kernel: [ 1961.558699]  ? genl_family_rcv_msg+0x430/0x430
Aug  6 17:47:20 bola kernel: [ 1961.558703]  netlink_rcv_skb+0x99/0x130
Aug  6 17:47:20 bola kernel: [ 1961.558708]  genl_rcv+0x24/0x40
Aug  6 17:47:20 bola kernel: [ 1961.558712]  netlink_unicast+0x41f/0x4a0
Aug  6 17:47:20 bola kernel: [ 1961.558718]  ? __alloc_skb+0x8d/0x2c0
Aug  6 17:47:20 bola kernel: [ 1961.558723]  netlink_sendmsg+0x27c/0x3f0
Aug  6 17:47:20 bola kernel: [ 1961.558730]  ___sys_sendmsg+0x3dc/0x480
Aug  6 17:47:20 bola kernel: [ 1961.558738]  ? try_preempt+0xff/0x140
Aug  6 17:47:20 bola kernel: [ 1961.558740]  ? enqueue_task+0x2bc/0x470
Aug  6 17:47:20 bola kernel: [ 1961.558746]  ? _raw_spin_unlock+0x16/0x30
Aug  6 17:47:20 bola kernel: [ 1961.558751]  ? do_wp_page+0x191/0x6b0
Aug  6 17:47:20 bola kernel: [ 1961.558755]  ? __handle_mm_fault+0x97b/0xfc0
Aug  6 17:47:20 bola kernel: [ 1961.558759]  ? SyS_sendmsg+0x7f/0xe0
Aug  6 17:47:20 bola kernel: [ 1961.558761]  SyS_sendmsg+0x7f/0xe0
Aug  6 17:47:20 bola kernel: [ 1961.558768]  do_syscall_64+0x6f/0x1c0
Aug  6 17:47:20 bola kernel: [ 1961.558772]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
Aug  6 17:47:20 bola kernel: [ 1961.558776] RIP: 0033:0x7f409fe079bd
Aug  6 17:47:20 bola kernel: [ 1961.558778] RSP: 002b:00007fff3be1d8b0 EFLAGS: 00000293 ORIG_RAX: 000000000000002e
Aug  6 17:47:20 bola kernel: [ 1961.558781] RAX: ffffffffffffffda RBX: 000000000214fc20 RCX: 00007f409fe079bd
Aug  6 17:47:20 bola kernel: [ 1961.558783] RDX: 0000000000000000 RSI: 00007fff3be1d8e0 RDI: 000000000000000f
Aug  6 17:47:20 bola kernel: [ 1961.558784] RBP: 000000000220cac0 R08: 0000000000000001 R09: 00007f409fdf17b8
Aug  6 17:47:20 bola kernel: [ 1961.558786] R10: 00007f409fdf17b8 R11: 0000000000000293 R12: 00007fff3be1d8e0
Aug  6 17:47:20 bola kernel: [ 1961.558787] R13: 00000000004a1610 R14: 00000000021e63a0 R15: 00000000fffffff4
Aug  6 17:47:20 bola kernel: [ 1961.558791] Code: 24 04 be a1 00 00 00 e8 97 cf a1 d2 85 c0 74 a2 b8 97 ff ff ff eb 9b 48 8b 03 31 d2 0f b7 40 04 39 43 0c 0f 97 c2 83 c2 02 eb 9f <0f> 0b 48 83 c4 08 b8 ea ff ff ff 5b 5d c3 66 2e 0f 1f 84 00 00 
Aug  6 17:47:20 bola kernel: [ 1961.558845] ---[ end trace 1f4e2fc801e7df47 ]---
Aug  6 17:47:20 bola dbus[3867]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Aug  6 17:47:20 bola dbus[3867]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Aug  6 17:47:20 bola kernel: [ 1962.001107] ------------[ cut here ]------------
Aug  6 17:47:20 bola kernel: [ 1962.001159] WARNING: CPU: 0 PID: 4064 at net/wireless/nl80211.c:2524 nl80211_send_chandef+0x118/0x130 [cfg80211]
Aug  6 17:47:20 bola kernel: [ 1962.001160] Modules linked in: 8812au(OE) ipmi_msghandler(E) pci_stub(E) vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) ctr(E) ccm(E) rfcomm(E) bnep(E) cpufreq_userspace(E) nfsd(E) auth_rpcgss(E) nfs_acl(E) nfs(E) binfmt_misc(E) lockd(E) grace(E) sunrpc(E) fscache(E) uvcvideo(E) videobuf2_vmalloc(E) videobuf2_memops(E) videobuf2_v4l2(E) videobuf2_core(E) videodev(E) media(E) arc4(E) iwlmvm(E) wl(POE) snd_hda_codec_hdmi(E) snd_hda_codec_realtek(E) intel_rapl(E) intel_powerclamp(E) mac80211(E) kvm_intel(E) snd_hda_codec_generic(E) kvm(E) snd_hda_intel(E) btusb(E) btrtl(E) btbcm(E) btintel(E) iwlwifi(E) snd_hda_codec(E) irqbypass(E) punit_atom_debug(E) bluetooth(E) snd_hda_core(E) crct10dif_pclmul(E) crc32_pclmul(E) ghash_clmulni_intel(E) pcbc(E) snd_hwdep(E) snd_pcm_oss(E) snd_mixer_oss(E) snd_pcm(E)
Aug  6 17:47:20 bola kernel: [ 1962.001214]  ecdh_generic(E) snd_seq_dummy(E) dm_multipath(E) snd_seq_oss(E) snd_seq_midi(E) snd_seq_midi_event(E) aesni_intel(E) aes_x86_64(E) crypto_simd(E) snd_rawmidi(E) cfg80211(E) glue_helper(E) cryptd(E) joydev(E) input_leds(E) snd_seq(E) serio_raw(E) snd_seq_device(E) snd_timer(E) rtsx_pci_ms(E) memstick(E) parport_pc(E) lpc_ich(E) ppdev(E) mei_txe(E) mei(E) snd(E) shpchp(E) soundcore(E) processor_thermal_device(E) int340x_thermal_zone(E) intel_soc_dts_iosf(E) coretemp(E) ufsd(POE) int3400_thermal(E) acpi_thermal_rel(E) tpm_crb(E) mac_hid(E) lp(E) parport(E) zfs(POE) zunicode(POE) zavl(POE) icp(POE) zcommon(POE) znvpair(POE) spl(OE) btrfs(E) xor(E) zstd_decompress(E) zstd_compress(E) xxhash(E) raid6_pq(E) sd_mod(E) rtsx_pci_sdmmc(E) psmouse(E) rtsx_pci(E) r8169(E) mii(E) ahci(E) libahci(E)
Aug  6 17:47:20 bola kernel: [ 1962.001274]  wmi(E)
Aug  6 17:47:20 bola kernel: [ 1962.001279] CPU: 0 PID: 4064 Comm: NetworkManager Tainted: P        W  OE   4.14.23-ck1-mainline-core2-rjvb #1
Aug  6 17:47:20 bola kernel: [ 1962.001281] Hardware name: Notebook                         W510LU/W510LU, BIOS 5.11 10/21/2015
Aug  6 17:47:20 bola kernel: [ 1962.001283] task: ffff9a4aa2ba9ac0 task.stack: ffffa97cc49bc000
Aug  6 17:47:20 bola kernel: [ 1962.001307] RIP: 0010:nl80211_send_chandef+0x118/0x130 [cfg80211]
Aug  6 17:47:20 bola kernel: [ 1962.001309] RSP: 0018:ffffa97cc49bfa20 EFLAGS: 00010246
Aug  6 17:47:20 bola kernel: [ 1962.001311] RAX: 0000000000000000 RBX: ffffa97cc49bfa58 RCX: 000000000000161c
Aug  6 17:47:20 bola kernel: [ 1962.001313] RDX: 000000000000161c RSI: ffffa97cc49bfa58 RDI: ffffa97cc49bfa58
Aug  6 17:47:20 bola kernel: [ 1962.001315] RBP: ffff9a4874ebb700 R08: ffff9a49681f7748 R09: ffff9a49681f5c00
Aug  6 17:47:20 bola kernel: [ 1962.001316] R10: 0000000000000004 R11: 0000000000000000 R12: ffffa97cc49bfa58
Aug  6 17:47:20 bola kernel: [ 1962.001318] R13: ffff9a49681f5800 R14: ffff9a4ab20a9014 R15: ffff9a49681f5b00
Aug  6 17:47:20 bola kernel: [ 1962.001320] FS:  00007f40a284d840(0000) GS:ffff9a4abfc00000(0000) knlGS:0000000000000000
Aug  6 17:47:20 bola kernel: [ 1962.001322] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug  6 17:47:20 bola kernel: [ 1962.001323] CR2: 00007f26907cd000 CR3: 000000025355a000 CR4: 00000000001006f0
Aug  6 17:47:20 bola kernel: [ 1962.001325] Call Trace:
Aug  6 17:47:20 bola kernel: [ 1962.001356]  nl80211_send_iface+0x434/0x4e0 [cfg80211]
Aug  6 17:47:20 bola kernel: [ 1962.001383]  nl80211_get_interface+0x4b/0xa0 [cfg80211]
Aug  6 17:47:20 bola kernel: [ 1962.001390]  genl_family_rcv_msg+0x19a/0x430
Aug  6 17:47:20 bola kernel: [ 1962.001398]  ? wake_up_q+0x70/0x70
Aug  6 17:47:20 bola kernel: [ 1962.001400]  genl_rcv_msg+0x47/0x90
Aug  6 17:47:20 bola kernel: [ 1962.001404]  ? genl_family_rcv_msg+0x430/0x430
Aug  6 17:47:20 bola kernel: [ 1962.001406]  netlink_rcv_skb+0x99/0x130
Aug  6 17:47:20 bola kernel: [ 1962.001410]  genl_rcv+0x24/0x40
Aug  6 17:47:20 bola kernel: [ 1962.001413]  netlink_unicast+0x41f/0x4a0
Aug  6 17:47:20 bola kernel: [ 1962.001418]  ? __alloc_skb+0x8d/0x2c0
Aug  6 17:47:20 bola kernel: [ 1962.001421]  netlink_sendmsg+0x27c/0x3f0
Aug  6 17:47:20 bola kernel: [ 1962.001426]  ___sys_sendmsg+0x3dc/0x480
Aug  6 17:47:20 bola kernel: [ 1962.001433]  ? poll_select_copy_remaining+0x190/0x190
Aug  6 17:47:20 bola kernel: [ 1962.001437]  ? poll_select_copy_remaining+0x190/0x190
Aug  6 17:47:20 bola kernel: [ 1962.001441]  ? _raw_spin_lock_irq+0x1a/0x40
Aug  6 17:47:20 bola kernel: [ 1962.001443]  ? _raw_spin_unlock_irq+0x1d/0x30
Aug  6 17:47:20 bola kernel: [ 1962.001446]  ? eventfd_read+0x1ce/0x280
Aug  6 17:47:20 bola kernel: [ 1962.001449]  ? wake_up_q+0x70/0x70
Aug  6 17:47:20 bola kernel: [ 1962.001453]  ? SyS_sendmsg+0x7f/0xe0
Aug  6 17:47:20 bola kernel: [ 1962.001455]  SyS_sendmsg+0x7f/0xe0
Aug  6 17:47:20 bola kernel: [ 1962.001461]  do_syscall_64+0x6f/0x1c0
Aug  6 17:47:20 bola kernel: [ 1962.001465]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
Aug  6 17:47:20 bola kernel: [ 1962.001468] RIP: 0033:0x7f409fe079bd
Aug  6 17:47:20 bola kernel: [ 1962.001470] RSP: 002b:00007fff3be1de90 EFLAGS: 00000293 ORIG_RAX: 000000000000002e
Aug  6 17:47:20 bola kernel: [ 1962.001473] RAX: ffffffffffffffda RBX: 000000000214fc20 RCX: 00007f409fe079bd
Aug  6 17:47:20 bola kernel: [ 1962.001474] RDX: 0000000000000000 RSI: 00007fff3be1dec0 RDI: 000000000000000f
Aug  6 17:47:20 bola kernel: [ 1962.001475] RBP: 0000000002206e20 R08: 0000000000000001 R09: 00007f409fdf17b8
Aug  6 17:47:20 bola kernel: [ 1962.001477] R10: 00007f409fdf17b8 R11: 0000000000000293 R12: 00007fff3be1dec0
Aug  6 17:47:20 bola kernel: [ 1962.001478] R13: 00000000004a1610 R14: 00000000021e63a0 R15: 00000000fffffff4
Aug  6 17:47:20 bola kernel: [ 1962.001481] Code: 24 04 be a1 00 00 00 e8 97 cf a1 d2 85 c0 74 a2 b8 97 ff ff ff eb 9b 48 8b 03 31 d2 0f b7 40 04 39 43 0c 0f 97 c2 83 c2 02 eb 9f <0f> 0b 48 83 c4 08 b8 ea ff ff ff 5b 5d c3 66 2e 0f 1f 84 00 00 
Aug  6 17:47:20 bola kernel: [ 1962.001535] ---[ end trace 1f4e2fc801e7df48 ]---
Aug  6 17:47:25 bola wpa_supplicant[4776]: wlan3: CTRL-EVENT-SCAN-STARTED 
Aug  6 17:47:26 bola kernel: [ 1968.002812] ------------[ cut here ]------------
Aug  6 17:47:26 bola kernel: [ 1968.002950] WARNING: CPU: 1 PID: 4064 at net/wireless/nl80211.c:2524 nl80211_send_chandef+0x118/0x130 [cfg80211]
Aug  6 17:47:26 bola kernel: [ 1968.002956] Modules linked in: 8812au(OE) ipmi_msghandler(E) pci_stub(E) vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) ctr(E) ccm(E) rfcomm(E) bnep(E) cpufreq_userspace(E) nfsd(E) auth_rpcgss(E) nfs_acl(E) nfs(E) binfmt_misc(E) lockd(E) grace(E) sunrpc(E) fscache(E) uvcvideo(E) videobuf2_vmalloc(E) videobuf2_memops(E) videobuf2_v4l2(E) videobuf2_core(E) videodev(E) media(E) arc4(E) iwlmvm(E) wl(POE) snd_hda_codec_hdmi(E) snd_hda_codec_realtek(E) intel_rapl(E) intel_powerclamp(E) mac80211(E) kvm_intel(E) snd_hda_codec_generic(E) kvm(E) snd_hda_intel(E) btusb(E) btrtl(E) btbcm(E) btintel(E) iwlwifi(E) snd_hda_codec(E) irqbypass(E) punit_atom_debug(E) bluetooth(E) snd_hda_core(E) crct10dif_pclmul(E) crc32_pclmul(E) ghash_clmulni_intel(E) pcbc(E) snd_hwdep(E) snd_pcm_oss(E) snd_mixer_oss(E) snd_pcm(E)
Aug  6 17:47:26 bola kernel: [ 1968.003234]  ecdh_generic(E) snd_seq_dummy(E) dm_multipath(E) snd_seq_oss(E) snd_seq_midi(E) snd_seq_midi_event(E) aesni_intel(E) aes_x86_64(E) crypto_simd(E) snd_rawmidi(E) cfg80211(E) glue_helper(E) cryptd(E) joydev(E) input_leds(E) snd_seq(E) serio_raw(E) snd_seq_device(E) snd_timer(E) rtsx_pci_ms(E) memstick(E) parport_pc(E) lpc_ich(E) ppdev(E) mei_txe(E) mei(E) snd(E) shpchp(E) soundcore(E) processor_thermal_device(E) int340x_thermal_zone(E) intel_soc_dts_iosf(E) coretemp(E) ufsd(POE) int3400_thermal(E) acpi_thermal_rel(E) tpm_crb(E) mac_hid(E) lp(E) parport(E) zfs(POE) zunicode(POE) zavl(POE) icp(POE) zcommon(POE) znvpair(POE) spl(OE) btrfs(E) xor(E) zstd_decompress(E) zstd_compress(E) xxhash(E) raid6_pq(E) sd_mod(E) rtsx_pci_sdmmc(E) psmouse(E) rtsx_pci(E) r8169(E) mii(E) ahci(E) libahci(E)
Aug  6 17:47:26 bola kernel: [ 1968.003537]  wmi(E)
Aug  6 17:47:26 bola kernel: [ 1968.003559] CPU: 1 PID: 4064 Comm: NetworkManager Tainted: P        W  OE   4.14.23-ck1-mainline-core2-rjvb #1
Aug  6 17:47:26 bola kernel: [ 1968.003567] Hardware name: Notebook                         W510LU/W510LU, BIOS 5.11 10/21/2015
Aug  6 17:47:26 bola kernel: [ 1968.003577] task: ffff9a4aa2ba9ac0 task.stack: ffffa97cc49bc000
Aug  6 17:47:26 bola kernel: [ 1968.003679] RIP: 0010:nl80211_send_chandef+0x118/0x130 [cfg80211]
Aug  6 17:47:26 bola kernel: [ 1968.003687] RSP: 0018:ffffa97cc49bfa20 EFLAGS: 00010246
Aug  6 17:47:26 bola kernel: [ 1968.003700] RAX: 0000000000000000 RBX: ffffa97cc49bfa58 RCX: 000000000000161c
Aug  6 17:47:26 bola kernel: [ 1968.003706] RDX: 000000000000161c RSI: ffffa97cc49bfa58 RDI: ffffa97cc49bfa58
Aug  6 17:47:26 bola kernel: [ 1968.003714] RBP: ffff9a49733bab00 R08: ffff9a49681f7748 R09: ffff9a49681f5c00
Aug  6 17:47:26 bola kernel: [ 1968.003721] R10: 0000000000000004 R11: 0000000000000000 R12: ffffa97cc49bfa58
Aug  6 17:47:26 bola kernel: [ 1968.003727] R13: ffff9a49681f5800 R14: ffff9a4a768a4014 R15: ffff9a49681f5b00
Aug  6 17:47:26 bola kernel: [ 1968.003737] FS:  00007f40a284d840(0000) GS:ffff9a4abfc80000(0000) knlGS:0000000000000000
Aug  6 17:47:26 bola kernel: [ 1968.003744] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug  6 17:47:26 bola kernel: [ 1968.003751] CR2: 00000d52eec58000 CR3: 000000025355a000 CR4: 00000000001006e0
Aug  6 17:47:26 bola kernel: [ 1968.003757] Call Trace:
Aug  6 17:47:26 bola kernel: [ 1968.003878]  nl80211_send_iface+0x434/0x4e0 [cfg80211]
Aug  6 17:47:26 bola kernel: [ 1968.003989]  nl80211_get_interface+0x4b/0xa0 [cfg80211]
Aug  6 17:47:26 bola kernel: [ 1968.004013]  genl_family_rcv_msg+0x19a/0x430
Aug  6 17:47:26 bola kernel: [ 1968.004040]  ? wake_up_q+0x70/0x70
Aug  6 17:47:26 bola kernel: [ 1968.004050]  genl_rcv_msg+0x47/0x90
Aug  6 17:47:26 bola kernel: [ 1968.004063]  ? genl_family_rcv_msg+0x430/0x430
Aug  6 17:47:26 bola kernel: [ 1968.004074]  netlink_rcv_skb+0x99/0x130
Aug  6 17:47:26 bola kernel: [ 1968.004091]  genl_rcv+0x24/0x40
Aug  6 17:47:26 bola kernel: [ 1968.004105]  netlink_unicast+0x41f/0x4a0
Aug  6 17:47:26 bola kernel: [ 1968.004123]  ? __alloc_skb+0x8d/0x2c0
Aug  6 17:47:26 bola kernel: [ 1968.004137]  netlink_sendmsg+0x27c/0x3f0
Aug  6 17:47:26 bola kernel: [ 1968.004159]  ___sys_sendmsg+0x3dc/0x480
Aug  6 17:47:26 bola kernel: [ 1968.004184]  ? hrtimer_start_range_ns+0x509/0x520
Aug  6 17:47:26 bola kernel: [ 1968.004201]  ? _raw_spin_unlock+0x16/0x30
Aug  6 17:47:26 bola kernel: [ 1968.004212]  ? __schedule+0xd65/0x10d0
Aug  6 17:47:26 bola kernel: [ 1968.004226]  ? eventfd_read+0x1ce/0x280
Aug  6 17:47:26 bola kernel: [ 1968.004244]  ? SyS_sendmsg+0x7f/0xe0
Aug  6 17:47:26 bola kernel: [ 1968.004253]  SyS_sendmsg+0x7f/0xe0
Aug  6 17:47:26 bola kernel: [ 1968.004276]  do_syscall_64+0x6f/0x1c0
Aug  6 17:47:26 bola kernel: [ 1968.004292]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
Aug  6 17:47:26 bola kernel: [ 1968.004306] RIP: 0033:0x7f409fe079bd
Aug  6 17:47:26 bola kernel: [ 1968.004312] RSP: 002b:00007fff3be1de90 EFLAGS: 00000293 ORIG_RAX: 000000000000002e
Aug  6 17:47:26 bola kernel: [ 1968.004324] RAX: ffffffffffffffda RBX: 000000000214fc20 RCX: 00007f409fe079bd
Aug  6 17:47:26 bola kernel: [ 1968.004331] RDX: 0000000000000000 RSI: 00007fff3be1dec0 RDI: 000000000000000f
Aug  6 17:47:26 bola kernel: [ 1968.004337] RBP: 00000000021f6200 R08: 0000000000000001 R09: 00007f409fdf17b8
Aug  6 17:47:26 bola kernel: [ 1968.004343] R10: 00007f409fdf17b8 R11: 0000000000000293 R12: 00007fff3be1dec0
Aug  6 17:47:26 bola kernel: [ 1968.004349] R13: 00000000004a1610 R14: 00000000021e63a0 R15: 00000000fffffff4
Aug  6 17:47:26 bola kernel: [ 1968.004364] Code: 24 04 be a1 00 00 00 e8 97 cf a1 d2 85 c0 74 a2 b8 97 ff ff ff eb 9b 48 8b 03 31 d2 0f b7 40 04 39 43 0c 0f 97 c2 83 c2 02 eb 9f <0f> 0b 48 83 c4 08 b8 ea ff ff ff 5b 5d c3 66 2e 0f 1f 84 00 00 
Aug  6 17:47:26 bola kernel: [ 1968.004598] ---[ end trace 1f4e2fc801e7df49 ]---
Aug  6 17:47:27 bola ntpdate[21451]: adjust time server 91.189.89.198 offset 0.037375 sec

This is what I see, after device unplug or USB3 modeswitch.. I'm not quite sure when yet.
This doesn't affect the usages itself, but it has to be sorted out anyway.

[ 247.050002] WARNING: CPU: 1 PID: 200 at /build/linux-hWkZX3/linux-4.17.8/net/wireless/nl80211.c:2559 nl80211_send_chandef+0x147/0x160 [cfg80211]
[ 247.050005] Modules linked in: 88XXau(O) fuse ctr ccm binfmt_misc snd_hda_codec_hdmi btusb btrtl btbcm btintel snd_hda_codec_realtek bluetooth snd_hda_codec_generic jitterentropy_rng arc4 wmi_bmof intel_rapl x86_pkg_temp_thermal intel_powerclamp drbg hid_generic coretemp kvm_intel ansi_cprng iwldvm kvm irqbypass mac80211 crct10dif_pclmul crc32_pclmul ecdh_generic ghash_clmulni_intel intel_cstate intel_uncore intel_rapl_perf snd_hda_intel cdc_mbim joydev snd_hda_codec serio_raw pcspkr uvcvideo videobuf2_vmalloc snd_hda_core iTCO_wdt videobuf2_memops videobuf2_v4l2 iwlwifi sg iTCO_vendor_support videobuf2_common cdc_ncm snd_hwdep videodev usbnet snd_pcm media thinkpad_acpi mii snd_timer nvram i915 cdc_wdm cdc_acm cfg80211 drm_kms_helper snd mei_me drm soundcore mei shpchp i2c_algo_bit wmi rfkill battery
[ 247.050101] ac video button evdev usbhid hid ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic fscrypto ecb sd_mod crc32c_intel ahci libahci aesni_intel aes_x86_64 crypto_simd cryptd libata glue_helper psmouse scsi_mod i2c_i801 xhci_pci ehci_pci sdhci_pci xhci_hcd ehci_hcd cqhci sdhci lpc_ich mmc_core usbcore e1000e usb_common thermal
[ 247.050161] CPU: 1 PID: 200 Comm: kworker/1:3 Tainted: G W O 4.17.0-kali1-amd64 #1 Debian 4.17.8-1kali1
[ 247.050163] Hardware name: LENOVO 2325WBG/2325WBG, BIOS G2ETB3WW (2.73 ) 06/19/2018
[ 247.050189] Workqueue: usb_hub_wq hub_event [usbcore]
[ 247.050230] RIP: 0010:nl80211_send_chandef+0x147/0x160 [cfg80211]
[ 247.050233] RSP: 0018:ffffb25dc11af958 EFLAGS: 00010246
[ 247.050237] RAX: 0000000000000000 RBX: ffffb25dc11af9a8 RCX: 00000000000015f4
[ 247.050240] RDX: 00000000000015f4 RSI: ffffb25dc11af9a8 RDI: ffffb25dc11af9a8
[ 247.050242] RBP: ffff880a4bcaed00 R08: ffff880a513aff48 R09: ffff880a512adbe0
[ 247.050245] R10: 0000000000000e88 R11: ffffffffc0924000 R12: ffffb25dc11af9a8
[ 247.050248] R13: ffff880a512ad800 R14: ffff880a4e8d9014 R15: 0000000000000000
[ 247.050252] FS: 0000000000000000(0000) GS:ffff880a5e240000(0000) knlGS:0000000000000000
[ 247.050255] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 247.050257] CR2: 00007fcd34005000 CR3: 00000000ca80a004 CR4: 00000000001606e0
[ 247.050260] Call Trace:
[ 247.050306] nl80211_send_iface+0x450/0x510 [cfg80211]
[ 247.050348] nl80211_notify_iface+0x5a/0xc0 [cfg80211]
[ 247.050383] cfg80211_netdev_notifier_call+0x37b/0x620 [cfg80211]
[ 247.050395] ? addrconf_notify+0x1a8/0xad0
[ 247.050404] ? skb_dequeue+0x52/0x60
[ 247.050412] ? cpumask_next+0x16/0x20
[ 247.050420] notifier_call_chain+0x47/0x70
[ 247.050428] rollback_registered_many+0x2c3/0x420
[ 247.050435] rollback_registered+0x56/0x90
[ 247.050441] unregister_netdevice_queue+0x73/0xb0
[ 247.050447] unregister_netdev+0x18/0x20
[ 247.050536] rtw_os_ndev_unregister+0x5d/0xb3 [88XXau]
[ 247.050619] rtw_os_ndevs_unregister+0x23/0x2d [88XXau]
[ 247.050696] rtw_dev_remove+0x24/0x9f [88XXau]
[ 247.050721] usb_unbind_interface+0x76/0x290 [usbcore]
[ 247.050732] device_release_driver_internal+0x15a/0x220
[ 247.050737] bus_remove_device+0xe5/0x150
[ 247.050742] device_del+0x138/0x360
[ 247.050762] ? usb_remove_ep_devs+0x1b/0x30 [usbcore]
[ 247.050781] usb_disable_device+0x93/0x250 [usbcore]
[ 247.050800] usb_disconnect+0xc1/0x260 [usbcore]
[ 247.050820] hub_event+0x713/0x15f0 [usbcore]
[ 247.050830] process_one_work+0x17b/0x360
[ 247.050835] worker_thread+0x2e/0x390
[ 247.050840] ? process_one_work+0x360/0x360
[ 247.050845] kthread+0x113/0x130
[ 247.050851] ? kthread_create_worker_on_cpu+0x70/0x70
[ 247.050858] ret_from_fork+0x35/0x40
[ 247.050861] Code: 89 ef 89 44 24 04 e8 d9 ee 50 de 85 c0 74 89 41 bc 97 ff ff ff eb 81 48 8b 03 31 d2 0f b7 40 04 39 43 0c 0f 97 c2 83 c2 02 eb 9e <0f> 0b 41 bc ea ff ff ff e9 60 ff ff ff e8 37 53 1c de 0f 1f 80
[ 247.050938] ---[ end trace 95dfc012cf4720e8 ]---

the commit here https://github.com/aircrack-ng/rtl8812au/commit/b39cd0827cd20bad2b17636ae181fd0289a750c5

seem related to "invalid_chandef" - more info here
but it isn't that simple I'm afraid. Doing a google search on "nl80211_send_chandef" finds lots of info.
will take a closer look when I got time.

leaving it here for my own purposes.

This doesn't affect the usages itself

Apart from the inevitable overhead that comes with extensive logging like this.

Yeah, it needs to be resolved.

Merging some fixes for compile warnings + fix for older kernels with backported cfg80211 API support.

  • Allow build for kernels with backported cfg80211 API
  • Fix compile warnings introduced with DEBUG commit

Merging some fixes for compile warnings + fix for older kernels with backported cfg80211 API support.

Which ones are that? With my 4.14.23 kernel I keep seeing the pollution below (but apparently only when connecting to a 5Gh network, which in itself remains more than tricky):

Aug  9 10:42:41 bola NetworkManager[4064]: <info> (wlan3): roamed from BSSID 30:7C:B2:35:21:18 (Livebox-69d0-5Ghz) to (none) ((none))
Aug  9 10:42:41 bola NetworkManager[4064]: <info> Activation (wlan3) successful, device activated.
Aug  9 10:42:41 bola dbus[3867]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Aug  9 10:42:41 bola kernel: [82470.844704] ------------[ cut here ]------------
Aug  9 10:42:41 bola kernel: [82470.844761] WARNING: CPU: 2 PID: 4064 at net/wireless/nl80211.c:2524 nl80211_send_chandef+0x118/0x130 [cfg80211]
Aug  9 10:42:41 bola kernel: [82470.844763] Modules linked in: 88XXau(OE) nls_utf8(E) uas(E) ipmi_msghandler(E) pci_stub(E) vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) ctr(E) ccm(E) rfcomm(E) bnep(E) cpufreq_userspace(E) nfsd(E) auth_rpcgss(E) nfs_acl(E) nfs(E) binfmt_misc(E) lockd(E) grace(E) sunrpc(E) fscache(E) uvcvideo(E) videobuf2_vmalloc(E) videobuf2_memops(E) videobuf2_v4l2(E) videobuf2_core(E) videodev(E) media(E) arc4(E) iwlmvm(E) wl(POE) snd_hda_codec_hdmi(E) snd_hda_codec_realtek(E) intel_rapl(E) intel_powerclamp(E) mac80211(E) kvm_intel(E) snd_hda_codec_generic(E) kvm(E) snd_hda_intel(E) btusb(E) btrtl(E) btbcm(E) btintel(E) iwlwifi(E) snd_hda_codec(E) irqbypass(E) punit_atom_debug(E) bluetooth(E) snd_hda_core(E) crct10dif_pclmul(E) crc32_pclmul(E) ghash_clmulni_intel(E) pcbc(E) snd_hwdep(E) snd_pcm_oss(E) snd_mixer_oss(E)
Aug  9 10:42:41 bola kernel: [82470.844822]  snd_pcm(E) ecdh_generic(E) snd_seq_dummy(E) dm_multipath(E) snd_seq_oss(E) snd_seq_midi(E) snd_seq_midi_event(E) aesni_intel(E) aes_x86_64(E) crypto_simd(E) snd_rawmidi(E) cfg80211(E) glue_helper(E) cryptd(E) joydev(E) input_leds(E) snd_seq(E) serio_raw(E) snd_seq_device(E) snd_timer(E) rtsx_pci_ms(E) memstick(E) parport_pc(E) lpc_ich(E) ppdev(E) mei_txe(E) mei(E) snd(E) shpchp(E) soundcore(E) processor_thermal_device(E) int340x_thermal_zone(E) intel_soc_dts_iosf(E) coretemp(E) ufsd(POE) int3400_thermal(E) acpi_thermal_rel(E) tpm_crb(E) mac_hid(E) lp(E) parport(E) zfs(POE) zunicode(POE) zavl(POE) icp(POE) zcommon(POE) znvpair(POE) spl(OE) btrfs(E) xor(E) zstd_decompress(E) zstd_compress(E) xxhash(E) raid6_pq(E) sd_mod(E) rtsx_pci_sdmmc(E) psmouse(E) rtsx_pci(E) r8169(E) mii(E) ahci(E)
Aug  9 10:42:41 bola kernel: [82470.844884]  libahci(E) wmi(E) [last unloaded: 8812au]
Aug  9 10:42:41 bola kernel: [82470.844892] CPU: 2 PID: 4064 Comm: NetworkManager Tainted: P        W  OE   4.14.23-ck1-mainline-core2-rjvb #1
Aug  9 10:42:41 bola kernel: [82470.844893] Hardware name: Notebook                         W510LU/W510LU, BIOS 5.11 10/21/2015
Aug  9 10:42:41 bola kernel: [82470.844895] task: ffff9a4aa2ba9ac0 task.stack: ffffa97cc49bc000
Aug  9 10:42:41 bola kernel: [82470.844919] RIP: 0010:nl80211_send_chandef+0x118/0x130 [cfg80211]
Aug  9 10:42:41 bola kernel: [82470.844921] RSP: 0018:ffffa97cc49bfa20 EFLAGS: 00010246
Aug  9 10:42:41 bola kernel: [82470.844924] RAX: 0000000000000000 RBX: ffffa97cc49bfa58 RCX: 0000000000000000
Aug  9 10:42:41 bola kernel: [82470.844926] RDX: 000000000000161c RSI: ffffa97cc49bfa58 RDI: ffffa97cc49bfa58
Aug  9 10:42:41 bola kernel: [82470.844928] RBP: ffff9a4a18a51900 R08: ffff9a4a99c1af48 R09: ffff9a4a99c19400
Aug  9 10:42:41 bola kernel: [82470.844929] R10: 0000000000000004 R11: 0000000000000000 R12: ffffa97cc49bfa58
Aug  9 10:42:41 bola kernel: [82470.844931] R13: ffff9a4a99c19000 R14: ffff9a4a7134d014 R15: ffff9a4a99c19300
Aug  9 10:42:41 bola kernel: [82470.844933] FS:  00007f40a284d840(0000) GS:ffff9a4abfd00000(0000) knlGS:0000000000000000
Aug  9 10:42:41 bola kernel: [82470.844935] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug  9 10:42:41 bola kernel: [82470.844937] CR2: 00007f40a2415ec0 CR3: 000000025355a000 CR4: 00000000001006e0
Aug  9 10:42:41 bola kernel: [82470.844939] Call Trace:
Aug  9 10:42:41 bola kernel: [82470.844971]  nl80211_send_iface+0x434/0x4e0 [cfg80211]
Aug  9 10:42:41 bola kernel: [82470.844997]  nl80211_get_interface+0x4b/0xa0 [cfg80211]
Aug  9 10:42:41 bola kernel: [82470.845005]  genl_family_rcv_msg+0x19a/0x430
Aug  9 10:42:41 bola kernel: [82470.845013]  ? wake_up_q+0x70/0x70
Aug  9 10:42:41 bola kernel: [82470.845015]  genl_rcv_msg+0x47/0x90
Aug  9 10:42:41 bola kernel: [82470.845018]  ? genl_family_rcv_msg+0x430/0x430
Aug  9 10:42:41 bola kernel: [82470.845021]  netlink_rcv_skb+0x99/0x130
Aug  9 10:42:41 bola kernel: [82470.845025]  genl_rcv+0x24/0x40
Aug  9 10:42:41 bola kernel: [82470.845028]  netlink_unicast+0x41f/0x4a0
Aug  9 10:42:41 bola kernel: [82470.845033]  ? __alloc_skb+0x8d/0x2c0
Aug  9 10:42:41 bola kernel: [82470.845037]  netlink_sendmsg+0x27c/0x3f0
Aug  9 10:42:41 bola kernel: [82470.845042]  ___sys_sendmsg+0x3dc/0x480
Aug  9 10:42:41 bola kernel: [82470.845050]  ? _raw_spin_unlock+0x16/0x30
Aug  9 10:42:41 bola kernel: [82470.845054]  ? do_wp_page+0x191/0x6b0
Aug  9 10:42:41 bola kernel: [82470.845057]  ? __handle_mm_fault+0x97b/0xfc0
Aug  9 10:42:41 bola kernel: [82470.845061]  ? SyS_sendmsg+0x7f/0xe0
Aug  9 10:42:41 bola kernel: [82470.845063]  SyS_sendmsg+0x7f/0xe0
Aug  9 10:42:41 bola kernel: [82470.845070]  do_syscall_64+0x6f/0x1c0
Aug  9 10:42:41 bola kernel: [82470.845074]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
Aug  9 10:42:41 bola kernel: [82470.845077] RIP: 0033:0x7f409fe079bd
Aug  9 10:42:41 bola kernel: [82470.845079] RSP: 002b:00007fff3be1d8b0 EFLAGS: 00000293 ORIG_RAX: 000000000000002e
Aug  9 10:42:41 bola kernel: [82470.845082] RAX: ffffffffffffffda RBX: 00000000021ed7f0 RCX: 00007f409fe079bd
Aug  9 10:42:41 bola kernel: [82470.845083] RDX: 0000000000000000 RSI: 00007fff3be1d8e0 RDI: 000000000000000f
Aug  9 10:42:41 bola kernel: [82470.845085] RBP: 0000000002206650 R08: 0000000000000001 R09: 000000000000000f
Aug  9 10:42:41 bola kernel: [82470.845087] R10: 00007f409fdf17b8 R11: 0000000000000293 R12: 00007fff3be1d8e0
Aug  9 10:42:41 bola kernel: [82470.845088] R13: 00000000004a1610 R14: 00000000021e6980 R15: 00000000fffffff4
Aug  9 10:42:41 bola kernel: [82470.845091] Code: 24 04 be a1 00 00 00 e8 97 cf a1 d2 85 c0 74 a2 b8 97 ff ff ff eb 9b 48 8b 03 31 d2 0f b7 40 04 39 43 0c 0f 97 c2 83 c2 02 eb 9f <0f> 0b 48 83 c4 08 b8 ea ff ff ff 5b 5d c3 66 2e 0f 1f 84 00 00 
Aug  9 10:42:41 bola kernel: [82470.845145] ---[ end trace 1f4e2fc801e7df6f ]---
Aug  9 10:42:41 bola dbus[3867]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Aug  9 10:42:42 bola avahi-daemon[3995]: Joining mDNS multicast group on interface wlan3.IPv6 with address fe80::20f:ff:fe50:fe9e.
Aug  9 10:42:42 bola avahi-daemon[3995]: New relevant interface wlan3.IPv6 for mDNS.
Aug  9 10:42:42 bola avahi-daemon[3995]: Registering new address record for fe80::20f:ff:fe50:fe9e on wlan3.*.
Aug  9 10:42:43 bola kernel: [82473.339894] ------------[ cut here ]------------
Aug  9 10:42:43 bola kernel: [82473.339946] WARNING: CPU: 3 PID: 4064 at net/wireless/nl80211.c:2524 nl80211_send_chandef+0x118/0x130 [cfg80211]
Aug  9 10:42:43 bola kernel: [82473.339947] Modules linked in: 88XXau(OE) nls_utf8(E) uas(E) ipmi_msghandler(E) pci_stub(E) vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) ctr(E) ccm(E) rfcomm(E) bnep(E) cpufreq_userspace(E) nfsd(E) auth_rpcgss(E) nfs_acl(E) nfs(E) binfmt_misc(E) lockd(E) grace(E) sunrpc(E) fscache(E) uvcvideo(E) videobuf2_vmalloc(E) videobuf2_memops(E) videobuf2_v4l2(E) videobuf2_core(E) videodev(E) media(E) arc4(E) iwlmvm(E) wl(POE) snd_hda_codec_hdmi(E) snd_hda_codec_realtek(E) intel_rapl(E) intel_powerclamp(E) mac80211(E) kvm_intel(E) snd_hda_codec_generic(E) kvm(E) snd_hda_intel(E) btusb(E) btrtl(E) btbcm(E) btintel(E) iwlwifi(E) snd_hda_codec(E) irqbypass(E) punit_atom_debug(E) bluetooth(E) snd_hda_core(E) crct10dif_pclmul(E) crc32_pclmul(E) ghash_clmulni_intel(E) pcbc(E) snd_hwdep(E) snd_pcm_oss(E) snd_mixer_oss(E)
Aug  9 10:42:43 bola kernel: [82473.340019]  snd_pcm(E) ecdh_generic(E) snd_seq_dummy(E) dm_multipath(E) snd_seq_oss(E) snd_seq_midi(E) snd_seq_midi_event(E) aesni_intel(E) aes_x86_64(E) crypto_simd(E) snd_rawmidi(E) cfg80211(E) glue_helper(E) cryptd(E) joydev(E) input_leds(E) snd_seq(E) serio_raw(E) snd_seq_device(E) snd_timer(E) rtsx_pci_ms(E) memstick(E) parport_pc(E) lpc_ich(E) ppdev(E) mei_txe(E) mei(E) snd(E) shpchp(E) soundcore(E) processor_thermal_device(E) int340x_thermal_zone(E) intel_soc_dts_iosf(E) coretemp(E) ufsd(POE) int3400_thermal(E) acpi_thermal_rel(E) tpm_crb(E) mac_hid(E) lp(E) parport(E) zfs(POE) zunicode(POE) zavl(POE) icp(POE) zcommon(POE) znvpair(POE) spl(OE) btrfs(E) xor(E) zstd_decompress(E) zstd_compress(E) xxhash(E) raid6_pq(E) sd_mod(E) rtsx_pci_sdmmc(E) psmouse(E) rtsx_pci(E) r8169(E) mii(E) ahci(E)
Aug  9 10:42:43 bola kernel: [82473.340100]  libahci(E) wmi(E) [last unloaded: 8812au]
Aug  9 10:42:43 bola kernel: [82473.340114] CPU: 3 PID: 4064 Comm: NetworkManager Tainted: P        W  OE   4.14.23-ck1-mainline-core2-rjvb #1
Aug  9 10:42:43 bola kernel: [82473.340116] Hardware name: Notebook                         W510LU/W510LU, BIOS 5.11 10/21/2015
Aug  9 10:42:43 bola kernel: [82473.340118] task: ffff9a4aa2ba9ac0 task.stack: ffffa97cc49bc000
Aug  9 10:42:43 bola kernel: [82473.340147] RIP: 0010:nl80211_send_chandef+0x118/0x130 [cfg80211]
Aug  9 10:42:43 bola kernel: [82473.340149] RSP: 0018:ffffa97cc49bfa20 EFLAGS: 00010246
Aug  9 10:42:43 bola kernel: [82473.340152] RAX: 0000000000000000 RBX: ffffa97cc49bfa58 RCX: 0000000000000000
Aug  9 10:42:43 bola kernel: [82473.340154] RDX: 000000000000161c RSI: ffffa97cc49bfa58 RDI: ffffa97cc49bfa58
Aug  9 10:42:43 bola kernel: [82473.340156] RBP: ffff9a49bd47cf00 R08: ffff9a4a99c1af48 R09: ffff9a4a99c19400
Aug  9 10:42:43 bola kernel: [82473.340157] R10: 0000000000000004 R11: 0000000000000000 R12: ffffa97cc49bfa58
Aug  9 10:42:43 bola kernel: [82473.340159] R13: ffff9a4a99c19000 R14: ffff9a4844172014 R15: ffff9a4a99c19300
Aug  9 10:42:43 bola kernel: [82473.340162] FS:  00007f40a284d840(0000) GS:ffff9a4abfd80000(0000) knlGS:0000000000000000
Aug  9 10:42:43 bola kernel: [82473.340164] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug  9 10:42:43 bola kernel: [82473.340165] CR2: 00000000021a6ea0 CR3: 000000025355a000 CR4: 00000000001006e0
Aug  9 10:42:43 bola kernel: [82473.340167] Call Trace:
Aug  9 10:42:43 bola kernel: [82473.340199]  nl80211_send_iface+0x434/0x4e0 [cfg80211]
Aug  9 10:42:43 bola kernel: [82473.340226]  nl80211_get_interface+0x4b/0xa0 [cfg80211]
Aug  9 10:42:43 bola kernel: [82473.340233]  genl_family_rcv_msg+0x19a/0x430
Aug  9 10:42:43 bola kernel: [82473.340241]  ? wake_up_q+0x70/0x70
Aug  9 10:42:43 bola kernel: [82473.340243]  genl_rcv_msg+0x47/0x90
Aug  9 10:42:43 bola kernel: [82473.340246]  ? genl_family_rcv_msg+0x430/0x430
Aug  9 10:42:43 bola kernel: [82473.340249]  netlink_rcv_skb+0x99/0x130
Aug  9 10:42:43 bola kernel: [82473.340253]  genl_rcv+0x24/0x40
Aug  9 10:42:43 bola kernel: [82473.340256]  netlink_unicast+0x41f/0x4a0
Aug  9 10:42:43 bola kernel: [82473.340260]  ? __alloc_skb+0x8d/0x2c0
Aug  9 10:42:43 bola kernel: [82473.340264]  netlink_sendmsg+0x27c/0x3f0
Aug  9 10:42:43 bola kernel: [82473.340269]  ___sys_sendmsg+0x3dc/0x480
Aug  9 10:42:43 bola kernel: [82473.340276]  ? poll_select_copy_remaining+0x190/0x190
Aug  9 10:42:43 bola kernel: [82473.340281]  ? _raw_spin_unlock+0x16/0x30
Aug  9 10:42:43 bola kernel: [82473.340284]  ? do_wp_page+0x191/0x6b0
Aug  9 10:42:43 bola kernel: [82473.340287]  ? __handle_mm_fault+0x97b/0xfc0
Aug  9 10:42:43 bola kernel: [82473.340291]  ? SyS_sendmsg+0x7f/0xe0
Aug  9 10:42:43 bola kernel: [82473.340293]  SyS_sendmsg+0x7f/0xe0
Aug  9 10:42:43 bola kernel: [82473.340299]  do_syscall_64+0x6f/0x1c0
Aug  9 10:42:43 bola kernel: [82473.340303]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
Aug  9 10:42:43 bola kernel: [82473.340306] RIP: 0033:0x7f409fe079bd
Aug  9 10:42:43 bola kernel: [82473.340308] RSP: 002b:00007fff3be1de90 EFLAGS: 00000293 ORIG_RAX: 000000000000002e
Aug  9 10:42:43 bola kernel: [82473.340311] RAX: ffffffffffffffda RBX: 00000000021ed7f0 RCX: 00007f409fe079bd
Aug  9 10:42:43 bola kernel: [82473.340312] RDX: 0000000000000000 RSI: 00007fff3be1dec0 RDI: 000000000000000f
Aug  9 10:42:43 bola kernel: [82473.340314] RBP: 00000000022586a0 R08: 0000000000000001 R09: 000000000000000f
Aug  9 10:42:43 bola kernel: [82473.340315] R10: 00007f409fdf17b8 R11: 0000000000000293 R12: 00007fff3be1dec0
Aug  9 10:42:43 bola kernel: [82473.340317] R13: 00000000004a1610 R14: 00000000021e6980 R15: 00000000fffffff4
Aug  9 10:42:43 bola kernel: [82473.340320] Code: 24 04 be a1 00 00 00 e8 97 cf a1 d2 85 c0 74 a2 b8 97 ff ff ff eb 9b 48 8b 03 31 d2 0f b7 40 04 39 43 0c 0f 97 c2 83 c2 02 eb 9f <0f> 0b 48 83 c4 08 b8 ea ff ff ff 5b 5d c3 66 2e 0f 1f 84 00 00 
Aug  9 10:42:43 bola kernel: [82473.340374] ---[ end trace 1f4e2fc801e7df70 ]---
Aug  9 10:42:48 bola ntpdate[14338]: adjust time server 91.189.89.198 offset -0.017576 sec
Aug  9 10:42:49 bola kernel: [82479.341299] ------------[ cut here ]------------
Aug  9 10:42:49 bola kernel: [82479.341343] WARNING: CPU: 1 PID: 4064 at net/wireless/nl80211.c:2524 nl80211_send_chandef+0x118/0x130 [cfg80211]
Aug  9 10:42:49 bola kernel: [82479.341344] Modules linked in: 88XXau(OE) nls_utf8(E) uas(E) ipmi_msghandler(E) pci_stub(E) vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) ctr(E) ccm(E) rfcomm(E) bnep(E) cpufreq_userspace(E) nfsd(E) auth_rpcgss(E) nfs_acl(E) nfs(E) binfmt_misc(E) lockd(E) grace(E) sunrpc(E) fscache(E) uvcvideo(E) videobuf2_vmalloc(E) videobuf2_memops(E) videobuf2_v4l2(E) videobuf2_core(E) videodev(E) media(E) arc4(E) iwlmvm(E) wl(POE) snd_hda_codec_hdmi(E) snd_hda_codec_realtek(E) intel_rapl(E) intel_powerclamp(E) mac80211(E) kvm_intel(E) snd_hda_codec_generic(E) kvm(E) snd_hda_intel(E) btusb(E) btrtl(E) btbcm(E) btintel(E) iwlwifi(E) snd_hda_codec(E) irqbypass(E) punit_atom_debug(E) bluetooth(E) snd_hda_core(E) crct10dif_pclmul(E) crc32_pclmul(E) ghash_clmulni_intel(E) pcbc(E) snd_hwdep(E) snd_pcm_oss(E) snd_mixer_oss(E)
Aug  9 10:42:49 bola kernel: [82479.341402]  snd_pcm(E) ecdh_generic(E) snd_seq_dummy(E) dm_multipath(E) snd_seq_oss(E) snd_seq_midi(E) snd_seq_midi_event(E) aesni_intel(E) aes_x86_64(E) crypto_simd(E) snd_rawmidi(E) cfg80211(E) glue_helper(E) cryptd(E) joydev(E) input_leds(E) snd_seq(E) serio_raw(E) snd_seq_device(E) snd_timer(E) rtsx_pci_ms(E) memstick(E) parport_pc(E) lpc_ich(E) ppdev(E) mei_txe(E) mei(E) snd(E) shpchp(E) soundcore(E) processor_thermal_device(E) int340x_thermal_zone(E) intel_soc_dts_iosf(E) coretemp(E) ufsd(POE) int3400_thermal(E) acpi_thermal_rel(E) tpm_crb(E) mac_hid(E) lp(E) parport(E) zfs(POE) zunicode(POE) zavl(POE) icp(POE) zcommon(POE) znvpair(POE) spl(OE) btrfs(E) xor(E) zstd_decompress(E) zstd_compress(E) xxhash(E) raid6_pq(E) sd_mod(E) rtsx_pci_sdmmc(E) psmouse(E) rtsx_pci(E) r8169(E) mii(E) ahci(E)
Aug  9 10:42:49 bola kernel: [82479.341472]  libahci(E) wmi(E) [last unloaded: 8812au]
Aug  9 10:42:49 bola kernel: [82479.341480] CPU: 1 PID: 4064 Comm: NetworkManager Tainted: P        W  OE   4.14.23-ck1-mainline-core2-rjvb #1
Aug  9 10:42:49 bola kernel: [82479.341482] Hardware name: Notebook                         W510LU/W510LU, BIOS 5.11 10/21/2015
Aug  9 10:42:49 bola kernel: [82479.341484] task: ffff9a4aa2ba9ac0 task.stack: ffffa97cc49bc000
Aug  9 10:42:49 bola kernel: [82479.341508] RIP: 0010:nl80211_send_chandef+0x118/0x130 [cfg80211]
Aug  9 10:42:49 bola kernel: [82479.341510] RSP: 0018:ffffa97cc49bfa20 EFLAGS: 00010246
Aug  9 10:42:49 bola kernel: [82479.341513] RAX: 0000000000000000 RBX: ffffa97cc49bfa58 RCX: 0000000000000000
Aug  9 10:42:49 bola kernel: [82479.341515] RDX: 000000000000161c RSI: ffffa97cc49bfa58 RDI: ffffa97cc49bfa58
Aug  9 10:42:49 bola kernel: [82479.341516] RBP: ffff9a4a8a38f600 R08: ffff9a4a99c1af48 R09: ffff9a4a99c19400
Aug  9 10:42:49 bola kernel: [82479.341518] R10: 0000000000000004 R11: 0000000000000000 R12: ffffa97cc49bfa58
Aug  9 10:42:49 bola kernel: [82479.341519] R13: ffff9a4a99c19000 R14: ffff9a4a46d98014 R15: ffff9a4a99c19300
Aug  9 10:42:49 bola kernel: [82479.341522] FS:  00007f40a284d840(0000) GS:ffff9a4abfc80000(0000) knlGS:0000000000000000
Aug  9 10:42:49 bola kernel: [82479.341523] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug  9 10:42:49 bola kernel: [82479.341525] CR2: 0000000002203a00 CR3: 000000025355a000 CR4: 00000000001006e0
Aug  9 10:42:49 bola kernel: [82479.341527] Call Trace:
Aug  9 10:42:49 bola kernel: [82479.341558]  nl80211_send_iface+0x434/0x4e0 [cfg80211]
Aug  9 10:42:49 bola kernel: [82479.341584]  nl80211_get_interface+0x4b/0xa0 [cfg80211]
Aug  9 10:42:49 bola kernel: [82479.341592]  genl_family_rcv_msg+0x19a/0x430
Aug  9 10:42:49 bola kernel: [82479.341599]  ? wake_up_q+0x70/0x70
Aug  9 10:42:49 bola kernel: [82479.341602]  genl_rcv_msg+0x47/0x90
Aug  9 10:42:49 bola kernel: [82479.341605]  ? genl_family_rcv_msg+0x430/0x430
Aug  9 10:42:49 bola kernel: [82479.341611]  netlink_rcv_skb+0x99/0x130
Aug  9 10:42:49 bola kernel: [82479.341615]  genl_rcv+0x24/0x40
Aug  9 10:42:49 bola kernel: [82479.341618]  netlink_unicast+0x41f/0x4a0
Aug  9 10:42:49 bola kernel: [82479.341623]  ? __alloc_skb+0x8d/0x2c0
Aug  9 10:42:49 bola kernel: [82479.341626]  netlink_sendmsg+0x27c/0x3f0
Aug  9 10:42:49 bola kernel: [82479.341631]  ___sys_sendmsg+0x3dc/0x480
Aug  9 10:42:49 bola kernel: [82479.341638]  ? poll_select_copy_remaining+0x190/0x190
Aug  9 10:42:49 bola kernel: [82479.341643]  ? _raw_spin_unlock+0x16/0x30
Aug  9 10:42:49 bola kernel: [82479.341646]  ? do_wp_page+0x191/0x6b0
Aug  9 10:42:49 bola kernel: [82479.341649]  ? __handle_mm_fault+0x97b/0xfc0
Aug  9 10:42:49 bola kernel: [82479.341653]  ? SyS_sendmsg+0x7f/0xe0
Aug  9 10:42:49 bola kernel: [82479.341655]  SyS_sendmsg+0x7f/0xe0
Aug  9 10:42:49 bola kernel: [82479.341661]  do_syscall_64+0x6f/0x1c0
Aug  9 10:42:49 bola kernel: [82479.341664]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
Aug  9 10:42:49 bola kernel: [82479.341668] RIP: 0033:0x7f409fe079bd
Aug  9 10:42:49 bola kernel: [82479.341669] RSP: 002b:00007fff3be1de90 EFLAGS: 00000293 ORIG_RAX: 000000000000002e
Aug  9 10:42:49 bola kernel: [82479.341672] RAX: ffffffffffffffda RBX: 00000000021ed7f0 RCX: 00007f409fe079bd
Aug  9 10:42:49 bola kernel: [82479.341673] RDX: 0000000000000000 RSI: 00007fff3be1dec0 RDI: 000000000000000f
Aug  9 10:42:49 bola kernel: [82479.341675] RBP: 00000000022586a0 R08: 0000000000000001 R09: 000000000000000f
Aug  9 10:42:49 bola kernel: [82479.341676] R10: 00007f409fdf17b8 R11: 0000000000000293 R12: 00007fff3be1dec0
Aug  9 10:42:49 bola kernel: [82479.341678] R13: 00000000004a1610 R14: 00000000021e6980 R15: 00000000fffffff4
Aug  9 10:42:49 bola kernel: [82479.341681] Code: 24 04 be a1 00 00 00 e8 97 cf a1 d2 85 c0 74 a2 b8 97 ff ff ff eb 9b 48 8b 03 31 d2 0f b7 40 04 39 43 0c 0f 97 c2 83 c2 02 eb 9f <0f> 0b 48 83 c4 08 b8 ea ff ff ff 5b 5d c3 66 2e 0f 1f 84 00 00 
Aug  9 10:42:49 bola kernel: [82479.341737] ---[ end trace 1f4e2fc801e7df71 ]---
Aug  9 10:42:54 bola wpa_supplicant[4776]: wlan3: CTRL-EVENT-SCAN-STARTED 
Aug  9 10:42:58 bola kernel: [82487.989081] ------------[ cut here ]------------
Aug  9 10:42:58 bola kernel: [82487.989144] WARNING: CPU: 1 PID: 4064 at net/wireless/nl80211.c:2524 nl80211_send_chandef+0x118/0x130 [cfg80211]
Aug  9 10:42:58 bola kernel: [82487.989146] Modules linked in: 88XXau(OE) nls_utf8(E) uas(E) ipmi_msghandler(E) pci_stub(E) vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) ctr(E) ccm(E) rfcomm(E) bnep(E) cpufreq_userspace(E) nfsd(E) auth_rpcgss(E) nfs_acl(E) nfs(E) binfmt_misc(E) lockd(E) grace(E) sunrpc(E) fscache(E) uvcvideo(E) videobuf2_vmalloc(E) videobuf2_memops(E) videobuf2_v4l2(E) videobuf2_core(E) videodev(E) media(E) arc4(E) iwlmvm(E) wl(POE) snd_hda_codec_hdmi(E) snd_hda_codec_realtek(E) intel_rapl(E) intel_powerclamp(E) mac80211(E) kvm_intel(E) snd_hda_codec_generic(E) kvm(E) snd_hda_intel(E) btusb(E) btrtl(E) btbcm(E) btintel(E) iwlwifi(E) snd_hda_codec(E) irqbypass(E) punit_atom_debug(E) bluetooth(E) snd_hda_core(E) crct10dif_pclmul(E) crc32_pclmul(E) ghash_clmulni_intel(E) pcbc(E) snd_hwdep(E) snd_pcm_oss(E) snd_mixer_oss(E)
Aug  9 10:42:58 bola kernel: [82487.989211]  snd_pcm(E) ecdh_generic(E) snd_seq_dummy(E) dm_multipath(E) snd_seq_oss(E) snd_seq_midi(E) snd_seq_midi_event(E) aesni_intel(E) aes_x86_64(E) crypto_simd(E) snd_rawmidi(E) cfg80211(E) glue_helper(E) cryptd(E) joydev(E) input_leds(E) snd_seq(E) serio_raw(E) snd_seq_device(E) snd_timer(E) rtsx_pci_ms(E) memstick(E) parport_pc(E) lpc_ich(E) ppdev(E) mei_txe(E) mei(E) snd(E) shpchp(E) soundcore(E) processor_thermal_device(E) int340x_thermal_zone(E) intel_soc_dts_iosf(E) coretemp(E) ufsd(POE) int3400_thermal(E) acpi_thermal_rel(E) tpm_crb(E) mac_hid(E) lp(E) parport(E) zfs(POE) zunicode(POE) zavl(POE) icp(POE) zcommon(POE) znvpair(POE) spl(OE) btrfs(E) xor(E) zstd_decompress(E) zstd_compress(E) xxhash(E) raid6_pq(E) sd_mod(E) rtsx_pci_sdmmc(E) psmouse(E) rtsx_pci(E) r8169(E) mii(E) ahci(E)
Aug  9 10:42:58 bola kernel: [82487.989272]  libahci(E) wmi(E) [last unloaded: 8812au]
Aug  9 10:42:58 bola kernel: [82487.989280] CPU: 1 PID: 4064 Comm: NetworkManager Tainted: P        W  OE   4.14.23-ck1-mainline-core2-rjvb #1
Aug  9 10:42:58 bola kernel: [82487.989281] Hardware name: Notebook                         W510LU/W510LU, BIOS 5.11 10/21/2015
Aug  9 10:42:58 bola kernel: [82487.989284] task: ffff9a4aa2ba9ac0 task.stack: ffffa97cc49bc000
Aug  9 10:42:58 bola kernel: [82487.989311] RIP: 0010:nl80211_send_chandef+0x118/0x130 [cfg80211]
Aug  9 10:42:58 bola kernel: [82487.989314] RSP: 0018:ffffa97cc49bfa20 EFLAGS: 00010246
Aug  9 10:42:58 bola kernel: [82487.989317] RAX: 0000000000000000 RBX: ffffa97cc49bfa58 RCX: 0000000000000000
Aug  9 10:42:58 bola kernel: [82487.989319] RDX: 000000000000161c RSI: ffffa97cc49bfa58 RDI: ffffa97cc49bfa58
Aug  9 10:42:58 bola kernel: [82487.989321] RBP: ffff9a4a7acc2000 R08: ffff9a4a99c1af48 R09: ffff9a4a99c19400
Aug  9 10:42:58 bola kernel: [82487.989322] R10: 0000000000000004 R11: 0000000000000000 R12: ffffa97cc49bfa58
Aug  9 10:42:58 bola kernel: [82487.989324] R13: ffff9a4a99c19000 R14: ffff9a4966ebd014 R15: ffff9a4a99c19300
Aug  9 10:42:58 bola kernel: [82487.989327] FS:  00007f40a284d840(0000) GS:ffff9a4abfc80000(0000) knlGS:0000000000000000
Aug  9 10:42:58 bola kernel: [82487.989329] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug  9 10:42:58 bola kernel: [82487.989330] CR2: 00007fff3be1cd68 CR3: 000000025355a000 CR4: 00000000001006e0
Aug  9 10:42:58 bola kernel: [82487.989332] Call Trace:
Aug  9 10:42:58 bola kernel: [82487.989365]  nl80211_send_iface+0x434/0x4e0 [cfg80211]
Aug  9 10:42:58 bola kernel: [82487.989392]  nl80211_get_interface+0x4b/0xa0 [cfg80211]
Aug  9 10:42:58 bola kernel: [82487.989400]  genl_family_rcv_msg+0x19a/0x430
Aug  9 10:42:58 bola kernel: [82487.989407]  ? wake_up_q+0x70/0x70
Aug  9 10:42:58 bola kernel: [82487.989409]  genl_rcv_msg+0x47/0x90
Aug  9 10:42:58 bola kernel: [82487.989412]  ? genl_family_rcv_msg+0x430/0x430
Aug  9 10:42:58 bola kernel: [82487.989415]  netlink_rcv_skb+0x99/0x130
Aug  9 10:42:58 bola kernel: [82487.989420]  genl_rcv+0x24/0x40
Aug  9 10:42:58 bola kernel: [82487.989423]  netlink_unicast+0x41f/0x4a0
Aug  9 10:42:58 bola kernel: [82487.989428]  ? __alloc_skb+0x8d/0x2c0
Aug  9 10:42:58 bola kernel: [82487.989431]  netlink_sendmsg+0x27c/0x3f0
Aug  9 10:42:58 bola kernel: [82487.989436]  ___sys_sendmsg+0x3dc/0x480
Aug  9 10:42:58 bola kernel: [82487.989444]  ? poll_select_copy_remaining+0x190/0x190
Aug  9 10:42:58 bola kernel: [82487.989449]  ? _raw_spin_unlock+0x16/0x30
Aug  9 10:42:58 bola kernel: [82487.989452]  ? do_wp_page+0x191/0x6b0
Aug  9 10:42:58 bola kernel: [82487.989456]  ? __handle_mm_fault+0x97b/0xfc0
Aug  9 10:42:58 bola kernel: [82487.989460]  ? SyS_sendmsg+0x7f/0xe0
Aug  9 10:42:58 bola kernel: [82487.989462]  SyS_sendmsg+0x7f/0xe0
Aug  9 10:42:58 bola kernel: [82487.989468]  do_syscall_64+0x6f/0x1c0
Aug  9 10:42:58 bola kernel: [82487.989471]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
Aug  9 10:42:58 bola kernel: [82487.989475] RIP: 0033:0x7f409fe079bd
Aug  9 10:42:58 bola kernel: [82487.989477] RSP: 002b:00007fff3be1d3f0 EFLAGS: 00000293 ORIG_RAX: 000000000000002e
Aug  9 10:42:58 bola kernel: [82487.989480] RAX: ffffffffffffffda RBX: 00000000021ed7f0 RCX: 00007f409fe079bd
Aug  9 10:42:58 bola kernel: [82487.989482] RDX: 0000000000000000 RSI: 00007fff3be1d420 RDI: 000000000000000f
Aug  9 10:42:58 bola kernel: [82487.989483] RBP: 000000000220c140 R08: 0000000000000001 R09: 000000000000000f
Aug  9 10:42:58 bola kernel: [82487.989485] R10: 00007f409fdf17b8 R11: 0000000000000293 R12: 00007fff3be1d420
Aug  9 10:42:58 bola kernel: [82487.989486] R13: 00000000004a1610 R14: 00000000021e6980 R15: 00000000fffffff4
Aug  9 10:42:58 bola kernel: [82487.989490] Code: 24 04 be a1 00 00 00 e8 97 cf a1 d2 85 c0 74 a2 b8 97 ff ff ff eb 9b 48 8b 03 31 d2 0f b7 40 04 39 43 0c 0f 97 c2 83 c2 02 eb 9f <0f> 0b 48 83 c4 08 b8 ea ff ff ff 5b 5d c3 66 2e 0f 1f 84 00 00 
Aug  9 10:42:58 bola kernel: [82487.989544] ---[ end trace 1f4e2fc801e7df72 ]---
Aug  9 10:43:00 bola NetworkManager[4064]: <info> (wlan3): IP6 addrconf timed out or failed.

That one I haven't figured out yet. It's a priority though. @fariouche got time to look into this one too?

I have yet to test the 5GHz. This should be possible soon, just have to find time to configure hostapd

norrowed it down to a regression between commits 6e7c354a9514a9420e8abd1b0c5fec92b43856e4 and 88301eb45a2daef777878eedeb9d79ca23ff34c3

I do not know the exact commit yet :)
(the hashes are from my branch)

I'm almost certain it is this one https://github.com/aircrack-ng/rtl8812au/commit/8132170418095e4815348b6cee4eb92d5182cf60 will check it when I'm back from work, if it needs to be removed again or reworked somehow

Another commit that's related to the "get channel" function is the commit https://github.com/aircrack-ng/rtl8812au/commit/b39cd0827cd20bad2b17636ae181fd0289a750c5

Merging fix for the "get_channel" function which also was causing kernel regression.
Thanks for the notice on this @RJVB

  • Fix the get_channel function also causing kernel regression

Next priority should be the 8814au streams count, supporting 4 but only running on 1.

branch v5.2.20: iw (phy3) info shows:

    VHT Capabilities (0x03c15bb2):
        Max MPDU length: 11454
        Supported Channel Width: neither 160 nor 80+80
        RX LDPC
        short GI (80 MHz)
        TX STBC
        SU Beamformer
        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

While the branch v5.1.5 output:

    VHT Capabilities (0x03c053b2):
        Max MPDU length: 11454
        Supported Channel Width: neither 160 nor 80+80
        RX LDPC
        short GI (80 MHz)
        TX STBC
        SU Beamformee
        +HTC-VHT
    VHT RX MCS set:
        1 streams: MCS 0-9
        2 streams: MCS 0-9
        3 streams: MCS 0-9
        4 streams: not supported
        5 streams: not supported
        6 streams: not supported
        7 streams: not supported
        8 streams: not supported
    VHT RX highest supported: 1300 Mbps
    VHT TX MCS set:
        1 streams: MCS 0-9
        2 streams: MCS 0-9
        3 streams: MCS 0-9
        4 streams: not supported
        5 streams: not supported
        6 streams: not supported
        7 streams: not supported
        8 streams: not supported
    VHT TX highest supported: 1300 Mbps

Merged another minor commit.

  • Removed redundant code already present in SetHwReg881XAU in usb_halinit.c

Well, that indeed got rid of the syslog pollution, thanks!

But now that fariouche appears to get the possibility to check 5Ghz networks, maybe you guys can figure out why

  • after loading the driver (or waking the host from sleep) my 5Ghz networks don't show up in the NetworkManager ...
  • until after I've connected to and disconnected from a 2.4Ghz network
  • and dis/reconnected the device once so that connecting to a 5Ghz network doesn't time out

to be sure: you are using it in station mode (ie, not as an AP), right?

yeah, to access the WAN over a 5Gh network provided by my modem. That's how I'm replying to this (after jumping through the hoops outlined above).

I think the 8812 device I have doesn't support acting as an access point, at least not in 5Gh mode.

ok, I think something is not right maybe....
In my case, with my 8812 chipset, using the command line, I cannot reproduce the problem when using:
iwlist wlan0 scanning

I can see 5G networks.
But:
iw wlan0 scan
Show nothing at all

Can you try both commands line and see what are the outputs in your case?

iwlist wlan0 scanning

$> sudo iwlist wlan3 scanning
wlan3     Scan completed :
          Cell 01 - Address: 10:9A:DD:83:41:85
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=18/70  Signal level=-92 dBm  
                    Encryption key:on
                    ESSID:"RXOOM-tCAP-834185"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000074df354b85
                    Extra: Last beacon: 90ms ago
                    IE: Unknown: 001152584F4F4D2D744341502D383334313835
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030101
                    IE: Unknown: 0706465220010D1E
                    IE: Unknown: 2A0100
                    IE: Unknown: 32043048606C
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 2D1AAC4117FFFFFF0000000000000000000000000000000000000000
                    IE: Unknown: 3D1601000400000000000000000000000000000000000000
                    IE: Unknown: 46050200010000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101010003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0700039301710320
                    IE: Unknown: DD0E0017F20700010106109ADD834185
          Cell 02 - Address: 30:7C:B2:35:21:17
                    Channel:13
                    Frequency:2.472 GHz (Channel 13)
                    Quality=36/70  Signal level=-74 dBm  
                    Encryption key:on
                    ESSID:"Livebox-69d0"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000074df354b91
                    Extra: Last beacon: 90ms ago
                    IE: Unknown: 000C4C697665626F782D36396430
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 03010D
                    IE: Unknown: 0706465220010D14
                    IE: Unknown: 2A0100
                    IE: Unknown: 32043048606C
                    IE: Unknown: 2D1AAD011BFFFF0000000000000000000000000000000406E4A70C00
                    IE: Unknown: 331AAD011BFFFF0000000000000000000000000000000406E4A70C00
                    IE: Unknown: 3D160D080400000000000000000000000000000000000000
                    IE: Unknown: 34160D080400000000000000000000000000000000000000
                    IE: Unknown: DD180050F20201018C0003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD8F0050F204104A0001101044000102103B000103104700103B383F4B4A3AFB3DFA39393F3B383F4B10210008536167656D636F6D10230016536167656D636F6D46617374333936355F4C42322E381024000C53475F4C42335F312E322E3410420009414E313730303446461054000800060050F204000110110000100800020006103C0001011049000600372A000120
          Cell 03 - Address: 12:7C:B2:35:21:17
                    Channel:13
                    Frequency:2.472 GHz (Channel 13)
                    Quality=38/70  Signal level=-72 dBm  
                    Encryption key:off
                    ESSID:"orange"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000074df354b96
                    Extra: Last beacon: 90ms ago
                    IE: Unknown: 00066F72616E6765
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 03010D
                    IE: Unknown: 0706465220010D14
                    IE: Unknown: 2A0100
                    IE: Unknown: 32043048606C
                    IE: Unknown: 2D1AAD011BFFFF0000000000000000000000000000000406E4A70C00
                    IE: Unknown: 331AAD011BFFFF0000000000000000000000000000000406E4A70C00
                    IE: Unknown: 3D160D080400000000000000000000000000000000000000
                    IE: Unknown: 34160D080400000000000000000000000000000000000000
                    IE: Unknown: DD180050F20201018C0003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0900037F01010000FF7F

I can see 5G networks.

But:
iw wlan0 scan

%> sudo iw wlan3 scan
BSS 10:9a:dd:83:41:85 (on wlan3)
        TSF: 502073267042 usec (5d, 19:27:53)
        freq: 2412
        beacon interval: 100
        capability: ESS Privacy ShortPreamble ShortSlotTime (0x1431)
        signal: -88.00 dBm
        last seen: 0 ms ago
        SSID: RXOOM-tCAP-834185
        Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 
        DS Parameter set: channel 1
        Country: FR     Environment: Indoor/Outdoor
                Channels [1 - 13] @ 30 dBm
        ERP: <no flags>
        Extended supported rates: 24.0 36.0 48.0 54.0 
        RSN:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: CCMP TKIP
                 * Authentication suites: PSK
                 * Capabilities: (0x0000)
        HT capabilities:
                Capabilities: 0x41ac
                        HT20
                        SM Power Save disabled
                        RX HT20 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                        40 MHz Intolerant
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 4 usec (0x05)
                HT RX MCS rate indexes supported: 0-23
                HT TX MCS rate indexes are undefined
        HT operation:
                 * primary channel: 1
                 * secondary channel offset: no secondary
                 * STA channel width: 20 MHz
                 * RIFS: 0
                 * HT protection: no
                 * non-GF present: 1
                 * OBSS non-GF present: 0
                 * dual beacon: 0
                 * dual CTS protection: 0
                 * STBC beacon: 0
                 * L-SIG TXOP Prot: 0
                 * PCO active: 0
                 * PCO phase: 0
        WPA:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: TKIP
                 * Authentication suites: PSK
        WMM:     * Parameter version 1
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS 30:7c:b2:35:21:17 (on wlan3)
        TSF: 502073267052 usec (5d, 19:27:53)
        freq: 2472
        beacon interval: 100
        capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
        signal: -78.00 dBm
        last seen: 0 ms ago
        Information elements from Probe Response frame:
        SSID: Livebox-69d0
        Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 
        DS Parameter set: channel 13
        Country: FR     Environment: Indoor/Outdoor
                Channels [1 - 13] @ 20 dBm
        ERP: <no flags>
        Extended supported rates: 24.0 36.0 48.0 54.0 
        HT capabilities:
                Capabilities: 0x1ad
                        RX LDPC
                        HT20
                        SM Power Save disabled
                        RX HT20 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 8 usec (0x06)
                HT RX MCS rate indexes supported: 0-15
                HT TX MCS rate indexes are undefined
        HT operation:
                 * primary channel: 13
                 * secondary channel offset: no secondary
                 * STA channel width: 20 MHz
                 * RIFS: 1
                 * HT protection: no
                 * non-GF present: 1
                 * OBSS non-GF present: 0
                 * dual beacon: 0
                 * dual CTS protection: 0
                 * STBC beacon: 0
                 * L-SIG TXOP Prot: 0
                 * PCO active: 0
                 * PCO phase: 0
        WMM:     * Parameter version 1
                 * u-APSD
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
        RSN:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: CCMP TKIP
                 * Authentication suites: PSK
                 * Capabilities: 16-PTKSA-RC (0x000c)
        WPA:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: CCMP TKIP
                 * Authentication suites: PSK
        WPS:     * Version: 1.0
                 * Wi-Fi Protected Setup State: 2 (Configured)
                 * Response Type: 3 (AP)
                 * UUID: 3b383f4b-4a3a-fb3d-fa39-393f3b383f4b
                 * Manufacturer: Sagemcom
                 * Model: SagemcomFast3965_LB2.8
                 * Model Number: SG_LB3_1.2.4
                 * Serial Number: AN17004FF
                 * Primary Device Type: 6-0050f204-1
                 * Device name: 
                 * Config methods: Ethernet, Label
                 * RF Bands: 0x1
                 * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20
BSS 12:7c:b2:35:21:17 (on wlan3)
        TSF: 502073267050 usec (5d, 19:27:53)
        freq: 2472
        beacon interval: 100
        capability: ESS ShortPreamble ShortSlotTime (0x0421)
        signal: -78.00 dBm
        last seen: 0 ms ago
        Information elements from Probe Response frame:
        SSID: orange
        Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 
        DS Parameter set: channel 13
        Country: FR     Environment: Indoor/Outdoor
                Channels [1 - 13] @ 20 dBm
        ERP: <no flags>
        Extended supported rates: 24.0 36.0 48.0 54.0 
        HT capabilities:
                Capabilities: 0x1ad
                        RX LDPC
                        HT20
                        SM Power Save disabled
                        RX HT20 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 8 usec (0x06)
                HT RX MCS rate indexes supported: 0-15
                HT TX MCS rate indexes are undefined
        HT operation:
                 * primary channel: 13
                 * secondary channel offset: no secondary
                 * STA channel width: 20 MHz
                 * RIFS: 1
                 * HT protection: no
                 * non-GF present: 1
                 * OBSS non-GF present: 0
                 * dual beacon: 0
                 * dual CTS protection: 0
                 * STBC beacon: 0
                 * L-SIG TXOP Prot: 0
                 * PCO active: 0
                 * PCO phase: 0
        WMM:     * Parameter version 1
                 * u-APSD
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec

After connecting and disconnecting once to a 2.4Ghz network (on wlan3), the 5Ghz networks show up as I'm now expecting they would. However, today I can't connect to them no matter how often I try (timeouts...)

iwlist:

          Cell 04 - Address: 10:9A:DD:83:41:86
                    Channel:60
                    Frequency:5.3 GHz (Channel 60)
                    Quality=30/70  Signal level=-80 dBm  
                    Encryption key:on
                    ESSID:"RXOOM-tCAP-834185-5GHz"
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000074f180f068
                    Extra: Last beacon: 0ms ago
                    IE: Unknown: 001652584F4F4D2D744341502D3833343138352D3547487A
                    IE: Unknown: 01088C129824B048606C
                    IE: Unknown: 03013C
                    IE: Unknown: 050401030000
                    IE: Unknown: 070C46522024081E64051E84031E
                    IE: Unknown: 200100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 2D1AEE0117FFFFFF0000000000000000000000000000000000000000
                    IE: Unknown: 3D163C050000000000000000000000000000000000000000
                    IE: Unknown: 46050200010000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101010003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0700039301710320
                    IE: Unknown: DD0E0017F20700010106109ADD834185
          Cell 05 - Address: 30:7C:B2:35:21:18
                    Channel:132
                    Frequency:5.66 GHz (Channel 132)
                    Quality=49/70  Signal level=-61 dBm  
                    Encryption key:on
                    ESSID:"Livebox-69d0-5Ghz"
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000074f180f06a
                    Extra: Last beacon: 0ms ago
                    IE: Unknown: 00114C697665626F782D363964302D3547687A
                    IE: Unknown: 01088C129824B048606C
                    IE: Unknown: 030184
                    IE: Unknown: 050402030000
                    IE: Unknown: 07344652202401172801172C01173001173401173801173C01174001176401176801176C01177001177401178401178801178C011700
                    IE: Unknown: 200100
                    IE: Unknown: 2D1AEF011BFFFFFF00000000000000000000000000000406E4470D00
                    IE: Unknown: 3D16840D0400000000000000000000000000000000000000
                    IE: Unknown: DD180050F2020101820003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD1D0050F204104A0001101044000102103C0001021049000600372A000120

iw:

BSS 10:9a:dd:83:41:86 (on wlan3)
    TSF: 502276841593 usec (5d, 19:31:16)
    freq: 5300
    beacon interval: 100
    capability: ESS Privacy SpectrumMgmt ShortSlotTime (0x1511)
    signal: -80.00 dBm
    last seen: 0 ms ago
    Information elements from Probe Response frame:
    SSID: RXOOM-tCAP-834185-5GHz
    Supported rates: 6.0* 9.0 12.0* 18.0 24.0* 36.0 48.0 54.0 
    DS Parameter set: channel 60
    TIM: DTIM Count 2 DTIM Period 3 Bitmap Control 0x0 Bitmap[0] 0x0
    Country: FR Environment: Indoor/Outdoor
        Channels [36 - 64] @ 30 dBm
        Channels [100 - 116] @ 30 dBm
        Channels [132 - 140] @ 30 dBm
    Power constraint: 0 dB
    RSN:     * Version: 1
         * Group cipher: TKIP
         * Pairwise ciphers: CCMP TKIP
         * Authentication suites: PSK
         * Capabilities: (0x0000)
    HT capabilities:
        Capabilities: 0x1ee
            HT20/HT40
            SM Power Save disabled
            RX HT20 SGI
            RX HT40 SGI
            TX STBC
            RX STBC 1-stream
            Max AMSDU length: 3839 bytes
            No DSSS/CCK HT40
        Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
        Minimum RX AMPDU time spacing: 4 usec (0x05)
        HT RX MCS rate indexes supported: 0-23
        HT TX MCS rate indexes are undefined
    HT operation:
         * primary channel: 60
         * secondary channel offset: above
         * STA channel width: any
         * RIFS: 0
         * HT protection: no
         * non-GF present: 0
         * OBSS non-GF present: 0
         * dual beacon: 0
         * dual CTS protection: 0
         * STBC beacon: 0
         * L-SIG TXOP Prot: 0
         * PCO active: 0
         * PCO phase: 0
    WPA:     * Version: 1
         * Group cipher: TKIP
         * Pairwise ciphers: TKIP
         * Authentication suites: PSK
    WMM:     * Parameter version 1
         * BE: CW 15-1023, AIFSN 3
         * BK: CW 15-1023, AIFSN 7
         * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
         * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS 30:7c:b2:35:21:18 (on wlan3)
    TSF: 502276841596 usec (5d, 19:31:16)
    freq: 5660
    beacon interval: 100
    capability: ESS Privacy SpectrumMgmt ShortSlotTime (0x0511)
    signal: -61.00 dBm
    last seen: 0 ms ago
    Information elements from Probe Response frame:
    SSID: Livebox-69d0-5Ghz
    Supported rates: 6.0* 9.0 12.0* 18.0 24.0* 36.0 48.0 54.0 
    DS Parameter set: channel 132
    TIM: DTIM Count 2 DTIM Period 3 Bitmap Control 0x0 Bitmap[0] 0x0
    Country: FR Environment: Indoor/Outdoor
        Channels [36 - 36] @ 23 dBm
        Channels [40 - 40] @ 23 dBm
        Channels [44 - 44] @ 23 dBm
        Channels [48 - 48] @ 23 dBm
        Channels [52 - 52] @ 23 dBm
        Channels [56 - 56] @ 23 dBm
        Channels [60 - 60] @ 23 dBm
        Channels [64 - 64] @ 23 dBm
        Channels [100 - 100] @ 23 dBm
        Channels [104 - 104] @ 23 dBm
        Channels [108 - 108] @ 23 dBm
        Channels [112 - 112] @ 23 dBm
        Channels [116 - 116] @ 23 dBm
        Channels [132 - 132] @ 23 dBm
        Channels [136 - 136] @ 23 dBm
        Channels [140 - 140] @ 23 dBm
    Power constraint: 0 dB
    HT capabilities:
        Capabilities: 0x1ef
            RX LDPC
            HT20/HT40
            SM Power Save disabled
            RX HT20 SGI
            RX HT40 SGI
            TX STBC
            RX STBC 1-stream
            Max AMSDU length: 3839 bytes
            No DSSS/CCK HT40
        Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
        Minimum RX AMPDU time spacing: 8 usec (0x06)
        HT RX MCS rate indexes supported: 0-23
        HT TX MCS rate indexes are undefined
    HT operation:
         * primary channel: 132
         * secondary channel offset: above
         * STA channel width: any
         * RIFS: 1
         * HT protection: no
         * non-GF present: 1
         * OBSS non-GF present: 0
         * dual beacon: 0
         * dual CTS protection: 0
         * STBC beacon: 0
         * L-SIG TXOP Prot: 0
         * PCO active: 0
         * PCO phase: 0
    WMM:     * Parameter version 1
         * u-APSD
         * BE: CW 15-1023, AIFSN 3
         * BK: CW 15-1023, AIFSN 7
         * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
         * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
    RSN:     * Version: 1
         * Group cipher: TKIP
         * Pairwise ciphers: CCMP TKIP
         * Authentication suites: PSK
         * Capabilities: 16-PTKSA-RC (0x000c)
    WPA:     * Version: 1
         * Group cipher: TKIP
         * Pairwise ciphers: CCMP TKIP
         * Authentication suites: PSK
    WPS:     * Version: 1.0
         * Wi-Fi Protected Setup State: 2 (Configured)
         * RF Bands: 0x2
         * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20

ok, so I have to found what are the differences between iw and iwlist. The solution lies here I think

Another merge was done! @fariouche fixed the spatial streams on the 8814au and VHT MP HW MODE was enabled on all chipsets. And others..

  • 8814au: the spatial streams is fixed, which enabled the 8814au chipset to support 1300 mbps
  • VHT MP HW MODE is enabled for all chipsets
  • Reinstated: Fix interface rename error
  • Fixed crash when debug flag is set

I may have found something that may explain @RJVB issues.
The function PHY_SwitchWirelessBand8812() (./hal/rtl8812a/rtl8812a_phycfg.c) has 2 code that is commented, related to the 8821 chip not handling antenna diversity.
It was commented by me because the function phydm_set_ext_band_switch_8821a() does not exist.
I have to reconstruct it by looking at a previous 5.1.5 code

Then you pinpointed the issue, that's great.
another great commit may be seen here https://github.com/aircrack-ng/aircrack-ng/commit/3cc9de5e7cbe6565c7e1fe12ebbcf2c6f7413c8d and here https://github.com/aircrack-ng/aircrack-ng/commit/b30a962ec20dc16501359c0aca21eda723e3f7ac

Next aircrack-ng version will have this driver supported, even though we lack the virtual Interface support.

IIRC the 5.1.5 driver version indeed didn't have the issue where 5Gh networks wouldn't appear, so this sounds promising!

unfortunately, this part of the code is the same :(
I'm currently investigating why I cannot use iw scan (but iwlist works)... I do not see any obvious difference between the two kernel interfaces, but I see a difference in behavior (I have a scan timeout that is longer when using iw...)
This part of the code does not have any traces, so I have to dig more and maybe the issue is the same as with network manager

On Tuesday August 14 2018 04:57:30 fariouche wrote:

This part of the code does not have any traces, so I have to dig more and maybe the issue is the same as with network manager

If so you should be able to get iw to work if you insist enough with unloading/reloading the driver, dis/reconnecting the device etc.

But note that iw gave output for me despite the fact that 5Gh networks weren't showing up.

This really looks like an initialisation problem to me, of something that's initialised when the driver is 1st loaded, gets trashed when suspending the computer and then not reinitialised until after you disconnect from any network you managed to connect to. After that, something else needs to be reset by dis/reconnecting the device in order to avoid the connection timeout issue.

2 changes has been merged.

  • fixed scan timeout interfering with normal scan
  • minor debug trace fix

The v5.2.20.2 is now pushed to Kali Linux.
@aircrack-ng may you put the standard branch to v5.2.20 ? It would be great, we'll try keep on smashing bugs

I believe that the "fixed scan timeout interfering with normal scan" may resolve @RJVB issue.

This driver should be as good as it may be. It's pushed to Kali repos.
Heading over too look at the v5.3.4.

Was this page helpful?
0 / 5 - 0 ratings