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>
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>
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>
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>
* 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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>