Commit Graph

65879 Commits

Author SHA1 Message Date
Felix Fietkau adb1ce158a hostapd: fix setting up MLD AP interfaces after config change
Removing the last remaining link from an MLD AP interface removes the
interface as well. Re-create the interface if necessary on config changes.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-09-25 12:08:52 +02:00
Felix Fietkau 8c37f5f2f2 wpa_supplicant: fix getting phy status and setting state for MLD
Fixes some AP+STA related issues

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-09-25 12:08:52 +02:00
Jan Hoffmann 6790e1a564 realtek: support configuring SerDes auto-negotiation on RTL93xx
There are SFP modules which only work if auto-negotiation is disabled,
like some "OEM SFP-2.5G-T" modules. This also seems to be necessary for
RTL8226/RTL8221B PHYs when using 2500Base-X.

However, currently, it is always enabled, so add support for configuring
it to make these SFP modules and PHYs work.

This also adds locking which should be useful for future extension of
the PCS driver.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Link: https://github.com/openwrt/openwrt/pull/19518
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-09-25 11:27:45 +02:00
Markus Stockhausen c332aed2aa realtek: drop sds property
Now that MDIO and DSA driver only look for pcs-handle drop all
usages of the sds property.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/20148
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-09-25 11:01:11 +02:00
Markus Stockhausen 7d67b1022a realtek: evaluate pcs-handle instead of sds property
In the Realtek dts the pcs-handle property at the switch port is the
successor of the sds property at the phy. Rearrange the MDIO and DSA
driver so they always look at the new attribute.

Remark! This code can be dropped completely if the new PCS driver
is fully featured. But this will take some time.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/20148
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-09-25 11:01:10 +02:00
Andrew LaMarche 10f3f6d6d8 airoha: switch to 6.12 and drop 6.6
Switch Airoha targets to 6.12 and drop 6.6 support.

Signed-off-by: Andrew LaMarche <andrewjlamarche@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20137
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-09-25 11:00:36 +02:00
Felix Fietkau ce3ab2646b wifi-scripts: ucode: add support for the legacy hwmode option
Some configs that are many years old still have it set instead of band

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-09-25 09:41:25 +02:00
Andrew LaMarche 3db08ebaa7 airoha: en7523: fix SPI patch no prototype error
en7523 compilation on 6.12 fails with a no prototype warning. Fix this
by declaring max_transfer_size and transfer_one_message static.

Signed-off-by: Andrew LaMarche <andrewjlamarche@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20138
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-09-25 00:12:27 +02:00
Andrew LaMarche 46d83193e8 airoha: en7523: add missing Kconfig entry on 6.12
Add missing Kconfig symbols for en7523 on 6.12.

Signed-off-by: Andrew LaMarche <andrewjlamarche@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20138
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-09-25 00:12:27 +02:00
Felix Fietkau 9aca8a97d7 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 <nbd@nbd.name>
2025-09-24 13:45:59 +02:00
Felix Fietkau 5170a2448c wpa_supplicant: initialize interface list on startup
Avoid errors on deref if adding an interface fails

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-09-24 13:45:40 +02:00
Felix Fietkau b11a6a1c5a 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 <nbd@nbd.name>
2025-09-24 13:45:40 +02:00
Felix Fietkau 009a9e0478 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 <nbd@nbd.name>
2025-09-24 13:45:40 +02:00
Felix Fietkau 04e9929c47 wifi-scripts: enable ucode scripts by default
They are required for MLO support

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-09-24 13:45:40 +02:00
Felix Fietkau bd80c05c11 netifd/wifi-scripts: use shared global connection for ubus
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-09-24 13:45:40 +02:00
Felix Fietkau 6834c19e41 hostapd: add wpa_supplicant ubus function guard exception handler
Improves logging when something goes wrong

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-09-24 13:45:40 +02:00
Felix Fietkau 7aa6ea9cc1 hostapd: ubus: replace ex_wrap exception handler function with global guard
Simplifies the code

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-09-24 13:45:40 +02:00
Stijn Segers 24b68023c0 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 <foss@volatilesystems.org>
Link: https://github.com/openwrt/openwrt/pull/20118
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-09-24 13:41:04 +02:00
Stijn Segers 46cf10771a 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 <foss@volatilesystems.org>
Link: https://github.com/openwrt/openwrt/pull/20118
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-09-24 13:41:04 +02:00
Stijn Segers d205878ede 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 <foss@volatilesystems.org>
Link: https://github.com/openwrt/openwrt/pull/20118
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-09-24 13:41:04 +02:00
Rosen Penev dafc49b233 ath79: dir-842: use nvmem
Userspace handling is deprecated.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17344
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-09-24 13:36:38 +02:00
Rosen Penev 2767baebed 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 <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19864
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-09-24 13:33:00 +02:00
Rosen Penev 4eae48d9dc lantiq: use new ADSL nvmem support
Can now set through DTS.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19910
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-09-23 23:24:33 +02:00
Rosen Penev fa442c5010 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 <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19910
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-09-23 23:24:33 +02:00
Mikhail Zhilkin 028050da69 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 <csharper2005@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20059
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-09-23 23:11:53 +02:00
Mikhail Zhilkin 93b208434d 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 <csharper2005@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20059
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-09-23 23:11:53 +02:00
Mikhail Zhilkin b8c427f486 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 <csharper2005@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20059
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-09-23 23:11:53 +02:00
John Audia 2fae509a8f 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 <leobrsky@proton.me>
Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/20072
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-09-23 23:09:49 +02:00
Coia Prant d0383bb175 ramips: Add factory image for Qding QC202
Added factory image using mkqdimg.

Signed-off-by: Coia Prant <coiaprant@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20102
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-09-23 22:51:21 +02:00
Andreas Gnau 8e6df323af rockchip: add missing config symbols
Run make kernel_oldconfig add unanswered config symbols.

Signed-off-by: Andreas Gnau <rondom@rondom.de>
Link: https://github.com/openwrt/openwrt/pull/20121
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-09-23 22:15:52 +02:00
Andreas Gnau 089827f304 generic: 6.12: add missing symbol NET_DSA_KS8995
Add missing KConfig symbol CONFIG_NET_DSA_KS8995.

Fixes: 73504d0b27 ("kernel: kmod-dsa-ks8995: Backport DSA patches")
Signed-off-by: Andreas Gnau <rondom@rondom.de>
Link: https://github.com/openwrt/openwrt/pull/20121
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-09-23 22:15:52 +02:00
Aleksander Jan Bajkowski 13a22b0030 kernel: move accepted patch to backport directory
This patch has already been accepted and landed in 6.17.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Link: https://github.com/openwrt/openwrt/pull/20132
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-09-23 22:12:34 +02:00
Aleksander Jan Bajkowski 51e6166061 qualcomax: dts: fix typo "disbled"
No functional changes intended.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Link: https://github.com/openwrt/openwrt/pull/20131
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-09-23 21:52:06 +02:00
Aleksander Jan Bajkowski 3872e9d317 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 <olek2@wp.pl>
Link: https://github.com/openwrt/openwrt/pull/20131
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-09-23 21:52:06 +02:00
Bjørn Mork ae9c9d0f8e 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 <bjorn@mork.no>
Link: https://github.com/openwrt/openwrt/pull/20127
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-09-23 21:49:54 +02:00
Markus Stockhausen 347d546386 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 <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/20129
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-09-23 21:21:43 +02:00
Markus Stockhausen 6b681fd285 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 <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/20111
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-09-22 14:22:01 +02:00
Thomas Martitz c8c187f0f0 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 <antanas.bruzas@protonmail.com>
Signed-off-by: Thomas Martitz <thomas.martitz@mailbox.org>
Link: https://github.com/openwrt/openwrt/pull/20068
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-09-22 01:15:12 +02:00
Shin Sato 49b9b93b19 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 <shin.sugar.ssyysy2021@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/13107
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-09-22 00:57:51 +02:00
Ari Kurniawan 7cd10add2d 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 <noobhek@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20035
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-09-21 15:49:15 +02:00
Christoph Krapp 9401b8b86d 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 <achterin@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19993
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-09-21 15:27:53 +02:00
Christoph Krapp a7ca19962b 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 <achterin@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19993
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-09-21 15:27:53 +02:00
Elwin Huang c98b96bca0 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 <s09289728096@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20101
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-09-21 14:45:19 +02:00
Goetz Goerisch 2f61f77fb0 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 <ggoerisch@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20095
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-09-21 12:16:24 +02:00
Goetz Goerisch f86229f33b 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 <therealgraysky@proton.me>
Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20096
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-09-21 12:14:36 +02:00
David Andreoletti 47155fe5ed libnftnl: update to 1.3.0
Changelog: https://git.netfilter.org/libnftnl/log/?h=libnftnl-1.3.0

Signed-off-by: David Andreoletti <david.andreoletti.dev@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20055
Signed-off-by: Ted Hess <thess@kitschensync.net>
2025-09-20 18:58:14 -04:00
David Andreoletti 94fea8ea48 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 <david.andreoletti.dev@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20055
Signed-off-by: Ted Hess <thess@kitschensync.net>
2025-09-20 18:58:14 -04:00
Hauke Mehrtens e49a2192e5 mediatek: Fix setting MAC address for some devices
This fixes a previous commit breaking setting the MAC address for the
wifi devices.

Fixes: 9ed4d27fbf ("mediatek: filogic: fix 5G MAC address for Zyxel EX5601")
Link: https://github.com/openwrt/openwrt/pull/20100
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-09-20 19:26:16 +02:00
Elwin Huang 8b891001f6 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 <s09289728096@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20071
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-09-20 19:13:47 +02:00
Markus Stockhausen fe27cce1ec 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 <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/20075
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-09-20 12:51:23 +02:00