-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
rtw88: Add kernel 6.18 support and clean up patch logic #9041
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- 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.
WalkthroughA conditional restriction narrows the rtw88 SDIO RF-path detection patch application from kernel 6.1 or 6.16 to kernel 6.1 only. The associated comment is updated to reflect this constraint, with the patch being marked as handled upstream for newer kernels. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (8)📓 Common learnings📚 Learning: 2025-09-11T06:06:52.328ZApplied to files:
📚 Learning: 2025-09-09T07:30:22.419ZApplied to files:
📚 Learning: 2025-08-02T14:59:28.145ZApplied to files:
📚 Learning: 2025-11-20T18:20:11.985ZApplied to files:
📚 Learning: 2025-09-25T18:37:00.330ZApplied to files:
📚 Learning: 2025-07-22T07:02:58.863ZApplied to files:
📚 Learning: 2025-03-31T22:20:41.849ZApplied to files:
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
This PR fixes RTL8822CS WiFi initialization failures on kernel 6.18 by adding the missing rtw88 driver patches directory.
Problem:
patch/misc/rtw88/6.18/directory prevented upstream driver patches from being appliedSolution:
patch/misc/rtw88/6.18/directory with upstream driver patchesdrivers_network.shby removing obsolete kernel 6.16 referenceTechnical Details:
The RTL8822CS SDIO RF path detection fix was upstreamed in kernel 6.18, so patch 004 is not needed. However, the upstream rtw88 driver updates in patch 001 are still required and must be applied via the version-specific directory structure.
How Has This Been Tested?
Test Hardware:
Before fix:
[ 9.231300] rtw88_8822cs mmc1:0001:1: sdio read32 failed (0x11080): -110
[ 9.235262] rtw88_8822cs mmc1:0001:1: failed to download firmware
[ 9.242788] rtw88_8822cs mmc1:0001:1: failed to setup chip information
After fix:
Checklist:
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.