forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
With Kconfig and Makefile, we can build rtw89 and support 8852AE chip. Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
- Loading branch information
1 parent
6e2ade0
commit 6c4e6c2
Showing
4 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
menuconfig RTW89 | ||
tristate "Realtek 802.11ax wireless chips support" | ||
depends on MAC80211 | ||
help | ||
This module adds support for mac80211-based wireless drivers that | ||
enables Realtek IEEE 802.11ax wireless chipsets. | ||
|
||
If you choose to build a module, it'll be called rtw89. | ||
|
||
if RTW89 | ||
|
||
config RTW89_CORE | ||
tristate | ||
|
||
config RTW89_PCI | ||
tristate | ||
|
||
config RTW89_8852AE | ||
tristate "Realtek 8852AE PCI wireless network adapter" | ||
depends on PCI | ||
select RTW89_CORE | ||
select RTW89_PCI | ||
help | ||
Select this option will enable support for 8852AE chipset | ||
|
||
802.11ax PCIe wireless network adapter | ||
|
||
config RTW89_DEBUG | ||
bool | ||
|
||
config RTW89_DEBUGMSG | ||
bool "Realtek rtw89 debug message support" | ||
depends on RTW89_CORE | ||
select RTW89_DEBUG | ||
help | ||
Enable debug message support | ||
|
||
If unsure, say Y to simplify debug problems | ||
|
||
config RTW89_DEBUGFS | ||
bool "Realtek rtw89 debugfs support" | ||
depends on RTW89_CORE | ||
select RTW89_DEBUG | ||
help | ||
Enable debugfs support | ||
|
||
If unsure, say Y to simplify debug problems | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause | ||
|
||
obj-$(CONFIG_RTW89_CORE) += rtw89_core.o | ||
rtw89_core-y += core.o \ | ||
mac80211.o \ | ||
mac.o \ | ||
phy.o \ | ||
fw.o \ | ||
rtw8852a.o \ | ||
rtw8852a_table.o \ | ||
rtw8852a_rfk.o \ | ||
rtw8852a_rfk_table.o \ | ||
cam.o \ | ||
efuse.o \ | ||
regd.o \ | ||
sar.o \ | ||
coex.o \ | ||
ps.o \ | ||
ser.o | ||
|
||
rtw89_core-$(CONFIG_RTW89_DEBUG) += debug.o | ||
|
||
obj-$(CONFIG_RTW89_PCI) += rtw89_pci.o | ||
rtw89_pci-y := pci.o | ||
|