Skip to content

Commit ffead65

Browse files
rpardiniigorpecovnik
authored andcommitted
drivers_network: disable 6.17+ for rtl8811_rtl8812_rtl8814_rtl8821, rtl8811CU_rtl8821C and rtl88x2bu
- two of those were already marked to be removed 6.12+ - for those in need: send fix upstream, wait for merge, update here and re-enable - in case upstream abandoned: fork and fix, update here and re-enable
1 parent 4088a0e commit ffead65

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

lib/functions/compilation/patch/drivers_network.sh

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ driver_rtl8192EU() {
174174
driver_rtl8811_rtl8812_rtl8814_rtl8821() {
175175

176176
# Wireless drivers for Realtek 8811, 8812, 8814 and 8821 chipsets
177-
178-
if linux-version compare "${version}" ge 3.14; then
177+
# disabled from 6.17 and on.
178+
if linux-version compare "${version}" ge 3.14 && linux-version compare "${version}" lt 6.17; then
179179

180180
# Attach to specific commit (is branch:v5.6.4.2_fix_6.15)
181181
local rtl8812auver="commit:6e736a32f24605d8625d90f0edabf5a1669c7a74" # Commit date: 2025-06-01 (please update when updating commit ref)
@@ -259,11 +259,8 @@ driver_xradio_xr819() {
259259
driver_rtl8811CU_rtl8821C() {
260260
# Wireless drivers for Realtek RTL8811CU and RTL8821C chipsets
261261

262-
if linux-version compare "${version}" ge 3.14; then
263-
264-
# deprecate this driver with 6.12+
265-
# https://github.com/morrownr/8821cu-20210916/commit/945c687aa1e62ee0b95b1ddd1dbfdbd513c30152
266-
262+
# disabled from 6.17 and on, see https://github.com/morrownr/8821cu-20210916/commit/945c687aa1e62ee0b95b1ddd1dbfdbd513c30152
263+
if linux-version compare "${version}" ge 3.14 && linux-version compare "${version}" lt 6.17; then
267264
# Attach to specific commit (is branch:main)
268265
local rtl8811cuver="commit:d74134a1c68f59f2b80cdd6c6afb8c1a8a687cbf" # Commit date: 2025-05-08 (please update when updating commit ref)
269266

@@ -307,10 +304,8 @@ driver_rtl88x2bu() {
307304

308305
# Wireless drivers for Realtek 88x2bu chipsets
309306

310-
if linux-version compare "${version}" ge 5.0; then
311-
312-
# deprecate this driver with 6.12+
313-
# https://github.com/morrownr/88x2bu-20210702/commit/fe48647496798cac77976e310ee95da000b436c9
307+
# disabled from 6.17 and on, see https://github.com/morrownr/88x2bu-20210702/commit/fe48647496798cac77976e310ee95da000b436c9
308+
if linux-version compare "${version}" ge 5.0 && linux-version compare "${version}" lt 6.17; then
314309

315310
# Attach to specific commit (is branch:main)
316311
local rtl88x2buver="commit:1ee13286e0b212c22946aa8d51aa7d84cb876cd4" # Commit date: 2025-05-06 (please update when updating commit ref)
@@ -360,7 +355,7 @@ driver_rtw88() {
360355
process_patch_file "${SRC}/patch/misc/rtw88/hack/003-rtw88-decrease-the-log-level-of-tx-report.patch" "applying"
361356
fi
362357
fi
363-
358+
364359
if linux-version compare "${version}" eq 6.1 || linux-version compare "${version}" eq 6.16; then
365360
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.
366361
fi

0 commit comments

Comments
 (0)