qcacmn: implement mlo manager APIs for mlo link set active cmd

Add interface for sending mlo link set active cmd and
register the response handler.

Change-Id: Icd7cf3294cddec1aa4a417e29a22fcd6fbea0dfb
CRs-Fixed: 3036846
This commit is contained in:
Yu Wang
2021-11-29 17:31:41 +08:00
gecommit door Madan Koyyalamudi
bovenliggende b7b42cc588
commit f13b79ec7f
10 gewijzigde bestanden met toevoegingen van 365 en 6 verwijderingen

Bestand weergeven

@@ -1268,13 +1268,13 @@ struct wlan_lmac_if_son_rx_ops {
#ifdef WLAN_FEATURE_11BE_MLO
/**
* struct wlan_lmac_if_mlo_tx_ops - south bound tx function pointers for mlo
* @mlo_attach: function to register event handlers with FW
* @mlo_detach: function to de-register event handlers with FW
* @register_events: function to register event handlers with FW
* @unregister_events: function to de-register event handlers with FW
* @link_set_active: function to send mlo link set active command to FW
*/
struct wlan_lmac_if_mlo_tx_ops {
QDF_STATUS (*mlo_attach)(struct wlan_objmgr_psoc *psoc);
QDF_STATUS (*mlo_detach)(struct wlan_objmgr_psoc *psoc);
QDF_STATUS (*register_events)(struct wlan_objmgr_psoc *psoc);
QDF_STATUS (*unregister_events)(struct wlan_objmgr_psoc *psoc);
QDF_STATUS (*link_set_active)(struct wlan_objmgr_psoc *psoc,
struct mlo_link_set_active_param *param);
};

Bestand weergeven

@@ -786,6 +786,8 @@ static void
wlan_lmac_if_mlo_mgr_rx_ops_register(struct wlan_lmac_if_rx_ops *rx_ops)
{
/* register handler for received mlo related events */
rx_ops->mlo_rx_ops.process_link_set_active_resp =
mlo_process_link_set_active_resp;
}
#else
static void