qcacld-3.0: Extract all link probe rsps from ML probe rsp

Firmware sends beacon/probe response of the roam candidate to host
through roam_frame_event when it chooses a candidate which needs
SAE authentication to be performed. This is needed as the host
checks if corresponding scan entry is present in the scan db
before starting SAE authentication trigger.
But in MLO roaming case, firmware might send ML probe response
and the scan entry corresponds to re-assoc link might be present
in the per STA profile of the ML probe response.
So, extract all per-STA profiles and add them to scan db.

Also, use this API to extract and add the link specific
ML probe responses for the ML probe response received
in roam sync indication if extraction via roam info fails due
to some reason(currently it may fail if fw roams to a link but
got ML probe rsp from other link as link_info is not
present roam info).

Change-Id: I6c67927732a54568dfe618bdecaca8f37515e203
CRs-Fixed: 3454834
This commit is contained in:
Srinivas Dasari
2023-04-13 01:00:05 +05:30
committed by Madan Koyyalamudi
parent 983a90bcfb
commit a87a7cde2a
9 changed files with 381 additions and 205 deletions

View File

@@ -3457,6 +3457,8 @@ extract_roam_candidate_frame_tlv(wmi_unified_t wmi_handle, uint8_t *event,
data->vdev_id = frame_params->vdev_id;
data->frame_length = frame_params->frame_length;
data->frame = (uint8_t *)param_buf->frame;
QDF_TRACE_HEX_DUMP(QDF_MODULE_ID_WMI, QDF_TRACE_LEVEL_DEBUG,
data->frame, data->frame_length);
return QDF_STATUS_SUCCESS;
}