xref: /linux/drivers/net/wireless/realtek/rtw88/rtw8812au.c (revision 7f71507851fc7764b36a3221839607d3a45c2025)
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 "rtw8812a.h"
9 #include "usb.h"
10 
11 static const struct usb_device_id rtw_8812au_id_table[] = {
12 	{ USB_DEVICE_AND_INTERFACE_INFO(0x2604, 0x0012, 0xff, 0xff, 0xff),
13 	  .driver_info = (kernel_ulong_t)&(rtw8812a_hw_spec) },
14 	{},
15 };
16 MODULE_DEVICE_TABLE(usb, rtw_8812au_id_table);
17 
18 static struct usb_driver rtw_8812au_driver = {
19 	.name = "rtw_8812au",
20 	.id_table = rtw_8812au_id_table,
21 	.probe = rtw_usb_probe,
22 	.disconnect = rtw_usb_disconnect,
23 };
24 module_usb_driver(rtw_8812au_driver);
25 
26 MODULE_AUTHOR("Bitterblue Smith <rtl8821cerfe2@gmail.com>");
27 MODULE_DESCRIPTION("Realtek 802.11ac wireless 8812au driver");
28 MODULE_LICENSE("Dual BSD/GPL");
29