qcacld-3.0: Add config to enable/disable 5GL+5GH MLSR

By default 5GL+5GH MLSR is allowed if mlo_5gl_5gh_mlsr
is set to 1.

Change-Id: Ie881160900babc900e42007b9eb6bc2edb09cdec
CRs-Fixed: 3662634
This commit is contained in:
Aasir Rasheed
2023-11-10 12:31:28 +05:30
committed by Ravindra Konda
父節點 4c076e13f3
當前提交 3ce28bb3b3
共有 5 個文件被更改,包括 55 次插入0 次删除

查看文件

@@ -1715,6 +1715,16 @@ QDF_STATUS wlan_mlme_set_sta_mlo_conn_band_bmp(struct wlan_objmgr_psoc *psoc,
return QDF_STATUS_SUCCESS;
}
bool wlan_mlme_is_5gl_5gh_mlsr_supported(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.sta.mlo_5gl_5gh_mlsr;
}
void
wlan_mlme_get_mlo_prefer_percentage(struct wlan_objmgr_psoc *psoc,
int8_t *mlo_prefer_percentage)