Commit Graph

65872 Commits

Author SHA1 Message Date
Trix Taiclet
c471241ee2 uboot-d1: fix build with swig 4.3.0
Swig 4.3.0 has changed SWIG_Python_AppendOutput, which now requires an
additional parameter `is_void`. SWIG_AppendOutput remains unchanged.
This was fixed upstream in u-boot/u-boot@a63456b

```
scripts/dtc/pylibfdt/libfdt_wrap.c: In function ‘_wrap_fdt_next_node’:
scripts/dtc/pylibfdt/libfdt_wrap.c:5581:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’
 5581 |     resultobj = SWIG_Python_AppendOutput(resultobj, val);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
```

This is the same fix as applied in 363e07d.

Fixes: #20619
Link: #20620
Signed-off-by: Trix Taiclet <trix@c3l.lu>
Link: https://github.com/openwrt/openwrt/pull/20620
(cherry picked from commit 71b5de61aecf49ca1522b3f549631417c67e73d0)
Signed-off-by: Trix Taiclet <git@trix.moe>
Link: https://github.com/openwrt/openwrt/pull/21415
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 4327b82a7b4fd39f540169a20a364f572abfc35c)
2026-08-18 11:40:39 +01:00
Hauke Mehrtens
868402cdce uboot-sifiveu: fix build with swig 4.3.0
Fixes the following error by backporting upstream update:
```
scripts/dtc/pylibfdt/libfdt_wrap.c: In function ‘_wrap_fdt_next_node’:
scripts/dtc/pylibfdt/libfdt_wrap.c:5581:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’
 5581 |     resultobj = SWIG_Python_AppendOutput(resultobj, val);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
```

This is the same fix as applied in 4e68103c4eb9 ("uboot-rockchip: fix build with swig 4.3.0")

Link: https://github.com/openwrt/openwrt/pull/20538
(cherry picked from commit 363e07dfa2ec39756dad3ef9c955bc83b9e920c9)
Signed-off-by: Trix Taiclet <git@trix.moe>
Link: https://github.com/openwrt/openwrt/pull/21415
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 23180fbfaad6e202f2745e811175ec1625ea17d9)
2026-08-18 11:40:39 +01:00
Florian Maurer
b600d30ca7 mac80211: ath9k: Add RX inactivity detection and reset chip
Some ath9k chips can, seemingly at random, end up in a state which can
be described as "deaf". No or nearly no interrupts are generated anymore
for incoming packets. Existing links either break down after a while and
new links will not be established.

This is merged upstream in
https://patchwork.kernel.org/project/linux-wireless/patch/20241106-ath9k-deaf-detection-v1-1-736a150d2425@redhat.com/

Signed-off-by: Florian Maurer <f.maurer@outlook.de>
Link: https://github.com/openwrt/openwrt/pull/21487
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 6a11ba0fd69213139e753373931006e7cf382b50)
2026-08-18 11:40:38 +01:00
Goetz Goerisch
4b0c186711 kernel: bump 6.6 to 6.6.121
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.121

All patches autorefreshed

Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21503
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 18771e11c926d7c7b21d8b8ecfc2485a65760ce4)
2026-08-18 11:40:38 +01:00
Goetz Goerisch
2c2e48295a kernel: bump 6.6 to 6.6.120
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.120

Removes upstreamed patches:
generic/backport-6.6/600-v6.10-net-Remove-conditional-threaded-NAPI-wakeup-based-on.patch [1]
generic/backport-6.6/601-v6.10-net-Allow-to-use-SMP-threads-for-backlog-NAPI.patch [2]

Manually rebase patches:
bcm27xx/patches-6.6/950-1396-i2c-designware-Add-support-for-bus-clear-feature.patch [3]
ipq40xx/patches-6.6/401-mmc-sdhci-msm-comment-unused-sdhci_msm_set_clock.patch [4]
mediatek/patches-6.6/733-01-net-phy-mediatek-Re-organize-MediaTek-ethernet-phy-d.patch [5]
qualcommax/patches-6.6/0113-remoteproc-qcom-Add-secure-PIL-support.patch [6]
qualcommax/patches-6.6/0116-remoteproc-qcom-Update-regmap-offsets-for-halt-regis.patch [6]

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.120&id=03765d5c18084eab40351fda09bc6fc1a343cd07
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.120&id=f3652768a89cfdaedbe2c9384299eea7ec435fef
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.120&id=62641daa93cb8b8ed975fad75fb07f9f9e3488cd
[4] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.120&id=fe2ce8f925b09d819546feb5db52ab1db42cb0d4
[5] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.120&id=a902343f133154e438b772d3e7b538ed0b163acc
[6] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.120&id=61f371ade3b68dbb46e2d90882af993f73b489b5

Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21503
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 67294cb751b0f3809383631b4133aa9dfd2e9d3e)
2026-08-18 11:40:38 +01:00
Steffen Förster
144db3ba76 ramips: fix gmac definition for cudy ap1300 outdoor
The gmac definition has an offset of 1 at the moment. This leads to an
off by one error in downstream projects that rely on the package label mac.

Signed-off-by: Steffen Förster <nemesis@chemnitz.freifunk.net>
Link: https://github.com/openwrt/openwrt/pull/21543
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Link: https://github.com/openwrt/openwrt/pull/21561
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 49862b1cf56e72a12d7dfad1b34f2e34bae44b2d)
2026-08-18 11:40:38 +01:00
Maximilian Baumgartner
f9fab4f2b7 mediatek: fix gmac definition for cudy m3000
The gmac definition has an offset of 1 compared to the label MAC.
Fixes: a55ab9e134 ("mediatek: filogic: prevent faulty mac address assignment")

