Rtl8812au wifi stick on Archer C7 v2

I have problems to run a ASUS USB-AC56 usb wifi stick with realtek 8812au in station mode.

At home on my TP-Link C2600 I am shure, I could make a scan over luci webinterface.

Now on a Archer C7 v2 with ath79 target it is not possible any more. I don't get any results.

I installed the same kmod-rtl8812au-ct package - but now for ath79/mips_24kc.

I tried to do a manual scan from command line, how it is written there: https://openwrt.org/faq/how_to_scan_for_wireless_networks

root@Gate:~# iw phy phy0 interface add scan0 type station
command failed: No such device (-19)

The phy interface must be the right one, because it is dual band

root@Gate:~# iw phy phy0 info
Wiphy phy0
	max # scan SSIDs: 9
	max scan IEs length: 2304 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Supported Ciphers:
		* WEP40 (00-0f-ac:1)
		* WEP104 (00-0f-ac:5)
		* TKIP (00-0f-ac:2)
		* CCMP-128 (00-0f-ac:4)
	Available Antennas: TX 0 RX 0
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * monitor
		 * P2P-client
		 * P2P-GO
	Band 1:
		Bitrates (non-HT):
			* 1.0 Mbps
			* 2.0 Mbps
			* 5.5 Mbps
			* 11.0 Mbps
			* 6.0 Mbps
			* 9.0 Mbps
			* 12.0 Mbps
			* 18.0 Mbps
			* 24.0 Mbps
			* 36.0 Mbps
			* 48.0 Mbps
			* 54.0 Mbps
		Frequencies:
			* 2412 MHz [1] (20.0 dBm)
			* 2417 MHz [2] (20.0 dBm)
			* 2422 MHz [3] (20.0 dBm)
			* 2427 MHz [4] (20.0 dBm)
			* 2432 MHz [5] (20.0 dBm)
			* 2437 MHz [6] (20.0 dBm)
			* 2442 MHz [7] (20.0 dBm)
			* 2447 MHz [8] (20.0 dBm)
			* 2452 MHz [9] (20.0 dBm)
			* 2457 MHz [10] (20.0 dBm)
			* 2462 MHz [11] (20.0 dBm)
			* 2467 MHz [12] (20.0 dBm)
			* 2472 MHz [13] (20.0 dBm)
			* 2484 MHz [14] (disabled)
	Band 2:
		Bitrates (non-HT):
			* 6.0 Mbps
			* 9.0 Mbps
			* 12.0 Mbps
			* 18.0 Mbps
			* 24.0 Mbps
			* 36.0 Mbps
			* 48.0 Mbps
			* 54.0 Mbps
		Frequencies:
			* 5170 MHz [34] (23.0 dBm)
			* 5180 MHz [36] (23.0 dBm)
			* 5190 MHz [38] (23.0 dBm)
			* 5200 MHz [40] (23.0 dBm)
			* 5210 MHz [42] (23.0 dBm)
			* 5220 MHz [44] (23.0 dBm)
			* 5230 MHz [46] (23.0 dBm)
			* 5240 MHz [48] (23.0 dBm)
			* 5260 MHz [52] (20.0 dBm) (radar detection)
			* 5280 MHz [56] (20.0 dBm) (radar detection)
			* 5300 MHz [60] (20.0 dBm) (radar detection)
			* 5320 MHz [64] (20.0 dBm) (radar detection)
			* 5500 MHz [100] (26.0 dBm) (radar detection)
			* 5520 MHz [104] (26.0 dBm) (radar detection)
			* 5540 MHz [108] (26.0 dBm) (radar detection)
			* 5560 MHz [112] (26.0 dBm) (radar detection)
			* 5580 MHz [116] (26.0 dBm) (radar detection)
			* 5600 MHz [120] (26.0 dBm) (radar detection)
			* 5620 MHz [124] (26.0 dBm) (radar detection)
			* 5640 MHz [128] (26.0 dBm) (radar detection)
			* 5660 MHz [132] (26.0 dBm) (radar detection)
			* 5680 MHz [136] (26.0 dBm) (radar detection)
			* 5700 MHz [140] (26.0 dBm) (radar detection)
			* 5745 MHz [149] (13.0 dBm)
			* 5765 MHz [153] (13.0 dBm)
			* 5785 MHz [157] (13.0 dBm)
			* 5805 MHz [161] (13.0 dBm)
			* 5825 MHz [165] (13.0 dBm)
			* 5920 MHz [184] (disabled)
			* 5940 MHz [188] (disabled)
			* 5960 MHz [192] (disabled)
			* 5980 MHz [196] (disabled)
			* 6000 MHz [200] (disabled)
			* 6020 MHz [204] (disabled)
			* 6040 MHz [208] (disabled)
			* 6060 MHz [212] (disabled)
			* 6080 MHz [216] (disabled)
	Supported commands:
		 * new_interface
		 * set_interface
		 * new_key
		 * start_ap
		 * new_station
		 * set_bss
		 * join_ibss
		 * set_pmksa
		 * del_pmksa
		 * flush_pmksa
		 * remain_on_channel
		 * frame
		 * set_channel
		 * connect
		 * disconnect
	Supported TX frame types:
		 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
	Supported RX frame types:
		 * IBSS: 0xd0
		 * managed: 0x40 0xd0
		 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * P2P-client: 0x40 0xd0
		 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
	software interface modes (can always be added):
		 * monitor
	interface combinations are not supported
	Device supports scan flush.
	Supported extended features:

