Skip to content
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

Wifi: Switch to mainline driver for RTL8723CS, RTL8811CU, RTL8821C, RTL8192EU from 6.10 onwards #6703

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
wifi: rtl8723cs: Switch to RTW88 driver from 6.11 onwards
Support for RTL8723cs has been added to mainline in kernel commit 64be03575f:
torvalds/linux@64be035

Even though this has been added in 6.10, switch over only from 6.11 onwards
to give the driver a little bit of time for potential improvements and fixes.
  • Loading branch information
ColorfulRhino committed Jun 6, 2024
commit c49dfe705d380521702c73257f77a0c683c031ae
4 changes: 3 additions & 1 deletion lib/functions/compilation/patch/drivers_network.sh
Original file line number Diff line number Diff line change
@@ -467,7 +467,9 @@ driver_rtl8723cs() {
return 0
fi

if linux-version compare "${version}" ge 6.1; then
# Support for RTL8723cs has been added to mainline 6.10 via RTW88 driver in kernel commit 64be03575f:
# https://github.com/torvalds/linux/commit/64be03575f9e9772ebdebc7f067d533348602083
if linux-version compare "${version}" ge 6.1 && linux-version compare "${version}" le 6.10; then

# Add to section Makefile
echo "obj-\$(CONFIG_RTL8723CS) += rtl8723cs/" >> "$kerneldir/drivers/staging/Makefile"