diff --git a/core/wma/src/wma_mgmt.c b/core/wma/src/wma_mgmt.c index 8bf1f31399..fcd73f9152 100644 --- a/core/wma/src/wma_mgmt.c +++ b/core/wma/src/wma_mgmt.c @@ -1379,6 +1379,14 @@ static void wma_set_mlo_capability(tp_wma_handle wma, params->msd_caps.med_sync_max_txop_num; req->mlo_params.link_switch_in_progress = wlan_vdev_mlme_is_mlo_link_switch_in_progress(vdev); + /* + * Set max simultaneous links = 1 for MLSR, 2 for MLMR. The +1 + * is added as per the agreement with FW for backward + * compatibility purposes. Our internal structures still + * conform to the values as per spec i.e. 0 = MLSR, 1 = MLMR. + */ + req->mlo_params.max_num_simultaneous_links = + wlan_mlme_get_sta_mlo_simultaneous_links(psoc) + 1; } else { wma_debug("Peer MLO context is NULL"); req->mlo_params.mlo_enabled = false;