And also - when I get the list of devices with iw dev I can read, that phy1 and phy2 has the devices I added to the onboard cards.

Any idea what can be wrong? Badly I can't check back on the C2600, because it is on a different location and I am for 2 weeks to fare away from it.

OpenWRT Version is always up to date with 19.07.3

Today I could get access to a other TP-Link C2600. I expected a power issue with USB, because the Archer C7 has only USB 2.0 and the C2600 has USB 3.0.

The Stick has USB 3.0 - but is advertised as backward compatible.

But on the C2600 I also cant scan the network.
And least I spotted now in the logread output, the following error:

Wed Aug  5 20:33:20 2020 user.notice mac80211: Failed command: iw phy phy2 set antenna 0xffffffff 0xffffffff
Wed Aug  5 20:33:20 2020 daemon.notice netifd: radio2 (19564): command failed: Not supported (-95)
Wed Aug  5 20:33:20 2020 user.notice mac80211: Failed command: iw phy phy2 set antenna_gain 0
Wed Aug  5 20:33:20 2020 daemon.notice netifd: radio2 (19564): command failed: No such device (-19)
Wed Aug  5 20:33:20 2020 user.notice mac80211: Failed command: iw phy phy2 interface add wlan4wan2 type managed
Wed Aug  5 20:33:20 2020 daemon.notice netifd: radio2 (19564): Usage:   iw [options] command
Wed Aug  5 20:33:20 2020 daemon.notice netifd: radio2 (19564): Options:
Wed Aug  5 20:33:20 2020 daemon.notice netifd: radio2 (19564):  --debug         enable netlink debugging
Wed Aug  5 20:33:20 2020 daemon.notice netifd: radio2 (19564):  --version       show version (5.0.1)
Wed Aug  5 20:33:20 2020 daemon.notice netifd: radio2 (19564): Commands:
Wed Aug  5 20:33:20 2020 daemon.notice netifd: radio2 (19564):  help [command]
Wed Aug  5 20:33:20 2020 daemon.notice netifd: radio2 (19564):          Print usage for all or a specific command, e.g.
Wed Aug  5 20:33:20 2020 daemon.notice netifd: radio2 (19564):          "help wowlan" or "help wowlan enable".
[ and some more output how the use iw ]

Does the kmod-rtl8812au-ct driver now support mac80211 interface??

EDIT:
oh, and I have installed the iw-full package:

root@Gate:~# opkg list-installed|grep ^iw
iw-full - 5.0.1-1
iwinfo - 2019-10-16-07315b6f-1

EDIT2:
now i also have understand, that openwrt try to set up a managed interface, but I have set up a client interface. However, both (client & managed) is listed as supported on iw list - what not explain, why he setup a managed interface...

thats the complete output, when I run wifi up radio2 - i only filtered the iw usage (help) out:

