diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2014-03-28 22:37:43 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-05 17:53:46 -0400 |
commit | 9176303c404741b2f96796466437f2badf6e289b (patch) | |
tree | d67753e65993fd8e1a86b9a8c2307640c6685db8 /drivers/staging | |
parent | c17416ef707312429aafcdc4597db73906f3572e (diff) |
staging: r8723au: Turn on build of new driver
This commit also creates a TODO file.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/Kconfig | 2 | ||||
-rw-r--r-- | drivers/staging/Makefile | 1 | ||||
-rw-r--r-- | drivers/staging/rtl8723au/Kconfig | 37 | ||||
-rw-r--r-- | drivers/staging/rtl8723au/Makefile | 58 | ||||
-rw-r--r-- | drivers/staging/rtl8723au/TODO | 13 |
5 files changed, 111 insertions, 0 deletions
diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig index 47cf17543008..ea5efb426f75 100644 --- a/drivers/staging/Kconfig +++ b/drivers/staging/Kconfig | |||
@@ -50,6 +50,8 @@ source "drivers/staging/rtl8712/Kconfig" | |||
50 | 50 | ||
51 | source "drivers/staging/rtl8188eu/Kconfig" | 51 | source "drivers/staging/rtl8188eu/Kconfig" |
52 | 52 | ||
53 | source "drivers/staging/rtl8723au/Kconfig" | ||
54 | |||
53 | source "drivers/staging/rtl8821ae/Kconfig" | 55 | source "drivers/staging/rtl8821ae/Kconfig" |
54 | 56 | ||
55 | source "drivers/staging/rts5139/Kconfig" | 57 | source "drivers/staging/rts5139/Kconfig" |
diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile index d12f6189db46..86e020c2ad0d 100644 --- a/drivers/staging/Makefile +++ b/drivers/staging/Makefile | |||
@@ -17,6 +17,7 @@ obj-$(CONFIG_RTL8192U) += rtl8192u/ | |||
17 | obj-$(CONFIG_RTL8192E) += rtl8192e/ | 17 | obj-$(CONFIG_RTL8192E) += rtl8192e/ |
18 | obj-$(CONFIG_R8712U) += rtl8712/ | 18 | obj-$(CONFIG_R8712U) += rtl8712/ |
19 | obj-$(CONFIG_R8188EU) += rtl8188eu/ | 19 | obj-$(CONFIG_R8188EU) += rtl8188eu/ |
20 | obj-$(CONFIG_R8723AU) += rtl8723au/ | ||
20 | obj-$(CONFIG_R8821AE) += rtl8821ae/ | 21 | obj-$(CONFIG_R8821AE) += rtl8821ae/ |
21 | obj-$(CONFIG_RTS5139) += rts5139/ | 22 | obj-$(CONFIG_RTS5139) += rts5139/ |
22 | obj-$(CONFIG_RTS5208) += rts5208/ | 23 | obj-$(CONFIG_RTS5208) += rts5208/ |
diff --git a/drivers/staging/rtl8723au/Kconfig b/drivers/staging/rtl8723au/Kconfig new file mode 100644 index 000000000000..7f19d1566290 --- /dev/null +++ b/drivers/staging/rtl8723au/Kconfig | |||
@@ -0,0 +1,37 @@ | |||
1 | config R8723AU | ||
2 | tristate "Realtek RTL8723AU Wireless LAN NIC driver" | ||
3 | depends on WLAN && USB | ||
4 | select WIRELESS_EXT | ||
5 | select WEXT_PRIV | ||
6 | default n | ||
7 | ---help--- | ||
8 | This option adds the Realtek RTL8723AU USB device such as found in | ||
9 | the Lenovo Yogi 13 tablet. If built as a module, it will be called r8723au. | ||
10 | |||
11 | if R8723AU | ||
12 | |||
13 | config 8723AU_AP_MODE | ||
14 | bool "Realtek RTL8723AU AP mode" | ||
15 | default y | ||
16 | ---help--- | ||
17 | This option enables Access Point mode. Unless you know that your system | ||
18 | will never be used as an AP, or the target system has limited memory, | ||
19 | "Y" should be selected. | ||
20 | |||
21 | config 8723AU_P2P | ||
22 | bool "Realtek RTL8723AU Peer-to-peer mode" | ||
23 | default y | ||
24 | ---help--- | ||
25 | This option enables peer-to-peer mode for the r8723au driver. Unless you | ||
26 | know that peer-to-peer (P2P) mode will never be used, or the target system has | ||
27 | limited memory, "Y" should be selected. | ||
28 | |||
29 | config 8723AU_BT_COEXIST | ||
30 | bool "Realtek RTL8723AU BlueTooth Coexistence" | ||
31 | default y | ||
32 | ---help--- | ||
33 | This option enables icoexistence with BlueTooth communications for the r8723au driver. | ||
34 | Unless you know that this driver will never by used with BT, or the target system has | ||
35 | limited memory, "Y" should be selected. | ||
36 | |||
37 | endif | ||
diff --git a/drivers/staging/rtl8723au/Makefile b/drivers/staging/rtl8723au/Makefile new file mode 100644 index 000000000000..11c6dd486462 --- /dev/null +++ b/drivers/staging/rtl8723au/Makefile | |||
@@ -0,0 +1,58 @@ | |||
1 | r8723au-y := \ | ||
2 | core/rtw_ap.o \ | ||
3 | core/rtw_cmd.o \ | ||
4 | core/rtw_efuse.o \ | ||
5 | core/rtw_io.o \ | ||
6 | core/rtw_ioctl_set.o \ | ||
7 | core/rtw_ieee80211.o \ | ||
8 | core/rtw_led.o \ | ||
9 | core/rtw_mlme.o \ | ||
10 | core/rtw_mlme_ext.o \ | ||
11 | core/rtw_p2p.o \ | ||
12 | core/rtw_pwrctrl.o \ | ||
13 | core/rtw_recv.o \ | ||
14 | core/rtw_security.o \ | ||
15 | core/rtw_sreset.o \ | ||
16 | core/rtw_sta_mgt.o \ | ||
17 | core/rtw_xmit.o \ | ||
18 | core/rtw_wlan_util.o \ | ||
19 | hal/hal_com.o \ | ||
20 | hal/hal_intf.o \ | ||
21 | hal/Hal8723PwrSeq.o \ | ||
22 | hal/Hal8723UHWImg_CE.o \ | ||
23 | hal/HalDMOutSrc8723A_CE.o \ | ||
24 | hal/HalHWImg8723A_BB.o \ | ||
25 | hal/HalHWImg8723A_MAC.o \ | ||
26 | hal/HalHWImg8723A_RF.o \ | ||
27 | hal/HalPwrSeqCmd.o \ | ||
28 | hal/odm_RegConfig8723A.o \ | ||
29 | hal/rtl8723a_bt-coexist.o \ | ||
30 | hal/odm_debug.o \ | ||
31 | hal/odm_interface.o \ | ||
32 | hal/odm_HWConfig.o \ | ||
33 | hal/odm.o \ | ||
34 | hal/rtl8723a_cmd.o \ | ||
35 | hal/rtl8723a_dm.o \ | ||
36 | hal/rtl8723a_hal_init.o \ | ||
37 | hal/rtl8723a_phycfg.o \ | ||
38 | hal/rtl8723a_rf6052.o \ | ||
39 | hal/rtl8723a_rxdesc.o \ | ||
40 | hal/rtl8723a_sreset.o \ | ||
41 | hal/rtl8723a_xmit.o \ | ||
42 | hal/rtl8723au_led.o \ | ||
43 | hal/rtl8723au_recv.o \ | ||
44 | hal/rtl8723au_xmit.o \ | ||
45 | hal/usb_halinit.o \ | ||
46 | hal/usb_ops_linux.o \ | ||
47 | os_dep/ioctl_cfg80211.o \ | ||
48 | os_dep/mlme_linux.o \ | ||
49 | os_dep/osdep_service.o \ | ||
50 | os_dep/os_intfs.o \ | ||
51 | os_dep/recv_linux.o \ | ||
52 | os_dep/usb_intf.o \ | ||
53 | os_dep/usb_ops_linux.o \ | ||
54 | os_dep/xmit_linux.o | ||
55 | |||
56 | obj-$(CONFIG_R8723AU) := r8723au.o | ||
57 | |||
58 | ccflags-y += -D__CHECK_ENDIAN__ -I$(src)/include | ||
diff --git a/drivers/staging/rtl8723au/TODO b/drivers/staging/rtl8723au/TODO new file mode 100644 index 000000000000..175a0ceb7421 --- /dev/null +++ b/drivers/staging/rtl8723au/TODO | |||
@@ -0,0 +1,13 @@ | |||
1 | TODO: | ||
2 | - find and remove code valid only for 5 HGz. Many of the obvious | ||
3 | ones have been removed, but things like channel > 14 still exist. | ||
4 | - find and remove any code for other chips that is left over | ||
5 | - convert any remaining unusual variable types | ||
6 | - find codes that can use %pM and %Nph formatting | ||
7 | - checkpatch.pl fixes - most of the remaining ones are lines too long. Many | ||
8 | of them will require refactoring | ||
9 | - merge Realtek's bugfixes and new features into the driver | ||
10 | - switch to use MAC80211 | ||
11 | |||
12 | Please send any patches to Greg Kroah-Hartman <gregkh@linux.com>, | ||
13 | Jes Sorensen <Jes.Sorensen@redhat.com>, and Larry Finger <Larry.Finger@lwfinger.net>. | ||