Commit Graph

65759 Commits

Author SHA1 Message Date
Houssem Dafdouf
4ac84044dd PROVISORY: ci: cram: OSPv2: pwhm-wpa3-cm.t: keep MLDUnit unset
When finishing the pwhm-wpa3-cm.t test script, MLDUnits are currently
restored to the same values as in Freedom (0: Private MLD, 1: Guest
MLD).

However, MLO is not yet supported on OSPv2, so MLDUnits should instead
remain at their default value (-1, as set through MXL UPDK).

Closes: PPW-1713
References: PCF-2395
Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
2026-07-14 16:47:04 +01:00
Houssem Dafdouf
f67f5509a6 ci: cram: wifi-scheduler: adapt test script
After re-enabling the wifi-scheduler script, update the test to:

- Add backhaul interfaces
- Use the correct prplMesh AccessPoint creation method
- Use the generic wifi_dm helper
- Adapt AP status checks to keep the script generic

References: PPW-774
Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
2026-07-14 16:47:04 +01:00
Houssem Dafdouf
369f6a0f42 Revert "PROVISORY: ci: 112-wifi-scheduler.t: disable unstable test"
Re-enable wifi-scheduler cram test.

This reverts commit ba53c45d79.

References: PPM-3523, PPM-3508, PPW-774
Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
2026-07-14 16:47:04 +01:00
Houssem Dafdouf
4ec21bc322 profiles: prpl_core.yml: feed-prplmesh: wifi-scheduler: datamodel contains references to legacy X-PRPL_ORG and X_PRPL-COM vendor prefix
Integrates:
- 2f72972: ("wifi-scheduler: datamodel contains references to legacy X-PRPL_ORG and X_PRPL-COM vendor prefix", 2025-12-05)

Closes: PPW-774
Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-07-14 16:47:00 +01:00
Yousfi Neji
24bf34519b ci: cram: fix output interface mismatch
The test was hardcoded to expect wan and br-lan as interface names,
but the actual kernel/netdev interface name that showed up in the mangle table was eth1.

Instead of resolving the interface name at test time (hardcoded),
we resolve it at test run time as a dynamic resolution by
walking through the data model to extract the real netdev name whatever the project (ospv2/freedom)
the test now emit OK if this check passes or FAIL with explicit message if the check fails.

Tracked-by: PPW-1998

Signed-off-by: Yousfi Neji <yousfi.neji_ext@softathome.com>
2026-07-14 09:26:17 +00:00
prplbot
ef06656a7d profiles: prpl_core.yml: feed_prplos: tr181-firewall: map ExternalPortEndRange to correct InternalPort range in DNAT rule
Integrates following changes:
- 4662ac9: ("tr181-firewall: fix RemoteHost change rule ordering in portmapping test [PPW-1181]", 2026-03-27)
- f9a4fa3: ("test: adjust expect calls for new rule order", 2026-02-19)
- d2bd30b: ("ci: baf: update autogenerated files", 2026-02-23)
- 4e6206e: ("ci: baf: update autogenerated files", 2026-02-20)
- b935f3c: ("tr181-firewall: map ExternalPortEndRange to correct InternalPort range in DNAT rule", 2026-02-05)

References: PPW-1695, PPW-1181, PPW-2072, HOP-11824
Signed-off-by: prplbot <bot@prplfoundation.org>
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-07-13 17:48:08 +01:00
ahmed sassi
e7a3569634 profiles: prplos: feed-prplos: unbound: fix reload-time crash in AMX bus and interface handling
Integrates:
- d12d632a: ("fix reload-time crash in AMX bus and interface handling", 2026-06-05)

References: PPW-2041
Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
2026-07-13 16:48:28 +01:00
ahmed sassi
9e13b53324 profiles: prpl_core.yml: feed-prplos: mcastd-core: fix max response code and QQIC in IGMP/MLD queries
Integrates:
- a94741d: ("snooper: fix max response code and QQIC in IGMP/MLD queries", 2026-06-02)

Refeneces: PPW-1645, PPW-1869
Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-07-13 16:45:58 +01:00
Marvin Lu
1ca6355f0d profiles: qca_ipq95xx: hostapd-qca-UPSTREAM:PROTOCOL:Clean up unused MLDs after BSS removal
When removing the last BSS of an AP MLD, the associated MLD
control interface may be left unused, leaving its control
socket lingering.

Invoke hostapd_cleanup_unused_mlds() after BSS removal to
clean up unused MLD objects. This ensures that stale MLD
state and control sockets are properly release

Fixes: PCF-2605

Signed-off-by: Marvin Lu <marvin.lu@wnc.com.tw>
2026-07-13 15:25:45 +00:00
ahmed sassi
0d81ec0ba5 ci: update obuspa expected model by removing reboot() RPC
Remove the deprecated Device.DeviceInfo.Reboots.reboot() RPC and its input
parameters (Cause, Reason) from the obuspa.expected fixture.

This change aligns the test expectations with the current reboot-service
model where the reboot() RPC is no longer exposed.

References: PPW-1960
Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
2026-07-13 16:10:10 +01:00
prplbot
a9ab267809 profiles: prpl_core.yml: feed_prplos: reboot-service,tr181-device: Reboots.reboot() should not be part of the GSDM
Integrates following changes:
reboot-service:
- reboot-service: Reboots.reboot() should not be part of the GSDM (26b126f7)
tr181-device:
- tr181-device: Reboots.reboot() is now protected (29c3f3c9)

References: PPW-1960
Signed-off-by: prplbot <bot@prplfoundation.org>
2026-07-13 16:10:06 +01:00
Matthias Franck
bfe6760420 profiles: prpl_core: unbound-prpl: bump to v1.25.1 to various CVEs
Upstep unbound to version 1.25.1 to address multiple CVEs
reported by the BlackDuck scan.

This update fixes the following CVEs with score > 4.0:

- CVE-2026-33278 / BDSA-2026-11345
- CVE-2026-40622 / BDSA-2026-11346
- CVE-2026-41292 / BDSA-2026-11347
- CVE-2026-42959 / BDSA-2026-11354
- CVE-2026-42944 / BDSA-2026-11355
- CVE-2026-32792 / BDSA-2026-11344
- CVE-2026-44608 / BDSA-2026-11351

The following lower-scored CVEs are also resolved by the same
upstream update:

- CVE-2026-42960 / BDSA-2026-11353
- CVE-2026-42534 / BDSA-2026-11348
- CVE-2026-44390 / BDSA-2026-11352
- CVE-2026-42923 / BDSA-2026-11356

Integrates:
- b11cde30: ("bind listen socket to interface", 2024-06-05)
- 7538ce4a: ("support failover mechanism", 2023-11-15)
- 4a92cb36: ("add support for the server configuration option 'private-exception'", 2023-11-20)
- bc33f51a: ("config option: outbound-msg-timeout", 2023-07-13)
- 9580ea04: ("RFC 6525 4.4.1: Don't forward TCP queries over UDP", 2023-10-23)
- d85e3dea: ("add bus connection to Unbound using libamx*", 2026-02-25)
- 6131db8e: ("fix build on non-linux systems", 2026-06-03)

References: PPW-2012
Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
2026-07-13 12:42:47 +01:00
prplbot
f057352c7e profiles: prpl_core.yml: feed_prplos: tr181-xpon: pm: ensure tr181-xpon default asks vendor module for values of PM parameters
Integrates following changes:
- pm: ensure tr181-xpon default asks vendor module for values of PM parameters (e298e7d3)

References: PPW-1567
Signed-off-by: prplbot <bot@prplfoundation.org>
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-07-13 10:45:48 +01:00
prplbot
29b2cc3a7d profiles: prpl_core.yml: feed_prplos: amxb_usp: fix coverity, ressource leak
Integrates following changes:
- amxb_usp: fix coverity, ressource leak (162fe17f)

References: CID-29578, PPW-2073, PPW-1739
Signed-off-by: prplbot <bot@prplfoundation.org>
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-07-13 09:32:57 +01:00
prplbot
c3e06cf6f9 profiles: prpl_core.yml: feed_prplos: ip-manager: CDRouter: prplOS.1.6.6: IPv6 Link Local Address Data Model Reporting
Integrates following changes:
- ipv6_address.c: IPv6Address: allow AutoConfigured handling for AutoDetected addresses (d4768081)
- add_ipv6_to_ip_manager: set Origin to AutoConfigured for AutoDetected IPv6 addresses (1956ba5c)
- unit-tests: align AutoDetected expectations with AutoConfigured origin (5fefca3c)
- is_dynamic_ip: remove unused function (672bc240)
- ip_manager_status_notpresent: remove unused function (171a6290)

References: TR-181, PPW-244
Signed-off-by: prplbot <bot@prplfoundation.org>
2026-07-12 01:27:06 +01:00
prplbot
976f6113fa profiles: prpl_core.yml: feed_prplos: tr181-dhcpv4client: Ensure DHCP IPv4Address exists for bound clients
Integrates following changes:
- tr181-dhcpv4client: Ensure DHCP IPv4Address exists for bound clients (PPW-1577) (f7e7e600)

References: PPW-1577
Signed-off-by: prplbot <bot@prplfoundation.org>
2026-07-12 01:06:55 +01:00
prplbot
ac61c64c9a profiles: prpl_core.yml: feed_prplos: tr069-manager: ManagementServer unwanted commands in the GSDM
Integrates following changes:
- tr069-manager: ManagementServer unwanted commands in the GSDM (2bbe070b)

