Created attachment 212519 [details] gzip'd tarball containing all files Hey, I have a TP-WN823N V3 USB Wi-Fi adapter connected via USB3.0. This module refused to work on bare metal, but worked happily when connected to VM for local testing. After some investigation, it seems that the USB mode affects the drivers behaviour - USB3.0 controller and the driver loads, but refuses to associate with the SSID. However switch to a USB2.0 controller, and the driver behaves correctly. Specifically, the failure scenario here is that the driver ends up calling r92e_power_off and the module powers off completely, and needs to be re-seated. I setup a test bed, a fresh install of FreeBSD 12.1. which I've taken with the following enabled: sysctl hw.usb.ehci.iaadbug=1 sysctl hw.usb.ehci.debug=1 sysctl hw.usb.xhci.debug=1 Attached are two sets of logs; On successful association: - freebsd_syslog_success.txt - /var/log/messages syslog taken with - freebsd_cli_success.txt - loading the driver and calling wpa_supplicant(with timestamp) On unsuccessful association: - freebsd_syslog_failure.txt - /var/log/messages syslog taken with - freebsd_cli_failure.txt - loading the driver and calling wpa_supplicant(with timestamp) I'm not sure how to further debug this issue, so I could use a little help please. /Ruairi
USB3 is known to produce interference around 2.4GHz - IME things like bluetooth receivers or keyboard/mouse wireless adapters need to at least be on a cable otherwise their range is severely impaired. Can you try it on an extension cable or USB2 hub?