-
Notifications
You must be signed in to change notification settings - Fork 191
/
rtw8814au.c
54 lines (50 loc) · 2.4 KB
/
rtw8814au.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
/* Copyright(c) 2025 Realtek Corporation
*/
#include <linux/module.h>
#include <linux/usb.h>
#include "main.h"
#include "rtw8814a.h"
#include "usb.h"
static const struct usb_device_id rtw_8814au_id_table[] = {
{ USB_DEVICE_AND_INTERFACE_INFO(RTW_USB_VENDOR_ID_REALTEK, 0x8813, 0xff, 0xff, 0xff),
.driver_info = (kernel_ulong_t)&(rtw8814a_hw_spec) },
{ USB_DEVICE_AND_INTERFACE_INFO(0x056e, 0x400b, 0xff, 0xff, 0xff),
.driver_info = (kernel_ulong_t)&(rtw8814a_hw_spec) },
{ USB_DEVICE_AND_INTERFACE_INFO(0x056e, 0x400d, 0xff, 0xff, 0xff),
.driver_info = (kernel_ulong_t)&(rtw8814a_hw_spec) },
{ USB_DEVICE_AND_INTERFACE_INFO(0x0846, 0x9054, 0xff, 0xff, 0xff),
.driver_info = (kernel_ulong_t)&(rtw8814a_hw_spec) },
{ USB_DEVICE_AND_INTERFACE_INFO(0x0b05, 0x1817, 0xff, 0xff, 0xff),
.driver_info = (kernel_ulong_t)&(rtw8814a_hw_spec) },
{ USB_DEVICE_AND_INTERFACE_INFO(0x0b05, 0x1852, 0xff, 0xff, 0xff),
.driver_info = (kernel_ulong_t)&(rtw8814a_hw_spec) },
{ USB_DEVICE_AND_INTERFACE_INFO(0x0b05, 0x1853, 0xff, 0xff, 0xff),
.driver_info = (kernel_ulong_t)&(rtw8814a_hw_spec) },
{ USB_DEVICE_AND_INTERFACE_INFO(0x0e66, 0x0026, 0xff, 0xff, 0xff),
.driver_info = (kernel_ulong_t)&(rtw8814a_hw_spec) },
{ USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x331a, 0xff, 0xff, 0xff),
.driver_info = (kernel_ulong_t)&(rtw8814a_hw_spec) },
{ USB_DEVICE_AND_INTERFACE_INFO(0x20f4, 0x809a, 0xff, 0xff, 0xff),
.driver_info = (kernel_ulong_t)&(rtw8814a_hw_spec) },
{ USB_DEVICE_AND_INTERFACE_INFO(0x20f4, 0x809b, 0xff, 0xff, 0xff),
.driver_info = (kernel_ulong_t)&(rtw8814a_hw_spec) },
{ USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0106, 0xff, 0xff, 0xff),
.driver_info = (kernel_ulong_t)&(rtw8814a_hw_spec) },
{ USB_DEVICE_AND_INTERFACE_INFO(0x7392, 0xa834, 0xff, 0xff, 0xff),
.driver_info = (kernel_ulong_t)&(rtw8814a_hw_spec) },
{ USB_DEVICE_AND_INTERFACE_INFO(0x7392, 0xa833, 0xff, 0xff, 0xff),
.driver_info = (kernel_ulong_t)&(rtw8814a_hw_spec) },
{},
};
MODULE_DEVICE_TABLE(usb, rtw_8814au_id_table);
static struct usb_driver rtw_8814au_driver = {
.name = "rtw_8814au",
.id_table = rtw_8814au_id_table,
.probe = rtw_usb_probe,
.disconnect = rtw_usb_disconnect,
};
module_usb_driver(rtw_8814au_driver);
MODULE_AUTHOR("Bitterblue Smith <rtl8821cerfe2@gmail.com>");
MODULE_DESCRIPTION("Realtek 802.11ac wireless 8814au driver");
MODULE_LICENSE("Dual BSD/GPL");