References: PPW-1958
Signed-off-by: prplbot <bot@prplfoundation.org>
2026-07-12 00:57:43 +01:00
prplbot
46479e1df8 profiles: prpl_core.yml: feed_prplos: tr181-mqtt: fix coverity, ressource leak
Integrates following changes:
- tr181-mqtt: fix coverity, ressource leak (53a6bf20)

Fixes: CID-29672
References : PPW-1965
Signed-off-by: prplbot <bot@prplfoundation.org>
2026-07-12 00:32:28 +01:00
Mouna ALOUI
dd66a0214f ci:coverity: fix uboot-tools cov-build failure.
uboot-tools (pylibfdt) failed to compile with:
fatal error: Python.h: No such file or directory

Add python3-dev to the apt-get install step to provide the
missing header.

Reference: PPW-2121
Signed-off-by: Mouna Aloui <mouna.aloui@softathome.com>
2026-07-11 07:33:54 +00:00
prplbot
16bec22b4f profiles: prpl_core.yml: feed_prplos: tr181-dnssd: dm_dnssd_events.c: expose IPAddresses param in Scan event notification
Integrates following changes:
- dm_dnssd_events.c: expose IPAddresses param in Scan event notification (6cc29cf3)

References: PPW-2078
Signed-off-by: prplbot <bot@prplfoundation.org>
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-07-10 16:14:58 +01:00
prplbot
183e544dda profiles: prpl_core.yml: feed_prplmesh: pwhm: WPA3-PCM: propagate sae passphrase to hostapd
Integrates following changes:
- WPA3-PCM: propagate sae passphrase to hostapd (dfc75472)

References: PPW-1874
Signed-off-by: prplbot <bot@prplfoundation.org>
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-07-10 15:58:08 +01:00
FAOUZI YAHYA
f6dadf2b38 ci: cram: tests: fix TR-181 parameter Stats.NACK name in obuspa.expected and stats.t
Integrates:
-Update the CRAM test expectations to use the correct parameter name Stats.NACK instead of the misspelled Stats.NAK

References: PPW-1952
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-07-09 14:59:03 +01:00
prplbot
f1de7901c0 profiles: prpl_core.yml: feed_prplos: mod-dhcpv4c: fix typo in DHCPv4 Client NACK parameter name
Integrates following changes:
- mod-dhcpv4c: fix typo in DHCPv4 Client NACK parameter name (b5d20b16)

References: PPW-1952
Signed-off-by: prplbot <bot@prplfoundation.org>
2026-07-09 14:58:34 +01:00
Antoine Philippe
ab42407acc ci: cram: add EnvVariableNumberOfEntries and HostObjectNumberOfEntries to obuspa expected output
Integrates:
-Update the obuspa expected fixture to add:
Device.SoftwareModules.ExecutionUnit.{i}.EnvVariableNumberOfEntries
Device.SoftwareModules.ExecutionUnit.{i}.HostObjectNumberOfEntries

References: PPW-1954
Signed-off-by: Antoine Philippe <antoine.philippe@softathome.com>
2026-07-09 13:54:46 +01:00
ahmed sassi
267c021192 ci: cram: add ApplicationDataNumberOfEntries to obuspa expected output
Integrates:
-Update the obuspa expected fixture to include
Device.SoftwareModules.ExecEnv.{i}.ApplicationDataNumberOfEntries
for timingila.

References : PPW-1954
Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
2026-07-09 13:54:45 +01:00
prplbot
f228a1888c profiles: lcm.yml: feed_lcm: timingila: odl: add missing NumberOfEntries parameter
Integrates following changes:
- odl: add missing NumberOfEntries parameter (ec7fd8b9)

References: PPW-1954
Signed-off-by: prplbot <bot@prplfoundation.org>
2026-07-09 13:54:42 +01:00
prplbot
31fbb0e6b8 profiles: prpl_core.yml: feed_prplos: tr181-pcp: mod-pcp-libpcp: fix timeval logging format
Integrates following changes:
- mod-pcp-libpcp: fix timeval logging format [PPW-1946] (0f3eb66c)

References: PPW-1946
Signed-off-by: prplbot <bot@prplfoundation.org>
2026-07-09 12:22:06 +01:00
Houssem Dafdouf
10991af08e ci: cram: reorganize pwhm usp tests - second attempt
Context:
========

A first attempt to reorganize the pwhm usp tests for PPW-1606 was
introduced in commit 7560c16e81.

However, CI was failing because some required alias definitions were
missing from the OSPv2 cram tests. The change was reverted in commit
c7ea8021e0.

Let's rework the change and include the missing alias definitions so
the test reorganization is handled properly.

Initial problem:
================

During the integration of PPM-3671, the 103-apmld.t script started
failing due to an incorrect security mode set by previous tests.

Cause:
======

The security mode was unexpectedly modified during the execution of
102-pwhm-usp.t while toggling AP1. This happens because prplMesh now
runs in controller mode as part of PPM-3671.

Solution:
=========

When testing pure PWHM features, prplMesh should not be running to
avoid conflicts. This was previously the case, except for the AP1
toggling step executed in wifi-usp.t.

Move the USP-related test cases to more appropriate locations:
- USP socket creation and PWHM USP event checks (AP1 toggling):
  moved to 100-pwhm.t where prplMesh is kept stopped
- prplMesh connection to the PWHM direct socket:
  moved to 110-prplmesh-dataelements.t
- 102-pwhm-usp.t is so removed from fast track test scripts

Closes: PPW-1606
References: PPM-3671
Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
2026-07-09 10:59:35 +00:00
ahmed sassi
045a71f28f ci:cram:obuspa: fix HomePlug parameter order in obuspa.expected
Move AssociatedDeviceNumberOfEntries to match the current HomePlug data model output ordering in obuspa.expected.

Refrences: PPW-1953
Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
2026-07-09 11:51:03 +01:00
prplbot
452fb1f072 profiles: prpl_core.yml: feed_prplos: tr181-homeplug: rename AssociateDeviceNumberOfEntries to AssociatedDeviceNumberOfEntries
Integrates following changes:
- tr181-homeplug: rename AssociateDeviceNumberOfEntries to AssociatedDeviceNumberOfEntries (352b3960)

References: PPW-1953, TR-181
Signed-off-by: prplbot <bot@prplfoundation.org>
2026-07-09 11:50:47 +01:00
Hela Saadani
c785f10316 ci: cram: 005-build-config: update the test 005-build-config for Freedom to add CONFIG_FWI_FLASH_PARTITIONS="u-boot,kernel,rootfs"
Updating the test 005-build-config during PCF-2624.
Update the test to add CONFIG_FWI_FLASH_PARTITIONS="u-boot,kernel,rootfs"

References: PCF-2624, PPW-2154
Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2026-07-09 11:11:00 +01:00
Hela Saadani
05a30b1404 ci: test: cram: align expected output with upstream openwrt changes
New packages ivykis and liburing appear in the expected build config
because upstream openwrt/packages commit 8fcf45d05a changed syslog-ng
to depend on an external ivykis package (instead of the previously
embedded copy). ivykis in turn pulls in liburing when io_uring support
is enabled in the kernel.

References: PCF-1982
Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2026-07-09 10:57:35 +01:00
Hauke Mehrtens
bcfa0417fe OpenWrt v24.10.5: adjust config defaults
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 4f7e6e554be2aef6a55be36f9f954d56705eb2ee)
2026-07-09 10:57:35 +01:00
Markus Petri
917b21d7d8 vrx518_tc: fix rx_len_adj
Fix rx_len_adj to avoid leaking the ethernet FCS into the actual frame
data in single line mode (the default)

Fixes: https://github.com/openwrt/openwrt/issues/20983
Signed-off-by: Markus Petri <devel@isjunk.org>
Link: https://github.com/openwrt/openwrt/pull/21045
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 487178f8b003bf2e06b9f989b46f8b5c36181910)
(cherry picked from commit d9c5716d1d75e652d57b42a514b20145a24eee18)
2026-07-09 10:57:35 +01:00
Hauke Mehrtens
981c85039d wireless-regdb: Update to version 2025.10.07
e51d568 wireless-regdb: update regulatory rules for Botswana (BW) for 2022
5afc632 wireless-regdb: update regulatory rules for Sint Marteen (SX) for 2018
b484a31 wireless-regdb: Update regulatory info including bandwidth for Costa Rica (CR) for 2023
39e5e04 wireless-regdb: Permit lower 6 GHz band for Kazakhstan (KZ)
a827d3a wireless-regdb: update regulatory database based on preceding changes

Link: https://github.com/openwrt/openwrt/pull/20544
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit b4a8ba2e88681af12287eea2d18c4f7de25e280e)
(cherry picked from commit e382fc552a5afaa18e98b8971cf515c1e7ef5248)
2026-07-09 10:57:35 +01:00
Hauke Mehrtens
1b3bfa60ba dropbear: backport security fixes
This fixes the following security problems:
CVE-2025-14282: Avoid privilege escalation via unix stream forwarding in Dropbear server.
CVE-2019-6111: This allowed a malicious server to overwrite arbitrary local files.

This backports two upstream merged PRs:
https://github.com/mkj/dropbear/pull/391
https://github.com/mkj/dropbear/pull/394
and this upstream commit:
48a17cff6a

