From: Bitterblue Smith <rtl8821cerfe2@gmail.com>
To: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Cc: Ping-Ke Shih <pkshih@realtek.com>
Subject: [PATCH rtw-next v2 5/7] wifi: rtw88: Add rtw8814ae.c
Date: Fri, 7 Mar 2025 02:25:09 +0200 [thread overview]
Message-ID: <74ebab2f-a23e-4d87-935f-0af2b5cba672@gmail.com> (raw)
In-Reply-To: <d25331f4-653d-4ab1-b3dd-0ec1a73209e0@gmail.com>
This is the entry point for the new module rtw88_8814ae.
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
---
v2:
- Add Acked-by.
---
.../net/wireless/realtek/rtw88/rtw8814ae.c | 31 +++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 drivers/net/wireless/realtek/rtw88/rtw8814ae.c
diff --git a/drivers/net/wireless/realtek/rtw88/rtw8814ae.c b/drivers/net/wireless/realtek/rtw88/rtw8814ae.c
new file mode 100644
index 000000000000..54d2e20a7764
--- /dev/null
+++ b/drivers/net/wireless/realtek/rtw88/rtw8814ae.c
@@ -0,0 +1,31 @@
+// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
+/* Copyright(c) 2025 Realtek Corporation
+ */
+
+#include <linux/module.h>
+#include <linux/pci.h>
+#include "pci.h"
+#include "rtw8814a.h"
+
+static const struct pci_device_id rtw_8814ae_id_table[] = {
+ {
+ PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8813),
+ .driver_data = (kernel_ulong_t)&rtw8814a_hw_spec
+ },
+ {}
+};
+MODULE_DEVICE_TABLE(pci, rtw_8814ae_id_table);
+
+static struct pci_driver rtw_8814ae_driver = {
+ .name = "rtw_8814ae",
+ .id_table = rtw_8814ae_id_table,
+ .probe = rtw_pci_probe,
+ .remove = rtw_pci_remove,
+ .driver.pm = &rtw_pm_ops,
+ .shutdown = rtw_pci_shutdown,
+};
+module_pci_driver(rtw_8814ae_driver);
+
+MODULE_AUTHOR("Bitterblue Smith <rtl8821cerfe2@gmail.com>");
+MODULE_DESCRIPTION("Realtek 802.11ac wireless 8814ae driver");
+MODULE_LICENSE("Dual BSD/GPL");
--
2.48.1
next prev parent reply other threads:[~2025-03-07 0:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-07 0:20 [PATCH rtw-next v2 0/7] Add support for RTL8814AE and RTL8814AU Bitterblue Smith
2025-03-07 0:22 ` [PATCH rtw-next v2 1/7] wifi: rtw88: Add some definitions for RTL8814AU Bitterblue Smith
2025-03-10 8:17 ` Ping-Ke Shih
2025-03-13 1:17 ` Ping-Ke Shih
2025-03-07 0:23 ` [PATCH rtw-next v2 2/7] wifi: rtw88: Add rtw8814a_table.c (part 1/2) Bitterblue Smith
2025-03-07 0:24 ` [PATCH rtw-next v2 3/7] wifi: rtw88: Add rtw8814a_table.c (part 2/2) Bitterblue Smith
2025-03-07 0:24 ` [PATCH rtw-next v2 4/7] wifi: rtw88: Add rtw8814a.{c,h} Bitterblue Smith
2025-03-10 8:22 ` Ping-Ke Shih
2025-03-07 0:25 ` Bitterblue Smith [this message]
2025-03-07 0:25 ` [PATCH rtw-next v2 6/7] wifi: rtw88: Add rtw8814au.c Bitterblue Smith
2025-03-07 0:26 ` [PATCH rtw-next v2 7/7] wifi: rtw88: Enable the new RTL8814AE/RTL8814AU drivers Bitterblue Smith
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=74ebab2f-a23e-4d87-935f-0af2b5cba672@gmail.com \
--to=rtl8821cerfe2@gmail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=pkshih@realtek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox