Currently the tr181-upnpdiscovery feed Makefile passes PKG_CONFIG and
CONFIG_PACKAGE_procd during Build/Compile, but omits both arguments
during Build/Install and Build/InstallDev.
This leaves compile and install with different inputs and can trigger
wrong install-time behavior for procd-related script handling.
So lets fix Build/Install and Build/InstallDev by restoring
PKG_CONFIG and CONFIG_PACKAGE_procd so install receives the same
arguments as compile.
Fixes: PPW-1590
Fixes: df71d4d87b ("profiles: prpl_core: feed_prplos: tr181-upnpdiscovery: Issues reported by Coverity")
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
Currently prpl_core does not enable CONFIG_KERNEL_PROC_PAGE_MONITOR and
CONFIG_KERNEL_SLUB_DEBUG, so /proc/<pid>/smaps, smaps_rollup and
/proc/slabinfo are not exposed in runtime images, which means memory
analysis falls back to RSS-only attribution without shared-page
accounting, PSS-based reporting or kernel slab allocation visibility.
Add CONFIG_KERNEL_PROC_PAGE_MONITOR=y and CONFIG_KERNEL_SLUB_DEBUG=y to
prpl_core diffconfig so builds expose the procfs interfaces needed for
PSS collection, shared memory analysis and kernel slab cache reporting.
Note: CONFIG_KERNEL_SLUB_DEBUG=y is used instead of CONFIG_KERNEL_SLABINFO=y
to avoid the forced selection of CONFIG_KERNEL_SLUB_DEBUG_ON, which
enables runtime slab debug checks (sanity_checks, red_zone, poison,
store_user) on every allocation at boot. With SLUB_DEBUG alone,
/proc/slabinfo is available but the debug checks remain dormant unless
explicitly activated via the slub_debug= kernel parameter.
References: PCF-2379
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
Problems:
- WiFi7 STARole has no MLO modes support detection, although bSTAMLD is
functional
- missing dynamic detection APMLD/bSTAMLD MaxNumMLDs and
MaxNumLinksPerMLD
- newly created APMLD/bSTAMLD instances have APMLDConfig/bSTAMLDConfig
mlo modes set with value -1 (driver defaults), which is meaningless
with regards to EM spec
Causes:
- STA ifType was not parsed in nl80211 EXT_CAP, for MLO related
attibutes: EML_CAPABILITY and MLD_CAPA_AND_OPS
- EML_CAPABILITY and MLD_CAPA_AND_OPS are only filled by mac80211 for
AP ifType, but left empty for STA ifType
- wrong definition of APMLDConfig/bSTAMLDConfig mlo modes
Fix:
- properly detect MLO support per iftype based on available of
both nl80211 attribs EML_CAPABILITY and MLD_CAPA_AND_OPS
- read STR and NSTR default enabling from mac80211
- set properly WiFi7 APRole and STARole mlo modes support,
- deduce STARole EMLSR support with consideration of APRole (same cap
on driver side)
- deduce NSTR support with consideration of EMLMR/MLMR
- read maxNumSimultenousLinks (num auxiliary links) from driver side
- update MaxNumMLDs and MaxNumLinksPerMLD per typed MLD
- set WiFi.bSTAMLDMaxLinks with bSTAMLD capa maxLinksPerMld
- set write-once flag on MLDID of APMLD and bSTAMLD instance to allow
defining default configs with instances and APMLDConfig
(/bSTAMLDConfig)
- when pwhm creates new instances of APMLD/bSTAMLD (based on
SSID.MLDUnit settings), the initial APMLDConfig/bSTAMLDConfig mlo modes
are set driver capabilities (WiFi7 APRole/STARole mlo modes) that will
be used by default in the driver
CRAM tests:
- Update obuspa.t script
Integrates:
- 93f848f36: ("pwhm: mld: initialize APMLDConfig/bSTAMLDConfig mlo modes using driver capabilities", 2026-02-10)
- 649998b2a: ("pwhm: mld: config APMLD/bSTAMLD MLO modes with boolean params", 2026-02-10)
- 5583c685c: ("pwhm: mld: allow defining default APMLDs and bSTAMLDs with mlo configs", 2026-02-10)
- 4b4758c57: ("pwhm: bstamld: fix missing dm param bSTAMLDMaxLinks", 2026-02-10)
- d8b1340e6: ("pwhm: nl80211: fix detecting APMLD/bSTAMLD MaxNumMLDs and MaxNumLinksPerMLD", 2026-02-10)
- ec46bd4f8: ("pwhm: mld: add apis to set MaxNumMLDs and MaxNumOfLinksPerMLD on typed MLD", 2026-02-10)
- 19ec3d89e: ("pwh: nl80211: fix detecting mlo modes capabilities of WiFi7 APRole/STARole", 2026-02-10)
References: PPM-3655 PPM-3349 PPW-1284 PPW-1325
Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
Integrates:
- 092fed67: ("extender-config: prplmesh-process-manager: Support Agent only mode in Extender", 2026-01-26)
References: PCF-2183, FEAT-27
Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
Integrates following changes:
reboot-service:
- procd: restore original scripts to be used in non-procd environments (cf706db3)
- ci: baf: update autogenerated files (2e688709)
amx-faultmonitor:
- procd: restore original scripts to be used in non-procd environments (a250d8ea)
- ci: baf: update autogenerated files (2c350254)
oopsmonitor:
- procd: restore original scripts to be used in non-procd environments (accacf52)
- ci: baf: update autogenerated files (df75bb5c)
amx-processmonitor:
- procd: restore original scripts to be used in non-procd environments (4a58aeb5)
- ci: baf: update autogenerated files (b22cf195)
packet-interception:
- procd: restore original scripts to be used in non-procd environments (8a2bf4cc)
- ci: baf: update autogenerated files (aab59e17)
multisettings:
- procd: restore original scripts to be used in non-procd environments (ce34c3df)
- ci: baf: update autogenerated files (b90c3fb7)
gmap-server:
- procd: restore original scripts to be used in non-procd environments (d7a1340b)
- ci: baf: update autogenerated files (a617ba46)
tr181-sfp:
- procd: restore original scripts to be used in non-procd environments (480d1b38)
- ci: baf: update autogenerated files (f7673c70)
tr181-captiveportal:
- procd: restore original scripts to be used in non-procd environments (a0721bee)
- Fix on PPW-1067 - To replace static start/stop init order with config options (558d26e3)
- ci: baf: update autogenerated files (886f0651)
pcm-manager:
- procd: restore original scripts to be used in non-procd environments (2f10f2fa)
- ci: baf: update autogenerated files (c4c62fbd)
References: FEAT-67, PPW-1066, PPW-1068
Signed-off-by: prplbot <bot@prplfoundation.org>
A wrong PKG-HASH value was added during the integration of PPW-3522
References: PPW-1555, PPW-3522
Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
Integrates:
- 9391a89: ("A new configurable parameter called CustomArguments (WiFi.DaemonMgt.Daemon.{}.ExecutionSettings.CustomArguments) is being introduced to allow defining a higher logging level and redirecting logs to syslog for the daemons (hostapd, wpa_supplicant) that are started by PWHM. The new log files will store the logs from these daemons as follows:", 2025-10-03)
References: PPM-3522
Signed-off-by: Blessy Sara John <blessysara.j@tataelxsi.co.in>
Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
Integrates:
- 086ac8cb: ("Introduced a new configurable parameter CustomArguments (WiFi.DaemonMgt.Daemon.{}.ExecutionSettings.CustomArguments) to allow to define higher logging lovel and redirecting the logs to syslog. Changing CustomArguments will restart the relative process to make them applied", 2025-10-03)
- 34552261: ("ci: baf: update autogenerated files", 2026-01-10)
References: PPM-3522
Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
Integrates following changes:
- procd: restore original scripts to be used in non-procd environments (33f97e11)
- Fix on PPW-1067 - To replace static start/stop init order with config options (10354199)
- ci: baf: update autogenerated files (54507338)
- procd: restore original scripts to be used in non-procd environments (5c5f4468)
- Fix on PPW-1067 - To replace static start/stop init order with config options (0f5828e4)
- ci: baf: update autogenerated files (b98f1835)
- procd: restore original scripts to be used in non-procd environments (7b20dc70)
- Fix on PPW-1067 - To replace static start/stop init order with config options (a7c572d0)
- ci: baf: update autogenerated files (a0bdb1d4)
- procd: restore original scripts to be used in non-procd environments (4fd06973)
- ci: baf: update autogenerated files (ab2e4597)
- ci: enable unit tests (f3ffa9c2)
- procd: restore original scripts to be used in non-procd environments (263791e6)
- Fix on PPW-1067 - To replace static start/stop init order with config options (f9f3b2c3)
- ci: baf: update autogenerated files (86ccbca)
- procd: restore original scripts to be used in non-procd environments (2873daa3)
- Fix on PPW-1067 - To replace static start/stop init order with config options (46f4d197)
- ci: baf: update autogenerated files (ee673993)
- procd: restore original scripts to be used in non-procd environments (f9196323)
- ci: baf: update autogenerated files (b0578cc0)
References: PPW-1068, PPW-1066, FEAT-67, PPW-1067
Signed-off-by: prplbot <bot@prplfoundation.org>
tr181-syslog:
- procd: restore original scripts to be used in non-procd environments (feb49955)
- Fix on PPW-1067 - To replace static start/stop init order with config options (b67200c6)
- ci: baf: update autogenerated files (5b54d7ec)
tr069-manager:
- procd: restore original scripts to be used in non-procd environments (66a2c391)
- ci: baf: update autogenerated files (be939cac)
ssh-server:
- procd: restore original scripts to be used in non-procd environments (577c5123)
- ci: baf: update autogenerated files (8535b193)
tr181-firewall:
- procd: restore original scripts to be used in non-procd environments (da8f2536)
- ci: baf: update autogenerated files (ca1ba113)
tr181-mqttbroker:
- procd: restore original scripts to be used in non-procd environments (5aaf7c8b)
- ci: baf: update autogenerated files (f30e24ff)
tr181-dnssd:
- procd: restore original scripts to be used in non-procd environments (efc630c1)
- ci: baf: update autogenerated files (8ed24c58
tr181-upnp:
- procd: restore original scripts to be used in non-procd environments (c6fdf5e8)
- ci: baf: update autogenerated files (56294770)
tr181-dynamicdns
- procd: restore original scripts to be used in non-procd environments (285f61a1)
- Fix on PPW-1067 - To replace static start/stop init order with config options (72fd5b0c)
- ci: baf: update autogenerated files (0d4a787a)
tr181-periodicfileupload
- procd: restore original scripts to be used in non-procd environments (01a90c20)
- ci: baf: update autogenerated files (3b1938b1)
tr181-bulkdata
- procd: restore original scripts to be used in non-procd environments (69165ca8)
- ci: baf: update autogenerated files (11cb45f9)
References: FEAT-67, PPW-1068, PPW-1066
Signed-off-by: prplbot <bot@prplfoundation.org>
Signed-off-by: faouzi yahya <faouzi.yahya_ext@softathome.com>
Integrates:
- amx-fcgi: changed service startup scripts to be started and monitored by procd for auto-respawn (72710426)
- ci: baf: update autogenerated files (6ecae4e8)
- acl-manager: changed service startup scripts to be started and monitored by procd for auto-respawn (b8a9d8d7)
- ci: baf: update autogenerated files (16037553)
References: PCF-2139, PPW-760
Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
- tr181-upnpdiscovery: changed service startup scripts to be started and monitored by procd for auto-respawn (779bb046)
- ci: baf: update autogenerated files (62a581eb)
- tr181-homeplug: changed service startup scripts to be started and monitored by procd for auto-respawn (a59055db)
- ci: baf: update autogenerated files (b9734015)
- tr181-gnimanager: changed service startup scripts to be started and monitored by procd for auto-respawn (a0435dfb)
- ci: baf: update autogenerated files (2e680d97)
- tr181-flashmonitor: changed service startup scripts to be started and monitored by procd for auto-respawn (85ea1924)
- ci: baf: update autogenerated files (27d35500)
- baf: remove dependency on libamxj (7adeec6b)
- baf: remove unused config options (016fc484)
- tr181-conntrack-query: changed service startup scripts to be started and monitored by procd for auto-respawn (769119bd)
- ci: baf: update autogenerated files (6fe9a4b5)
- tr181-conmon: changed service startup scripts to be started and monitored by procd for auto-respawn (dc775dba)
- ci: baf: update autogenerated files (f29b73fb)
- baf: introduce the baf.yml file (1fc201d0)
- ci: include the ci templates (a87d2606)
- ci: baf: update autogenerated files (8de5a768)
- netmodel-clients: changed service startup scripts to be started and monitored by procd for auto-respawn (3fd13549)
- ci: baf: update autogenerated files (5a0168a3)
- baf: introduce the baf.yml file (28c20c60)
- ci: include the ci templates (8d88ec67)
- ci: baf: update autogenerated files (92e5ab80)
- gmap-client: changed service startup scripts to be started and monitored by procd for auto-respawn (abd1d6dd)
- ci: baf: update autogenerated files (810474f8)
- data-model-mapper: changed service startup scripts to be started and monitored by procd for auto-respawn
- tr181-gatewayinfo: changed service startup scripts to be started and monitored by procd for auto-respawn
- tr069-discovery: changed service startup scripts to be started and monitored by procd for auto-respawn
- usp-discovery: changed service startup scripts to be started and monitored by procd for auto-respawn
- tr181-rest-api : corrected uci-defaults to fix lighttp server failure with amx-fcgi socket procd migration changes
References: PCF-2139
Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
Previously several components - acl-manager,amx-fcgi,gmap-client,data-model-mapper,netmodel-clients,tr069-discovery,tr181-conmon,tr181-conntrack-query,tr181-flashmonitor,tr181-gatewayinfo,tr181-gnimanager,tr181-homeplug,usp-discovery,cthulhu,rlyeh,timingila,tr181-upnpdiscovery were missed during procd init script conversion process, so adding the missing procd init‑script integration in order to enable auto-respawn/procd monitoring for all these services as part of overflow ticket [PCF-2139]
Integrates:
- timingila: changed service startup scripts to be started and monitored by procd for auto-respawn (069ecb08)
- ci: baf: update autogenerated files (a1a1bec1)
- rlyeh: changed service startup scripts to be started and monitored by procd for auto-respawn (04c843e7)
- ci: baf: update autogenerated files (5c24ceec)
- cthulhu: changed service startup scripts to be started and monitored by procd for auto-respawn (5d090638)
- ci: baf: update autogenerated files (a64091b0)
References:PCF-2139
Signed-off-by: Sathishkumar Selvam <sathishkumar.selvam@capgemini.com>
Integrates following changes:
- gitignore: don't put vscode files under version control (bae63d6c)
- Data Model: add multi instance object Device.Security.CABundle (e86575ef)
- bad include: remove libamxm dependency (26c3737d)
- amxrt: load default ODL file (3045f1f1)
- baf: install cabundle_definition.odl file (c0a2b08b)
- ci: add libamxut and mod-amxb-dummy as unit test dependencies (418fc1d3)
- ODL: remove uncoherent bbf version for protected parameters (2dccfc81)
References: PCF-1940
Signed-off-by: prplbot <bot@prplfoundation.org>
Integrates following changes:
- Issue: PPW-501 [CWMP] CPE does not perform session retry and answers with fault code (32aa2d1d)
References: PPW-501
Signed-off-by: prplbot <bot@prplfoundation.org>
Integrates following changes:
- liblcm: Add helper function to parse index from datamodel path (0f6aae75)
- baf: set SoftAtHome as copyrights holder in LICENSE file (356ad159)
- ci: baf: update autogenerated files (05d43436)
- cthulhu: Use instance index to manage the cached roles (37c66a2b)
- ci: baf: update autogenerated files (c5b78053)
References: PPW-1040
Signed-off-by: prplbot <bot@prplfoundation.org>
Problem:
- After provisioning apmld through DataElements, APMLD group is showing without LinkIDs
- apmld link ids are unset, although link is active at nl80211 level
Cause:
- primaryLink role setting is conditioned by mld link already configured via fsm
- but once fsm run is finished, the link Id/role is not reloaded (therefore lost)
- sometimes, amxd transaction fails (with reason "invalid action" (ongoing transaction)
when trying to save SSID MldLinkID and MLDRole
Fix:
- allow primaryLink role setting at api level, regardless underlying conf applying logic
- update radio's relative apmld linkIds when radio is up or when no reconf is already valid
- postpone commiting MLDLinkID and MLDRole (with apMld dm), to next event loop run,
to let the potentially running transaction be finalized
References: PPM-3709
Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
Integrates following changes:
- pWHM: changing TransmitPower value has no impact on txpower from iw info (b5ea0192)
References: PPW-331
Signed-off-by: prplbot <bot@prplfoundation.org>