qcacld-3.0: Add support to configure MLD ID in scan request

In the MLO-MBSSID test, STA can request information of
non-Tx BSS through Tx BSS by configuring non-Tx BSS MLD ID
within the ML probe request that is invoked as part of scan
request. Add support to configure MLD ID in scan start
params to FW.

Change-Id: Iec5a144e597a7f6b9b741f279e4424f975c5115c
CRs-Fixed: 3561040
This commit is contained in:
Gururaj Pandurangi
2023-07-31 19:02:21 -07:00
committed by Rahul Choudhary
parent e9e8c4d57c
commit 73be1b7d8d
5 changed files with 75 additions and 2 deletions

View File

@@ -3905,6 +3905,33 @@ wlan_mlme_set_t2lm_negotiation_supported(struct wlan_objmgr_psoc *psoc,
return QDF_STATUS_SUCCESS;
}
uint8_t
wlan_mlme_get_eht_mld_id(struct wlan_objmgr_psoc *psoc)
{
struct wlan_mlme_psoc_ext_obj *mlme_obj;
mlme_obj = mlme_get_psoc_ext_obj(psoc);
if (!mlme_obj)
return 0;
return mlme_obj->cfg.gen.mld_id;
}
QDF_STATUS
wlan_mlme_set_eht_mld_id(struct wlan_objmgr_psoc *psoc,
uint8_t value)
{
struct wlan_mlme_psoc_ext_obj *mlme_obj;
mlme_obj = mlme_get_psoc_ext_obj(psoc);
if (!mlme_obj)
return QDF_STATUS_E_FAILURE;
mlme_obj->cfg.gen.mld_id = value;
return QDF_STATUS_SUCCESS;
}
#endif
QDF_STATUS