mirror of https://gitee.com/openkylin/linux.git
rtlwifi: Modify build system for rtl8192cu
Modify Kconfig and Makefile to build rtl8192cu. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
29d00a3e46
commit
663dcc7367
|
@ -1,6 +1,6 @@
|
||||||
config RTL8192CE
|
config RTL8192CE
|
||||||
tristate "Realtek RTL8192CE/RTL8188SE Wireless Network Adapter"
|
tristate "Realtek RTL8192CE/RTL8188CE Wireless Network Adapter"
|
||||||
depends on MAC80211 && EXPERIMENTAL
|
depends on MAC80211 && PCI && EXPERIMENTAL
|
||||||
select FW_LOADER
|
select FW_LOADER
|
||||||
select RTLWIFI
|
select RTLWIFI
|
||||||
---help---
|
---help---
|
||||||
|
@ -9,7 +9,18 @@ config RTL8192CE
|
||||||
|
|
||||||
If you choose to build it as a module, it will be called rtl8192ce
|
If you choose to build it as a module, it will be called rtl8192ce
|
||||||
|
|
||||||
|
config RTL8192CU
|
||||||
|
tristate "Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter"
|
||||||
|
depends on MAC80211 && USB && EXPERIMENTAL
|
||||||
|
select FW_LOADER
|
||||||
|
select RTLWIFI
|
||||||
|
---help---
|
||||||
|
This is the driver for Realtek RTL8192CU/RTL8188CU 802.11n USB
|
||||||
|
wireless network adapters.
|
||||||
|
|
||||||
|
If you choose to build it as a module, it will be called rtl8192cu
|
||||||
|
|
||||||
config RTLWIFI
|
config RTLWIFI
|
||||||
tristate
|
tristate
|
||||||
depends on RTL8192CE
|
depends on RTL8192CE || RTL8192CU
|
||||||
default m
|
default m
|
||||||
|
|
|
@ -12,3 +12,6 @@ rtlwifi-objs := \
|
||||||
usb.o
|
usb.o
|
||||||
|
|
||||||
obj-$(CONFIG_RTL8192CE) += rtl8192ce/
|
obj-$(CONFIG_RTL8192CE) += rtl8192ce/
|
||||||
|
obj-$(CONFIG_RTL8192CU) += rtl8192cu/
|
||||||
|
|
||||||
|
ccflags-y += -D__CHECK_ENDIAN__
|
||||||
|
|
|
@ -10,3 +10,5 @@ rtl8192ce-objs := \
|
||||||
trx.o
|
trx.o
|
||||||
|
|
||||||
obj-$(CONFIG_RTL8192CE) += rtl8192ce.o
|
obj-$(CONFIG_RTL8192CE) += rtl8192ce.o
|
||||||
|
|
||||||
|
ccflags-y += -D__CHECK_ENDIAN__
|
||||||
|
|
|
@ -1077,6 +1077,7 @@
|
||||||
#define _RARF_RC8(x) (((x) & 0x1F) << 24)
|
#define _RARF_RC8(x) (((x) & 0x1F) << 24)
|
||||||
|
|
||||||
#define AC_PARAM_TXOP_LIMIT_OFFSET 16
|
#define AC_PARAM_TXOP_LIMIT_OFFSET 16
|
||||||
|
#define AC_PARAM_TXOP_OFFSET 16
|
||||||
#define AC_PARAM_ECW_MAX_OFFSET 12
|
#define AC_PARAM_ECW_MAX_OFFSET 12
|
||||||
#define AC_PARAM_ECW_MIN_OFFSET 8
|
#define AC_PARAM_ECW_MIN_OFFSET 8
|
||||||
#define AC_PARAM_AIFS_OFFSET 0
|
#define AC_PARAM_AIFS_OFFSET 0
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
rtl8192cu-objs := \
|
||||||
|
dm.o \
|
||||||
|
fw.o \
|
||||||
|
hw.o \
|
||||||
|
led.o \
|
||||||
|
mac.o \
|
||||||
|
phy.o \
|
||||||
|
rf.o \
|
||||||
|
sw.o \
|
||||||
|
table.o \
|
||||||
|
trx.o
|
||||||
|
|
||||||
|
obj-$(CONFIG_RTL8192CU) += rtl8192cu.o
|
||||||
|
|
||||||
|
ccflags-y += -D__CHECK_ENDIAN__
|
Loading…
Reference in New Issue