Signed-off-by: Maximilian Baumgartner <aufhaxer@googlemail.com>
Link: https://github.com/openwrt/openwrt/pull/21560
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 687a2535d55f84a0daa2038b7e8736313cb2804e)
(cherry picked from commit 82f4ee5656d0126de24cf1cc2197c4194a31d6e9)
2026-08-18 11:40:38 +01:00
Eric Fahlgren
603acb758f mediatek: filogic: fix supported_devices list for gl-mt2500
The SUPPORTED_DEVICES sets for both Maxlinear (v1) and Airoha (v2)
devices were identical, so sysupgrade was unable to detect when an
incorrect image was being installed.  This caused "soft bricking" of
devices when a v1 image was installed on a v2 device, and vice versa.

Fix this by making the supported_devices distinct for each device
version, by renaming the devices with a version-specific name.
This is reflected in the file name and the image metadata.

Fixes: https://github.com/openwrt/openwrt/issues/20566
Fixes: https://github.com/openwrt/asu/issues/1525
Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20632
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit b71f4665cda10c284c9460409ae30fb9b0beecf8)
(cherry picked from commit dcf11c832a95595e6b919b88d6cd649bd9343a1f)
2026-08-18 11:40:38 +01:00
Florian Maurer
53787e7530 ath79: cf-ew71-v2: set label-mac-device to eth1
The EW71v2 has the WAN port configured at eth1.
The printed label-mac is configured on this iface in openwrt.

Signed-off-by: Florian Maurer <f.maurer@outlook.de>
(cherry picked from commit 7f3537ee2cefbe90ff9408c5bf0c855186daa62b)
(cherry picked from commit b023a06cfb88ef9688a7f1c39b371a7129a85694)
2026-08-18 11:40:38 +01:00
Mikhail Kshevetskiy
c513a96dd7 mediatek: fix pwn fan settings for sinovoip bpi-r3 (v3)
backport upstream commit 095151b235 (mediatek: fix pwn fan settings for
sinovoip bpi-r3 (v3))

Popular cheap PWM fans for this machine, like the ones coming in
heatsink+fan combos will not work properly at the currently defined
medium speed. Trying different pwm setting using a command

  echo $value > /sys/devices/platform/pwm-fan/hwmon/hwmon1/pwm1

I found:

  pwm1 value     fan rotation speed   cpu temperature     notes
  -----------------------------------------------------------------
    0            maximal              31.5 Celsius        too noisy
   40            optimal              35.2 Celsius        no noise hearable
   95            minimal
   above 95      does not rotate      55.5 Celsius
  -----------------------------------------------------------------

Current cooling levels are:

	cooling-levels = <255 96 0>;

Thus only cpu-active-high and cpu-active-low modes are usable.
This patch fixes cpu-active-medium settings for bpi-r3 board.

This patch may not be enough. Users may wants to tweak their thermal_zone0
trip points, thus tuning fan rotation speed depending on cpu temperature.
That can be done on the base of the following example:

  === example =========
  # cpu temperature below 25 Celsius degrees, no rotation
  echo 25000 > /sys/class/thermal/thermal_zone0/trip_point_4_temp
  # cpu temperature in [25..32] Celsius degrees, normal rotation speed
  echo 32000 > /sys/class/thermal/thermal_zone0/trip_point_3_temp
  # cpu temperature above 50 Celsius degrees, max rotation speed
  echo 50000 > /sys/class/thermal/thermal_zone0/trip_point_2_temp
  =====================

Changes v2:
* put patch to a proper directory
* updated patch description
* tested with latest openwrt based on linux-6.6

Changes v3:
* use upstream linux patch
* update patch description

Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21252
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 2916275a3d6cdda8bbc9decb5fd4df5e89a425a1)
2026-08-18 11:40:38 +01:00
Hauke Mehrtens
87d06372e7 OpenWrt v24.10.5: revert to branch defaults
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 4919ffd4f715fb31efd3e5aa28571e873200d03a)
2026-08-18 11:40:38 +01:00
Petr Štetiar
742dd9cd65 ci: build: generate release version files for tags
Release binaries must be reproducible from the sources shipped with them.
Generate version and version.date from git when CI_COMMIT_TAG is set,
before the build reads either value.

Compute both values before writing either file, then print them for
traceability. The tag condition is the exact complement of the development
guard, so generation cannot run on development builds.

Assisted-by: codex:gpt-5.6-sol:medium-fast
Assisted-by: claude:opus-5:orchestrator
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
References: PCF-2730
2026-08-18 09:06:22 +00:00
Petr Štetiar
ff467a1172 ci: build: reject release-tag version files in development builds
version and version.date override the git-derived metadata used by
development builds. Keeping either file after a release-tag sync freezes
the reported revision or source date.

Add a fail-fast check to the shared build template before the first make
invocation. When CI_COMMIT_TAG is empty, the check reports their presence
and points sync authors to upstream's "revert to branch defaults"
commit.

Assisted-by: codex:gpt-5.6-sol:medium-fast
Assisted-by: claude:opus-5:orchestrator
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
References: PCF-2730
2026-08-18 09:06:22 +00:00
Petr Štetiar
f694f20d9b OpenWrt v24.10.5: restore version branch defaults
The v24.10.5 sync kept the release-tag version and version.date files
and set VERSION_CODE to a fixed revision. Development builds therefore
report the same revision and source date regardless of the commit.

Delete the two release-tag files and restore VERSION_CODE to
$(REVISION), following upstream's tag-then-revert flow. This is the
version-data part of bcfa0417febc; feeds.conf.default and
package/base-files/image-config.in remain unchanged.

Assisted-by: codex:gpt-5.6-sol:medium-fast
Assisted-by: claude:opus-5:orchestrator
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
Fixes: bcfa0417fe ("OpenWrt v24.10.5: adjust config defaults")
References: PCF-2730
2026-08-18 09:06:22 +00:00
prplbot
7da4084d02 profiles: prpl_core.yml: feed_prplmesh: pwhm: fix setting fh ssid leads to disconnecting extender on bh BSS
Integrates following changes:
- hapdAp: add api to RELOAD_BSS conf from hapd memory (991f26cd)
- hapdRad: manage long lasting RELOAD cmd of hapd memory conf (c5a344d5)
- hapdAp: define two new actions to RELOAD hapd mem config of one of all BSSs (652d941f)
- genFsm: add fsm actions to dyn RELOAD hapd mem conf of one or all BSSs (c2b3ee0d)
- genHapd: learn hapd support of RELOAD_BSS wpactlr command (ef3c51f5)
- hapdCfg: move MULTI_AP type definition to header file (0e27dc79)
- hapdCfg: add api for fetch and handle reconf of matched multi-ap FH BSSs (00212c6b)
- hapdAp: add api to dyn SET multi-ap bh ssid in hapd memory (b27c9da1)
- genFsm: manage applying bh ssid and bh creds through fsm (9553f607)
- hapdAp: apply multi-ap bh ssid/creds using RELOAD_BSS isof global RELOAD_CONF (48236192)
- hapdAp: use RELOAD_BSS isof RELOAD_CONF to update wps ssid/creds config (dabbc343)
- nl80211: fix getting non-mlo nl80211 iface info (aa210cfb)
- genFsm: fix slow vap ifaces update after changing operstd (d216c273)

References: PPW-2068, PPW-2269
Signed-off-by: prplbot <bot@prplfoundation.org>
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-08-17 13:25:51 +01:00
prplbot
f81a473892 profiles: prpl_core.yml: feed_prplmesh: pwhm: fix clang and coverity warnings
Integrates following changes:
- genEvt: coverity: fix unchecked return value (d6ebab7a)
- nl80211: coverity: fix unchecked retval of F_SETFL/F_GETFL syscalls (e37ba6ae)
- nl80211: coverity: fix unchecked return value of setsockopt (db4d127f)
- genHapd: coverity: check matched keyword valStr length (c06c88de)
- macFiltering: coverity: fix unchecked dm transaction retval (6ababdca)
- wpaCtrl: coverity: validate bssid value before str convertion (c733cd92)
- utils: add linuxIfStatus helper api to get rtnetlink iface info (1c5b6d93)
- utils: coverity: fix getting iface link status with IFF_LOWER_UP (05c2c48e)
- vdrMod: coverity: fix str buffer overflow risk (f90d2470)
- genMld: coverity: fix logging deadcode (f75bacca)
- wld: coverity: fix init of abstract struct (3692b43e)
- utils: coverity: fix null checking of static array address (a0bb9713)
- utils: coverity: fix risk of memleak in scanDir results (fa15eea2)
- nl80211: coverity: fix dereference of potentially null field (4b240939)
- utils: coverity: fix dereference of potentially null field (6e7518b0)
- chanMgt: coverity: fix Out-of-bounds read of rad bw (788c4668)
- chanMgt: coverity: fix adding Channel LastChangeTime to transaction (a186cdd0)
- hapdCfg: coverity: fix fd leak when failing to allocate config (04fe2a88)
- chanMgt: clang: fix chanDet struct passed by value (8b7da682)
- wpaSuppCfg: coverity: fix leaked fp when wpa_s conf allocation failed (05154a52)
- vdrMod: coverity: fix Uninitialized namelist before scandir (acc45b8e)
- endpoint: coverity: fix wrong setting of timeMono into transaction (39069575)
- wld: fix build warnings and make some code cleanup (870580a3)
- wpaSuppCfg: fix risk of memleak when failing to update wpaSupp conf file (9ae39ad6)
- mld: add apis to get and check mld group type (1a5ebda5)
- mld: coverity: fix unsafe de-referencing of mld group context (d2b2f96e)
- wps: coverity: fix unchecked retval in generateSelfPin rpc handler (d1e006bc)
- wps: coverity: fix unchecked retval in setCompatibilityWPS rpc handler (5f223814)
- radio: coverity: fix Out-of-bounds access when filling heMacCap (4dc88842)
- rad: coverity: fix unchecked null ptr in wld_rad_updateEhtOperationIE (d0c61203)
- genEP: fix Dereference before null check when filling EP stats (1b3ce881)
- nl80211: coverity: fix Uninitialized pointer read in scandir (48176584)
- wpaCtrlMngr: coverity: fix Uninitialized pointer read when scanning ctrlDirPath (ebcb50ec)
- assocdev: coverity: fix Unchecked return value when copying FarStaCount (cbd48f02)
- ssid: coverity: fix Unchecked return value when setting LastChanged (62857441)
- rad: coverity: fix Unchecked return value when setting LastChanged (b7ef826e)
- apQosMgt: coverity: fix unchecked delInst transaction ret value (d3bb1691)
- apNeigh: coverity: fix Unchecked return value when converting bssid str (c88b69b3)
- hapdApApi: coverity: fix Unchecked return value when parsing neighbor bssids (9b20ccd4)
- apQosMgmt: fix build warnings (53cf3366)
- rad: coverity: fix Unchecked return value of amxc var set (ac20ac70)
- hostapd_cfgManager: coverity: fix issue for unchecked MAC conversion return value (3b6d0793)
- PROVISORY: wld_dm_trans: coverity: add temporary workaround for libamxd issue (19c68096)
- wpaCtrlGSock: coverity: fix possible NULL dereference of curGSockPath (cdad3089)

References: PPW-1932, PPW-2246, PPM-3963, PPW-2123
Signed-off-by: prplbot <bot@prplfoundation.org>
signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2026-08-14 15:30:46 +01:00
Dmytro Puz
3f1884aea0 ci: cram: update prplMesh agent status output
Update the expected prplMesh CLI status output to include the live
controller connectivity state.

The backhaul manager refactoring added the "controller connected" field
to the agent status output. All covered gateway scenarios are operational
and connected to their local controller, so expect the field to be true
across the affected platform CRAM tests.

This is an expected-output update only and does not change test behavior.

References: PPM-4012
Signed-off-by: Dmytro Puz <d.puz@inango-systems.com>
2026-08-14 09:43:12 +00:00
Maarten De Decker
e6339107e4 profiles: prpl: prplMesh: bump to master-2026-08-07
Integrates following changes:
- Implement Device.IEEE1905 datamodel (79de6d3e6)
- tests: add unassociated sta cram test (3e219d345)
- PPM-4179: fix HE spatial stream count with zero-padded MCS maps (543da3a53)
- Backhaul Manager  refactoring (23267a9cd)

References:  PPM-3970, PPM-4174, PPM-4179, PPM-4012
Signed-off-by: Maarten De Decker <maarten.dedecker@mind.be>
2026-08-14 09:43:12 +00:00
Andrey Erokhin
81a9c94e8f ci: cram: add IEEE1905 model checks
Verify IEEE1905 model population against the number of prplMesh devices
expected in each testbed. Compare AL IDs and DataElements references, and
check that Network.Enable controls materialization.

Run the NMAP checks after the other prplMesh tests to avoid disrupting
the established Controller+Agent state and discovered testbed topology.

Closes: PPM-3970
References: FEAT-319
Signed-off-by: Andrey Erokhin <a.erokhin@inango-systems.com>
2026-08-14 09:43:12 +00:00
Andrey Erokhin
1693fd3cef PROVISORY: ci: cram: check IEEE1905 registration in obuspa
Check that prplMesh registers the complete Device.IEEE1905 data model
with obuspa.

Keep this check separate from obuspa.expected and run it before the tests
that restart obuspa. The prplMesh event loop does not currently support
reconnecting after an obuspa restart.

Closes: PPM-3970
References: PPM-4178
References: FEAT-319
Signed-off-by: Andrey Erokhin <a.erokhin@inango-systems.com>
2026-08-14 09:43:12 +00:00
Andrey Erokhin
09e608c27f ci: cram: add IEEE1905 datamodel
Extend the Cram datamodel expectations with the new Device.IEEE1905 object tree
and the prplMesh HigherLayerRequestIntervalSec configuration parameter.

Closes: PPM-3970
References: FEAT-319
Signed-off-by: Andrey Erokhin <a.erokhin@inango-systems.com>
2026-08-14 09:43:12 +00:00
prplbot
8c8c8a90a5 profiles: prpl_core.yml: feed_prplos: tr181-ppp: fix coverity, warning caused by ternary operator precedence
Integrates following changes:
- mod-ppp-direct: fix coverity, warning caused by ternary operator precedence (d997d0ca)

References: PPW-1850, CID-30563
Signed-off-by: prplbot <bot@prplfoundation.org>
2026-08-14 10:14:56 +01:00
FAOUZI YAHYA
6973f26ca2 profile: prpl_core.yml: feed-prplos: dnsmasq: fix Coverity overrun-buffer-arg
Integrates:
- 6deffc9: ("tftp: fix Coverity overrun-buffer-arg in tftp_request", 2026-06-24)
- 81e1365: ("icmp6: fix Coverity overrun-buffer-arg in icmp6_packet", 2026-06-24)
- a4d7347: ("netlink: fix Coverity, explicit null derefrenced", 2026-06-24)
- a7386f5: ("dns: fix Coverity overrun on recvmsg control buffer", 2026-06-23)
- c868e12: ("dhcp6: fix Coverity overrun on recvmsg control buffer", 2026-06-23)
- 03795d2: ("dhcp: fix Coverity overrun-buffer-arg", 2026-06-23)

References: PPW-1845
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-08-12 16:29:52 +01:00
prplbot
bd95a6d935 profiles: prpl_core.yml: feed_prplos: tr181-dns: fix memory leaks in IPPT activate/deactivate cycles
Integrates following changes:
- tr181-dns: fix memory leaks in IPPT activate/deactivate cycles (88fa13db)

References: PPW-2171
Signed-off-by: prplbot <bot@prplfoundation.org>
2026-08-12 11:58:55 +01:00
prplbot
d13f9e64df profiles: prpl_core.yml: feed_prplos: tr181-firewall: skip getprotobynumber() for numeric protocol values
Integrates following changes:
- tr181-firewall: skip getprotobynumber() for numeric protocol values (c7c5fc33)

References: PPW-2026
Signed-off-by: prplbot <bot@prplfoundation.org>
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-08-12 09:36:00 +01:00
Tim Hsu
cf58abc4ea ci: cram: freedom: expect kmod-input-gpio-keys-polled in build config
The WPS button now uses a gpio-keys-polled node, which pulls in
kmod-input-gpio-keys-polled, so it appears in the build .config.