Link: https://github.com/openwrt/openwrt/pull/21192
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 0f52a05723988633882d6c52122009ce11f8956b)
2026-07-09 10:57:35 +01:00
Martin Nadvornik
ed702a0dc9 mediatek: fix IPv4 address missing on interface in failsafe mode for cudy ap3000-v1
cudy ap3000-v1 did not work correctly in failsafe mode
because the address 192.168.1.1 was missing on the eth0 inteface.
it was reachable via it's IPv6 link-local address however.
this commit fixes the issue.

Fixes: https://github.com/openwrt/openwrt/issues/20750
Signed-off-by: Martin Nadvornik <martin.nadvornik@gmx.at>
Link: https://github.com/openwrt/openwrt/pull/21172
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit e5cd6461c905184db8f49692f931b20fec4b819e)
(cherry picked from commit 58a0211f8201ab622b7b11d31629d6d755bd6526)
2026-07-09 10:57:35 +01:00
Thibaut VARÈNE
7ebe1d4538 mediatek/filogic: fix Cudy WR3000H ethernet port order
The ports are physically labelled in reverse order on the device.
This patch aligns logical names with physical ones.
LED order on front of device is correct after this patch.

Fixes: 9d66b8b312fb6a4087244ee3ee10e1ba1623df81
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
Link: https://github.com/openwrt/openwrt/pull/20528
(cherry picked from commit 887cab883bc4b3e104b70e74af775522d060e1d4)
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
Link: https://github.com/openwrt/openwrt/pull/21173
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 7aa929881e444ebc0ec0ae6cf027144db26392d1)
2026-07-09 10:57:35 +01:00
Hauke Mehrtens
d64b537260 kernel: Fix boot of realtek rtl838x
Revert two patches from upstream Linux:
135713cd07
231ac951fa

This fixes a boot hang on realtek rtl838x switches.
This is the last printed message:
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)

Thread on mips mailing list:
https://lore.kernel.org/linux-mips/b35fe4b3-8f42-49f4-a6bf-9f0e56d4050c@hauke-m.de/T/#u

Link: https://github.com/openwrt/openwrt/pull/21166
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit b8d232d9dca82078b89f3a18da434cfbae641f2b)
2026-07-09 10:57:35 +01:00
Petr Štetiar
0d78bcf9a7 dropbear: enable configurable port forwarding options
Currently its only possible to disable port forwarding only for specific
keys, via the OpenSSH-style restriction in `authorized_keys` file.

In some use cases it might be feasible to disable such features globally
on service level, so lets add new LocalPortForward and RemotePortForward
config knobs.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
Link: https://github.com/openwrt/openwrt/pull/21071
(cherry picked from commit 83f6177dbf44fa92ecf6d2e1cda9f92cfc5fe849)
[ fix conflict error ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 3c97c4a44cbeb767281f3260c1f6da4772432807)
2026-07-09 10:57:35 +01:00
Ayra Hikari
af23aceb98 mediatek/filogic: fix Totolink X6000R sysupgrade failed
Fix Totolink X6000R image failing to upgrade via sysupgrade due to an
incorrect upgrade case. The fallback upgrade path used the NAND upgrade
routine, which caused the "layout volume not found" error on NOR flash
devices. By adding a specific case for this board, sysupgrade now uses
`default_do_upgrade`, which is compatible with the NOR flash layout.

