Skip to content

Commit

Permalink
wifi: rtw88: Shared module for rtw8723x devices
Browse files Browse the repository at this point in the history
The already supported 8723d chip is very similar to 8703b/8723cs,
split code that can be shared into a new module. The spec definition
tables are combined into a struct so we only need one EXPORT_SYMBOL
for them all.

Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Tested-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240311103735.615541-2-fiona.klute@gmx.de
  • Loading branch information
Fiona Klute authored and Kalle Valo committed Mar 14, 2024
1 parent f95d904 commit ff88b74
Show file tree
Hide file tree
Showing 6 changed files with 1,107 additions and 900 deletions.
4 changes: 4 additions & 0 deletions drivers/net/wireless/realtek/rtw88/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,12 @@ config RTW88_8822B
config RTW88_8822C
tristate

config RTW88_8723X
tristate

config RTW88_8723D
tristate
select RTW88_8723X

config RTW88_8821C
tristate
Expand Down
3 changes: 3 additions & 0 deletions drivers/net/wireless/realtek/rtw88/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ rtw88_8822cs-objs := rtw8822cs.o
obj-$(CONFIG_RTW88_8822CU) += rtw88_8822cu.o
rtw88_8822cu-objs := rtw8822cu.o

obj-$(CONFIG_RTW88_8723X) += rtw88_8723x.o
rtw88_8723x-objs := rtw8723x.o

obj-$(CONFIG_RTW88_8723D) += rtw88_8723d.o
rtw88_8723d-objs := rtw8723d.o rtw8723d_table.o

Expand Down
Loading

0 comments on commit ff88b74

Please sign in to comment.