1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2024 Realtek Corporation 3 */ 4 5 #include <linux/module.h> 6 #include <linux/usb.h> 7 #include "main.h" 8 #include "rtw8821a.h" 9 #include "usb.h" 10 11 static const struct usb_device_id rtw_8821au_id_table[] = { 12 { USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x011e, 0xff, 0xff, 0xff), 13 .driver_info = (kernel_ulong_t)&(rtw8821a_hw_spec) }, 14 {}, 15 }; 16 MODULE_DEVICE_TABLE(usb, rtw_8821au_id_table); 17 18 static struct usb_driver rtw_8821au_driver = { 19 .name = "rtw_8821au", 20 .id_table = rtw_8821au_id_table, 21 .probe = rtw_usb_probe, 22 .disconnect = rtw_usb_disconnect, 23 }; 24 module_usb_driver(rtw_8821au_driver); 25 26 MODULE_AUTHOR("Bitterblue Smith <rtl8821cerfe2@gmail.com>"); 27 MODULE_DESCRIPTION("Realtek 802.11ac wireless 8821au/8811au driver"); 28 MODULE_LICENSE("Dual BSD/GPL"); 29