Add it to the expected package list in 005-build-config.t.

Fixed: PCF-2655

Signed-off-by: Tim Hsu <tim.hsu@wnc.com.tw>
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org> [rebased]
2026-08-11 14:03:01 +00:00
Tim Hsu
741840c473 ci: cram: freedom: point WPS gpio-key check at gpio-keys-polled node
WPS button moved from the gpio-keys edge-IRQ node to a separate gpio-keys-polled node to avoid the GPIO12 pad-leakage IRQ storm.

015-platform.t still read soc@0/gpio_keys/button@1, which no longer exists, so the WPS label and linux,code checks failed.

Point both at soc@0/gpio_keys_polled/button@1; reset stays at gpio_keys/button@2 and linux,code is unchanged (0x0211).

Fixed: PCF-2655

Signed-off-by: Tim Hsu <tim.hsu@wnc.com.tw>
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org> [rebased]
2026-08-11 14:03:01 +00:00
Tim Hsu
6d3667850a profiles: qca_ipq95xx: switch Freedom WPS button to gpio-keys-polled
On Freedom boards, GPIO12 (WPS button) pad leakage lets the pin
linger near the switching threshold during cold boot, so the mainline
gpio-keys edge IRQ (IRQ36) storms at hundreds of thousands to millions
of edges per second, all pinned to CPU0.

CPU0 gets wedged in hardirq context, stops reporting RCU quiescent states,
and the resulting rcu_preempt stall blocks any driver bring-up that waits on synchronize_rcu(),
stalling i2c-mux/expander/LED probe and locking the board up.

Move the WPS button to a separate gpio-keys-polled node so it no longer requests an edge IRQ,
decoupling it from the pad leakage entirely.

Fixes: PCF-2655

Signed-off-by: Tim Hsu <tim.hsu@wnc.com.tw>
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org> [rebased, removed PCI fix]
2026-08-11 14:03:01 +00:00
FAOUZI YAHYA
0f3ea5734e ci: cram: replace X_PRPLWARE-COM_ForceSolicitPolicy with ForceSolicitPolicy
Integrates:
-replace X_PRPLWARE-COM_ForceSolicitPolicy with ForceSolicitPolicy

References: PCF-2540, PPW-1892
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-08-11 14:24:46 +01:00
Alexandre Fiset
a2fdadb0f2 ci: cram: dhcpv6-forcesolicite: drop vendor prefix from parameter name
ForceSolicitPolicy is now a standard TR-181 parameter with no vendor
prefix. Update the cram test accordingly.

Signed-off-by: Alexandre Fiset <alexandre.fiset@softathome.com>
2026-08-11 14:24:46 +01:00
prplbot
5465118ef8 profiles: prpl_core.yml: feed_prplos: tr181-dhcpv6client: remove vendor prefix from DHCPv6 ForceSolicitPolicy DM
Integrates following changes:
- tr181-dhcpv6c: doc: update README (f47b739a)
- tr181-dhcpv6c: use standard ForceSolicitPolicy parameter (d8b80b1a)
- tr181-dhcpv6c: odl: drop vendor prefix from ForceSolicitPolicy (bc497d37)

References: PPW-1892, PCF-2540
Signed-off-by: prplbot <bot@prplfoundation.org>
2026-08-11 14:24:15 +01:00
Alexandre Fiset
4a04ad1192 PROVISORY: profiles: prpl_core.yml: feed_prplos: pin ethernet-manager revert
DROP BEFORE MERGE.

Pins feed_prplos at feed-prplos !1014, which reverts ethernet-manager
v1.38.1 back to v1.37.0. The pinned commit is exactly one revert on top
of 7ad2df9d, the revision this branch already carried, so the only
delta in the resulting image is the ethernet-manager version.

Since v1.38.1 landed, every "run test MXL25641-HDK-6 with system on
eMMC" job on latest-24.10 dies at DUT bring-up: check_network --network
lan times out after 180s with the LAN datamodel reporting Status="Up"
while every ping to the test host returns "Destination Host
Unreachable". v1.38.1 pulls in tr181-ethernet 220eb0a7c, which writes
speed/duplex, EEE and EDPD to the PHY on every link-up and applies EDPD
for the first time; a PHY with EEE/EDPD newly applied shows carrier but
passes no traffic.

This commit only exists to prove that on CI. Drop it and let prplbot
bump feed_prplos normally once the revert has landed on feed main.

Integrates:
- 7f0c9c5: ("Revert "tr181-ethernet: preserve configured energy settings across init and link changes"", 2026-06-17)

Refernces: PCF-2584
Signed-off-by: Alexandre Fiset <alexandre.fiset@softathome.com>
2026-08-11 11:13:56 +01:00
Hela Saadani
09dda2b695 profiles: prpl-core: Add back changes deleted by prplbot
prplbot deleted some changes made in prpl-core file.
Readd thise changes to fix the briken version.

- Add IPsec support and netmodel-ipsec
- Add wireguard, netmodel-wireguard and libwireguard
- Add netmodel-tuntap and tr181-tuntap

References: PCF-2467, PCF-2023, PCF-2469, Feat-150
Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2026-08-11 11:07:46 +01:00
prplbot
01f4399f50 profiles: prpl_core.yml: feed_amx: libamxp: correctly set CoreDump flag based on WCOREDUMP status
Integrates following changes:
- libamxp: Correctly set CoreDump flag based on WCOREDUMP status (ed282fc1)