Thu Aug  6 08:32:31 2020 user.notice mac80211: Failed command: iw phy phy0 set antenna 0xffffffff 0xffffffff
Thu Aug  6 08:32:31 2020 daemon.notice netifd: radio2 (9605): command failed: Not supported (-95)
Thu Aug  6 08:32:31 2020 user.notice mac80211: Failed command: iw phy phy0 set antenna_gain 0
Thu Aug  6 08:32:31 2020 daemon.notice netifd: radio2 (9605): command failed: No such device (-19)
Thu Aug  6 08:32:31 2020 user.notice mac80211: Failed command: iw phy phy0 interface add wlan4wan2 type managed
Thu Aug  6 08:32:31 2020 daemon.notice netifd: radio2 (9605): Usage:    iw [options] command
Thu Aug  6 08:32:31 2020 user.notice mac80211: Failed command: iw wlan4wan2 set power_save off
Thu Aug  6 08:32:31 2020 daemon.notice netifd: radio2 (9605): Cannot find device "wlan4wan2"
Thu Aug  6 08:32:31 2020 daemon.notice netifd: radio2 (9605): Cannot find device "wlan4wan2"
Thu Aug  6 08:32:32 2020 daemon.notice netifd: radio2 (9605): Interface 0 setup failed: IFUP_ERROR

that is the part of my wireless config (I only replaced the mac by ff)

config wifi-device 'radio2'
        option type 'mac80211'
        option channel '36'
        option hwmode '11a'
        option path 'platform/soc/soc:usb30@1/10000000.dwc3/xhci-hcd.1.auto/usb3/3-1/3-1:1.0'
        option disabled '0'

config wifi-iface 'wwan2'
        option device 'radio2'
        option ifname 'wlan4wan2'
        option mode 'sta'
        option network 'wwan2 wwan2_6'
        option macaddr 'ff:ff:ff:ff:ff:ff'
        option disassoc_low_ack '0'
        option ssid 'WiFi4rlp'
        option encryption 'none'

why he try to set up a managed interface???

I installed now the drivers from gordboy on my Ubuntu 20.04 installation and checked if the card works normally - the kernel got some crashes, but at least I was connected and could make a nice speed test with 76 Mbps down and 32 upload on that hotspot:

[ 3769.161197] RTL871X: module init start
[ 3769.161198] RTL871X: rtl8812au v4.3.8_12175.20140902
[ 3769.161199] RTL871X: build time: Aug  6 2020 08:49:13
[ 3769.161315] ------------[ cut here ]------------
[ 3769.161362] WARNING: CPU: 3 PID: 8576 at net/wireless/core.c:867 wiphy_register+0x6d1/0x930 [cfg80211]
[ 3769.161363] Modules linked in: 8812au(OE+) vmnet(OE) vmw_vsock_vmci_transport vsock vmw_vmci vmmon(OE) ccm intel_rapl_msr mei_hdcp binfmt_misc nls_iso8859_1 intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm uvcvideo intel_cstate videobuf2_vmalloc intel_rapl_perf iwldvm videobuf2_memops snd_seq_midi videobuf2_v4l2 videobuf2_common mac80211 snd_hda_codec_realtek joydev snd_seq_midi_event snd_hda_codec_generic libarc4 input_leds videodev snd_hda_intel serio_raw cdc_mbim snd_intel_dspcfg thinkpad_acpi iwlwifi cdc_ncm mc snd_hda_codec snd_hda_core snd_rawmidi wmi_bmof usbnet snd_hwdep mii nvram ledtrig_audio cdc_acm cdc_wdm cfg80211 snd_pcm snd_seq mei_me mei snd_seq_device snd_timer snd soundcore mac_hid sch_fq_codel vhba(OE) parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs xor zstd_compress raid6_pq libcrc32c dm_crypt dm_mirror dm_region_hash dm_log crct10dif_pclmul crc32_pclmul ghash_clmulni_intel nouveau i915 aesni_intel crypto_simd mxm_wmi ahci
[ 3769.161393]  i2c_algo_bit cryptd glue_helper psmouse libahci i2c_i801 ttm firewire_ohci lpc_ich drm_kms_helper sdhci_pci cqhci syscopyarea firewire_core sysfillrect sdhci crc_itu_t sysimgblt fb_sys_fops e1000e drm wmi video
[ 3769.161407] CPU: 3 PID: 8576 Comm: modprobe Tainted: G           OE     5.4.0-42-generic #46-Ubuntu
[ 3769.161408] Hardware name: LENOVO 24474MG/24474MG, BIOS G5ETB6WW (2.76 ) 09/09/2019
[ 3769.161420] RIP: 0010:wiphy_register+0x6d1/0x930 [cfg80211]
[ 3769.161421] Code: ff e9 78 fa ff ff 0f 0b b8 ea ff ff ff e9 6c fa ff ff 0f 0b b8 ea ff ff ff e9 60 fa ff ff 0f 0b b8 ea ff ff ff e9 54 fa ff ff <0f> 0b b8 ea ff ff ff e9 48 fa ff ff 0f 0b b8 ea ff ff ff e9 3c fa
[ 3769.161422] RSP: 0018:ffffaa504a847970 EFLAGS: 00010246
[ 3769.161423] RAX: ffffffffc1307690 RBX: ffff947826140300 RCX: ffffffffc1307680
[ 3769.161424] RDX: ffffffffc1307720 RSI: 0000000000000001 RDI: 000000000000001e
[ 3769.161424] RBP: ffffaa504a8479f0 R08: 0000000000000004 R09: 0000000000000003
[ 3769.161425] R10: 0000000000000cc0 R11: ffffaa5140a1cfc5 R12: ffff947826140300
[ 3769.161426] R13: ffff9477c6f1f000 R14: ffff9478231df830 R15: ffff9478231df830
[ 3769.161427] FS:  00007f83d5918540(0000) GS:ffff9478360c0000(0000) knlGS:0000000000000000
[ 3769.161427] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3769.161428] CR2: 00007fff5bc37ab0 CR3: 0000000165874006 CR4: 00000000001606e0
[ 3769.161429] Call Trace:
[ 3769.161467]  ? _rtw_malloc+0x2d/0x2f [8812au]
[ 3769.161485]  ? _rtw_memcpy+0x10/0x12 [8812au]
[ 3769.161505]  ? rtw_5g_rates_init+0x1a/0x1c [8812au]
[ 3769.161524]  ? rtw_spt_band_alloc+0xb0/0xb2 [8812au]
[ 3769.161543]  rtw_wdev_alloc+0xf6/0x29c [8812au]
[ 3769.161561]  rtw_usb_if1_init+0xf0/0x20c [8812au]
[ 3769.161579]  rtw_drv_init+0x246/0x2d3 [8812au]
[ 3769.161583]  usb_probe_interface+0xed/0x290
[ 3769.161585]  really_probe+0x2b3/0x3e0
[ 3769.161587]  driver_probe_device+0xbc/0x100
[ 3769.161588]  device_driver_attach+0x5d/0x70
[ 3769.161589]  __driver_attach+0x8f/0x150
[ 3769.161590]  ? device_driver_attach+0x70/0x70
[ 3769.161592]  bus_for_each_dev+0x7e/0xc0
[ 3769.161593]  driver_attach+0x1e/0x20
[ 3769.161595]  bus_add_driver+0x152/0x1f0
[ 3769.161596]  driver_register+0x74/0xd0
[ 3769.161597]  usb_register_driver+0x89/0x130
[ 3769.161598]  ? 0xffffffffc13b4000
[ 3769.161611]  rtw_drv_entry+0x65/0x1000 [8812au]
[ 3769.161615]  do_one_initcall+0x4a/0x1fa
[ 3769.161617]  ? _cond_resched+0x19/0x30
[ 3769.161619]  ? kmem_cache_alloc_trace+0x16c/0x240
[ 3769.161623]  do_init_module+0x62/0x250
[ 3769.161624]  load_module+0x10b8/0x1200
[ 3769.161627]  __do_sys_finit_module+0xbe/0x120
[ 3769.161628]  ? __do_sys_finit_module+0xbe/0x120
[ 3769.161630]  __x64_sys_finit_module+0x1a/0x20
[ 3769.161632]  do_syscall_64+0x57/0x190
[ 3769.161634]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 3769.161635] RIP: 0033:0x7f83d5a5d70d
[ 3769.161636] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 53 f7 0c 00 f7 d8 64 89 01 48
[ 3769.161637] RSP: 002b:00007fff5bc3aad8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 3769.161638] RAX: ffffffffffffffda RBX: 000056439b8fba50 RCX: 00007f83d5a5d70d
[ 3769.161638] RDX: 0000000000000000 RSI: 0000564399936358 RDI: 0000000000000003
[ 3769.161639] RBP: 0000000000040000 R08: 0000000000000000 R09: 0000000000000000
[ 3769.161639] R10: 0000000000000003 R11: 0000000000000246 R12: 0000564399936358
[ 3769.161640] R13: 0000000000000000 R14: 000056439b8fb9d0 R15: 000056439b8fba50
[ 3769.161642] ---[ end trace 4afe4b76a2ae02af ]---
[ 3769.287243] usb 3-2: reset high-speed USB device number 3 using xhci_hcd
[ 3769.435515] usbcore: registered new interface driver rtl8812au
[ 3769.435519] RTL871X: module init ret=0
[ 4115.838698] RTL871X: module exit start
[ 4115.838702] usbcore: deregistering interface driver rtl8812au
[ 4115.840220] RTL871X: module exit success
[ 4119.293313] usbcore: registered new interface driver rtl8812au
[ 4119.304785] rtl8812au 3-2:1.0 wlx244bfe3dcc2d: renamed from wlan0
[ 4153.799566] wlp3s0: deauthenticating from ee:08:6b:84:21:c0 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 4154.005981] userif-3: sent link down event.
[ 4154.005984] userif-3: sent link up event.
[ 4157.347806] ------------[ cut here ]------------
[ 4157.347852] WARNING: CPU: 2 PID: 13114 at net/wireless/nl80211.c:3157 nl80211_send_chandef+0x142/0x160 [cfg80211]
[ 4157.347854] Modules linked in: 8812au(OE) vmnet(OE) vmw_vsock_vmci_transport vsock vmw_vmci vmmon(OE) ccm intel_rapl_msr mei_hdcp binfmt_misc nls_iso8859_1 intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm uvcvideo intel_cstate videobuf2_vmalloc intel_rapl_perf iwldvm videobuf2_memops snd_seq_midi videobuf2_v4l2 videobuf2_common mac80211 snd_hda_codec_realtek joydev snd_seq_midi_event snd_hda_codec_generic libarc4 input_leds videodev snd_hda_intel serio_raw cdc_mbim snd_intel_dspcfg thinkpad_acpi iwlwifi cdc_ncm mc snd_hda_codec snd_hda_core snd_rawmidi wmi_bmof usbnet snd_hwdep mii nvram ledtrig_audio cdc_acm cdc_wdm cfg80211 snd_pcm snd_seq mei_me mei snd_seq_device snd_timer snd soundcore mac_hid sch_fq_codel vhba(OE) parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs xor zstd_compress raid6_pq libcrc32c dm_crypt dm_mirror dm_region_hash dm_log crct10dif_pclmul crc32_pclmul ghash_clmulni_intel nouveau i915 aesni_intel crypto_simd mxm_wmi ahci
[ 4157.347948]  i2c_algo_bit cryptd glue_helper psmouse libahci i2c_i801 ttm firewire_ohci lpc_ich drm_kms_helper sdhci_pci cqhci syscopyarea firewire_core sysfillrect sdhci crc_itu_t sysimgblt fb_sys_fops e1000e drm wmi video [last unloaded: 8812au]
[ 4157.347978] CPU: 2 PID: 13114 Comm: RTW_CMD_THREAD Tainted: G        W  OE     5.4.0-42-generic #46-Ubuntu
[ 4157.347981] Hardware name: LENOVO 24474MG/24474MG, BIOS G5ETB6WW (2.76 ) 09/09/2019
[ 4157.348025] RIP: 0010:nl80211_send_chandef+0x142/0x160 [cfg80211]
[ 4157.348030] Code: 4d dc ba 04 00 00 00 4c 89 e7 89 45 dc be a1 00 00 00 e8 b1 83 d6 dc 85 c0 74 82 41 bd 97 ff ff ff e9 77 ff ff ff 31 c0 eb af <0f> 0b 41 bd ea ff ff ff e9 66 ff ff ff e8 ec 43 8b dc 66 66 2e 0f
[ 4157.348034] RSP: 0018:ffffaa504a0c7d10 EFLAGS: 00010246
[ 4157.348037] RAX: 0000000000000000 RBX: ffffaa504a0c7de8 RCX: 0000000000000050
[ 4157.348040] RDX: 00000000402a37ec RSI: 00000000ffff25a6 RDI: ffffaa504a0c7de8
[ 4157.348042] RBP: ffffaa504a0c7d38 R08: 0000000000000000 R09: ffff9477c6e6301c
[ 4157.348045] R10: 0000000000000000 R11: 000000000000001e R12: ffff947826cca400
[ 4157.348047] R13: ffffaa504a0c7de8 R14: ffff947826cca400 R15: ffff9477c6e63014
[ 4157.348064] FS:  0000000000000000(0000) GS:ffff947836080000(0000) knlGS:0000000000000000
[ 4157.348066] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 4157.348068] CR2: 00007f40ca0ec5b0 CR3: 000000017a60a004 CR4: 00000000001606e0
[ 4157.348070] Call Trace:
[ 4157.348079]  ? __nla_put+0x20/0x30
[ 4157.348112]  nl80211_ch_switch_notify.constprop.0+0xcf/0x170 [cfg80211]
[ 4157.348140]  cfg80211_ch_switch_started_notify+0x51/0xa0 [cfg80211]
[ 4157.348207]  rtw_cfg80211_ch_switch_notify+0x132/0x141 [8812au]
[ 4157.348263]  rtw_chk_start_clnt_join+0x76/0x80 [8812au]
[ 4157.348311]  join_cmd_hdl+0x26e/0x36f [8812au]
[ 4157.348359]  ? rtw_chk_start_clnt_join+0x80/0x80 [8812au]
[ 4157.348394]  rtw_cmd_thread+0x2b2/0x407 [8812au]
[ 4157.348401]  kthread+0x104/0x140
[ 4157.348435]  ? rtw_stop_cmd_thread+0x3e/0x3e [8812au]
[ 4157.348439]  ? kthread_park+0x90/0x90
[ 4157.348444]  ret_from_fork+0x35/0x40
[ 4157.348448] ---[ end trace 4afe4b76a2ae02b0 ]---
[ 4157.658808] IPv6: ADDRCONF(NETDEV_CHANGE): wlx244bfe3dcc2d: link becomes ready
[ 4157.859047] userif-3: sent link down event.
[ 4157.859049] userif-3: sent link up event.
[ 4168.708778] userif-3: sent link down event.
[ 4168.708781] userif-3: sent link up event.
[ 4177.022129] ------------[ cut here ]------------
[ 4177.022161] WARNING: CPU: 1 PID: 13114 at net/wireless/nl80211.c:3157 nl80211_send_chandef+0x142/0x160 [cfg80211]
[ 4177.022161] Modules linked in: 8812au(OE) vmnet(OE) vmw_vsock_vmci_transport vsock vmw_vmci vmmon(OE) ccm intel_rapl_msr mei_hdcp binfmt_misc nls_iso8859_1 intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm uvcvideo intel_cstate videobuf2_vmalloc intel_rapl_perf iwldvm videobuf2_memops snd_seq_midi videobuf2_v4l2 videobuf2_common mac80211 snd_hda_codec_realtek joydev snd_seq_midi_event snd_hda_codec_generic libarc4 input_leds videodev snd_hda_intel serio_raw cdc_mbim snd_intel_dspcfg thinkpad_acpi iwlwifi cdc_ncm mc snd_hda_codec snd_hda_core snd_rawmidi wmi_bmof usbnet snd_hwdep mii nvram ledtrig_audio cdc_acm cdc_wdm cfg80211 snd_pcm snd_seq mei_me mei snd_seq_device snd_timer snd soundcore mac_hid sch_fq_codel vhba(OE) parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs xor zstd_compress raid6_pq libcrc32c dm_crypt dm_mirror dm_region_hash dm_log crct10dif_pclmul crc32_pclmul ghash_clmulni_intel nouveau i915 aesni_intel crypto_simd mxm_wmi ahci
[ 4177.022202]  i2c_algo_bit cryptd glue_helper psmouse libahci i2c_i801 ttm firewire_ohci lpc_ich drm_kms_helper sdhci_pci cqhci syscopyarea firewire_core sysfillrect sdhci crc_itu_t sysimgblt fb_sys_fops e1000e drm wmi video [last unloaded: 8812au]
[ 4177.022217] CPU: 1 PID: 13114 Comm: RTW_CMD_THREAD Tainted: G        W  OE     5.4.0-42-generic #46-Ubuntu
[ 4177.022218] Hardware name: LENOVO 24474MG/24474MG, BIOS G5ETB6WW (2.76 ) 09/09/2019
[ 4177.022238] RIP: 0010:nl80211_send_chandef+0x142/0x160 [cfg80211]
[ 4177.022240] Code: 4d dc ba 04 00 00 00 4c 89 e7 89 45 dc be a1 00 00 00 e8 b1 83 d6 dc 85 c0 74 82 41 bd 97 ff ff ff e9 77 ff ff ff 31 c0 eb af <0f> 0b 41 bd ea ff ff ff e9 66 ff ff ff e8 ec 43 8b dc 66 66 2e 0f
[ 4177.022241] RSP: 0000:ffffaa504a0c7d10 EFLAGS: 00010246
[ 4177.022243] RAX: 0000000000000000 RBX: ffffaa504a0c7de8 RCX: 0000000000000050
[ 4177.022244] RDX: 00000000402a37ec RSI: 00000000ffff25a6 RDI: ffffaa504a0c7de8
[ 4177.022245] RBP: ffffaa504a0c7d38 R08: 0000000000000000 R09: ffff947764efc01c
[ 4177.022246] R10: 0000000000000000 R11: 000000000000001e R12: ffff947825d84e00
[ 4177.022247] R13: ffffaa504a0c7de8 R14: ffff947825d84e00 R15: ffff947764efc014
[ 4177.022248] FS:  0000000000000000(0000) GS:ffff947836040000(0000) knlGS:0000000000000000
[ 4177.022249] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 4177.022250] CR2: 00007f40ca4c60e0 CR3: 00000002275f8005 CR4: 00000000001606e0
[ 4177.022251] Call Trace:
[ 4177.022257]  ? __nla_put+0x20/0x30
[ 4177.022275]  nl80211_ch_switch_notify.constprop.0+0xcf/0x170 [cfg80211]
[ 4177.022291]  cfg80211_ch_switch_started_notify+0x51/0xa0 [cfg80211]
[ 4177.022331]  rtw_cfg80211_ch_switch_notify+0x132/0x141 [8812au]
[ 4177.022363]  rtw_chk_start_clnt_join+0x76/0x80 [8812au]
[ 4177.022393]  join_cmd_hdl+0x26e/0x36f [8812au]
[ 4177.022421]  ? rtw_chk_start_clnt_join+0x80/0x80 [8812au]
[ 4177.022442]  rtw_cmd_thread+0x2b2/0x407 [8812au]
[ 4177.022446]  kthread+0x104/0x140
[ 4177.022466]  ? rtw_stop_cmd_thread+0x3e/0x3e [8812au]
[ 4177.022468]  ? kthread_park+0x90/0x90
[ 4177.022472]  ret_from_fork+0x35/0x40
[ 4177.022473] ---[ end trace 4afe4b76a2ae02b1 ]---
[ 4177.416701] IPv6: ADDRCONF(NETDEV_CHANGE): wlx244bfe3dcc2d: link becomes ready
[ 4177.616989] userif-3: sent link down event.
[ 4177.616992] userif-3: sent link up event.
[ 4188.746614] userif-3: sent link down event.
[ 4188.746618] userif-3: sent link up event.
[ 4191.793976] wlp3s0: authenticate with ee:08:6b:84:21:c0
[ 4191.795260] wlp3s0: send auth to ee:08:6b:84:21:c0 (try 1/3)
[ 4191.797629] wlp3s0: authenticated
[ 4191.800812] wlp3s0: associate with ee:08:6b:84:21:c0 (try 1/3)
[ 4191.802307] wlp3s0: RX AssocResp from ee:08:6b:84:21:c0 (capab=0x431 status=0 aid=2)
[ 4191.805195] wlp3s0: associated
[ 4191.809154] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
[ 4192.009350] userif-3: sent link down event.
[ 4192.009352] userif-3: sent link up event.
[ 4192.728587] userif-3: sent link down event.
[ 4192.728606] userif-3: sent link up event.
[ 4193.462212] userif-3: sent link down event.
[ 4193.462217] userif-3: sent link up event.
[ 4196.655342] ------------[ cut here ]------------
[ 4196.655390] WARNING: CPU: 0 PID: 13114 at net/wireless/nl80211.c:3157 nl80211_send_chandef+0x142/0x160 [cfg80211]
[ 4196.655392] Modules linked in: 8812au(OE) vmnet(OE) vmw_vsock_vmci_transport vsock vmw_vmci vmmon(OE) ccm intel_rapl_msr mei_hdcp binfmt_misc nls_iso8859_1 intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm uvcvideo intel_cstate videobuf2_vmalloc intel_rapl_perf iwldvm videobuf2_memops snd_seq_midi videobuf2_v4l2 videobuf2_common mac80211 snd_hda_codec_realtek joydev snd_seq_midi_event snd_hda_codec_generic libarc4 input_leds videodev snd_hda_intel serio_raw cdc_mbim snd_intel_dspcfg thinkpad_acpi iwlwifi cdc_ncm mc snd_hda_codec snd_hda_core snd_rawmidi wmi_bmof usbnet snd_hwdep mii nvram ledtrig_audio cdc_acm cdc_wdm cfg80211 snd_pcm snd_seq mei_me mei snd_seq_device snd_timer snd soundcore mac_hid sch_fq_codel vhba(OE) parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs xor zstd_compress raid6_pq libcrc32c dm_crypt dm_mirror dm_region_hash dm_log crct10dif_pclmul crc32_pclmul ghash_clmulni_intel nouveau i915 aesni_intel crypto_simd mxm_wmi ahci
[ 4196.655430]  i2c_algo_bit cryptd glue_helper psmouse libahci i2c_i801 ttm firewire_ohci lpc_ich drm_kms_helper sdhci_pci cqhci syscopyarea firewire_core sysfillrect sdhci crc_itu_t sysimgblt fb_sys_fops e1000e drm wmi video [last unloaded: 8812au]
[ 4196.655446] CPU: 0 PID: 13114 Comm: RTW_CMD_THREAD Tainted: G        W  OE     5.4.0-42-generic #46-Ubuntu
[ 4196.655447] Hardware name: LENOVO 24474MG/24474MG, BIOS G5ETB6WW (2.76 ) 09/09/2019
[ 4196.655475] RIP: 0010:nl80211_send_chandef+0x142/0x160 [cfg80211]
[ 4196.655478] Code: 4d dc ba 04 00 00 00 4c 89 e7 89 45 dc be a1 00 00 00 e8 b1 83 d6 dc 85 c0 74 82 41 bd 97 ff ff ff e9 77 ff ff ff 31 c0 eb af <0f> 0b 41 bd ea ff ff ff e9 66 ff ff ff e8 ec 43 8b dc 66 66 2e 0f
[ 4196.655479] RSP: 0018:ffffaa504a0c7d10 EFLAGS: 00010246
[ 4196.655480] RAX: 0000000000000000 RBX: ffffaa504a0c7de8 RCX: 0000000000000050
[ 4196.655481] RDX: 00000000402a37ec RSI: 00000000ffff3224 RDI: ffffaa504a0c7de8
[ 4196.655483] RBP: ffffaa504a0c7d38 R08: 0000000000000000 R09: ffff94776503401c
[ 4196.655483] R10: 0000000000000000 R11: 000000000000001e R12: ffff94783331b300
[ 4196.655484] R13: ffffaa504a0c7de8 R14: ffff94783331b300 R15: ffff947765034014
[ 4196.655486] FS:  0000000000000000(0000) GS:ffff947836000000(0000) knlGS:0000000000000000
[ 4196.655487] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 4196.655487] CR2: 00007f59db2cc000 CR3: 000000017a60a004 CR4: 00000000001606f0
[ 4196.655488] Call Trace:
[ 4196.655496]  ? __nla_put+0x20/0x30
[ 4196.655519]  nl80211_ch_switch_notify.constprop.0+0xcf/0x170 [cfg80211]
[ 4196.655535]  cfg80211_ch_switch_started_notify+0x51/0xa0 [cfg80211]
[ 4196.655588]  rtw_cfg80211_ch_switch_notify+0x132/0x141 [8812au]
[ 4196.655628]  rtw_chk_start_clnt_join+0x76/0x80 [8812au]
[ 4196.655661]  join_cmd_hdl+0x26e/0x36f [8812au]
[ 4196.655690]  ? rtw_chk_start_clnt_join+0x80/0x80 [8812au]
[ 4196.655716]  rtw_cmd_thread+0x2b2/0x407 [8812au]
[ 4196.655720]  kthread+0x104/0x140
[ 4196.655741]  ? rtw_stop_cmd_thread+0x3e/0x3e [8812au]
[ 4196.655744]  ? kthread_park+0x90/0x90
[ 4196.655748]  ret_from_fork+0x35/0x40
[ 4196.655750] ---[ end trace 4afe4b76a2ae02b2 ]---
[ 4196.806581] IPv6: ADDRCONF(NETDEV_CHANGE): wlx244bfe3dcc2d: link becomes ready