Fixes: 7cd10ad
Signed-off-by: Ayra Hikari <ayrahikari@linuxmail.org>
(cherry picked from commit 7cd10add2de3c8227cf7383c7ca5cf3b12eeb822)
Link: https://github.com/openwrt/openwrt/pull/20674
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 30b7a5f27aa34aa3392a5f6e1e54b02d30934cde)
2026-07-09 10:57:35 +01:00
Ari Kurniawan
cff54fafc5 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
(cherry picked from commit 7cd10add2de3c8227cf7383c7ca5cf3b12eeb822)
Signed-off-by: Ari Kurniawan <noobhek@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20674
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 8db7b6ff53042848cb9212069b3ebec33076c38a)
2026-07-09 10:57:35 +01:00
Hauke Mehrtens
87b4afac93 mac80211: update to version 6.12.61
This contains the following commits:
```
git log --oneline   v6.12.52...v6.12.61 -- drivers/net/wireless/ net/mac80211/ net/wireless/
a1eb56723b32 wifi: ath12k: correctly handle mcast packets for clients
c0a9c2c1b7b9 wifi: mac80211: use wiphy_hrtimer_work for csa.switch_work
d4caee32a9f8 wifi: cfg80211: add an hrtimer based delayed work item
6455948c8aab wifi: mac80211: reject address change while connecting
80dc5a2ce5b7 wifi: ath11k: Clear affinity hint before calling ath11k_pcic_free_irq() in error path
acd24d509227 wifi: mac80211: skip rate verification for not captured PSDUs
53cf801b8555 wifi: ath11k: zero init info->status in wmi_process_mgmt_tx_comp()
e8fa86b0bd96 wifi: mac80211_hwsim: Limit destroy_on_close radio removal to netgroup
77d4afd6c78b Revert "wifi: ath10k: avoid unnecessary wait for service ready message"
07d862c7de3d wifi: ath12k: Increase DP_REO_CMD_RING_SIZE to 256
522734fc807c wifi: mac80211: Track NAN interface start/stop
8db790c2491e wifi: ath10k: Fix connection after GTK rekeying
72f1984246e6 wifi: rtw89: renew a completion for each H2C command waiting C2H event
336da4414300 wifi: rtw89: obtain RX path from ppdu status IE00
da91687f01f4 wifi: mt76: mt7996: fix memory leak on mt7996_mcu_sta_key_tlv error
a534dd44b70e wifi: mt76: mt76_eeprom_override to int
aa5ed215cfe8 wifi: mt76: mt7996: Temporarily disable EPCS
efe2ef24feab wifi: mt76: mt7921: Add 160MHz beamformee capability for mt7922 device
5de410dfb4d9 wifi: mac80211: Fix HE capabilities element check
f157d1cb2cdc wifi: iwlwifi: fw: Add ASUS to PPAG and TAS list
c9df78e84e85 wifi: mac80211: Fix 6 GHz Band capabilities element advertisement in lower bands
958234997dd5 wifi: rtw89: fix BSSID comparison for non-transmitted BSSID
ca18975c4de2 wifi: rtw89: wow: remove notify during WoWLAN net-detect
bc1ca06998c1 wifi: rtw88: sdio: use indirect IO for device registers before power-on
8ebef59d0294 wifi: rtw89: print just once for unknown C2H events
5596a90c8952 wifi: mac80211: fix key tailroom accounting leak
23b8682f05ec wifi: mac80211: don't mark keys for inactive links as uploaded
e3373f10c6a6 wifi: ath11k: avoid bit operation on key flags
50f50dd024b4 wifi: ath11k: add support for MU EDCA
2a6cd5951ba8 wifi: ath12k: free skb during idr cleanup callback
775e37df2acc wifi: ath11k: Add missing platform IDs for quirk table
c4840991ee4c wifi: ath10k: Fix memory leak on unsupported WMI command
a6eed58249e7 wifi: brcmfmac: fix crash while sending Action Frames in standalone AP Mode
57100b87c778 wifi: ath12k: fix read pointer after free in ath12k_mac_assign_vif_to_vdev()
4a63523d3541 wifi: cfg80211: Add missing lock in cfg80211_check_and_end_cac()
e9fd43b799d2 wifi: rtw89: avoid possible TX wait initialization race
b419093e5e42 wifi: mt76: mt7921u: Add VID/PID for Netgear A7500
feb1774aaf85 wifi: mt76: mt7925u: Add VID/PID for Netgear A9000
bd3ac455a88d wifi: ath11k: HAL SRNG: don't deinitialize and re-initialize again
8055133a9f64 wifi: rtw89: avoid circular locking dependency in ser_state_run()
1c873416758f wifi: mac80211: fix Rx packet handling when pubsta information is not available
6e7d9fa61d7d wifi: ath10k: avoid unnecessary wait for service ready message
8d4f6ab4c53e wifi: ath12k: fix wrong logging ID used for CE
fc00890c55e3 wifi: mt76: mt7915: fix mt7981 pre-calibration
e18c4e6ba36c wifi: mt76: mt7996: Convert mt7996_wed_rro_addr to LE
f481404a9826 wifi: mt76: mt7996: Fix RX packets configuration for primary WED device
57519239c76c wifi: mt76: fix potential memory leak in mt76_wmac_probe()
27c8e2e4b56f wifi: iwlwifi: Remove redundant header files
605402433eb8 wifi: mwifiex: send world regulatory domain to driver
```

The removed patch was added upstream.

Link: https://github.com/openwrt/openwrt/pull/21134
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 454fd695894fba1fb81d5b6fa92feab8707d7419)
2026-07-09 10:57:35 +01:00
Florian Maurer
0f45ce2814 ath11k: fix transmit queue flushing through flush_sta implementation
warning print "ath11k c000000.wifi: failed to flush transmit queue 0"
is observed during busy times.

The mac80211 fallback implementation of `flush_sta` does not handle the per STA queues well.
This is fixed by providing a ath11k specific implementation of flush_sta telling the firmware to flush a given station.
The draining of the transmit queues should therefore stop correctly, even if new packets arrive in the mean time.

An upstream ath11k RFC is available at:
https://patchwork.kernel.org/project/linux-wireless/patch/GV1P250MB14333A5BF24623C4753A10E1E8E0A@GV1P250MB1433.EURP250.PROD.OUTLOOK.COM/

The patch was tested on a Xiaomi AX3600.

