Commit Graph

10922 Commits

Author SHA1 Message Date
Vinu Bharath R
c81e692311 agent: add send_bsta_mld_configuration_response_message
Added send_bsta_mld_configuration_response_message function to send BSTA MLD Configuration Response Message.
Moved add_backhaul_sta_mld_configuration_tlv() to slave_thread to reuse it.

Closes PPM-3226

Signed-off-by: Vinu Bharath R <vinubhar@qti.qualcomm.com>
2025-12-15 08:53:42 +00:00
Cihangir Odabas
f8310a0da4 Merge branch 'feature/PPM-3352_controller_reads_WPA3-CM_from_NBAPI' into 'master'
controller: nbapi: read WPA3-Compatibility-Mode from nbapi

Closes PPM-3352

See merge request prpl-foundation/prplmesh/prplMesh!4055
2025-12-12 15:32:08 +03:00
Cihangir Odabas
a3c22cc9de Merge branch 'feature/PPM-3692-R6-CAPI-implement-fetching-MLDaddr' into 'master'
agent: ucc_listener: add fetching MLDaddr by SSID

Closes PPM-3692

See merge request prpl-foundation/prplmesh/prplMesh!4202
2025-12-12 15:10:02 +03:00
Iacob Juc
912ea75293 tests: boardfarm_tests: push WPA3-CM to agent
In the context of FEAT-65

add a test case for the nbapi_access_point tests
where WPA3-Personal-Compatibility is pushed from NBAPI
to the agent.
since agent bwl backend is arbitrary, only check that
the value is received, do not check that it is
applied (i.e., do not check the interaction between the
bwl backend and the wifi subsystem; interaction with
pwhm is tested in a separate, cram test)

added log roll for for controller
NbapiAssociationEvent sometimes fails
when log roll happens naturally during exectution
and
the check_log function depends on a
test-specific dict holding [log_filename : log_lines],
where log_lines is initialized at the beginning of the test
with the output of "wc -l log_filename"

using log roll in nbapi_access_point test as well

Implements: PPM-3352

Signed-off-by: Iacob Juc <iacob.juc_ext@softathome.com>
2025-12-12 12:13:21 +03:00
Iacob Juc
a77d94d912 controller: autoconfiguration: add default SecMode for legacy agents
EM R6.1 introduces a new flag in the AP Capability TLV,
Support for RSN Overriding
An Agent sets the flag to true to advertise support for
RSN Overriding.
If the Agent does not support the feature,
or uses an old definition of the TLV,
in both cases the flag is 0.

In case the Controller has only RSN Security Configurations,
and is onboarding an Agent that does not support them,
push to this agent the security mode from the legacy
RSN IE: WPA2 for 2.4/5GHz, or WPA3 for 6GHz

Implements: PPM-3352

Signed-off-by: Iacob Juc <iacob.juc_ext@softathome.com>
2025-12-12 12:13:21 +03:00
Iacob Juc
18d713ccad agent: capability reporting: infer RSNO support from pwhm datamodel
prplmesh may be deployed on platforms that do not
(yet) support RSN Overriding

adding a field to sRadioInfo in base_wlan_hal_types.h

in bwl::whm, infer RSNO support from
the presence of WPA3-Personal-Compatibility
security mode in any AccessPoint instance

in bwl::dummy, always report true;

Implements: PPM-3352

Signed-off-by: Iacob Juc <iacob.juc_ext@softathome.com>
2025-12-12 12:13:21 +03:00
Iacob Juc
d1c8ea41c2 controller: nbapi: read WPA3-Compatibility-Mode from nbapi
* dummy bss_index so agent does not discard config when
bss_index is equal to 0
* when DataElements.Network.AccessPoint.Security.ModeEnabled
== WPA3-Compatibility-Mode, fill bss_info with enough info
to generate a valid WSC M2 message

* added the same bss_index to config that controller reads from
pwhm datamodel

Fixes: PPM-3352

Signed-off-by: Iacob Juc <iacob.juc_ext@softathome.com>
2025-12-12 12:13:21 +03:00
Maarten De Decker
e5beee4adf agent: ucc_listener: add fetching MLDaddr by SSID
For R6 testing, prplMesh should be able to return an MLD MAC over CAPI,
given any MLO SSID. This commit adds funtion get_mdl_mac_by_ssid()
to retrieve this MAC from the agent DB and uses it when the CAPI command
dev_get_parameter with parameter MLDAddr is called.

Closes: PPM-3692

Signed-off-by: Maarten De Decker <maarten.dedecker@mind.be>
2025-12-12 09:15:24 +01:00
Cihangir Odabas
77a01f3454 Merge branch 'feature/PPM_3682_add_mlo_links' into 'master'
agent:update max_num_mlds,ap_max_links and bsta_max_links

Closes PPM-3682

See merge request prpl-foundation/prplmesh/prplMesh!4192
2025-12-12 10:51:04 +03:00
Cihangir Odabas
805ee0d999 Merge branch 'bugfix/PPM-3676_fix_mismatch_steering_req_flags' into 'master'
agent: ap_manager: fix mismatch between 1905 steering flags and 802.11v BTM

Closes PPM-3676

See merge request prpl-foundation/prplmesh/prplMesh!4184
2025-12-12 10:15:28 +03:00
Chandana Ramappa
afb18f966e agent: update max_num_mlds,ap_max_links and bsta_max_links
Agent will be updating wifi 7 agent capabilities TLV in
1. AP Capability Report message
2. Early AP Capability Report message

Closes: PPM-3682
Signed-off-by: Chandana Ramappa <chandana.r@tataelxsi.co.in>
2025-12-12 09:23:41 +03:00
Chandana Ramappa
c9ee351481 bwl:retirives DM : Mld max links
Retrieve the PWHM datamodel parameters — MaxNumMLDs,
APMLDMaxLinks, and bSTAMLDMaxLinks — and store them in the agent database.

Closes: PPM-3682
Signed-off-by: Chandana Ramappa <chandana.r@tataelxsi.co.in>
2025-12-12 09:23:41 +03:00
Chandana Ramappa
33441f26e1 yaml:node nodehostap:add mlo max_inks
add yaml and auto-generated TLVF files for Wi‑Fi 7 MLO.

Closes: PPM-3682
Signed-off-by: Chandana Ramappa <chandana.r@tataelxsi.co.in>
2025-12-12 09:23:41 +03:00
Durmus Koyuncu
dddf5d6120 agent: ap_manager: fix mismatch between 1905 steering flags and 802.11v BTM
The Steering Request flags received in the 1905 Client Steering Request message
(e.g., the abridged flag) were not matching the flags used in the 802.11v BTM
Request. During inspection of the prplmesh agent, it was observed that these
flags were never forwarded to pwhm.

This change aligns the bitmask construction with the expected 802.11v layout
and ensures all relevant flags are passed correctly to pwhm.

Closes: PPM-3676

Signed-off-by: Durmus Koyuncu <durmus.koyuncu@airties.com>
2025-12-12 08:50:01 +03:00
pallapu karthik
f543c984b6 Merge branch 'hotfix/upgrade-debug-to-error' into 'master'
Raise log severity from DEBUG to ERROR for critical conditions

See merge request prpl-foundation/prplmesh/prplMesh!4201
2025-12-12 03:41:25 +00:00
Cihangir Odabas
3f359d4aac Merge branch 'dev/CI-upstep-prplos-12-11' into 'master'
CI: bump prplOS version to latest-24.10 2025-12-11

See merge request prpl-foundation/prplmesh/prplMesh!4200
2025-12-12 00:22:58 +03:00
Cihangir Odabas
d432441f22 CI: bump prplOS version to latest-24.10 2025-12-11
Fixes on usp backend
Preparation for prplware 4.2.0

Signed-off-by: Cihangir Odabas <cihangir.odabas@prplfoundation.org>
2025-12-11 20:14:57 +03:00
Pallapu Karthik
1d988f35a9 Raise log severity from DEBUG to ERROR for critical conditions
Signed-off-by: Pallapu Karthik <pallapu.karthik@capgemini.com>
2025-12-11 15:44:29 +05:30
pallapu karthik
0a1cae0656 Merge branch 'feature/PPM-3669-bwl-whm-add-AFC_UPDATE_EVENT' into 'master'
bwl: whm: implement AFC_Update event

Closes PPM-3669 and PPM-2666

See merge request prpl-foundation/prplmesh/prplMesh!4181
2025-12-11 10:03:18 +00:00
Pallapu Karthik
4cbcd78a08 framework: add AFC_update event constant in ambiorix_event.h
Ensures that AFC updates are captured from Ambiorix
and translated into HAL events for the system to react appropriately

Closes: PPM-2666

Signed-off-by: Pallapu Karthik <pallapu.karthik@capgemini.com>
2025-12-11 14:18:28 +05:30
Pallapu Karthik
8caa403e73 common: implement AFC_update event handling
Add `AFCUpdate` to `ap_wlan_hal::Event` to represent AFC update notifications propagating from the lower layers.

This enables the HAL to surface AFC update status changes to upper layers so that channel availability
decisions can react to AFC updates

Closes: PPM-2666

Signed-off-by: Pallapu Karthik <pallapu.karthik@capgemini.com>
2025-12-11 14:13:47 +05:30
Dmytro Puz
1b155dbb87 Merge branch 'bugfix/PPM-3703-add-bstamld-subtree-to-dm' into 'master'
controller: nbapi: add bSTAMLD subtree to the DataElements ODL

Closes PPM-3703

See merge request prpl-foundation/prplmesh/prplMesh!4198
2025-12-10 20:40:41 +00:00
Dmytro Puz
156bf98bae Merge branch 'bugfix/PPM-3702-wifi-7-missing-dm-fields' into 'master'
controller: nbapi: add Wi‑Fi 7 agent capability fields to DataElements

Closes PPM-3702

See merge request prpl-foundation/prplmesh/prplMesh!4197
2025-12-10 20:21:11 +00:00
Dmytro Puz
e2d8f9425b controller: nbapi: add bSTAMLD subtree to the DataElements ODL
- add Device.WiFi.DataElements.Network.Device.bSTAMLD with
MLDMACAddress, BSSID, AffiliatedbSTAList and writable bSTAMLDConfig
flags per TR-181.

PPM-3703.

Signed-off-by: Dmytro Puz <d.puz@inango-systems.com>
2025-12-10 11:48:13 +01:00
Dmytro Puz
ee86b6ff51 controller: nbapi: add Wi‑Fi 7 agent capability fields to DataElements
- define MaxNumMLDs, APMLDMaxLinks, bSTAMLDMaxLinks and TIDLinkMapCapability
in Device.WiFi.DataElements.Network.Device ODL (with TR-181 comments).
- update controller DM setter to write TIDLinkMapCapability using the new
enum string name.

PPM-3702.

Signed-off-by: Dmytro Puz <d.puz@inango-systems.com>
2025-12-10 08:26:11 +01:00
Cihangir Odabas
8f4ff56c67 Merge branch 'feature/PPM_3655_Add_Support_for_Wifi7_AP_BSTA_in_Radio_Capability' into 'master'
Support Wifi 7 AP and BSTA MLO Modes in Radio capability

Closes PPM-3655

See merge request prpl-foundation/prplmesh/prplMesh!4174
2025-12-02 15:15:13 +03:00
Chandana Ramappa
2df088d115 bwl: support ap and bsta mlo modes
used the PWHM datamodels to retrive radio capabilities for
AP and bSTA modes.

Closes PPM-3655

Signed-off-by: Chandana Ramappa <chandana.r@tataelxsi.co.in>
2025-12-02 16:02:50 +05:30
Chandana Ramappa
10b7bf9acc agent: add mld modes support for ap and bsta mlo
Agent updates radio capabilities in AgentDB on JOINED_NOTIFICATION,
while AP Manager encodes Wi‑Fi 7 MLO modes (STR, NSTR, EMLSR, EMLMR)
into bitmasks for AP/BSTA in the Agent Capabilities TLV.