References: PPW-1141
Signed-off-by: prplbot <bot@prplfoundation.org>
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-08-10 15:20:55 +01:00
prplbot
c37b52d410 profiles: prpl_core.yml: feed_prplos: mod-amxb-usp: amxb_usp: fix coverity, uncheked return value
Integrates following changes:
- amxb_usp: fix coverity, uncheked return value (d328d1d4)

References: CID-28954, PPW-1562
Signed-off-by: prplbot <bot@prplfoundation.org>
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-08-10 12:00:30 +01:00
Iacob Juc
94eeb97c94 profile: prpl_core.yml: feed-prplmesh: beacon WiFi 7 EHT IEs without setting MLDUnit
Integrates:
- b64d1da: ("pwhm-mapping: Hide Radio.IEEE80211be object", 2026-08-04)
- d73696488: ("mld: add unit test for Radio.IEEE80211be.MLDUnitSetting", 2026-04-30)
- 15623a0d0: ("mld: add (%string) IEEE80211be.MLDUnitSetting", 2026-03-23)
- 3f81fdb6: pwhm: deploy default value for MLDUnitSetting

Issue: PPM-3545
Signed-off-by: Iacob Juc <iacob.juc_ext@softathome.com>
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-08-07 16:16:23 +00:00
Iacob Juc
42e6ebcb32 cram: add cram test for Radio.IEEE80211be.MLDUnitSetting
Testing Various valid combinations on 6GHz PrivateVAP

side-effect: default value of MLDUnitSetting changes behavior of PWHM

i.e. new parameter:
Radio.{i}.IEEE80211be.MLDUnitSetting=Assumed
is expected to invalidate current apmld tests
Reset it to Required, the value that keeps old pwhm behavior

OBUSPA:
Prefix IEEE80211be.MLDUnitSetting with X_PRPLWARE-COM_
and add it to obuspa.expected datamodel dump

testbed.yml : increase timeout by 2min (nominal execution time : 1m50s)

Issue: PPM-3545
Signed-off-by: Iacob Juc <iacob.juc_ext@softathome.com>
2026-08-07 16:16:23 +00:00
Hela Saadani
c3f756c8c4 ci: cram: ubus-datamodel: add DNSSD.Scan
Update ubus-datamodel to add DNSSD.Scan

References: PPW-1676
Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2026-08-07 16:06:20 +01:00
Yousfi Neji
2b33b01372 ci: cram: fix issue where services were not removed from the data model
Issue:
With the introduction of cache services and a configurable removal timeout (PPW-1676),
services are no longer removed immediately when they are no longer detected.
Instead, a timer is started based on the new RemoveServiceTimeout parameter.
If the service is rediscovered before the timer expires, it remains in the data model.
The default timeout value is set to 300000 ms (5 minutes).

Fix:
The fix involves modifying the cram test to lower the RemoveServiceTimeout to 5000 ms (5 second)
for quicker testing.

Tracked-by: PPW-1676
Signed-off-by: Yousfi Neji <yousfi.neji_ext@softathome.com>
2026-08-07 16:06:20 +01:00
prplbot
e4098da288 profiles: prpl_core.yml: feed_prplos: tr181-dnssd: Fix DNSSD entries population issue
Integrates following changes:
- tr181-dnssd: increase maximum Service instance limit (d9b67836)
- tr181-dnssd: fix reserved bit count in intf_flags struct (03118b63)
- tr181-dnssd: rename misspelled files and clean up events handler (f08cb7ea)
- tr181-dnssd: avoid unnecessary copy of service_htable (85fcc6ec)
- tr181-dnssd: implement DNSSD.Scan data model (7057dd18)
- tr181-dnssd: cache services with configurable removal timeout (e5b1e471)
- tr181-dnssd: remove stale services on IP address change (06dfe2e1)
- tr181-dnssd: fix IP version detection using IPAddresses (443985b5)
- tr181-dnssd: expose IPAddresses in Scan event notification (959fb531)
- tr181-dnssd: fix NULL Host when TR-181 path lookup fails (8628544e)
- tr181-dnssd: remove @version tags from non standard parameters (241462e7)
- tr181-dnssd: implement DNSSD.Scan data model (160ea637)
- tr181-dnssd: remove stale services on IP address change (c23d7ce2)

References: PPW-1676
Signed-off-by: prplbot <bot@prplfoundation.org>
signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2026-08-07 16:05:15 +01:00
Maarten De Decker
8691dc5615 profiles: prpl: prplMesh: bump to master-2026-07-30
Integrates following changes:
- common: bwl: whm: stop retrying client event generation for stale VAPs (19c9aeee2)
- framework: bpl: add cfg backend/service scaffolding and route bpl init/close lifecycle (617b6e2eb)
- son_actions : send_ap_config_renew_msg (a38cc0e8a)
- agent: common: resend capabilities on OperatingStandards change (54e8a84dd)
- controller: fix UnassociatedSTA not working (c9d78df04)
- CI: enable 2.4 GHz HT for R4 capability tests (929f5d00c)
- common: agent: controller: Remove duplicates of eMLOModes enum (eda287512)
- agent: channel_selection_task: handle multiple Channel Preference TLVs (b5cec6867)
- multi_vendor: tlvf_airties_utils: add guard for TLVFs (52bf9c927)
- agent: preserve active scan context when reporting stored results (786c57f99)
- agent: retry failed platform configuration (d380e42db)
- multi_vendor: tlvf_airties_utils: add nullptr check (40669fb36)
- agent: add nullptr check in fh manager monitor (2f9319172)

