qcacmn: API for completion of MLO setup sequence

Add API to invoke call back API registered post MLO
setup sequence completion.

CRs-Fixed: 3153531
Change-Id: I16552ff46929c985ff4b7a62f47cc667fe6f132e
Dieser Commit ist enthalten in:
Shwetha G K
2022-03-28 22:11:17 +05:30
committet von Madan Koyyalamudi
Ursprung a8a9edfab6
Commit 73a570940f
2 geänderte Dateien mit 19 neuen und 0 gelöschten Zeilen

Datei anzeigen

@@ -859,6 +859,21 @@ exit:
}
#if defined(WLAN_FEATURE_11BE_MLO) && defined(WLAN_MLO_MULTI_CHIP)
static void init_deinit_mlo_setup_done_event(struct wlan_objmgr_psoc *psoc)
{
struct target_psoc_info *tgt_hdl;
tgt_hdl = wlan_psoc_get_tgt_if_handle(psoc);
if (!tgt_hdl) {
target_if_err("target_psoc_info is null");
return;
}
if ((tgt_hdl->tif_ops) &&
(tgt_hdl->tif_ops->mlo_setup_done_event))
tgt_hdl->tif_ops->mlo_setup_done_event(psoc);
}
static int init_deinit_mlo_setup_comp_event_handler(ol_scn_t scn_handle,
uint8_t *event,
uint32_t data_len)
@@ -898,6 +913,8 @@ static int init_deinit_mlo_setup_comp_event_handler(ol_scn_t scn_handle,
wlan_objmgr_pdev_release_ref(pdev, WLAN_INIT_DEINIT_ID);
}
init_deinit_mlo_setup_done_event(psoc);
return 0;
}