Wi-Fi 7 Agent Capabilities TLV will be in below meassges,
1. AP Capability Report message
2. Early AP Capability Report message

Closes PPM-3655

Signed-off-by: Chandana Ramappa <chandana.r@tataelxsi.co.in>
2025-12-02 14:53:56 +05:30
Chandana Ramappa
f9cd894a61 yaml: node hostap: add mlo modes
add yaml and auto-generated TLVF files for Wi‑Fi 7 MLO fields

Closes PPM-3655

Signed-off-by: Chandana Ramappa <chandana.r@tataelxsi.co.in>
2025-12-02 14:53:56 +05:30
Vinu Bharath
e633d8e3a1 Merge branch 'feature/PPM-3224_handle_bsta_mld_config_req_msg' into 'master'
[Agent][R6] Handle bSTA MLD Configuration Request Message

Closes PPM-3224

See merge request prpl-foundation/prplmesh/prplMesh!4140
2025-12-01 10:02:08 +00:00
Cihangir Odabas
f1899d97b3 Merge branch 'bugfix/PPM-3584-choose-default-encr' into 'master'
framework: choose encryption type when set to "Default"

Closes PPM-3584

See merge request prpl-foundation/prplmesh/prplMesh!4153
2025-12-01 12:07:30 +03:00
Vinu Bharath R
8a4ca1340b agent: add handle_bsta_mld_configuration_request_message
Handled bSTA MLD Configuration Request Message
Closes PPM-3224

Signed-off-by: Vinu Bharath R <vinubhar@qti.qualcomm.com>
2025-12-01 13:24:59 +05:30
Dmytro Kysil
9beffaf883 common: don't change EncryptioMode when it is Default
Signed-off-by: Dmytro Kysil <d.kysil@inango-systems.com>
2025-12-01 09:17:39 +02:00
Dmytro Kysil
09c03fd33b framework: choose encryption type when set to "Default"
Choose a proper `WSC::eWscEncr` value when "EncryptionMode" is set to
"Default" instead of setting it to `WSC_ENCR_NONE`.
- add `wbapi_utils::default_encryption_type_from_security_mode()`

Closes: PPM-3584

Signed-off-by: Dmytro Kysil <d.kysil@inango-systems.com>
2025-12-01 09:17:21 +02:00
Vinu Bharath
e140d3f192 Merge branch 'feature/PPM-3225_send_bsta_mld_config_req_msg' into 'master'
[Controller][R6] Send bSTA MLD Configuration Request Message

Closes PPM-3225

See merge request prpl-foundation/prplmesh/prplMesh!4148
2025-12-01 06:49:48 +00:00
Vinu Bharath R
ca0ea46107 controller: reconfig_bstamld: Send BSTA MLD Configuration Request Message
Added reconfig_bstamld function to Send BSTA MLD Configuration Request Message.

Closes PPM-3225

Signed-off-by: Vinu Bharath R <vinubhar@qti.qualcomm.com>
2025-12-01 11:07:01 +05:30
Vinu Bharath R
5398c2bce1 controller: agent DB - add bSTA MLD struct
Signed-off-by: Vinu Bharath R <vinubhar@qti.qualcomm.com>
2025-12-01 10:53:10 +05:30
Cihangir Odabas
52f614cf1b Merge branch 'feature/PPM-3263-radio-operation-mode-sharing' into 'master'
bwl: Reflect actual OperatingStandards in AP capability report

Closes PPM-3263

See merge request prpl-foundation/prplmesh/prplMesh!4172
2025-11-28 21:57:28 +03:00
Nefi Guclu
6e97da551d bwl: Reflect actual OperatingStandards in AP capability report
As part of the Radio Operation Mode Sharing feature, the AP capability
report now sends the up-to-date OperatingStandards of the radio.

Issue: PPM-3263
Signed-off-by: Nefi Guclu <nefi.guclu@airties.com>
2025-11-28 16:48:19 +03:00
Maarten De Decker
54b2817dcd Merge branch 'hotfix/PPM-3627-allow-resetting-to-a-different-profile' into 'master'
agent: backhaul_manager: reset correctly when the multi-ap profile changes