References:  PPM-4175, PPM-3921, PPM-4162, PPM-4133, PPM-4144, PPM-3879,
             PPM-4043, PPM-4161, PPM-4154, PPM-4152, PPM-4155, PPM-4147,
             PPM-4131
Signed-off-by: Maarten De Decker <maarten.dedecker@mind.be>
2026-08-06 09:44:32 +01:00
prplbot
9d73e2ab5a profiles: prpl_core.yml: feed_amx: libamxd: fix coverity, resource not released
Integrates following changes:
- libamxd: fix coverity, resource not released (94ff82af)

References: PPW-1842
Signed-off-by: prplbot <bot@prplfoundation.org>
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-08-06 09:12:44 +01:00
prplbot
0a43b5e3f8 profiles: prpl_core.yml: feed_prplos: SFP Manager: fix doxygen and unit test documentation
Integrates following changes:
tr181-sfp:
- 55e90d1: ("doc/Doxyfile: add mod-sfp-type/src to INPUT and document remaining functions", 2026-07-13)
- bd45466: ("mod_sfp-type.c: document sfptype_poll()", 2026-07-13)
wan-manager:
- doc: Fix empty doxygen main page and missing static documentation (ad0a05e8)
ethernet-manager:
- tr181-ethernet: preserve configured energy settings across init and link changes (220eb0a7)
- doc: Fix doxygen not covering the plugin and module sources (b054726a)
ip-manager:
- doc: Enable doxygen documentation generation (8db7efcd)
- Unit-test: cover setting IP flags on enabled NetModel interfaces (afc6dd65)
tr181-xpon:
- README.md: add doc about default value for SFPReferenceList (ff57fd4e)
- src: add doxygen doc for remaining undocumented function parameters (4e63ad73)
- doc/Doxyfile: use README.md as doxygen main page (2342bda5)
mod-xpon-prpl:
- doc: Fix empty doxygen output (5de49c56)
- test: cover XPON.ONU.1.ANI.1 in get_object_content (52a2df1a)
- test: move the amxb wrapper test double out of src (2e17a583)
mod-wanmgr-system-ospv2:
- doc: Fix empty doxygen output (f22e98d1)
mod-wanmgr-system:
- doc: Fix empty doxygen output (ad5cec62)

References: PPW-1836
Signed-off-by: prplbot <bot@prplfoundation.org>
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2026-08-05 16:05:27 +01:00
Hela Saadani
0a4df68dfe profiles: prpl-core: feed-prplos: Unprivileged Containers: VPN Tunnel Creation. LCM8.4
Integrates:
netmodel:
- netmodel-gre: add NetModel GRE support (d2bbd71e)
- mib: add wireguard (b6a39694)
- netmodel-tuntap: add NetModel TUNTAP support (3282539d)
- dm_intf: Unload mibs before removing an Intf (dcdd7b66)
- unit_tests: Add test scenario for mib unloading at intf removal (f2a49b18)
- mib: add ipsec (ab0e99df)
- doc: add mibs to the generated documentation (ca0f38a2)

tr181-gre:
- e38016b: ("gre: add netmodel-gre as runtime dependency", 2026-07-24)
- 6184a8a: ("tr181-gre: initial implementation", 2026-01-22)

tr181-ipsec:
- 72d2fc7: ("ipsec: add netmodel-ipsec as runtime dependency", 2026-07-24)
- 9fdab28: ("PROVISORY: unit tests: add unit test mocks to enable all ipsec_charon_daemon tests", 2026-05-12)
- c18f389: ("tr181-ipsec: Initial implementation", 2026-02-19)

mod-netmodel:
- e09baf1: ("unit_tests: Add test scenarios for interface removal", 2026-03-19)
- 07b8f41: ("mod_netmodel: Subscribe for interface removal", 2026-03-19)
- 7c9ade5: ("unit_tests: Add unit test for dynamic prefix generation", 2025-06-18)
- 5e1d3c4: ("mod_netmodel: Add dynamic prefix generation", 2025-06-17)

tr181-logical:
- tr181-logical: add missing usp registrations (d35fe68a)

netmodel-wiregard:
- 6378574: ("netmodel: wireguard: add WireGuard MIB client", 2026-06-09)

netmodel-tuntap:
- 2167774: ("netmodel-tuntap: add doxygen build", 2026-07-24)
- b927c26: ("netmodel-tuntap: add NetModel TUNTAP support", 2026-04-10)

netmodel-ipsec:
- 7688ff8: ("netmodel-client: Initial implementation", 2026-03-13)

tr181-wireguard:
- 062f440: ("tr181-wireguard: initial implementation of TR-181 WireGuard plugin", 2026-06-09)

tr181-tuntap:
- ce7614c: ("tuntap: add netmodel-tuntap as runtime dependency", 2026-07-24)
- 0aacc82: ("tr181-tuntap: initial implementation", 2026-02-09)

libwireguard:
- 09919b7: ("libwireguard: fix uncrustify conformance of doxygen comments", 2026-07-24)
- fce3626: ("libwireguard: wire up doxygen documentation generation", 2026-07-24)
- f6b2290: ("libwireguard: document structs, unions, enums, typedefs and defines", 2026-07-24)
- b2d0308: ("libwireguard: apply prpl license header and include path", 2026-07-23)
- 9114558: ("ci: baf: update autogenerated files", 2026-07-16)
- 80c12aa: ("libwireguard: add unit tests for interface up/down and operstate", 2026-07-16)
- 1082393: ("libwireguard: address Coverity findings (no functional change)", 2026-07-10)
- d802f98: ("libwireguard: add support to bring interface up/down and get operational status", 2026-03-17)
- d93b1e3: ("libwireguard: apply prpl codestyle via uncrustify", 2026-03-16)
- de11d5b: ("libwireguard: add vanilla embeddable WireGuard library", 2026-03-04)