Signed-off-by: Florian Maurer <f.maurer@outlook.de>
Tested-by: Florian Maurer  <f.maurer@outlook.de>
Co-authored-by: Benjamin Berg <benjamin@sipsolutions.net>
Tested-by: Flole <flole@flole.de>
Link: https://github.com/openwrt/openwrt/pull/20293
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 8faa9dedb40dd0d7f7ebe59fddb2d33ed7a75190)
Signed-off-by: Felix Baumann <felix.bau@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/20667
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit f415748ba8e979757595d8619feddc3ec8aca788)
2026-07-09 10:57:35 +01:00
Shine
c3f60e0f19 mpc85xx: p1010: Use zImage loader for Watchguard Firebox T10
Since kernel 6.1, the Watchguard Firebox T10 can't boot anymore due to
increased kernel size.

This commit introduces the zImage loader from 7d768a9 to boot the kernel.
This is required, since the U-Boot version used in this device appears
to have a hard limit of 16MB for the kernel size it can handle. The
current kernel size is around 17MB, though, due to kernel page alignment
required for memory protection.

(cherry-picked from commit be7aa5bda40ee05b1dd0b4f4a1bf88e653ef875a)
Signed-off-by: Shine <4c.fce2@proton.me>
Link: https://github.com/openwrt/openwrt/pull/21130
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 9123a0c358d0b5275fcd99c3001f47020d27425b)
2026-07-09 10:57:35 +01:00
Marcin Leksmark
8452938a70 ramips: fix support for Cudy r700
This PR fixes support for Cudy r700.

Original PR: https://github.com/openwrt/openwrt/pull/18532
Fixed:

- WAN port functionality;
- RESET button;
- Status LED;
- LAN port names consistent with the chassis;
- Merged partitions "debug", "backup" & "firmware"  to one partition "firmware" ("debug" & "backup" contained unimportant data);
- Removed redundant DTS elements.

Installation:

To install OpenWRT, you need the intermediate firmware from Cudy. (U-boot is locked). After installing the intermediate firmware, you can install OpenWRT via sysupgrade.

Recovery:

TFTP available.
1. Place the recovery.bin in the serving directory of your TFTP server.
2. Set your IP to 192.168.1.88/24.
3. Press the “Reset” button of Cudy router and hold it. Before the Cudy router is powered on and before TFTP start to download the firmware, don't release the “Reset” button.
4. Power on the Cudy router.
5. You can release the reset button only when TFTP starts downloading firmware.
6. When the SYSTEM LED turns solid green, the upgrade is complete.

Fixes: 75403dd1d05b ("ramips: add support for Cudy R700")
Link: https://github.com/openwrt/openwrt/pull/20756
(cherry picked from commit 35a86267e90312f24fd11553cd5a5db0736b79ca)
Signed-off-by: Marcin Leksmark <lexmark3200@wp.pl>
Link: https://github.com/openwrt/openwrt/pull/21068
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 22391baf99634fc9f24d47a5ca475a654f444cd3)
2026-07-09 10:57:35 +01:00
David DeGraw
0e8f402f4a ramips: add support for Cudy R700
This is the same hardware as the Cudy WR2100 that's
had support for some time now, just without the WLAN
hardware.

This PR is mostly copied from the commit that added
support for the WR2100, here: 3501db9

Specifications:
SoC: MT7621
CPU: 880 MHz
Flash: 16 MiB
RAM: 128 MiB
Ethernet: 5x Gbit ports

Installation:
There are two known options:

The Luci-based UI.
Press and hold the reset button during power up.
The router will request 'recovery.bin' from a TFTP server at
192.168.1.88.

Both options require a signed firmware binary.
A signed firmware can be found in GitHub PR #18532.

R4 & R5 need to be shorted (0-100Ω) for the UART to work.

Link: https://github.com/openwrt/openwrt/pull/18532

Signed-off-by: David DeGraw <degraw@fastmail.com>
(cherry picked from commit 75403dd1d05bea1b65349ebb9f8b7deb40b9c802)
Link: https://github.com/openwrt/openwrt/pull/21068
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 4a3409f628e2aebabac02c81750b25373c22d992)
2026-07-09 10:57:35 +01:00
Marcin Leksmark
e47c8f2a18 ramips: add support for Cudy C200P
This patch adds support for Cudy C200P.
Because v24.10 stable has no regulator definition, so we cannot make simple cherry-pick. We need another DTS file.

Specifications:

    SoC: MediaTek MT7621AT
    RAM: 256 MB (DDR3)
    Flash: 16 MB (NOR)
    POE Chip: IP804AR

Interfaces:

    Switch: 1 WAN, 4 LAN (Gigabit)
    Gigabit RJ45 PoE Ports on 2~5
    Max Power on a Single PoE Ports 	30W
    PoE Ports : The PoE ports comply with IEEE 802.3at/af standards.
    Ports: 1 USB-A 3.0 Ports

