Skip to content

Commit c2f3b91

Browse files
committed
wifi: rtw89: Add rtw8851bu.c
JIRA: https://issues.redhat.com/browse/RHEL-114889 commit 52cf443 Author: Bitterblue Smith <rtl8821cerfe2@gmail.com> Date: Mon Jun 30 23:47:19 2025 +0300 wifi: rtw89: Add rtw8851bu.c This is the entry point for the new rtw89_8851bu module. Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com> Acked-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/9d40c265-2982-4073-84a3-d3781defdbca@gmail.com Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
1 parent 0830861 commit c2f3b91

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2+
/* Copyright(c) 2025 Realtek Corporation
3+
*/
4+
5+
#include <linux/module.h>
6+
#include <linux/usb.h>
7+
#include "rtw8851b.h"
8+
#include "usb.h"
9+
10+
static const struct rtw89_driver_info rtw89_8851bu_info = {
11+
.chip = &rtw8851b_chip_info,
12+
.variant = NULL,
13+
.quirks = NULL,
14+
};
15+
16+
static const struct usb_device_id rtw_8851bu_id_table[] = {
17+
{ USB_DEVICE_AND_INTERFACE_INFO(0x0bda, 0xb851, 0xff, 0xff, 0xff),
18+
.driver_info = (kernel_ulong_t)&rtw89_8851bu_info },
19+
/* TP-Link Archer TX10UB Nano */
20+
{ USB_DEVICE_AND_INTERFACE_INFO(0x3625, 0x010b, 0xff, 0xff, 0xff),
21+
.driver_info = (kernel_ulong_t)&rtw89_8851bu_info },
22+
/* Edimax EW-7611UXB */
23+
{ USB_DEVICE_AND_INTERFACE_INFO(0x7392, 0xe611, 0xff, 0xff, 0xff),
24+
.driver_info = (kernel_ulong_t)&rtw89_8851bu_info },
25+
{},
26+
};
27+
MODULE_DEVICE_TABLE(usb, rtw_8851bu_id_table);
28+
29+
static struct usb_driver rtw_8851bu_driver = {
30+
.name = KBUILD_MODNAME,
31+
.id_table = rtw_8851bu_id_table,
32+
.probe = rtw89_usb_probe,
33+
.disconnect = rtw89_usb_disconnect,
34+
};
35+
module_usb_driver(rtw_8851bu_driver);
36+
37+
MODULE_AUTHOR("Bitterblue Smith <rtl8821cerfe2@gmail.com>");
38+
MODULE_DESCRIPTION("Realtek 802.11ax wireless 8851BU driver");
39+
MODULE_LICENSE("Dual BSD/GPL");

0 commit comments

Comments
 (0)