瀏覽代碼

qcacld-3.0: populate num_max_mlo_link_per_ml_bss during WMI init

Set num_max_mlo_link_per_ml_bss during WMI init command.

Change-Id: I2eb5473d73476cb49ba9176be68a0ac20b3e44ba
CRs-Fixed: 3512395
Deeksha Gupta 1 年之前
父節點
當前提交
e139bd3f3b
共有 2 個文件被更改,包括 8 次插入0 次删除
  1. 6 0
      components/mlme/dispatcher/inc/wlan_mlme_api.h
  2. 2 0
      core/wma/src/wma_main.c

+ 6 - 0
components/mlme/dispatcher/inc/wlan_mlme_api.h

@@ -4010,6 +4010,12 @@ wlan_mlme_set_sta_mlo_conn_max_num(struct wlan_objmgr_psoc *psoc,
 	return QDF_STATUS_SUCCESS;
 }
 
+static inline uint8_t
+wlan_mlme_get_sta_mlo_conn_max_num(struct wlan_objmgr_psoc *psoc)
+{
+	return 0;
+}
+
 static inline QDF_STATUS
 wlan_mlme_set_sta_mlo_simultaneous_links(struct wlan_objmgr_psoc *psoc,
 					 uint8_t value)

+ 2 - 0
core/wma/src/wma_main.c

@@ -652,6 +652,8 @@ static void wma_set_default_tgt_config(tp_wma_handle wma_handle,
 		ucfg_pmo_get_go_mode_bus_suspend(wma_handle->psoc);
 	tgt_cfg->num_max_active_vdevs =
 		policy_mgr_get_max_conc_cxns(wma_handle->psoc);
+	tgt_cfg->num_max_mlo_link_per_ml_bss =
+		wlan_mlme_get_sta_mlo_conn_max_num(wma_handle->psoc);
 	cfg_nan_get_max_ndi(wma_handle->psoc,
 			    &tgt_cfg->max_ndi);