LED:

    System
    PoE Max Status
    Link/ACT/PoE Status of Each PoE Port

Physical Buttons:

 	Reset Button

Power Input:

 	DC Jack

Power Methods:

    DC: 54V 1.11A
    802.3at/af PoE
    Passive PoE: 24/48V

Max Power Consumption (W):

 	Total: 60W
    PoE: 55W
    PoE (when USB Device is plugged in): 50W
    No PoE: 5W

Installation:

To install OpenWRT, you need the intermediate firmware from Cudy. (U-boot is locked). After installing the intermediate firmware, you can install OpenWRT via sysupgrade.

Recovery:

TFTP available.
1. Place the recovery.bin in the serving directory of your TFTP server.
2. Set your IP to 192.168.1.88/24.
3. Press the “Reset” button of Cudy router and hold it. Before the Cudy router is powered on and before TFTP start to download the firmware, don't release the “Reset” button.
4. Power on the Cudy router.
5. You can release the reset button only when TFTP starts downloading firmware.
6. When the SYSTEM LED turns solid green, the upgrade is complete.

Serial:

1. Serial connection parameters: 115200 / 8N1
2. Serial connection voltage: 3.3V

PoE is not supported at the time of PR. The IP804R chip is not yet supported by OpenWRT.

Signed-off-by: Marcin Leksmark <lexmark3200@wp.pl>
Link: https://github.com/openwrt/openwrt/pull/21064
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit a9858a9632b06bc0a998e55c8338af56fa797d42)
2026-07-09 10:57:35 +01:00
Coia Prant
55000c7e01 ramips: add support for Hongdian H8850 v20
This is an industrial 4G router equipped with OpenWrt SNAPSHOT OEM
customized version

WARNING: The original firmware device tree is modified from evb
boards, and the device tree name is evb board. This submitted device
tree is a modified version, which deletes the non-this-device parts
and adds GPIO watchdog.

Specification:
- SoC: MediaTek MT7628DAN
- Flash: 16 MB
- RAM: 64 MB
- Power: DC 5V-36V 1.5A
- Ethernet: 1x WAN/LAN, 3x LAN (10/100 Mbps)
- Wireless radio: 802.11n 2.4g-only
- LED:
  System/Power (PWR): Always Off
  Modem (NET): GPIO/3 active-low
  LAN: Always On
  RF (Modem Signal): GPIO/2 active-low
  WIFI: GPIO/44 active-low
- Button:
  WPS / RESET: GPIO/11 active-low
- UART: 1x UART on PCB - 115200 8N1
- GPIO Watchdog: GPIO/0 mode=toggle timeout=1s
- Modem: 1x Built-in modem on board (Power: GPIO/4 active-high)
- SIM Slots: 1x SIM Slots

Issue:
- Factory partition not store mac address on original firmware

Flash instruction:
Using TTL:
1. Connect the board to the computer via TTL.
2. Enter original firmware failsafe mode.
3. Use wget download firmware to board /tmp
4. Use command "mtd -r write openwrt-ramips-mt76x8-hongdian_h8850-v20-squashfs-sysupgrade.bin firmware"
   to flash

Original Firmware Dump / More details:
https://blog.gov.cooking/archives/research-hongdian-h8850-v20-and-flash.html

Signed-off-by: Coia Prant <coiaprant@gmail.com>
Tested-by: Coia Prant <coiaprant@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20259
(cherry picked from commit 23a070dfb1fd3ed7659fad4934a6a38d8693326f)
Link: https://github.com/openwrt/openwrt/pull/21007
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 61408bb99a1673ae8579a0386be53d79e542fc1b)
2026-07-09 10:57:35 +01:00
Mikhail Zadorozhnyi
964cf23dd9 mvebu: gl-mv1000: fix sdhci1 controller
GL-MV1000 external SD controller was broken by a recent kernel update
between OpenWRT releases 24.10.2 and 24.10.3 due to a mistake in Device
Tree: "regulator-gpio" was defined without required "gpios" property.

Since "no-1-8-v" property is also defined for this controller
a switchable vqmmc-supply regulator performs no function - a fixed 3.3V
IO voltage will always be used.

This regulator definition was probably added by mistake from a Device
Tree from another device.

Remove incomplete vcc_sd_reg1 regulator definition to fix this issue.

Issue discussion for reference: openwrt/openwrt#20309

Upstream commit: 6f2325b23d2cfa28099c26c299ae774625f1872b
Signed-off-by: Mikhail Zadorozhnyi <zador.blood.stained+git@protonmail.com>
Link: https://github.com/openwrt/openwrt/pull/20378
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit ce660d934f06044be7cce1bd877cad63e806daa2)
2026-07-09 10:57:35 +01:00