package/rtl8822cs: new package

This package adds the rtl88822cs WiFi driver.

   repo: https://github.com/jethome-ru/rtl88x2cs.git
   branch: tune_for_jethub

Driver is known to support Realtek RTL8822CS SDIO WiFi/BT chip.

Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Vyacheslav 2022-11-25 13:26:50 +03:00 committed by Thomas Petazzoni
parent 83f11700fe
commit d5ff6b9673
5 changed files with 44 additions and 0 deletions

View File

@ -2950,6 +2950,9 @@ F: package/llvm/
N: Vanya Sergeev <vsergeev@gmail.com>
F: package/lua-periphery/
N: Viacheslav Bocharov <adeep@lexina.in>
F: package/rtl8822cs/
N: Victor Huesca <victor.huesca@bootlin.com>
F: support/testing/tests/core/test_root_password.py

View File

@ -594,6 +594,7 @@ endmenu
source "package/rtl8812au-aircrack-ng/Config.in"
source "package/rtl8821au/Config.in"
source "package/rtl8821cu/Config.in"
source "package/rtl8822cs/Config.in"
source "package/sane-backends/Config.in"
source "package/sdparm/Config.in"
source "package/sedutil/Config.in"

View File

@ -0,0 +1,13 @@
comment "rl8822cs needs a Linux kernel to be built"
depends on !BR2_s390x
depends on !BR2_LINUX_KERNEL
config BR2_PACKAGE_RTL8822CS
bool "rtl8822cs"
depends on !BR2_s390x
depends on BR2_LINUX_KERNEL
help
Realtek RTL8822CS Wi-Fi driver as a kernel module (JetHome
repository)
https://github.com/jethome-ru/rtl88x2cs/

View File

@ -0,0 +1,2 @@
# Locally calculated
sha256 8ac5bc4d3fcec98eb06276552ffab020dd799a58bce6629cf55127c2ee1a89e6 rtl8822cs-b51ab22fffdbe4a8cbb88fcc04b00aa2ca87d0f3.tar.gz

View File

@ -0,0 +1,25 @@
################################################################################
#
# rtl8822cs
#
################################################################################
RTL8822CS_VERSION = b51ab22fffdbe4a8cbb88fcc04b00aa2ca87d0f3
RTL8822CS_SITE = $(call github,jethome-ru,rtl88x2cs,$(RTL8822CS_VERSION))
RTL8822CS_LICENSE = GPL-2.0
RTL8822CS_MODULE_MAKE_OPTS = \
CONFIG_RTL8822CS=m \
KVER=$(LINUX_VERSION_PROBED) \
KSRC=$(LINUX_DIR)
define RTL8822CS_LINUX_CONFIG_FIXUPS
$(call KCONFIG_ENABLE_OPT,CONFIG_NET)
$(call KCONFIG_ENABLE_OPT,CONFIG_WIRELESS)
$(call KCONFIG_ENABLE_OPT,CONFIG_CFG80211)
$(call KCONFIG_ENABLE_OPT,CONFIG_MAC80211)
$(call KCONFIG_ENABLE_OPT,CONFIG_MMC)
endef
$(eval $(kernel-module))
$(eval $(generic-package))