netmodel-gre:
- 438eeee: ("netmodel-gre: add unit tests for mib_added/mib_removed lifecycle", 2026-06-09)
- a7dcfb9: ("netmodel-gre: add NetModel GRE support", 2026-06-09)

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2026-08-05 14:16:15 +01:00
Alexandre Fiset
d5d0fae4bb ci: cram: update build config and tls expectations for VPN feature
prpl_core.yml now pulls strongswan-default and sixteen strongswan
modules for the IPsec datamodel. They drag in dependencies nothing
selects explicitly -- strongswan-ipsec via mod-stroke, and libgcrypt
plus libgpg-error via mod-gcrypt -- so every board that ships strongswan
sees a wider package set than its expected output records.

Refresh the expectations for the three boards that build strongswan:

- 005-build-config.t on mxl25641-hdk-6, wnc-freedom and urx851-b0-dk.
  urx851-b0-dk has no hardware test job, so its copy of the same
  expected output would have drifted unnoticed until the board is
  exercised again; keep the three in sync.
- 011-tls.t on mxl25641-hdk-6 and wnc-freedom. The grep pattern and the
  version-tolerant libopenssl / libustream-openssl regexes are left
  untouched; only strongswan-mod-openssl is added. Enumerating the whole
  strongswan package set belongs in 005-build-config.t, not in a test
  whose subject is the single TLS library.

The same module set also widens what charon advertises through the IPsec
root object. Rather than track those capability strings, 133-tr181-ipsec.t
now asserts only that the datamodel starts with no entries, so the
expectation no longer moves with the strongswan module selection.

Also drop CONFIG_VERSION_CODE_FILENAMES from the wnc-freedom expected
build config. The symbol is no longer emitted, which is OpenWrt base
drift rather than a VPN change, but the expectation cannot pass while it
is listed.

References: FEAT-150, PCF-2467
Signed-off-by: Alexandre Fiset <alexandre.fiset@softathome.com>
2026-08-05 14:16:15 +01:00
Alexandre Fiset
1279782024 ci: cram: freedom: swupdate: cleanup /tmp after the dry-run tests
The .swu firmware image (~80MB) and temporary PEM keys generated during
the wrong-key test were never removed from DUT /tmp, leaving the
partition nearly full for the tests that run afterwards.

Delete the .swu image and the generated PEM files at the end of the
test.

References: PCF-2469, PPW-2134
Signed-off-by: Alexandre Fiset <alexandre.fiset@softathome.com>
2026-08-05 14:16:15 +01:00
Alexandre Fiset
6d6bad2044 config: x86_64: increase image size
With VPN features the rootfs is now too smal, increase it to make more
rooms as this is mainly use for qemu system where roots don't have hard
constrain.

References: PCF-2469, PCF-2467, PCF-2294, PCF-2023
Signed-off-by: Alexandre Fiset <alexandre.fiset@softathome.com>
2026-08-05 14:16:15 +01:00
Alin Nastac
306a6c7aa9 ci: cram: tr181-ipsec initial tests
Add initial cram tests for tr181-ipsec, including an end-to-end test with
IKEv2 certificate authentication: a dedicated strongSwan charon instance
runs inside a network namespace (with a private /var/run tmpfs to isolate
it from the CPE charon) behind a veth pair emulating the WAN link, so the
test is self-contained and is not tied to a specific board. Certificates
are generated on the DUT: a self-signed one for the CPE, and for the peer
an end entity certificate issued by a dedicated CA, since
IKEv2RemoteAuthenticationMethod designates the authority the peer is
validated against rather than the peer certificate itself. They are
imported through /etc/config/autocert into Security.Certificate, and
referenced from an IPsec.Profile/Filter pair. The end-to-end test verifies
the IKEv2 SA and Child SA come up and that protected traffic flows.

References: PCF-2469, FEAT-150
Signed-off-by: Alin Nastac <alin.nastac@softathome.com>
Signed-off-by: Alexandre Fiset <alexandre.fiset@softathome.com>
2026-08-05 14:16:15 +01:00
Patrick Havelange
8b52032bc4 ci: cram: tr181-wireguard initial tests
Add initial cram tests for tr181-wireguard, including an end-to-end tunnel
test: the remote peer lives in a network namespace behind a veth pair
emulating the WAN link and is configured with wireguard-tools, so the
test is self-contained and is not tied to a specific board. The
end-to-end test drives the CPE side through the data
model (WireGuard.Tunnel/Peer + IP.Interface + Firewall.Service), verifies
the handshake on the peer, ping in both directions, a short iperf3 session
and the NetModel flags.

Implements: PCF-2023
References: FEAT-150
Signed-off-by: Patrick Havelange <patrick.havelange_ext@softathome.com>
Signed-off-by: Alexandre Fiset <alexandre.fiset@softathome.com>
2026-08-05 14:16:15 +01:00
Khaled Hasni
737f390651 ci: cram: tr181-tuntap initial tests
Add CRAM tests for tr181-tuntap.

References: PCF-2467, FEAT-150
Signed-off-by: Khaled Hasni <khaled.hasni_ext@softathome.com>
2026-08-05 14:16:15 +01:00