GitHub/LineageOS/G12/android_hardware_amlogic_kernel-modules_rtl8822cs.git
6 months agortl8822cs: Strip modules using llvm-strip lineage-20 lineage-21
Bruno Martins [Fri, 20 Oct 2023 23:22:47 +0000 (00:22 +0100)]
rtl8822cs: Strip modules using llvm-strip

With this, the GCC dependency is gone for good.

Change-Id: Iece3d3e642434781a002b4d61d615afe70b1b19f

6 months agortl88x2CS: Fix self-assign compilation error
Bruno Martins [Sun, 22 Oct 2023 16:55:26 +0000 (17:55 +0100)]
rtl88x2CS: Fix self-assign compilation error

Change-Id: I686a99d8b15d7ced2fb5ad102aac891ac20f6591

6 months agortl88x2CS: Fix enum-conversion error
Bruno Martins [Sun, 22 Oct 2023 16:51:15 +0000 (17:51 +0100)]
rtl88x2CS: Fix enum-conversion error

Fixes the following:

../ETC/8822cs_intermediates/hal/rtl8822c/sdio/rtl8822cs_ops.c:30:21: error: implicit conversion from enumeration type 'enum halmac_rx_agg_mode' to different enumeration type 'RX_AGG_MODE' (a
ka 'enum _RX_AGG_MODE') [-Werror,-Wenum-conversion]
        phal->rxagg_mode = HALMAC_RX_AGG_MODE_DMA;
                         ~ ^~~~~~~~~~~~~~~~~~~~~~

Change-Id: I39488a1357206cc0ab834522b3d43cc4a4d78960

6 months agortl88x2CS: Resolve constant-conversion errors
Bruno Martins [Sun, 22 Oct 2023 16:44:56 +0000 (17:44 +0100)]
rtl88x2CS: Resolve constant-conversion errors

Change-Id: I7909337b42dfc39ad4fab5f74341d5614afb150a

6 months agortl88x2CS: Fix pointer-bool-conversion errors
Bruno Martins [Sun, 22 Oct 2023 16:38:33 +0000 (17:38 +0100)]
rtl88x2CS: Fix pointer-bool-conversion errors

Change-Id: I4acf2ad58ec31438216715589af8c75d3ae18fbf

6 months agortl88x2CS: Address equality comparisons with extraneous parentheses
Bruno Martins [Sun, 22 Oct 2023 16:33:38 +0000 (17:33 +0100)]
rtl88x2CS: Address equality comparisons with extraneous parentheses

Change-Id: I58c8e41cfe8d187a50ded9deba38262558140ba9

6 months agoamlogic: Compile kernel modules with clang
Christian Hoffmann [Sat, 11 Feb 2023 10:54:17 +0000 (11:54 +0100)]
amlogic: Compile kernel modules with clang

Change-Id: I486acdee0a13b5c265392b8b76ad2ebc185d6758

2 years agoEnable wifi on insmod lineage-18.1 lineage-19.1
Aaron Kling [Sat, 3 Jul 2021 03:43:52 +0000 (22:43 -0500)]
Enable wifi on insmod

2 years agoAdd makefile to build module inline
Aaron Kling [Thu, 24 Jun 2021 20:25:18 +0000 (15:25 -0500)]
Add makefile to build module inline

2 years agoimport realtek 8822cs kernel driver
Jan Altensen [Mon, 21 Jun 2021 00:42:40 +0000 (02:42 +0200)]
import realtek 8822cs kernel driver

 * from https://github.com/BPI-SINOVOIP/BPI-S905X3-Android9 @ 5f6b6d7773ff9d07001030b8e797673a2f64e9a9 (hardware/wifi/realtek/drivers/8822cs)

Change-Id: Ie56b9b5705d1e0688d5d6f41ef6bd1b327423741