Hi On 2024-03-13, Bitterblue Smith wrote: > Create the new module rtl8192d-common and move some code into it from > rtl8192de. Now the rtl8192de driver (PCI) and the new rtl8192du driver > (USB) can share some of the code. [...] > Tested only with RTL8192DU. > > Signed-off-by: Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> Tested-by: Stefan Lippers-Hollmann <s.l-h@xxxxxx> I've successfully tested this series and its preparatory patch on my DeLock 88540, https://www.delock.com/produkt/88540/merkmale.html?setLanguage=en wifi: rtlwifi: rtl8192de: Fix 5 GHz TX power wifi: rtlwifi: Move code from rtl8192de to rtl8192d-common wifi: rtlwifi: Adjust rtl8192d-common for USB wifi: rtlwifi: Add new rtl8192du driver [ 32.083987] usb 3-5: new high-speed USB device number 5 using xhci_hcd [ 32.212707] usb 3-5: New USB device found, idVendor=0bda, idProduct=8194, bcdDevice= 0.00 [ 32.212722] usb 3-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 32.212727] usb 3-5: Product: 802.11n NIC [ 32.212732] usb 3-5: Manufacturer: Realtek [ 32.212735] usb 3-5: SerialNumber: 00e04c000001 [ 32.362820] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1 [ 32.362836] rtl8192du: Inactive Power Save off (module option) [ 32.362839] rtl8192du: Driver for Realtek RTL8192DU WLAN interface [ 32.362840] rtl8192du: Loading firmware file rtlwifi/rtl8192dufw.bin [ 32.362952] ieee80211 phy1: Selected rate control algorithm 'rtl_rc' [ 32.364168] usbcore: registered new interface driver rtl8192du [ 32.372367] rtl8192du 3-5:1.0 wlxXXXXXXXXXXXX: renamed from wlan0 [...] [ 130.838250] wlxXXXXXXXXXXXX: authenticate with XX:XX:XX:XX:XX:XX (local address=XX:XX:XX:XX:XX:XX) [ 130.838256] wlxXXXXXXXXXXXX: send auth to XX:XX:XX:XX:XX:XX (try 1/3) [ 130.849611] wlxXXXXXXXXXXXX: authenticate with XX:XX:XX:XX:XX:XX (local address=XX:XX:XX:XX:XX:XX) [ 130.849621] wlxXXXXXXXXXXXX: send auth to XX:XX:XX:XX:XX:XX (try 1/3) [ 130.852150] wlxXXXXXXXXXXXX: authenticated [ 130.853287] wlxXXXXXXXXXXXX: associate with XX:XX:XX:XX:XX:XX (try 1/3) [ 130.860230] wlxXXXXXXXXXXXX: RX AssocResp from XX:XX:XX:XX:XX:XX (capab=0x1511 status=0 aid=3) [ 130.861618] wlxXXXXXXXXXXXX: associated [ 130.876995] wlxXXXXXXXXXXXX: Limiting TX power to 23 (23 - 0) dBm as advertised by XX:XX:XX:XX:XX:XX # wpa_cli -i wlxXXXXXXXXXXXX status bssid=XX:XX:XX:XX:XX:XX freq=5260 ssid=XXX id=4 id_str=XXX mode=station wifi_generation=4 pairwise_cipher=CCMP group_cipher=CCMP key_mgmt=SAE pmf=2 mgmt_group_cipher=BIP sae_group=19 sae_h2e=0 sae_pk=0 wpa_state=COMPLETED p2p_device_address=XX:XX:XX:XX:XX:XX address=XX:XX:XX:XX:XX:XX uuid=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXXX Using the firmware from https://github.com/lwfinger/rtl8192du/, it would be great if someone could publish the necessary firmware to linux-firmware. MD5: abccba1e9bb456eb81dfc88502a56300 /lib/firmware/rtlwifi/rtl8192dufw.bin SHA256: 9b51f15642b7f2d41e8369d7df956f92333c09699d8a88039081a8bdc77242a1 /lib/firmware/rtlwifi/rtl8192dufw.bin Regards Stefan Lippers-Hollmann