Skip to content

Commit 9e1d62f

Browse files
authored
rtw88: Add kernel 6.18 support and clean up patch logic (#9041)
- Created patch/misc/rtw88/6.18/ directory with upstream driver patches - Removed obsolete kernel 6.16 reference from patch conditions - Updated comment to clarify that RF path detection fix is only needed for kernel 6.1.x (upstreamed in 6.18+) This fixes RTL8822CS WiFi initialization failures on kernel 6.18 where the driver was not being properly patched due to missing version directory. Fixes SDIO timeout errors during chip initialization.
1 parent 3dbd4e8 commit 9e1d62f

File tree

2 files changed

+12690
-2
lines changed

2 files changed

+12690
-2
lines changed

lib/functions/compilation/patch/drivers_network.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,8 @@ driver_rtw88() {
366366
fi
367367
fi
368368

369-
if linux-version compare "${version}" eq 6.1 || linux-version compare "${version}" eq 6.16; then
370-
process_patch_file "${SRC}/patch/misc/rtw88/hack/004-rtw88-sdio-rf-path-detection-fix.patch" "applying" # This patch has been tested only on kernel 6.1.x/6.16.x.
369+
if linux-version compare "${version}" eq 6.1; then
370+
process_patch_file "${SRC}/patch/misc/rtw88/hack/004-rtw88-sdio-rf-path-detection-fix.patch" "applying" # This patch is only for kernel 6.1.x. Not needed for 6.18+ (already upstream)
371371
fi
372372
}
373373

0 commit comments

Comments
 (0)