qcacmn: Move scoring logic to connection manager

Move bss scoring logic to connection manager.

Change-Id: If8484ec2fa8b3e2d153ae4a6caed76f3354b8965
CRs-Fixed: 2707106
This commit is contained in:
gaurank kathpalia
2020-05-29 03:28:42 +05:30
committed by nshrivas
父節點 e85e67ce9b
當前提交 506f49a0ff
共有 18 個文件被更改,包括 2612 次插入1262 次删除

查看文件

@@ -25,6 +25,7 @@
#include <wlan_ftm_init_deinit_api.h>
#include <wlan_mgmt_txrx_utils_api.h>
#include <wlan_serialization_api.h>
#include "wlan_psoc_mlme_api.h"
#include <include/wlan_mlme_cmn.h>
#ifdef WLAN_ATF_ENABLE
#include <wlan_atf_utils_api.h>
@@ -1148,8 +1149,13 @@ QDF_STATUS dispatcher_psoc_open(struct wlan_objmgr_psoc *psoc)
if (status != QDF_STATUS_SUCCESS && status != QDF_STATUS_COMP_DISABLED)
goto spectral_psoc_open_fail;
if (QDF_IS_STATUS_ERROR(mlme_psoc_open(psoc)))
goto mlme_psoc_open_fail;
return QDF_STATUS_SUCCESS;
mlme_psoc_open_fail:
spectral_psoc_close(psoc);
spectral_psoc_open_fail:
dcs_psoc_close(psoc);
dcs_psoc_open_fail:
@@ -1178,6 +1184,8 @@ QDF_STATUS dispatcher_psoc_close(struct wlan_objmgr_psoc *psoc)
{
QDF_STATUS status;
QDF_BUG(QDF_STATUS_SUCCESS == mlme_psoc_close(psoc));
QDF_BUG(QDF_STATUS_SUCCESS == dcs_psoc_close(psoc));
QDF_BUG(QDF_STATUS_SUCCESS == dispatcher_coex_psoc_close(psoc));