Skip to content

Commit 554c0a3

Browse files
jwrdegoedegregkh
authored andcommitted
staging: Add rtl8723bs sdio wifi driver
The rtl8723bs is found on quite a few systems used by Linux users, such as on Atom systems (Intel Computestick and various other Atom based devices) and on many (budget) ARM boards such as the CHIP. The plan moving forward with this is for the new clean, written from scratch, rtl8xxxu driver to eventually gain support for sdio devices. But there is no clear timeline for that, so lets add this driver included in staging for now. Cc: Bastien Nocera <[email protected]> Cc: Larry Finger <[email protected]> Cc: Jes Sorensen <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 38ca74e commit 554c0a3

File tree

176 files changed

+109195
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

176 files changed

+109195
-0
lines changed

drivers/staging/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ source "drivers/staging/rtl8192u/Kconfig"
3434

3535
source "drivers/staging/rtl8192e/Kconfig"
3636

37+
source "drivers/staging/rtl8723bs/Kconfig"
38+
3739
source "drivers/staging/rtl8712/Kconfig"
3840

3941
source "drivers/staging/rtl8188eu/Kconfig"

drivers/staging/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ obj-$(CONFIG_COMEDI) += comedi/
66
obj-$(CONFIG_FB_OLPC_DCON) += olpc_dcon/
77
obj-$(CONFIG_RTL8192U) += rtl8192u/
88
obj-$(CONFIG_RTL8192E) += rtl8192e/
9+
obj-$(CONFIG_RTL8723BS) += rtl8723bs/
910
obj-$(CONFIG_R8712U) += rtl8712/
1011
obj-$(CONFIG_R8188EU) += rtl8188eu/
1112
obj-$(CONFIG_RTS5208) += rts5208/

drivers/staging/rtl8723bs/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
config RTL8723BS
2+
tristate "Realtek RTL8723BS SDIO Wireless LAN NIC driver"
3+
depends on WLAN && MMC && CFG80211
4+
select WIRELESS_EXT
5+
select WEXT_PRIV
6+
---help---
7+
This option enables support for RTL8723BS SDIO drivers, such as
8+
the wifi found on the 1st gen Intel Compute Stick, the CHIP
9+
and many other Intel Atom and ARM based devices.
10+
If built as a module, it will be called r8723bs.

drivers/staging/rtl8723bs/Makefile

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
r8723bs-y = \
2+
core/rtw_ap.o \
3+
core/rtw_btcoex.o \
4+
core/rtw_cmd.o \
5+
core/rtw_debug.o \
6+
core/rtw_efuse.o \
7+
core/rtw_io.o \
8+
core/rtw_ioctl_set.o \
9+
core/rtw_ieee80211.o \
10+
core/rtw_mlme.o \
11+
core/rtw_mlme_ext.o \
12+
core/rtw_odm.o \
13+
core/rtw_pwrctrl.o \
14+
core/rtw_recv.o \
15+
core/rtw_rf.o \
16+
core/rtw_security.o \
17+
core/rtw_sta_mgt.o \
18+
core/rtw_wlan_util.o \
19+
core/rtw_xmit.o \
20+
hal/hal_intf.o \
21+
hal/hal_com.o \
22+
hal/hal_com_phycfg.o \
23+
hal/hal_btcoex.o \
24+
hal/hal_sdio.o \
25+
hal/Hal8723BPwrSeq.o \
26+
hal/HalPhyRf.o \
27+
hal/HalPwrSeqCmd.o \
28+
hal/odm.o \
29+
hal/odm_CfoTracking.o \
30+
hal/odm_debug.o \
31+
hal/odm_DIG.o \
32+
hal/odm_DynamicBBPowerSaving.o \
33+
hal/odm_DynamicTxPower.o \
34+
hal/odm_EdcaTurboCheck.o \
35+
hal/odm_HWConfig.o \
36+
hal/odm_NoiseMonitor.o \
37+
hal/odm_PathDiv.o \
38+
hal/odm_RegConfig8723B.o \
39+
hal/odm_RTL8723B.o \
40+
hal/rtl8723b_cmd.o \
41+
hal/rtl8723b_dm.o \
42+
hal/rtl8723b_hal_init.o \
43+
hal/rtl8723b_phycfg.o \
44+
hal/rtl8723b_rf6052.o \
45+
hal/rtl8723b_rxdesc.o \
46+
hal/rtl8723bs_recv.o \
47+
hal/rtl8723bs_xmit.o \
48+
hal/sdio_halinit.o \
49+
hal/sdio_ops.o \
50+
hal/HalBtc8723b1Ant.o \
51+
hal/HalBtc8723b2Ant.o \
52+
hal/HalHWImg8723B_BB.o \
53+
hal/HalHWImg8723B_MAC.o \
54+
hal/HalHWImg8723B_RF.o \
55+
hal/HalPhyRf_8723B.o \
56+
os_dep/ioctl_cfg80211.o \
57+
os_dep/ioctl_linux.o \
58+
os_dep/mlme_linux.o \
59+
os_dep/osdep_service.o \
60+
os_dep/os_intfs.o \
61+
os_dep/recv_linux.o \
62+
os_dep/rtw_proc.o \
63+
os_dep/sdio_intf.o \
64+
os_dep/sdio_ops_linux.o \
65+
os_dep/wifi_regd.o \
66+
os_dep/xmit_linux.o
67+
68+
obj-$(CONFIG_RTL8723BS) := r8723bs.o
69+
70+
ccflags-y += -I$(srctree)/$(src)/include -I$(srctree)/$(src)/hal

drivers/staging/rtl8723bs/TODO

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
TODO:
2+
- find and remove code blocks guarded by never set CONFIG_FOO defines
3+
- find and remove remaining code valid only for 5 HGz. Most of the obvious
4+
ones have been removed, but things like channel > 14 still exist.
5+
- find and remove any code for other chips that is left over
6+
- convert any remaining unusual variable types
7+
- find codes that can use %pM and %Nph formatting
8+
- checkpatch.pl fixes - most of the remaining ones are lines too long. Many
9+
of them will require refactoring
10+
- merge Realtek's bugfixes and new features into the driver
11+
- switch to use LIB80211
12+
- switch to use MAC80211
13+
14+
Please send any patches to Greg Kroah-Hartman <[email protected]>,
15+
Bastien Nocera <[email protected]>, Hans de Goede <[email protected]>
16+
and Larry Finger <[email protected]>.

0 commit comments

Comments
 (0)