Felix Fietkau [Sun, 21 Sep 2025 13:39:35 +0000 (15:39 +0200)]
wpa_supplicant: add MLO client support
Can also be used for a client mode interface that is able to connect on
multiple bands individually, while handling hostapd state for the correct
band.
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Sun, 21 Sep 2025 13:30:09 +0000 (15:30 +0200)]
wpa_supplicant: initialize interface list on startup
Avoid errors on deref if adding an interface fails
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Sat, 20 Sep 2025 15:14:47 +0000 (17:14 +0200)]
wifi-scripts: ucode: fix client mode scan list support
- fix the variable name in the configuration file
- provide a default scan list in case the user did not configure it (MLO preparation)
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Wed, 17 Sep 2025 19:31:51 +0000 (21:31 +0200)]
wifi-scripts: simplify MLO handling
Move mlo specific hostapd ubus call from wireless handler to netifd core
ucode script. This avoids unnecessary queueing and the fake MLO wireless
device.
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Wed, 17 Sep 2025 10:44:05 +0000 (12:44 +0200)]
wifi-scripts: enable ucode scripts by default
They are required for MLO support
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Wed, 17 Sep 2025 10:27:31 +0000 (12:27 +0200)]
netifd/wifi-scripts: use shared global connection for ubus
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Sat, 6 Sep 2025 14:47:42 +0000 (16:47 +0200)]
hostapd: add wpa_supplicant ubus function guard exception handler
Improves logging when something goes wrong
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Sat, 6 Sep 2025 14:45:15 +0000 (16:45 +0200)]
hostapd: ubus: replace ex_wrap exception handler function with global guard
Simplifies the code
Signed-off-by: Felix Fietkau <[email protected]>
Stijn Segers [Sun, 7 Sep 2025 09:03:47 +0000 (11:03 +0200)]
realtek: rtl930x: rename XGS1250-12 to A1
Zyxel labels their switch revisions A1, B1, ... and not v1, v2, ...
Rename the supported device to A1 to make it clear this is the only
known compatible hardware revision.
Also add a compatible for seamless upgrade.
Signed-off-by: Stijn Segers <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20118
Signed-off-by: Robert Marko <[email protected]>
Stijn Segers [Sun, 21 Sep 2025 10:00:28 +0000 (12:00 +0200)]
realtek: rtl839x: rename GS1900 series v1/v2 to A1/B1
Zyxel labels their switch revisions A1, B1, ... and not v1, v2, ...
Rename the devices as such in OpenWrt to match the labels. Of note:
the first (A1) revision is never labeled as such on the label, just
in the web UI. Provide compatibles for seamless sysupgrade.
For a recent overview of Zyxel GS1900 series revisions, see the
table linked in https://forum.openwrt.org/t//57875/3874.
Signed-off-by: Stijn Segers <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20118
Signed-off-by: Robert Marko <[email protected]>
Stijn Segers [Thu, 4 Sep 2025 18:26:08 +0000 (20:26 +0200)]
realtek: rtl838x: rename GS1900 series v1/v2 to A1/B1
Zyxel labels their switch revisions A1, B1, ... and not v1, v2, ...
Rename the devices as such in OpenWrt to match the labels. Of note:
the first (A1) revision is never labeled as such on the label, just
in the web UI. Provide compatibles for seamless sysupgrade.
For a recent overview of Zyxel GS1900 series revisions, see the
table linked in https://forum.openwrt.org/t//57875/3874.
Signed-off-by: Stijn Segers <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20118
Signed-off-by: Robert Marko <[email protected]>
Rosen Penev [Fri, 14 Jun 2024 19:40:13 +0000 (12:40 -0700)]
ath79: dir-842: use nvmem
Userspace handling is deprecated.
Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/17344
Signed-off-by: Robert Marko <[email protected]>
Rosen Penev [Sat, 15 Jun 2024 20:57:31 +0000 (13:57 -0700)]
ath79: dlink,dir-615-e4: use nvmem
Userspace handling is deprecated.
Move the mac address patch to 10_fix_wifi_mac.
This uses an AR9287, which uses a smaller size for its calibration.
The PCI ID is also wrong.
Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19864
Signed-off-by: Robert Marko <[email protected]>
Rosen Penev [Thu, 28 Aug 2025 00:21:44 +0000 (17:21 -0700)]
lantiq: use new ADSL nvmem support
Can now set through DTS.
Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19910
Signed-off-by: Hauke Mehrtens <[email protected]>
Rosen Penev [Thu, 28 Aug 2025 00:21:44 +0000 (17:21 -0700)]
ltq-ptm: add NVMEM MAC support for ADSL
fcc48204d2 added support for VDSL. This is the same commit but for ADSL.
Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19910
Signed-off-by: Hauke Mehrtens <[email protected]>
Mikhail Zhilkin [Mon, 15 Sep 2025 19:09:32 +0000 (22:09 +0300)]
mediatek: CMCC RAX3000Me: fix stability issues
This commit fixes stability issues on certain RAX3000Me devices. Some
devices has DDR3 RAM which don't able to work reliably at 2133 MHz
and require special BL2 (1866 MHz RAM freq).
Fixes: https://github.com/openwrt/openwrt/issues/20046
Signed-off-by: Mikhail Zhilkin <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20059
Signed-off-by: Hauke Mehrtens <[email protected]>
Mikhail Zhilkin [Mon, 15 Sep 2025 20:13:04 +0000 (23:13 +0300)]
arm-trusted-firmware-mediatek: add mt7981 DDR3 1866 MHz builds
The new profiles are intended for devices with DDR3 RAM which
don't able to work reliably at 2133 MHz.
Signed-off-by: Mikhail Zhilkin <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20059
Signed-off-by: Hauke Mehrtens <[email protected]>
Mikhail Zhilkin [Mon, 15 Sep 2025 18:53:25 +0000 (21:53 +0300)]
arm-trusted-firmware-mediatek: mt7981-ram-ddr3: reduce ddr3 freq to 1866MHz
This fixes stability issues on certain devices.
Fixes: https://github.com/openwrt/openwrt/issues/20046
Signed-off-by: Mikhail Zhilkin <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20059
Signed-off-by: Hauke Mehrtens <[email protected]>
John Audia [Wed, 17 Sep 2025 14:34:13 +0000 (10:34 -0400)]
linux-firmware: update to
20250917
Update to
20250917 in which the firmware for iwlwifi moved to
intel/iwlwifi[1] so adjust Makefile accordingly.
% git log --no-merges --pretty=oneline --abbrev-commit
20250808...
20250917
a9f26799247a amdgpu: update PSP 14.0.3 kicker firmware
7c3980a26d68 amdgpu: update vega20 firmware
c12707ae2dfa amdgpu: update vega12 firmware
c8048421f579 amdgpu: update vega10 firmware
93abdb308d30 amdgpu: update vangogh firmware
be73284e2f7f amdgpu: update VCN 4.0.6 firmware
eb56f5ae9199 amdgpu: update PSP 14.0.1 firmware
9643cbf2c94e amdgpu: update GC 11.5.1 firmware
b73c1b2f238a amdgpu: update VCN 4.0.5 firmware
421085982a64 amdgpu: update VPE 6.1.0 firmware
5e8da647d8a5 amdgpu: update PSP 14.0.0 firmware
ca201f8407b6 amdgpu: update GC 11.5.0 firmware
09dcf0ed7b45 amdgpu: update renoir firmware
b27822eae04a amdgpu: update yellow carp firmware
8d34604f6f2d amdgpu: update VCN 3.1.2 firmware
2f4eba1172db amdgpu: update PSP 13.0.5 firmware
5eb854bde3d1 amdgpu: update GC 10.3.6 firmware
5c34be1058b0 amdgpu: update PSP 13.0.11 firmware
8a8100c5da80 amdgpu: update GC 11.0.4 firmware
fab8ed8fcf6c amdgpu: update VCN 4.0.2 firmware
42eb6ad1e135 amdgpu: update PSP 13.0.4 firmware
6c47866dee63 amdgpu: update GC 11.0.1 firmware
7d9022b56d9f amdgpu: update VCN 5.0.0 firmware
5cb539e8178d amdgpu: update PSP 14.0.3 firmware
ab4867765f16 amdgpu: update GC 12.0.1 firmware
70337b2fe2e4 amdgpu: update SMU 14.0.2 firmware
365e86fe8eac amdgpu: update PSP 14.0.2 firmware
98306ae95355 amdgpu: update GC 12.0.0 firmware
618e92a7582f amdgpu: update VCN 4.0.4 firmware
377cde4784d3 amdgpu: update PSP 13.0.7 firmware
90ef164e2a20 amdgpu: update GC 11.0.2 firmware
068b1b886ad7 amdgpu: update SMU 13.0.10 firmware
ef230a82c77a amdgpu: update PSP 13.0.10 firmware
981df0011104 amdgpu: update GC 11.0.3 firmware
c5bd5d23d026 amdgpu: update SMU 13.0.0 kicker firmware
49b6d2db05a7 amdgpu: update PSP 13.0.0 kicker firmware
85014781be88 amdgpu: update VCN 4.0.0 firmware
c7beb200e2f8 amdgpu: update SDMA 6.0.0 firmware
dfa8be4ec1bb amdgpu: update SMU 13.0.0 firmware
154e8d1559f6 amdgpu: update PSP 13.0.0 firmware
7dea59d23b92 amdgpu: update GC 11.0.0 firmware
d54c5a4464d7 amdgpu: update beige goby firmware
ba313d87e661 amdgpu: update dimgrey cavefish firmware
1dac1ae8da5a amdgpu: update navy flounder firmware
edb255ec5799 amdgpu: update sienna cichlid firmware
05bf27466308 amdgpu: update navi14 firmware
f33198f1d3c6 amdgpu: update navi12 firmware
6b9312de248b amdgpu: update navi10 firmware
0eb298e1924a amdgpu: update VCN 5.0.1 firmware
263fa1962fb3 amdgpu: update PSP 13.0.12 firmware
45c28bd13927 amdgpu: update GC 9.5.0 firmware
eeb986988f69 amdgpu: update PSP 13.0.14 firmware
38b7298d5671 amdgpu: update GC 9.4.4 firmware
8de2474118bf amdgpu: update SDMA 6.1.3 firmware
bdacedf28cb7 amdgpu: update PSP 14.0.5 firmware
c3407118c53c amdgpu: update GC 11.5.3 firmware
59cac4434cb7 amdgpu: update VPE 6.1.3 firmware
06d251853d09 amdgpu: update PSP 14.0.4 firmware
6e5828de499d amdgpu: update GC 11.5.2 firmware
16e06e599952 amdgpu: update green sardine firmware
5697f5139f6c amdgpu: update VCN 4.0.3 firmware
5ce8c510e174 amdgpu: update PSP 13.0.6 firmware
8caace3229c5 amdgpu: update GC 9.4.3 firmware
149f9b8e3422 linux-firmware: update firmware for en8811h 2.5G ethernet phy
ba7d706f9cf6 amdgpu: DMCUB updates for various ASICs
96fa6d9157ea intel/ish: Add firmware for LENOVO THINKPAD X1 2-in-1 Gen 10
ac27fb925034 mediatek MT7922: update bluetooth firmware to
20250903123504
ba41835c21eb linux-firmware: update firmware for MT7922 WiFi device
0732a4c4958a qcom: move Monaco EVK topology from qcs8275 to qcs8300 subdir
1135eb435b7b qcom: Add Audio topology for MONACO-EVK
abf91414e840 qcom: add CDSP firmware for qcs615 platform
22990e4c616e qcom: Add Audio topology for LEMANS-EVK
1c44d84a08bf ath12k: WCN7850 hw2.0@ncm865: add to WLAN.IOE_HMT.1.1-00018-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1
f4bff0fc25cb linux-firmware: update firmware for MT7925 WiFi device
7278ab0e55cf mediatek MT7925:update bluetooth firmware to
20250825220109 Update binary firmware for MT7925 BT devices.
d9e126112daa qcom: vpu: update firmware binaries to fix encoder drain handling
6400e0ed82a6 intel_vpu: Update NPU firmware
739c7638b982 Revert "cs35l56: Rename firmware for Thinkbook 16P Gen6 (
17AA3921) without multiple speakers"
bd28704ab16e cs35l56: Rename firmware for Thinkbook 16P Gen6 (
17AA3921) without multiple speakers
d2f41cc246ba xe: Update GUC to v70.49.4 for BMG, LNL, PTL
20cf22e50252 i915: Update GUC to v70.49.4 for ADL-P, DG1, DG2, MTL, TGL
4897d80cce5f qcom: add ADSP firmware for qcs615 platform
ed1c122b2a42 rtl_bt: Update RTL8822C BT USB firmware to 0x2B66_D962
91fd5ffa1510 iwlwifi: add Bz-HR FW for core90-93 release
dbe75f7ca712 Fix link entry for qat_895xcc.bin
06205c0eb81a Move QAT firmware to intel/ subdirectory
078946281c84 Move all iwlwifi top level files to intel/ directory
ef42281a3aaf Revert "intel/ish: Add firmware for LENOVO THINKPAD X1 2-in-1 Gen 10"
0cfc1632ef7b ath11k: Support WCN6855 hw2.1 with NFA firmware variant
a89515d3ff79 amdgpu: Update ISP FW for isp v4.1.1
3b7a8ca912ab Update README.md to clarify S-o-b requirements
5ca18e346401 firmware: qcom: Reorder VPU firmware entries in WHENCE
409b3cea3097 intel_vpu: Update NPU firmware
a4a827849a58 amdgpu: DMCUB updates for various ASICs
82045de5e845 intel/ish: Add firmware for LENOVO THINKPAD X1 2-in-1 Gen 10
fa855bd9ece7 cirrus: cs35l41: Move entries to correct driver section in WHENCE
be22069598e3 cirrus: cs35l56: Update firmware for Cirrus Amps for some Lenovo laptops
71b945d2190c ath11k: WCN6855 hw2.0@nfa765: add to WLAN.HSP.1.1-04685-QCAHSPSWPL_V1_V2_SILICONZ_IOE-1
c6a9ced69823 cirrus: cs35l56: Add firmware for Cirrus Amps for some Lenovo laptops
ece445af91bb qcom: Add firmware binary for SM8650.
5b0934ba6192 Link rtl8723b_config.bin to rtl8723bs
feb33add04d9 rtw89: 8922a: update fw to v0.35.80.3
ba3e128340cf rtw89: 8852c: update fw to v0.27.129.4
ee5228bfe181 rtw89: 8852c: update fw to v0.27.129.3
2907133be681 qcom: add CDSP firmware for x1e80100 platform
b5b78dda06f9 iwlwifi: add Bz/gl FW for core97-84 release
70fce2e71a3c iwlwifi: update ty/So/Ma firmwares for core97-84 release
b19b3cf8e414 iwlwifi: update cc/Qu/QuZ firmwares for core97-84 release
2bf6ab128f0b amdgpu: DMCUB updates for various ASICs
3a12b0fec4be realtek: rt1321: Add patch firmware of MCU
5260f2873636 mediatek: Add MT8189 SCP firmware
d0fb4a8f2da4 amdgpu: DMCUB updates for various ASICs
930ef9046e38 panthor: Add firmware for more Mali GPUs
d986d065ae7b amdgpu: update renoir firmware
9897853cea76 amdgpu: add SMU 14.0.3 kicker firmware
bd5906138f51 amdgpu: add PSP 14.0.3 firmware
29a5e75e5ddd amdgpu: add GC 12.0.1 kicker firmware
a0278b8ba301 amdgpu: update navy flounder firmware
001f18e5b9b2 amdgpu: update SDMA 6.1.2 firmware
4d2ae0f5205b amdgpu: update PSP 14.0.4 firmware
674f8b1dafa9 amdgpu: update GC 11.5.2 firmware
fd7de77c5998 amdgpu: update yellow carp firmware
baff98c457a0 amdgpu: update VCN 5.0.0 firmware
0a5ac406dbb7 amdgpu: update SDMA 7.0.1 firmware
06f096fc40b5 amdgpu: update PSP 14.0.3 firmware
66a604e1406b amdgpu: update GC 12.0.1 firmware
b2d4246e1547 amdgpu: update sienna cichlid firmware
a48f75acdb3d amdgpu: update vega20 firmware
c3b4c3880492 amdgpu: update SDMA 7.0.0 firmware
f87d250299da amdgpu: update PSP 14.0.2 firmware
b53bcd8ac757 amdgpu: update GC 12.0.0 firmware
5bcadbbec2a5 amdgpu: update vega12 firmware
db8456fde4ec amdgpu: update vega10 firmware
e3998061416e amdgpu: update VCN 3.1.2 firmware
f98da641b72d amdgpu: update PSP 13.0.5 firmware
8614f13eca99 amdgpu: update GC 10.3.6 firmware
740f17080a5c amdgpu: update VCN 4.0.4 firmware
b1534c2e2fa5 amdgpu: update SDMA 6.0.2 firmware
a911fa376d7a amdgpu: update PSP 13.0.7 firmware
5a33df773db8 amdgpu: update GC 11.0.2 firmware
df03c98de76d amdgpu: update navi14 firmware
fe2338805ef5 amdgpu: update SDMA 6.0.3 firmware
516b41a37410 amdgpu: update PSP 13.0.10 firmware
b863bcee224e amdgpu: update GC 11.0.3 firmware
1b0815132267 amdgpu: update navi12 firmware
41c111e7e5b7 amdgpu: update vangogh firmware
d626db731b04 amdgpu: update navi10 firmware
c48f3cf6d95a amdgpu: update PSP 13.0.0 kicker firmware
f3d5f44b2a07 amdgpu: update VCN 5.0.1 firmware
86eb91a2f97f amdgpu: update PSP 13.0.12 firmware
4baea1265aaa amdgpu: update GC 9.5.0 firmware
9a71965f82b6 amdgpu: update VCN 4.0.0 firmware
6a33949aace4 amdgpu: update SDMA 6.0.0 firmware
839eaca8a5d7 amdgpu: update GC 11.0.0 firmware
6b4062a2e25c amdgpu: update PSP 13.0.14 firmware
9c0e99a54789 amdgpu: update PSP 13.0.6 firmware
09c3e7a1ca34 amdgpu: update GC 9.4.3 firmware
6893d17b30d7 amdgpu: update vpe 6.1.1 firmware
85c7640cc83c amdgpu: update VCN 4.0.6 firmware
61c473cf6829 amdgpu: update SDMA 6.1.1 firmware
2cef366f6aba amdgpu: update PSP 14.0.1 firmware
5e35839d7b4c amdgpu: update GC 11.5.1 firmware
448a3efa17f9 amdgpu: update PSP 13.0.11 firmware
3c7c3487dbd3 amdgpu: update GC 11.0.4 firmware
ff54f49cd41e amdgpu: update beige goby firmware
442449670be7 amdgpu: update PSP 13.0.8 firmware
fd27c247e5bf amdgpu: update GC 10.3.7 firmware
397a1b97fc36 amdgpu: update VCN 4.0.5 firmware
f70084acf5f1 amdgpu: update PSP 14.0.0 firmware
dfa4987b55b9 amdgpu: update GC 11.5.0 firmware
6e59320c3bf3 amdgpu: update VCN 4.0.2 firmware
2e1460fdad15 amdgpu: update SDMA 6.0.1 firmware
426a9d94e6cc amdgpu: update PSP 13.0.4 firmware
5271eb7f6674 amdgpu: update GC 11.0.1 firmware
0d8518ea7368 amdgpu: update dimgrey_cavefish firmware
11c4ebf4c4a2 amdgpu: update aldebaran firmware
0239fb7f728a qca: Update Bluetooth WCN6750 1.1.3-00069 firmware to 1.1.3-00091
Build system: x86/64
Build-tested: x86/64-glibc
Run-tested: x86/64-glibc (Intel N150 PC)
1. https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=
078946281c84e8477222e51f29416439a037d83d
Co-authored-by: Leo Barsky <[email protected]>
Signed-off-by: John Audia <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20072
Signed-off-by: Hauke Mehrtens <[email protected]>
Coia Prant [Sat, 20 Sep 2025 09:54:10 +0000 (17:54 +0800)]
ramips: Add factory image for Qding QC202
Added factory image using mkqdimg.
Signed-off-by: Coia Prant <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20102
Signed-off-by: Hauke Mehrtens <[email protected]>
Andreas Gnau [Sun, 21 Sep 2025 17:55:56 +0000 (19:55 +0200)]
rockchip: add missing config symbols
Run make kernel_oldconfig add unanswered config symbols.
Signed-off-by: Andreas Gnau <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20121
Signed-off-by: Hauke Mehrtens <[email protected]>
Andreas Gnau [Mon, 22 Sep 2025 02:41:09 +0000 (04:41 +0200)]
generic: 6.12: add missing symbol NET_DSA_KS8995
Add missing KConfig symbol CONFIG_NET_DSA_KS8995.
Fixes: 73504d0b2784 ("kernel: kmod-dsa-ks8995: Backport DSA patches")
Signed-off-by: Andreas Gnau <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20121
Signed-off-by: Hauke Mehrtens <[email protected]>
Aleksander Jan Bajkowski [Mon, 22 Sep 2025 18:46:04 +0000 (20:46 +0200)]
kernel: move accepted patch to backport directory
This patch has already been accepted and landed in 6.17.
Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20132
Signed-off-by: Hauke Mehrtens <[email protected]>
Aleksander Jan Bajkowski [Mon, 22 Sep 2025 17:53:42 +0000 (19:53 +0200)]
qualcomax: dts: fix typo "disbled"
No functional changes intended.
Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20131
Signed-off-by: Robert Marko <[email protected]>
Aleksander Jan Bajkowski [Mon, 22 Sep 2025 17:53:29 +0000 (19:53 +0200)]
airoha: en7581: dts: fix typo "disable"
No functional changes intended.
Fixes warning:
/linux/arch/arm64/boot/dts/airoha/en7581-gemtek-w1700k.dtb: i2c1@
1fbf8100 (mediatek,mt7621-i2c): status: 'oneOf' conditional failed, one must be fixed:
['disable'] is not of type 'object'
'disable' is not one of ['okay', 'disabled', 'reserved', 'fail', 'fail-needs-probe']
from schema $id: http://devicetree.org/schemas/dt-core.yaml#
Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20131
Signed-off-by: Robert Marko <[email protected]>
Bjørn Mork [Fri, 27 Dec 2024 11:43:18 +0000 (12:43 +0100)]
build: parsing "git log" breaks with gpg signature verification
Parsing "git log" is fragile. The actual output depends on both global and
local configuration files. Enabling "log.showSignature" makes "git log" prefix
signed commits with multiple lines of gpg verify output, regardless of the
configured log format.
Add "--no-show-signature" to "git log" commands to work around this particular
issue.
Signed-off-by: Bjørn Mork <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20127
Signed-off-by: Robert Marko <[email protected]>
Markus Stockhausen [Mon, 22 Sep 2025 15:04:05 +0000 (11:04 -0400)]
realtek: remove DSA internal PCS functions
Now that there is a dedicated PCS driver remove the old functions
from the DSA driver and make use of the new ones.
Signed-off-by: Markus Stockhausen <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20129
Signed-off-by: Hauke Mehrtens <[email protected]>
Markus Stockhausen [Sat, 20 Sep 2025 20:18:33 +0000 (16:18 -0400)]
realtek: dts: add pcs-handle to switch ports
For all switch ports where the assigned SerDes is known, add the new
pcs-handle to the dts. Leave the existing <sds> assignments to the
PHYs as is because the driver has not yet been updated.
Signed-off-by: Markus Stockhausen <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20111
Signed-off-by: Robert Marko <[email protected]>
Thomas Martitz [Thu, 18 Sep 2025 07:09:04 +0000 (09:09 +0200)]
realtek: add support for RTL8218E
ZyXEL XGS1250-12 Rev.B1 has RTL8218E compared to RTL8218D in Rev.A1
but both of them seem very similar and pin compatible. Therefore
they can share the same phy_driver callbacks.
PHY identifier is set based on the datasheet from
https://github.com/plappermaul/realtek-doc/blob/main/RTL8218E-CG_Datasheet.pdf
Before:
[ 2.120161] rtl83xx-switch switch@
1b000000 lan1 (uninitialized): PHY [mdio-bus:00] driver [Generic PHY] (irq=POLL)
[ 2.134581] rtl83xx-switch switch@
1b000000 lan2 (uninitialized): PHY [mdio-bus:01] driver [Generic PHY] (irq=POLL)
[ 2.149043] rtl83xx-switch switch@
1b000000 lan3 (uninitialized): PHY [mdio-bus:02] driver [Generic PHY] (irq=POLL)
[ 2.163498] rtl83xx-switch switch@
1b000000 lan4 (uninitialized): PHY [mdio-bus:03] driver [Generic PHY] (irq=POLL)
[ 2.177963] rtl83xx-switch switch@
1b000000 lan5 (uninitialized): PHY [mdio-bus:04] driver [Generic PHY] (irq=POLL)
[ 2.192435] rtl83xx-switch switch@
1b000000 lan6 (uninitialized): PHY [mdio-bus:05] driver [Generic PHY] (irq=POLL)
[ 2.207009] rtl83xx-switch switch@
1b000000 lan7 (uninitialized): PHY [mdio-bus:06] driver [Generic PHY] (irq=POLL)
[ 2.221474] rtl83xx-switch switch@
1b000000 lan8 (uninitialized): PHY [mdio-bus:07] driver [Generic PHY] (irq=POLL)
After:
[ 2.119165] rtl83xx-switch switch@
1b000000 lan1 (uninitialized): PHY [mdio-bus:00] driver [REALTEK RTL8218E] (irq=POLL)
[ 2.132880] rtl83xx-switch switch@
1b000000 lan2 (uninitialized): PHY [mdio-bus:01] driver [REALTEK RTL8218E] (irq=POLL)
[ 2.146727] rtl83xx-switch switch@
1b000000 lan3 (uninitialized): PHY [mdio-bus:02] driver [REALTEK RTL8218E] (irq=POLL)
[ 2.160580] rtl83xx-switch switch@
1b000000 lan4 (uninitialized): PHY [mdio-bus:03] driver [REALTEK RTL8218E] (irq=POLL)
[ 2.174367] rtl83xx-switch switch@
1b000000 lan5 (uninitialized): PHY [mdio-bus:04] driver [REALTEK RTL8218E] (irq=POLL)
[ 2.188270] rtl83xx-switch switch@
1b000000 lan6 (uninitialized): PHY [mdio-bus:05] driver [REALTEK RTL8218E] (irq=POLL)
[ 2.202140] rtl83xx-switch switch@
1b000000 lan7 (uninitialized): PHY [mdio-bus:06] driver [REALTEK RTL8218E] (irq=POLL)
[ 2.216047] rtl83xx-switch switch@
1b000000 lan8 (uninitialized): PHY [mdio-bus:07] driver [REALTEK RTL8218E] (irq=POLL)
Based-on-patch-by: Antanas Bruzas <[email protected]>
Signed-off-by: Thomas Martitz <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20068
Signed-off-by: Hauke Mehrtens <[email protected]>
Shin Sato [Sun, 21 Sep 2025 04:43:31 +0000 (13:43 +0900)]
mediatek: add support for Buffalo WSR-6000AX8 and AX8P
This commit adds support for Buffalo WSR-6000AX8 and AX8P models.
Hardware
--------
SOC: MediaTek MT7986B
RAM: 512MB
FLASH: 128MB SPI-NAND (Winbond)
WIFI 2.4G: (Embedded in SOC) b/g/n/ax, MIMO 4x4
WIFI 5G: (Embedded in SOC) a/n/ac/ax, MIMO 4x4
ETHERNET: 2.5GbE MaxLinear GPY211C (eth1: WAN)
ETHERNET: MediaTek MT7531AE 3xGbE (eth0: LAN1, LAN2, LAN3)
UART: 3.3V 115200 8N1
Serial(UART) Pin Layout
-----------------------
+-------+-------+-------+-------+
J4 | RX | TX | GND |(3.3V) |
+-------+-------+-------+-------+
(Bottom Side)
MAC Address Table
-----------------
lan1-3: board_data 0x4(text)
eth1/WAN: board_data 0x4(text)
WIFI 2.4G: lan1 + 2
WIFI 5G: lan1 + 9
Installation
------------
1. Set up a TFTP server with the IP address "192.168.11.2".
2. Rename the OpenWrt initramfs image to "linux.ubi-recovery" and place it
in the TFTP server's root directory.
3. While holding down the AOSS button, power on the WSR-6000AX8 (or AX8P).
4. The device will automatically download the initramfs image
from the TFTP server and boot into it.
5. Once booted, run "sysupgrade -n" using the OpenWrt sysupgrade image
to complete the installation.
Recovery
--------
1. Decrypt the official firmware image using "buffalo-enc".
example:
$ buffalo-enc -d -i wsr_6000ax8_jp_100 -o wsr_6000ax8_jp_100.dec \
-l -O 0xc8
2. Run "sysupgrade -F -n" with the decrypted image.
Signed-off-by: Shin Sato <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/13107
Signed-off-by: Hauke Mehrtens <[email protected]>
Ari Kurniawan [Mon, 15 Sep 2025 13:13:29 +0000 (20:13 +0700)]
mediatek: filogic: add support for Totolink X6000R
Specification :
- SOC : Mediatek MT7981B (1.3GHz)
- RAM : 256MB
- Flash : 16MB SPI NOR
- Ports : 4 LAN (1G) & 1 WAN (1G)
- WIFI : MediaTek dual-band WiFi 6
- 2.4 GHz : b/g/n/ax, MIMO 2x2
- 5 GHz : a/n/ac/ax, MIMO 2x2
- Buttons : Reset & WPS/Mesh
- LEDS : WAN (Green), Status (Red & Blue)
- Power : 12V1A
Install via OEM web ui:
Upload the sysupgrade image to firmware upgrade page on OEM web ui
Install via recovery / revert to stock firmware:
1. Unplug from power
2. Download the Sysupgrade (for openwrt installation) or OEM Factory image (for revert to stock firmware)
3. Set your computer ethernet IP to 192.168.1.X, subnet 255.255.255.0 (X=your chosen ip number ranging from 2-254)
4. Press and hold reset button while turn on / plug power adapter to the router. Wait untill ALL LAN green LED turn on, then release the reset button.
5. Plug the LAN cable from your computer into LAN 1 port then open web browser, and type in the address column : 192.168.1.1
6. Upload the sysupgrade / oem factory image
7. Wait until the router finished flashing (the router will reboot)
8. Set ethernet ip to dhcp
9. Open 192.168.1.1 (for openwrt install) / 192.168.0.1 (for OEM firmware)
Signed-off-by: Ari Kurniawan <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20035
Signed-off-by: Hauke Mehrtens <[email protected]>
Christoph Krapp [Mon, 8 Sep 2025 20:18:05 +0000 (22:18 +0200)]
ath79: add calibtation variant for TP-Link Archer C60 v1
Now that we have a board file, add calibration variant for TP-Link
Archer C60 v1 and add ipq-wifi package for it.
Signed-off-by: Christoph Krapp <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19993
Signed-off-by: Hauke Mehrtens <[email protected]>
Christoph Krapp [Mon, 8 Sep 2025 20:04:49 +0000 (22:04 +0200)]
ipq-wifi: Add entry for TP-Link Archer C60 v1
Add IPQ Wifi entry for ath79 TP-Link Archer C60 v1.
Signed-off-by: Christoph Krapp <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19993
Signed-off-by: Hauke Mehrtens <[email protected]>
Elwin Huang [Sat, 20 Sep 2025 08:09:54 +0000 (08:09 +0000)]
kernel: iio: Add dps310.ko I2C driver
This commit add kernel module support for Infineon DPS310/DPS368/DPS422
digital barometric air pressure and temperature sensor.
Test on custom board based on Mediatek MT7988a.
Signed-off-by: Elwin Huang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20101
Signed-off-by: Hauke Mehrtens <[email protected]>
Goetz Goerisch [Fri, 19 Sep 2025 17:27:46 +0000 (19:27 +0200)]
kernel: bump 6.6 to 6.6.107
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.107
All patches auto-refreshed.
Signed-off-by: Goetz Goerisch <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20095
Signed-off-by: Hauke Mehrtens <[email protected]>
Goetz Goerisch [Fri, 19 Sep 2025 18:36:43 +0000 (20:36 +0200)]
kernel: bump 6.12 to 6.12.48
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.48
Remove upstreamed patches:
generic/backport-6.12/630-v6.17-bpf-Allow-fall-back-to-interpreter-for-programs-with.patch [1]
All other patches auto-refreshed.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.48&id=
82967254a92e3c5a832f178ef7e7fad4c9ac3d34
Build system: x86/64
Build-tested: flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64-glibc
Run-tested: flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64-glibc
Tested-by: John Audia <[email protected]>
Signed-off-by: Goetz Goerisch <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20096
Signed-off-by: Hauke Mehrtens <[email protected]>
David Andreoletti [Wed, 17 Sep 2025 07:25:06 +0000 (15:25 +0800)]
libnftnl: update to 1.3.0
Changelog: https://git.netfilter.org/libnftnl/log/?h=libnftnl-1.3.0
Signed-off-by: David Andreoletti <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20055
Signed-off-by: Ted Hess <[email protected]>
David Andreoletti [Mon, 15 Sep 2025 06:56:15 +0000 (14:56 +0800)]
nftables: update to 1.1.5
v1.1.3 introduced a regression now fixed in v1.1.4:
https://github.com/openwrt/firewall4/pull/68
v1.1.5 fixed a memory leak
Changelog:
https://netfilter.org/projects/nftables/files/changes-nftables-1.1.4.txt
https://netfilter.org/projects/nftables/files/changes-nftables-1.1.5.txt
Signed-off-by: David Andreoletti <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20055
Signed-off-by: Ted Hess <[email protected]>
Hauke Mehrtens [Fri, 19 Sep 2025 22:09:29 +0000 (00:09 +0200)]
mediatek: Fix setting MAC address for some devices
This fixes a previous commit breaking setting the MAC address for the
wifi devices.
Fixes: 9ed4d27fbf90 ("mediatek: filogic: fix 5G MAC address for Zyxel EX5601")
Link: https://github.com/openwrt/openwrt/pull/20100
Signed-off-by: Hauke Mehrtens <[email protected]>
Elwin Huang [Wed, 17 Sep 2025 09:59:46 +0000 (09:59 +0000)]
mediatek: filogic: add support for AsiaRF AP7986-003
- SoC : MediaTek MT7986AV, Quad-core 2.0 GHz ARM Cortex-A53 CPU
- RAM : DDR3 512 MiB (Micron MT41K256M16TW-107)
- Flash : SPI-NAND 128 MiB (Winbound W25N01GVZEIG)
- Ethernet : 6 ports
- LAN :
5x 10/100/1000 Mbps RJ-45 Port
- WAN :
1x 10/100/1000/2500 Mbps RJ-45 Port (MaxLinear GPY211B1VC-LN8A)
- LED : 19x LEDs (Green)
1x Power
1x Status (PWM-LED)
1x Debug (PWM-LED)
2x WiFi activity
10x Ethernet LAN activity
4x Ethernet WAN activity
- UART : 1x4 pin header on PCB [J1]
- arrangement : 3.3V, RX, TX, GND
- settings : 115200, 8n1
- Button : 3x (Reset, WPS, Power)
- WiFi : 2x
WiFi 6 2.4 Ghz + 5 Ghz (Mediatek MT7975N+MT7975PN)
- Socket :
1x Raspberry header 13x2
1x JTAG 10x2
1x USB-A (USB 3.0)
- Power : 12V DC, 3A
MAC addresses :
WLAN: 00:0A:52:xx:xx:xx (Factory, 0x6)
LAN: 00:0A:52:xx:xx:xx (Factory, 0x24)
WAN: 00:0A:52:xx:xx:xx (Factory, 0x2a)
Flash instruction through LuCI:
This device is flashed OpenWRT base firmware with this target.
The LuCI webpage is integrated in default for upgrading.
Flash instruction through u-boot:
1. Prepare the TFTP server on PC.
2. Connect uart to PC, select "2. Upgrade firmware" in u-boot menu.
3. Select "0 - TFTP client (Default)", input client IP, server IP, IP netmask, flashed bin file path
4. Wait about 20 seconds to complete flashing
Signed-off-by: Elwin Huang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20071
Signed-off-by: Hauke Mehrtens <[email protected]>
Markus Stockhausen [Wed, 17 Sep 2025 18:22:25 +0000 (14:22 -0400)]
realtek: add SerDes PCS driver
Until now the the SerDes configuration is realized with helper functions
scattered around the DSA and PHY driver. Give them a new home as a PCS
driver.
The target design is as follows:
- dsa driver manages switch
- pcs driver manages SerDes on high level (this commit)
- mdio driver manages SerDes on low level
This driver adds the high level SerDes access via PCS. It makes use of
the low level mdio SerDes driver to access the registers.
Remark: This initial version provides exactly all phylink_pcs_ops that
are currently part of the DSA driver. So this can be swapped in one of
the next commits as a drop in replacement. To make use of it something
like this is needed:
...
ports = of_get_child_by_name(node, "ethernet-ports");
if (!ports)
return -EINVAL;
for_each_available_child_of_node(ports, port) {
pcs_node = of_parse_phandle(port, "pcs-handle", 0);
of_property_read_u32(port, "reg", &port_nr)) {
priv->pcs[port_nr] = rtpcs_create(dev, pcs_node, port_nr);
}
...
Signed-off-by: Markus Stockhausen <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20075
Signed-off-by: Robert Marko <[email protected]>
Markus Stockhausen [Thu, 18 Sep 2025 09:10:50 +0000 (05:10 -0400)]
realtek: DTS: add macro for switch port with SerDes
In the future the PCS & DSA drivers will lookup the SerDes of a
switch port via pcs-handle (like upstream does). Provide a macro
that allows to expand the existing port definitions. To link a
SerDes to port simply do
Either in short form:
replace SWITCH_PORT(0, 1, qsgmii)
with SWITCH_PORT_SDS(0, 1, 3, qsgmii) (Link to SerDes 3)
Or in long form:
port@24 {
reg = <24>;
label = "lan25";
pcs-handle = <&serdes4>; (Link to SerDes 4)
phy-handle = <&phy24>;
phy-mode = "1000base-x";
managed = "in-band-status";
sfp = <&sfp0>;
};
Signed-off-by: Markus Stockhausen <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20075
Signed-off-by: Robert Marko <[email protected]>
Markus Stockhausen [Fri, 19 Sep 2025 19:35:05 +0000 (15:35 -0400)]
realtek: timer: replace downstream with upstream patches
The fixes for the dying timers were finally accepted upstream.
Signed-off-by: Markus Stockhausen <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20097
Signed-off-by: Robert Marko <[email protected]>
Rosen Penev [Sun, 25 May 2025 01:02:14 +0000 (18:02 -0700)]
ath79: tl-wdr4900-v2: set ath9k led-pin
Instead of having two LED entries that supposedly control the same
thing, set the pin properly.
Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18905
Signed-off-by: Robert Marko <[email protected]>
Rosen Penev [Thu, 18 Sep 2025 01:44:21 +0000 (18:44 -0700)]
treewide: remove of_gpio.h
of_gpio.h is deprecated in upstream Linux and may be removed soon. Get
ahead of things and remove it. Most of these drivers already use the
gpiod API.
Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20076
Signed-off-by: Robert Marko <[email protected]>
Coia Prant [Tue, 10 Dec 2024 15:18:13 +0000 (23:18 +0800)]
ramips: add support for Qding QC202
This is a smart door lock device equipped with OpenWrt 14.07 OEM
modified version Qdwrt
The OEM has closed down, This commit is intended to maximize the
remaining value of these devices. It can flash OpenWrt to become
an AP
Specification:
- SoC: MediaTek MT7628NN
- Flash: 8 MB
- RAM: 64 MB
- Power: DC 5V - 25V
- Ethernet: 1 x RJ45 (10/100 Mbps)
- Wireless radio: 802.11n 2.4g-only
- On-Board LED:
Status 1: GPIO/43 active-low
Status 2: GPIO/44 active-low
Power: AlwaysOn
- Button:
WPS / RESET: GPIO/14 active-low
- Bluetooth: CC2541 via UART1 (ttyS1) and GPIO/26-29
- RFID: MF RC522 on I2C@28
- RTC: DS1339 on I2C@68
- Shell (via CON1 cable)
- LED (Swipe card area):
- Green GPIO/3 active-high
- Red GPIO/11 active-high
- Matrix keypad: (active-low)
GPIO/20 GPIO/21 GPIO/19 (Rows)
GPIO/24 1 2 3
GPIO/25 4 5 6
GPIO/22 7 8 9
GPIO/23 BACK 0 ENTER
(Cols)
- UART: 1 x UART on PCB - 57600 8N1
- GPIO Relay: GPIO/42 active-high
- GPIO Buzzer: GPIO/15 active-high
Warning:
The original firmware does not use the device tree.
This device tree is written based on the content of /sys/devices/platform
and has been tested
Note:
- On the device, matrix keypad rows actually are columns, and the columns actually are rows
- The key code of the CLEAR key of the matrix keypad is BACK in the original firmware.
Issue:
- No drivers in mainline kernel for RFID and Bluetooth.
Flash Instruction:
Using SSH/Telnet:
1. Connect the board to the computer via RJ45 Ethernet
2. Login 10.10.10.1 with root password "szqdingnet123" (SSH Port 22, Telnet Port 9900)
3. Download openwrt firmware on the computer.
4. Setup a http server on computer. And use wget download openwrt firmware from computer
5. Use command "mtd -r write openwrt-ramips-mt76x8-qding_qc202-squashfs-sysupgrade.bin firmware"
to flash
Using U-Boot WebUI:
1. Configure PC with a static IP address 10.10.10.2/24.
2. Open http://10.10.10.1
3. Use "mkqdimg -B qc202 -f openwrt-ramips-mt76x8-qding_qc202-squashfs-sysupgrade.bin" to
make image.
4. Upload factory.bin via U-Boot WebUI.
Original Firmware Dump / More details:
https://blog.gov.cooking/archives/research-qianding-smart-locker-and-flash.html
Original U-Boot firmware image tools:
https://gitlab.com/CoiaPrant/mkqdimg
Signed-off-by: Coia Prant <[email protected]>
Tested-by: Coia Prant <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/17471
Signed-off-by: Hauke Mehrtens <[email protected]>
Coia Prant [Fri, 21 Mar 2025 16:13:57 +0000 (00:13 +0800)]
kernel: add kmod-input-matrix-keypad package
This module contains driver for GPIO driven matrix keypad.
Signed-off-by: Coia Prant <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/17471
Signed-off-by: Hauke Mehrtens <[email protected]>
Elwin Huang [Fri, 5 Sep 2025 01:56:29 +0000 (09:56 +0800)]
ramips: add support for AsiaRF AP7621-004 Rev. 3
Specification:
- SoC : MediaTek MT7621AT, dual-core 880 MHz MIPS CPU
- RAM : DDR3 512 MB (Micron MT41K256M16TW-107)
- Flash : SPI-NOR 16 MB (MACRONIX MX25L12835FM2I-10G)
- Ethernet : 5 port GbE Switch
- LAN :
3x RJ-45 Port
1x PHD Connector (2x5 pin, pitch 2.0 mm)
- WAN :
1x RJ-45 Port
- LED : 8x LEDs
1x Power (Blue)
2x MiniPCIe (Orange)
1x M.2 B Key (Red)
4x Ethernet activity (White)
- UART : 1x4 pin header on PCB [J1]
- arrangement : 3.3V, TX, RX, GND
- settings : 57600, 8n1
- Button : 2x (Reset, WPS)
- USB : 1x USB 2.0
- Socket :
2x MiniPCIe (PCIe Gen2)
1x M.2 B key (PCIe Gen2 + USB 3.0)
1x MicroSD
1x SIM Card
- Power : 12V DC, 1A
MAC addresses :
LAN: 00:0A:52:xx:xx:xx (Factory, 0xe000)
WAN: 00:0A:52:xx:xx:xx (Factory, 0xe006)
Flash instruction through LuCI:
This device is flashed OpenWRT base firmware with this target.
The LuCI webpage is integrated in default for upgrading.
Flash instruction through u-boot:
1. Prepare the TFTP server on PC.
2. Connect uart to PC, select "2. Upgrade firmware" in u-boot menu.
3. Select "0 - TFTP client (Default)", input client IP, server IP, flashed bin file path
4. Wait about 60 seconds to complete flashing
Signed-off-by: Elwin Huang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19944
Signed-off-by: Hauke Mehrtens <[email protected]>
Markus Stockhausen [Fri, 19 Sep 2025 08:57:21 +0000 (04:57 -0400)]
realtek: fix dts warnings.
Currently following warnings are given
dts/rtl930x.dtsi:166.4-23: Warning (reg_format):
/switchcore@
1b000000/i2c@36c:reg: property has invalid length
(8 bytes) (#address-cells == 2, #size-cells == 1)
Obviously default address-cells size is fixed to 64 bit. Align
with upstream and override address size to 32 bit.
Suggested-by: Jonas Jelonek <[email protected]>
Signed-off-by: Markus Stockhausen <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20091
Signed-off-by: Robert Marko <[email protected]>
George Moussalem [Fri, 19 Sep 2025 05:50:01 +0000 (09:50 +0400)]
qualcommax: ipq50xx: backport upstreamed patch for adding ipq5018 UART2 node
Add node to support the second UART node controller in IPQ5018.
Signed-off-by: George Moussalem <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20090
Signed-off-by: Robert Marko <[email protected]>
Hauke Mehrtens [Thu, 18 Sep 2025 23:54:13 +0000 (01:54 +0200)]
uqmi: Increase PKG_RELEASE
Make sure that the package gets updated after the last fix.
Fixes: cd20ae44f22d ("uqmi: fix data-format parsing")
Signed-off-by: Hauke Mehrtens <[email protected]>
Elwin Huang [Fri, 5 Sep 2025 13:37:32 +0000 (21:37 +0800)]
mediatek: add support for AsiaRF AP7622-WH1
- SoC : MediaTek MT7622A, dual-core 1.35 Ghz ARM Cortex-A53 CPU
- RAM : DDR3 512 MiB (Nanya NT5CC256M16ER-EKI)
- Flash : SPI-NAND 128 MiB (Winbond W25N01GVZEIG)
- Ethernet : 5 port Switch
- LAN :
4x 10/100/1000 Mbps RJ-45 Port
- WAN :
1x 10/100/1000 Mbps RJ-45 Port
- LED : 10x LEDs
1x Power (Blue, GPIO)
1x WiFi (Green, GPIO)
2x MiniPCIe (Orange)
1x M.2 B Key (Red)
5x Ethernet activity (White)
- UART : 1x4 pin header on PCB [J19]
- arrangement : 3.3V, TX, RX, GND
- settings : 115200, 8n1
- Button : 2x (Reset, WPS)
- GPS : 1x (Quectel L76-L)
- WiFi : 2x
WiFi 4 (MediaTek MT7622A)
WiFI HaLow (AsiaRF MM610X-001)
- BT : BT 4.2/BLE 5.0 (MediaTek MT7622A)
- Socket :
2x MiniPCIe (PCIe Gen2 + USB 2.0) with extra SPI interface (NI)
1x M.2 B key (USB 3.0)
1x SIM Card
1x USB-A (USB 2.0)
- Power : 12V DC, 1A
MAC addresses :
WLAN: 00:0A:52:xx:xx:xx (Factory, 0x6)
LAN: 00:0A:52:xx:xx:xx (Factory, 0x7fff4)
WAN: 00:0A:52:xx:xx:xx (Factory, 0x7fffa)
Note: To use SPI interface on mPCIe slot, weld 4x 0402 0R resistors on [R832-835] or [R960-963]
mPCIe mapping:
45# - SPI_CLK
47# - SPI_MISO
49# - SPI_MOSI
51# - SPI_CSN
Flash instruction through LuCI:
This device is flashed OpenWRT base firmware with this target.
The LuCI webpage is integrated in default for upgrading.
Flash instruction through u-boot:
1. Prepare the TFTP server on PC.
2. Connect uart to PC, select "2. System Load Linux Kernel then write to Flash via TFTP." in u-boot menu.
3. input flashed bin file path, server IP, client IP
4. Wait about 20 seconds to complete flashing
Signed-off-by: Elwin Huang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19962
Signed-off-by: Hauke Mehrtens <[email protected]>
David Bauer [Sun, 14 Sep 2025 09:07:38 +0000 (11:07 +0200)]
uqmi: fix data-format parsing
wda-get-data-format now returns an object instead of a single string.
Account for this change when reading the packet data format.
Suggested-by: Sebastian Ertz (https://github.com/sebastianertz)
Signed-off-by: David Bauer <[email protected]>
Vladimir Epifantsev [Sat, 6 Sep 2025 17:01:34 +0000 (20:01 +0300)]
mediatek: filogic: add Keenetic Sprinter (KN-3711) support
Specification:
SoC: Mediatek MT7981BA
RAM: 512 MB DDR4 RAM
Flash: Winbond W25N01GV 128 MB SPI-NAND (dual boot on OEM)
WiFi: MT7976CN DBDC AX
Switch: MediaTek MT7531AE (3x LAN Gigabit ports) + Internal Gbe Phy (1x WAN Gigabit port)
GPIO: 4x LED (power, internet, fn, wifi), 2x buttons (wps, reset), 1x switch (mesh)
UART Interface:
Pins: VCC, TX, RX, NC, GND
Settings: 115200, 8N1
Flashing via TFTP:
1. Connect your PC and router to the first LAN port, configure PC interface using IP 192.168.1.2, mask 255.255.255.0
2. Save the factory image of the OpenWRT firmware, renamed to KN-3711_recovery.bin, on the TFTP server
3. Hold the reset button and power up the device
4. Keep the button pressed until the status LED starts blinking
Signed-off-by: Vladimir Epifantsev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19633
Signed-off-by: Hauke Mehrtens <[email protected]>
Caleb James DeLisle [Sun, 14 Sep 2025 17:23:47 +0000 (17:23 +0000)]
econet: Add basic USB support with Mass Storage
The EN751221 has an XHCI that is compatible with MT7621.
While there is setup logic in the vendor code for both
EN751221 and MT7621, but MT7621 does not use it in mainline
or OpenWRT, and it appears to work correctly with EN751221.
Include SCSI / Mass Storage because many EcoNet devices
contain a builtin USB SD-Card reader.
Signed-off-by: Caleb James DeLisle <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20050
[Remove usb storage kmod from smartfiber_xp8421-b]
Signed-off-by: Hauke Mehrtens <[email protected]>
Nickolay Goppen [Sat, 6 Sep 2025 13:40:31 +0000 (16:40 +0300)]
ramips: add support for Zbtlink ZBT-WG108
Specification:
CPU: MediaTek MT7621 (880 MHz)
Flash size: 16 MB NOR SPI
RAM size: 128 MB
Bootloader: Breed
Wireless: MT7612EN 2x2 802.11an+ac(5 GHz)
Wireless: MT7603EN 2x2 bgn(2.4 GHz)
Ethernet: 1 x WAN (10/100/1000Mbps) and 4 x LAN (10/100/1000 Mbps)
USB: 1x 2.0 Type-A port
External storage: 1x microSD (SDXC) slot
UART: console (115200 baud)
LEDs: Power, Wan, Lan 1-4, WiFi 2.4G, WiFi 5G
Buttons: Reset
How to install:
The original firmware is OpenWrt, so sysupgrade can be used.
Signed-off-by: Nickolay Goppen <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19966
Signed-off-by: Hauke Mehrtens <[email protected]>
Aleksander Jan Bajkowski [Thu, 18 Sep 2025 17:15:46 +0000 (19:15 +0200)]
airoha: add missing Kconfig entry on 6.12
This commit adds the missing Kconfig entry. It was accidentally
omitted previously.
Fixes: 440b85f5b102 ("airoha: an7581: enable uart baudrate control")
Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20087
Signed-off-by: Hauke Mehrtens <[email protected]>
Hauke Mehrtens [Wed, 17 Sep 2025 17:55:50 +0000 (19:55 +0200)]
openssl: Backport fix for OpenSSL 3.5.2 and 3.0.17 regression
Fixes segmentation faults in openssl. This problem was introduced in
version 3.5.2 and 3.0.17. Backport a fix from the OpenSSL 3.5 branch.
Link: https://forum.openwrt.org/t/openssl-3-0-17-libcrypto-segmentation-faults-regression/240650/9
Link: https://github.com/openssl/openssl/issues/28171
Link: https://github.com/openssl/openssl/commit/c4c92f3e8aff38d75047847ded940e1b3f9b688f
Fixes: 223c1de963df ("openssl: update to 3.5.2")
Link: https://github.com/openwrt/openwrt/pull/20074
Signed-off-by: Hauke Mehrtens <[email protected]>
Ted Hess [Thu, 18 Sep 2025 17:01:14 +0000 (13:01 -0400)]
odhcpd: update to Git HEAD (2025-09-16)
c9816de148cc odhcpd: support multiple per-client MAC addresses
Signed-off-by: Ted Hess <[email protected]>
Aleksander Jan Bajkowski [Sun, 14 Sep 2025 15:38:24 +0000 (17:38 +0200)]
airoha: an7581: enable uart baudrate control
The baud rate control on Airoha does not function properly. This
patch enables the inactive code responsible for this. The UART2
baud rate is correct. HSUART3 operates at twice the requested
baud rate. The same problem exists in the current code, so this
doesn't introduce any regression. Support for baud rates higher
than 460800 is still required. This will be added in the future.
Tested on Gemtek W1700k. UART2 and HSUART3 are working fine.
Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20049
Signed-off-by: Robert Marko <[email protected]>
John Audia [Thu, 11 Sep 2025 19:43:04 +0000 (15:43 -0400)]
kernel: bump 6.12 to 6.12.47
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.47
No patches needed to be rebased.
Build system: x86/64
Build-tested: Build-tested: flogic/xiaomi_redmi-router-ax6000-ubootmod, x86/64-glibc
Run-tested: flogic/xiaomi_redmi-router-ax6000-ubootmod, x86/64-glibc
Signed-off-by: John Audia <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20003
Signed-off-by: Robert Marko <[email protected]>
John Audia [Thu, 11 Sep 2025 19:37:51 +0000 (15:37 -0400)]
x86: config: add CONFIG_MITIGATION_VMSCAPE=y
Introduced in the 6.12.47 update, set this new mitigation option to
be enabled. See: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/arch/x86/Kconfig?id=v6.12.47&id2=v6.12.46
Signed-off-by: John Audia <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20003
Signed-off-by: Robert Marko <[email protected]>
John Audia [Wed, 10 Sep 2025 07:53:23 +0000 (03:53 -0400)]
kernel: bump 6.12 to 6.12.46
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.46
Removed upstreamed:
backport-6.12/600-01-v6.14-net-dsa-add-hook-to-determine-whether-EEE-is-support.patch[1]
generic-backport/600-02-v6.14-net-dsa-provide-implementation-of-.support_eee.patch[2]
generic/backport-6.12/610-02-v6.14-net-dsa-b53-bcm_sf2-implement-.support_eee-method.patch[3]
generic/backport-6.12/610-05-v6.16-net-dsa-b53-do-not-enable-EEE-on-bcm63xx.patch[4]
generic/backport-6.12/621-proc-fix-missing-pde_set_flags.patch[5]
generic/pending-6.12/742-net-ethernet-mtk_eth_soc-fix-tx-vlan-tag-for-llc-pac.patch[6]
Manually rebased:
bcm27xx/patches-6.12/950-0347-net-macb-Also-set-DMA-coherent-mask.patch
All other patches automatically rebased.
1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.46&id=
f7976772b16a7da725f9156c5ab6472ba22e3bc0
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.46&id=
cda6c5c095e1997e63ed805ed3191f3d2af806a0
3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.46&id=
b765b9ee4e5a82e9d0e5d0649bf031e8a8b90b3d
4. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.46&id=
3fbe3f4c57fda09f32e13fa05f53a0cc6f500619
5. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.46&id=
3eebe856d09b6bdd8df99eb67203c831f23e21d7
6. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.46&id=
f8b4b6f7c2bbfa33e50b8cc946c161172cdefbd5
Build system: x86/64
Build-tested: flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64-glibc
Run-tested: flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64-glibc
Signed-off-by: John Audia <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20003
Signed-off-by: Robert Marko <[email protected]>
Rosen Penev [Thu, 11 Sep 2025 23:48:59 +0000 (16:48 -0700)]
ath79: whr-g301n: remove custon wifi LED
The driver makes its own ath9k LED which handles everything.
Simplifies DTS slightly.
Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20023
Signed-off-by: Robert Marko <[email protected]>
Rosen Penev [Thu, 11 Sep 2025 23:46:53 +0000 (16:46 -0700)]
ath79: whr-g301n: use nvmem for eeprom
Userspace handling for this is deprecated.
Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20023
Signed-off-by: Robert Marko <[email protected]>
Markus Stockhausen [Thu, 18 Sep 2025 06:35:32 +0000 (02:35 -0400)]
realtek: mdio: register SerDes bus so it can be looked up
The upcoming PCS driver will lookup the SerDes mdio bus via
of_mdio_find_bus() and the devicetree. This is only possible
with proper registration via devm_of_mdiobus_register().
Signed-off-by: Markus Stockhausen <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20078
Signed-off-by: Robert Marko <[email protected]>
Markus Stockhausen [Thu, 18 Sep 2025 05:53:22 +0000 (01:53 -0400)]
realtek: mdio: Simplify backing SerDes calculation
No need two write a dedicated 1:1 mapping function and link that
for all the targets except RTL931x. Combine everything into a generic
helper and reduce the configuration structure.
Signed-off-by: Markus Stockhausen <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20078
Signed-off-by: Robert Marko <[email protected]>
Markus Stockhausen [Thu, 18 Sep 2025 05:34:27 +0000 (01:34 -0400)]
realtek: mdio: fix non-debug SerDes builds
The new SerDes mdio driver produces the following compilation
error in non-debug builds.
drivers/net/mdio/mdio-realtek-otto-serdes.c:72:12:
error: 'rtsds_sds_to_mmd' defined but not used [-Werror=unused-function]
72 | static int rtsds_sds_to_mmd(int sds_page, int sds_regnum)
| ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Move the function into the debug section.
Fixes: 7a7ee72c4d306e7 ("realtek: mdio: add SerDes driver")
Signed-off-by: Markus Stockhausen <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20078
Signed-off-by: Robert Marko <[email protected]>
John Audia [Sun, 14 Sep 2025 06:16:41 +0000 (02:16 -0400)]
intel-microcode: update to
20250812
New upstream release. Debian changelog:
* New upstream microcode datafile
20250812 (closes: #
1110983, #
1112168)
- Mitgations for INTEL-SA-01249 (processor Stream Cache):
CVE-2025-20109: Improper Isolation or Compartmentalization in the
stream cache mechanism for some Intel Processors may allow an
authenticated user to potentially enable escalation of privilege via
local access. Intel also disclosed that several processors models
had already received this mitigation on the previous microcode
release,
20250512.
- Mitigations for INTEL-SA-01308:
CVE-2025-22840: Sequence of processor instructions leads to
unexpected behavior for some Intel Xeon 6 Scalable processors may
allow an authenticated user to potentially enable escalation of
privilege via local access.
- Mitigations for INTEL-SA-01310 (OOBM services module):
CVE-2025-22839: Insufficient granularity of access control in the
OOB-MSM for some Intel Xeon 6 Scalable processors may allow a
privileged user to potentially enable escalation of privilege via
adjacent access.
- Mitigations for INTEL-SA-01311 (Intel TDX):
CVE-2025-22889: Improper handling of overlap between protected
memory ranges for some Intel Xeon 6 processors with Intel TDX may
allow a privileged user to potentially enable escalation of
privilege via local access.
- Mitigations for INTEL-SA-01313:
CVE-2025-20053: Improper buffer restrictions for some Intel Xeon
Processor firmware with SGX enabled may allow a privileged user to
potentially enable escalation of privilege via local access.
CVE-2025-21090: Missing reference to active allocated resource for
some Intel Xeon processors may allow an authenticated user to
potentially enable denial of service via local access.
CVE-2025-24305: Insufficient control flow management in the Alias
Checking Trusted Module (ACTM) firmware for some Intel Xeon
processors may allow a privileged user to potentially enable
escalation of privilege via local access.
- Mitigations for INTEL-SA-01367 (Intel SGX, TDX):
CVE-2025-26403: Out-of-bounds write in the memory subsystem for some
Intel Xeon 6 processors when using Intel SGX or Intel TDX may allow
a privileged user to potentially enable escalation of privilege via
local access.
CVE-2025-32086: Improperly implemented security check for standard
in the DDRIO configuration for some Intel Xeon 6 Processors when
using Intel SGX or Intel TDX may allow a privileged user to
potentially enable escalation of privilege via local access.
- Fixes for unspecified functional issues on several Intel Core and
Intel Xeon processor models.
* Updated microcodes:
sig 0x000606a6, pf_mask 0x87, 2025-03-11, rev 0xd000410, size 309248
sig 0x000606c1, pf_mask 0x10, 2025-03-06, rev 0x10002e0, size 301056
sig 0x000806f8, pf_mask 0x87, 2025-04-04, rev 0x2b000643, size 592896
sig 0x000806f7, pf_mask 0x87, 2025-04-04, rev 0x2b000643
sig 0x000806f6, pf_mask 0x87, 2025-04-04, rev 0x2b000643
sig 0x000806f5, pf_mask 0x87, 2025-04-04, rev 0x2b000643
sig 0x000806f4, pf_mask 0x87, 2025-04-04, rev 0x2b000643
sig 0x000806f8, pf_mask 0x10, 2025-04-08, rev 0x2c000401, size 625664
sig 0x000806f6, pf_mask 0x10, 2025-04-08, rev 0x2c000401
sig 0x000806f5, pf_mask 0x10, 2025-04-08, rev 0x2c000401
sig 0x000806f4, pf_mask 0x10, 2025-04-08, rev 0x2c000401
sig 0x000a06a4, pf_mask 0xe6, 2025-03-19, rev 0x0025, size 140288
sig 0x000a06d1, pf_mask 0x95, 2025-05-15, rev 0x10003d0, size
1667072
sig 0x000a06d1, pf_mask 0x20, 2025-05-15, rev 0xa000100, size
1638400
sig 0x000a06f3, pf_mask 0x01, 2025-05-03, rev 0x3000362, size
1530880
sig 0x000b06a2, pf_mask 0xe0, 2025-02-24, rev 0x4129, size 224256
sig 0x000b06a3, pf_mask 0xe0, 2025-02-24, rev 0x4129
sig 0x000b06a8, pf_mask 0xe0, 2025-02-24, rev 0x4129
sig 0x000b06d1, pf_mask 0x80, 2025-05-21, rev 0x0123, size 80896
sig 0x000c0662, pf_mask 0x82, 2025-05-14, rev 0x0119, size 90112
sig 0x000c06a2, pf_mask 0x82, 2025-05-14, rev 0x0119
sig 0x000c0652, pf_mask 0x82, 2025-05-14, rev 0x0119
sig 0x000c0664, pf_mask 0x82, 2025-05-14, rev 0x0119
sig 0x000c06f2, pf_mask 0x87, 2025-04-15, rev 0x210002b3, size 564224
sig 0x000c06f1, pf_mask 0x87, 2025-04-15, rev 0x210002b3
Build system: x86/64
Build-tested: x86/64-glibc
Run-tested: x86/64-glibc (Intel N150 PC)
Signed-off-by: John Audia <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20045
Signed-off-by: Hauke Mehrtens <[email protected]>
Roy H [Tue, 16 Sep 2025 03:25:36 +0000 (10:25 +0700)]
ath79: fix longdata-aps256 wan port to work in factory bootloader
In first commit I successfully bring WAN port into ethernet switch,
without realizing that I was using custom bootloader. But if using
original bootloader it do not works. WAN port in original bootloader
is tied to using its own GMAC.
This fix is made so this firmware will be compatible with orignal
bootloader, so the user can directly flash from stock firmware without
changing anything.
Signed-off-by: Roy H <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20039
Signed-off-by: Hauke Mehrtens <[email protected]>
Rosen Penev [Fri, 12 Sep 2025 00:31:07 +0000 (17:31 -0700)]
ath79: tiny: tplink: add nvmem and fix
Despite having the same tplink.dtsi file, there are differences in wifi
Move wifi nodes out of dtsi to make it clear what the chipset is and
what calibration size should be used.
While at it, change to use led-sources to simplify LED setup.
Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20024
Signed-off-by: Robert Marko <[email protected]>
Markus Stockhausen [Mon, 15 Sep 2025 16:08:53 +0000 (12:08 -0400)]
realtek: mdio: add SerDes driver
Until now the SerDes access is realized with some helper functions
in the mdio bus. These were moved around a lot and had no real home.
End that temporary solution to move them where they belong.
The target design for the different Realtek drivers is as follows:
- dsa driver manages switch
- pcs driver manages SerDes on high level (to be developed)
- mdio driver manages SerDes on low level (this commit)
This driver adds the low level SerDes access via mdio. For debugging
purposes the user can interact with the SerDes in different ways.
First, there is a debug interface in
/sys/kernel/debug/realtek_otto_serdes/serdes.X/registers.
With that a dump of all registers can be shown.
> cat /sys/kernel/debug/realtek_otto_serdes/serdes.4/registers
Back SDS 4: 00 01 02 03 04 05 06 07 08
SDS : 0C03 0F00 7060 7106 074D 0EBF 0F0F 0359 5248
SDS_EXT : 0000 0000 85FA 8C6D 5CCC 0000 20D8 0003 79AA
...
Second, one can read/write registers via the mmd functions of the
mdio command line tool. Important to know: The registers are accessed
on the vendor specific MDIO_MMD_VEND1 device address (=30). Additionally
the SerDes page and register are concatenated into the the mmd register.
Top 8 bits are SerDes page and bottom 8 bits are SerDEs register.
E.g.
- mmd 0x0206 : SerDes page 0x02, SerDes register 0x06
- mmd 0x041f : SerDes page 0x04, SerDes register 0x1f
Read register 0x02 on page 0x03 of SerDes 0
> mdio realtek-serdes-mdio mmd 0:30 raw 0x0302
Write register 0x12 on page 0x02 of SerDes 1
> mdio realtek-serdes-mdio mmd 1:30 raw 0x0212 0x2222
For now this driver is only defined in the devicetree and activated
in the kernel build. There is no current consumer but at least
the debugging interface is available. Cleanup of the currently used
SerDes functions will come later.
Signed-off-by: Markus Stockhausen <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20062
Signed-off-by: Robert Marko <[email protected]>
Markus Stockhausen [Fri, 12 Sep 2025 11:14:25 +0000 (07:14 -0400)]
realtek: ethernet: drop open coding
There is some open coding in the ethernet driver. Drop
that and use kernel helpers instead.
- Use napi_gro_receive() instead of local skb list
- Use skb_put_data() instead of skb_put() plus memcpy()
- Use netdev_alloc_skb_ip_align() instead of manual alignment
Signed-off-by: Markus Stockhausen <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20030
Signed-off-by: Robert Marko <[email protected]>
Markus Stockhausen [Fri, 12 Sep 2025 09:55:47 +0000 (05:55 -0400)]
realtek: Increase verbosity in rtldsa_fib4_add()/rtldsa_fib4_del()
L3 routing in Realtek switches is some magic voodoo. Especially
the syslog messages are not helpful at all for error diagnosis. As
a first step refactor rtldsa_fib4_add() and rtldsa_fib4_del() to
get some idea what is going on. For this add a helper function
rtldsa_fib4_check() for basic sanity checks and logging.
Do not only increase verbosity but fix some coding as well.
- Drop leftover checks for subnet 192.168.100.x
- Better detection of broadcast routes
- clearer MAC/VLAN formatting
- sort variables descending
- rename 1 char variable "r" to "route"
- change log helpers from pr...() to dev_...()
Before:
[ 5.640463] rtl83xx_fib_event_work_do: FIB4 default rule failed
[ 5.647164] rtl83xx_fib_event_work_do: FIB4 default rule failed
[ 13.975386] rtl83xx_fib_event_work_do: FIB4 failed
[ 13.981456] rtl83xx_fib_event_work_do: FIB4 failed
[ 13.986906] rtl83xx_fib_event_work_do: FIB4 failed
[ 18.455777] rtl83xx_fib4_del: no such gateway: 0.0.0.0
[ 18.470993] rtl83xx_fib4_del: no such gateway: 0.0.0.0
[ 18.476839] rtl83xx_fib4_del: no such gateway: 0.0.0.0
After:
[ 13.812501] rtl83xx-switch switch@
1b000000: add IPv4 route 192.168.1.1/32 (VLAN 0, MAC 80:00:37:74:80:00)
[ 13.823501] rtl83xx-switch switch@
1b000000: lower interface lan1 not found
[ 13.831371] rtl83xx-switch switch@
1b000000: fib_add() failed
[ 13.848157] rtl83xx-switch switch@
1b000000: add IPv4 route 192.168.1.255/32 (VLAN 0, MAC 80:00:37:74:80:00)
[ 13.859264] rtl83xx-switch switch@
1b000000: skip loopback/broadcast address
[ 13.883086] rtl83xx-switch switch@
1b000000: add IPv4 route 192.168.1.0/24 (VLAN 0, MAC 80:00:37:74:80:00)
[ 13.894051] rtl83xx-switch switch@
1b000000: lower interface lan1 not found
[ 13.902009] rtl83xx-switch switch@
1b000000: fib_add() failed
[ 18.342938] rtl83xx-switch switch@
1b000000: delete IPv4 route 192.168.1.0/24 (VLAN 0, MAC 80:00:37:74:80:00)
[ 18.354162] rtl83xx-switch switch@
1b000000: no such gateway: 0.0.0.0
[ 18.361483] rtl83xx-switch switch@
1b000000: fib_del() failed
[ 18.378327] rtl83xx-switch switch@
1b000000: delete IPv4 route 192.168.1.255/32 (VLAN 0, MAC 80:00:37:74:80:00)
[ 18.389736] rtl83xx-switch switch@
1b000000: skip loopback/broadcast address
[ 18.419856] rtl83xx-switch switch@
1b000000: delete IPv4 route 192.168.1.1/32 (VLAN 0, MAC 80:00:37:74:80:00)
[ 18.431160] rtl83xx-switch switch@
1b000000: no such gateway: 0.0.0.0
[ 18.438452] rtl83xx-switch switch@
1b000000: fib_del() failed
[ 54.570217] rtl83xx-switch switch@
1b000000: add IPv4 route 192.168.2.71/32 (VLAN 1, MAC d8:ec:5e:5b:7d:a1)
[ 54.581329] rtl83xx-switch switch@
1b000000: route hashtable extended for gw 0.0.0.0
[ 54.638792] rtl83xx-switch switch@
1b000000: add IPv4 route 192.168.2.255/32 (VLAN 1, MAC d8:ec:5e:5b:7d:a1)
[ 54.649913] rtl83xx-switch switch@
1b000000: skip loopback/broadcast address
[ 54.780897] rtl83xx-switch switch@
1b000000: add IPv4 route 192.168.2.0/24 (VLAN 1, MAC d8:ec:5e:5b:7d:a1)
[ 54.791883] rtl83xx-switch switch@
1b000000: route hashtable extended for gw 0.0.0.0
Signed-off-by: Markus Stockhausen <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20029
Signed-off-by: Robert Marko <[email protected]>
Leo Barsky [Wed, 17 Sep 2025 16:01:59 +0000 (13:01 -0300)]
kernel: 6.12: refresh patches for airoha/econet on 6.12.45
Refresh patches 6.12 for airoha and econet
Fixes: 122135b964 ("airoha: an7581: add support for kernel 6.12")
Fixes: 73d0f92460 ("kernel: Add new platform EcoNet MIPS")
Signed-off-by: Leo Barsky <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20073
Signed-off-by: Robert Marko <[email protected]>
George Moussalem [Wed, 17 Sep 2025 05:56:49 +0000 (09:56 +0400)]
qualcommax: ipq50xx: backport upstreamed patch for adding ipq5018 I2C node
Use upstreamed patch for adding the QUP3 I2C node.
Signed-off-by: George Moussalem <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20070
Signed-off-by: Robert Marko <[email protected]>
Felix Fietkau [Wed, 17 Sep 2025 10:27:00 +0000 (12:27 +0200)]
ucode: ubus: add shared global connection to uloop
Fixes issues with registering objects
Signed-off-by: Felix Fietkau <[email protected]>
Kenneth Kasilag [Sat, 13 Sep 2025 10:47:21 +0000 (10:47 +0000)]
airoha: an7581: add support for kernel 6.12
Enable kernel 6.12 as the testing kernel for airoha.
This first commit will largely maintain feature-parity with kernel 6.6.
DTS changes are backwards-compatible with kernel 6.6.
Tested to flash and boot on Gemtek W1700K (#17869).
Signed-off-by: Kenneth Kasilag <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19038
Signed-off-by: Robert Marko <[email protected]>
Kenneth Kasilag [Sat, 13 Sep 2025 09:32:19 +0000 (09:32 +0000)]
kernel/airoha: Restore kernel files for v6.6
This is an automatically generated commit which aids following Kernel patch
history, as git will see the move and copy as a rename thus defeating the
purpose.
For the original discussion see:
https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html
Signed-off-by: Kenneth Kasilag <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19038
Signed-off-by: Robert Marko <[email protected]>
Kenneth Kasilag [Sat, 13 Sep 2025 09:32:19 +0000 (09:32 +0000)]
kernel/airoha: Create kernel files for v6.12 (from v6.6)
This is an automatically generated commit.
When doing `git bisect`, consider `git bisect --skip`.
Signed-off-by: Kenneth Kasilag <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19038
Signed-off-by: Robert Marko <[email protected]>
Robert Marko [Tue, 16 Sep 2025 15:19:23 +0000 (17:19 +0200)]
ipq-wifi: update to Git HEAD (2025-09-16)
c40198780e44 qca9888: add BDF for TP-Link Archer C60 v1
Link: https://github.com/openwrt/firmware_qca-wireless/pull/67
Signed-off-by: Robert Marko <[email protected]>
Paweł Owoc [Fri, 16 May 2025 15:53:46 +0000 (17:53 +0200)]
qualcommax: ipq807x: use label MAC to set addresses for wireless interfaces
Use label MAC to set addresses for wireless interfaces
for Linksys MX4200v2 and MX4300.
Signed-off-by: Paweł Owoc <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18759
Signed-off-by: Robert Marko <[email protected]>
Paweł Owoc [Wed, 7 May 2025 17:05:46 +0000 (19:05 +0200)]
qualcommax: ipq807x: use ascii-env driver for Linksys MX devices
ascii-env driver allows reading mac addresses directly from devinfo partition from dts level.
Additionally label mac address have been set.
Signed-off-by: Paweł Owoc <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18759
Signed-off-by: Robert Marko <[email protected]>
Linus Walleij [Sun, 12 Jan 2025 00:37:20 +0000 (01:37 +0100)]
gemini: Add module for VSC73xx switches
This adds the Vitesse VSC73xx DSA switch modules to the two
Gemini devices that have them.
Link: https://github.com/openwrt/openwrt/pull/20057
Signed-off-by: Linus Walleij <[email protected]>
Linus Walleij [Sun, 12 Jan 2025 00:32:35 +0000 (01:32 +0100)]
kernel: netdevices: Create Vitesse DSA switch packages
This adds kernel packages for the Vitesse VSC73XX switches.
I have split the switch into explicit SPI and platform integrated
variants as it's quite a bit of code.
Link: https://github.com/openwrt/openwrt/pull/20057
Signed-off-by: Linus Walleij <[email protected]>
Daniel Golle [Mon, 15 Sep 2025 16:11:20 +0000 (17:11 +0100)]
mediatek: refresh patches
Refresh patch which was accidentally without non-confrming style and
not matching line numbers.
Also add patch description by copying the description of the commit
in OpenWrt, so the patch can be applied using `git am` and is ready
for upstream submission.
Fixes: afcec128c5 ("mediatek: add support for trng on mt7988a")
Signed-off-by: Daniel Golle <[email protected]>
Marcos Alano [Mon, 15 Sep 2025 01:32:12 +0000 (22:32 -0300)]
mediatek: add support for trng on mt7988a
Add support for trng on mt7988a.
Tested on Banana Pi BPI-R4.
Signed-off-by: Marcos Alano <[email protected]>
George Moussalem [Tue, 19 Aug 2025 14:51:59 +0000 (18:51 +0400)]
qualcommax: ipq50xx: backport upstreamed patches for adding ipq5018 CMN PLL support
Use upstreamed patches for adding IPQ CMN PLL driver support and its
node and clocks to the DTS accordingly.
In addition, set clock-div and clock-mult properties instead of the
frequency itself for the XO board clock in all board files as it's
converted to a fixed factor clock.
Signed-off-by: George Moussalem <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19890
Signed-off-by: Robert Marko <[email protected]>
George Moussalem [Tue, 19 Aug 2025 14:24:19 +0000 (18:24 +0400)]
qualcommax: ipq50xx: backport upstreamed patch for adding ipq5018 crypto node
Use upstreamed patch for adding the crypto nodes.
Signed-off-by: George Moussalem <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19890
Signed-off-by: Robert Marko <[email protected]>
George Moussalem [Tue, 19 Aug 2025 14:14:47 +0000 (18:14 +0400)]
qualcommax: ipq50xx: backport upstreamed patch for adding ipq5018 PRNG node
Use upstreamed patch for adding the PRNG node.
Signed-off-by: George Moussalem <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19890
Signed-off-by: Robert Marko <[email protected]>
George Moussalem [Tue, 19 Aug 2025 14:05:25 +0000 (18:05 +0400)]
qualcommax: ipq50xx: backport upstreamed patch for adding ipq5018 SPI nand support
Use upstreamed patch for adding the SPI nand node.
Signed-off-by: George Moussalem <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19890
Signed-off-by: Robert Marko <[email protected]>
George Moussalem [Tue, 19 Aug 2025 12:39:06 +0000 (16:39 +0400)]
qualcommax: ipq50xx: backport upstreamed patches for adding ipq5018 GE PHY support
Use upstreamed patch for adding driver support and the the mdio and phy
nodes.
Signed-off-by: George Moussalem <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19890
Signed-off-by: Robert Marko <[email protected]>
George Moussalem [Fri, 15 Aug 2025 05:30:40 +0000 (09:30 +0400)]
qualcommax: ipq50xx: backport upstreamed patch for adding ipq5018 tsens node
Use upstreamed patch for adding the tsens node.
Temperature sensors are enabled by default, therefore remove explicit
enablement in board files.
Signed-off-by: George Moussalem <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19890
Signed-off-by: Robert Marko <[email protected]>
Felix Fietkau [Mon, 15 Sep 2025 07:53:54 +0000 (09:53 +0200)]
mt76: update to Git HEAD (2025-09-15)
904abc93b7d7 wifi: mt76: mt7996: fix setting beacon protection keys
75cd7c365b26 wifi: mt76: mt7996: fix memory leak on mt7996_mcu_sta_key_tlv error
587012a43306 wifi: mt76: mt7996: delete vif keys when requested
e995f6198d8b wifi: mt76: mt7996: fix key add/remove imbalance
5b0cbb058089 wifi: mt76: mt7996: fix updating beacon protection with beacons enabled
bba7ae0b1a68 wifi: mt76: mt7996: drop connac mcu wtbl clear
1383b5548fd7 wifi: mt76: use altx queue for offchannel tx on connac+
fd4c0858e58d wifi: mt76: mt7996: disable promiscuous mode by default
a9d21b7ece99 wifi: mt76: mt7996: remove the mem_total field of STA_REC_BF command
e88deeb14596 wifi: mt76: mt7996: set VTA in txwi
a06461861f4a wifi: mt76: mt7996: fill User Priority in skb->priority for rx packets
d17519baab77 wifi: mt76: improve phy reset on hw restart
ddbe1f6eb25f wifi: mt76: abort scan/roc on hw restart
6745cece7a07 wifi: mt76: mt7996: reset station links on hardware restart
d4a79d50ffc6 wifi: mt76: mt7996: reset interface links on hardware restart
9b770cb3dacd wifi: mt76: mt76_eeprom_override to int
6467af3bcf11 wifi: mt76: mt7921u: Add VID/PID for Netgear A7500
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Sun, 14 Sep 2025 15:07:53 +0000 (17:07 +0200)]
ucode: ubus: simplify sharing a global connection state
Add connection methods as global functions
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Sun, 14 Sep 2025 15:04:44 +0000 (17:04 +0200)]
ucode: update to Git HEAD (2025-08-26)
2ae08749a87e ucode: add padding to uc_resource_ext_t
7931bd901222 socket: add socket.pair()
4cd07cd66ab3 socket: add socket.open()
6350e6383ff3 struct: implement X and Z formats for hex and base64 coding
e632e6da1fbc vm: fix potential eyond end of array accesses
a7ead3169ebf resolv: properly handle multiple TXT strings
9d782ea4af63 math: Add an optional range to rand()
Fixes: https://github.com/jow-/ucode/issues/315
Fixes: https://github.com/jow-/ucode/issues/321
Signed-off-by: Felix Fietkau <[email protected]>
Linus Walleij [Sat, 6 Sep 2025 20:39:05 +0000 (22:39 +0200)]
kernel: kmod-dsa-ks8995: Backport DSA patches
Converts the KS8995 "phy" driver to a proper DSA switch.
Currently the upstream only supports the "none" tag
but this is a good improvement already.
Make the old module depend on kernel 6.6 and the new
one depend on !6.6.
The Realtek RTL8261n patch needs to be refreshed
because of textual dependencies.
Realtek RTL838x DSA and phy patches also have textual
dependencies and need to be refreshed.
The Mediatek in-flight DSA patch and related patches
also need to be rebased and refreshed.
Link: https://github.com/openwrt/openwrt/pull/19970
Signed-off-by: Linus Walleij <[email protected]>
Chukun Pan [Wed, 6 Aug 2025 14:08:20 +0000 (22:08 +0800)]
generic: fix typo in swconfig driver patch
Fix typo in CONFIG_RTL8367B_PHY description.
Signed-off-by: Chukun Pan <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20040
Signed-off-by: Hauke Mehrtens <[email protected]>
Rhnn Hur [Sun, 14 Sep 2025 04:36:53 +0000 (13:36 +0900)]
mediatek: add missing eeprom for ipTIME AX3000M
This change fixes the eeprom load failure while on boot
Signed-off-by: Rhnn Hur <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20044
Signed-off-by: Hauke Mehrtens <[email protected]>
Orne Brocaar [Tue, 9 Sep 2025 09:04:59 +0000 (10:04 +0100)]
bcm27xx: Add padding after writing rootfs to image.
This addresses #9113 by adding up to 1MB padding after writing the
rootfs image. On boot mount_root will probe for existing filesystems
after the rootfs image data. Without overwriting the initial free
space left on the rootfs partition, OpenWrt might incorrectly detect
an exising filesystem and fails to mount it, resulting in a bricked
device as the overlayfs will not be mountend and settings will not be
available.
Fixes #9113.
Signed-off-by: Orne Brocaar <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19997
Signed-off-by: Robert Marko <[email protected]>