You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
9Tripod / Added initial wifi support
- Modified kernel Makefile to ignore warnings generated from Rockchip wifi code - Modified DTS to add chipset and other information to the device tree - Added rockchip,grf property to wireless-wlan - Modified Kconfig and Makefiles to include the rtl8821cs driver into the build process. Signed-off-by: Steve Hay <me@stevenhay.com>
This commit is contained in:
@@ -20,6 +20,7 @@ properties:
|
||||
oneOf:
|
||||
- const: "realtek,rtl8723bs-bt"
|
||||
- const: "realtek,rtl8723cs-bt"
|
||||
- const: "realtek,rtl8821cs-bt"
|
||||
- const: "realtek,rtl8822cs-bt"
|
||||
|
||||
device-wake-gpios:
|
||||
|
||||
3
Makefile
3
Makefile
@@ -1018,6 +1018,9 @@ KBUILD_CFLAGS += $(call cc-disable-warning, restrict)
|
||||
# Enabled with W=2, disabled by default as noisy
|
||||
KBUILD_CFLAGS += $(call cc-disable-warning, maybe-uninitialized)
|
||||
|
||||
# Added because of Rockchip wireless lan drivers
|
||||
KBUILD_CFLAGS += $(call cc-disable-warning, implicit-fallthrough)
|
||||
|
||||
# disable invalid "can't wrap" optimizations for signed / pointers
|
||||
KBUILD_CFLAGS += -fno-strict-overflow
|
||||
|
||||
|
||||
@@ -40,5 +40,6 @@ source "drivers/net/wireless/rockchip_wlan/cywdhd/Kconfig"
|
||||
source "drivers/net/wireless/rockchip_wlan/infineon/Kconfig"
|
||||
source "drivers/net/wireless/rockchip_wlan/rtl8852be/Kconfig"
|
||||
source "drivers/net/wireless/rockchip_wlan/rtl8852bu/Kconfig"
|
||||
source "drivers/net/wireless/rockchip_wlan/rtl8821cs/Kconfig"
|
||||
|
||||
endif # WL_ROCKCHIP
|
||||
|
||||
@@ -4,4 +4,5 @@ obj-$(CONFIG_CYW_BCMDHD) += cywdhd/
|
||||
obj-$(CONFIG_INFINEON_DHD) += infineon/
|
||||
|
||||
obj-$(CONFIG_RTL8852BE) += rtl8852be/
|
||||
obj-$(CONFIG_RTL8852BU) += rtl8852bu/
|
||||
obj-$(CONFIG_RTL8852BU) += rtl8852bu/
|
||||
obj-$(CONFIG_RTL8821CS) += rtl8821cs/
|
||||
@@ -1,4 +1,4 @@
|
||||
config RTL8821CS
|
||||
tristate "Realtek 8821C SDIO WiFi"
|
||||
tristate "Realtek 8821CS SDIO WiFi"
|
||||
help
|
||||
Help message of RTL8821CS
|
||||
|
||||
@@ -1431,13 +1431,13 @@ EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUN50IW1P1
|
||||
EXTRA_CFLAGS += -DCONFIG_TRAFFIC_PROTECT
|
||||
# default setting for Android 4.1, 4.2
|
||||
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||
EXTRA_CFLAGS += -DCONFIG_RESUME_IN_WORKQUEUE
|
||||
EXTRA_CFLAGS += -DCONFIG_PLATFORM_OPS
|
||||
# EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||
# EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||
# EXTRA_CFLAGS += -DCONFIG_RESUME_IN_WORKQUEUE
|
||||
# EXTRA_CFLAGS += -DCONFIG_PLATFORM_OPS
|
||||
|
||||
# Enable this for Android 5.0
|
||||
EXTRA_CFLAGS += -DCONFIG_RADIO_WORK
|
||||
# EXTRA_CFLAGS += -DCONFIG_RADIO_WORK
|
||||
|
||||
ifeq ($(CONFIG_USB_HCI), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_USE_USB_BUFFER_ALLOC_TX
|
||||
@@ -1500,7 +1500,7 @@ EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||
EXTRA_CFLAGS += -DCONFIG_SKIP_SIGNAL_SCALE_MAPPING
|
||||
ifeq ($(CONFIG_SDIO_HCI), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_RESUME_IN_WORKQUEUE
|
||||
# EXTRA_CFLAGS += -DCONFIG_RESUME_IN_WORKQUEUE
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user