Closes PPM-3627

See merge request prpl-foundation/prplmesh/prplMesh!4183
2025-11-27 20:54:05 +01:00
Maarten De Decker
9e06a07bdc agent: backhaul_manager: reset correctly when the profile changes
In R6 certification, the testbed will trigger multiple certification_mode resets, to different Multi-AP profiles (mapr3, mapr6).
In case the agent is still in reset state when the second reset is triggered, this profile change is currently discarded.

Solution: check if the Multi-AP profile has changed, compared to last reset.

Fixes: PPM-3627

Signed-off-by: Maarten De Decker <maarten.dedecker@mind.be>
2025-11-25 18:02:56 +01:00
Cihangir Odabas
650da65a69 Merge branch 'feature/PPM-3642-mld-config-from-pwhm' into 'master'
controller: framework: read mld config from pwhm

Closes PPM-3642

See merge request prpl-foundation/prplmesh/prplMesh!4169
2025-11-25 17:56:21 +03:00
Dmytro Kysil
35996b38d5 controller: framework: read mld config from pwhm
Add reading MLDUnit from pwhm and add subscription to it in WifiManager

Closes: PPM-3642

Signed-off-by: Dmytro Kysil <d.kysil@inango-systems.com>
2025-11-25 11:31:38 +02:00
Cihangir Odabas
0f28a2f887 Merge branch 'hotfix/PPM-3626-add-str-support' into 'master'
slave: hard code STR support to unblock r6 certification

Closes PPM-3626

See merge request prpl-foundation/prplmesh/prplMesh!4176
2025-11-25 12:22:47 +03:00
Cihangir Odabas
4111e1d6e5 Merge branch 'bugfix/PPW-546_prplMesh_controller_only_mode_fix' into 'master'
Issue: PPW-546 prplMesh : Controller : fix controller-only mode

Closes PPW-546

See merge request prpl-foundation/prplmesh/prplMesh!4143
2025-11-24 22:32:44 +03:00
Houssem Dafdouf
3093c2cdb5 Merge branch 'feature/PPM-3351' into 'master'
Issue: PPM-3351 prplMesh: Static puncturing

Closes PPM-3351

See merge request prpl-foundation/prplmesh/prplMesh!4070
2025-11-24 16:27:42 +00:00
Jestin John Mathew
b5081c6761 bwl: set DisabledSubChannels param in pWHM
DisabledSubChannelBitmap received from agent is
converted to comma separated list of channels and
is then pushed to respective radio in pWHM
WiFi.Radio.{i}.StaticPuncturing.DisabledSubChannels

Closes PPM-3351

Signed-off-by: Jestin John Mathew <jestin-john.mathew_ext@softathome.com>
2025-11-24 15:34:56 +00:00
Jestin John Mathew
0244007e04 agent: Handle EHT Operations TLV
If Channel Selection Request Message CMDU contains an
EHT Operations TLV, forward the contents to ap_manager
using existing beerocks messages

Closes PPM-3351

Signed-off-by: Jestin John Mathew <jestin-john.mathew_ext@softathome.com>
2025-11-24 15:34:56 +00:00
Jestin John Mathew
fda5a5d817 tlvf: yaml: Add EhtOperation params to beerocks message
Include EHT Operation params in beerocks message backhaul
and beerocks message apmanager yaml.

Updated corresponding AutoGenerated files.

Closes PPM-3351

Signed-off-by: Jestin John Mathew <jestin-john.mathew_ext@softathome.com>
2025-11-24 15:34:56 +00:00
Jestin John Mathew
bc28cba6c5 controller: nbapi: Add SetEHTOperations
SetEHTOperations takes DisabledSubChannelBitmap as an argument.

The bitmap is added to EHT Operation TLV and is included as part
of Channel Selection Request Message CMDU, which is then sent to
the agent.

Closes PPM-3351

Signed-off-by: Jestin John Mathew <jestin-john.mathew_ext@softathome.com>
2025-11-24 15:34:56 +00:00