qcacmn: Add infra to support DBAM feature
Add infra to support Dedicated Bluetooth Antenna Mode (DBAM) feature. It is used to switch between dedicated antenna for BT and shared antenna for WLAN and BT. Change-Id: I21688093674ef9b63ee811df9168a31bd71c56b5 CRs-Fixed: 3239895
此提交包含在:
@@ -1007,6 +1007,28 @@ dispatcher_coex_psoc_close(struct wlan_objmgr_psoc *psoc)
|
||||
}
|
||||
#endif /* FEATURE_COEX */
|
||||
|
||||
#ifdef WLAN_FEATURE_DBAM_CONFIG
|
||||
static QDF_STATUS dbam_psoc_enable(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return wlan_dbam_psoc_enable(psoc);
|
||||
}
|
||||
|
||||
static QDF_STATUS dbam_psoc_disable(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return wlan_dbam_psoc_disable(psoc);
|
||||
}
|
||||
#else
|
||||
static QDF_STATUS dbam_psoc_enable(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static QDF_STATUS dbam_psoc_disable(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
#endif /* WLAN_FEATURE_DBAM_CONFIG */
|
||||
|
||||
#ifdef WLAN_FEATURE_11BE_MLO
|
||||
static QDF_STATUS mlo_mgr_psoc_enable(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
@@ -1423,8 +1445,13 @@ QDF_STATUS dispatcher_psoc_enable(struct wlan_objmgr_psoc *psoc)
|
||||
if (QDF_STATUS_SUCCESS != dispatcher_twt_psoc_enable(psoc))
|
||||
goto twt_psoc_enable_fail;
|
||||
|
||||
if (QDF_STATUS_SUCCESS != dbam_psoc_enable(psoc))
|
||||
goto dbam_psoc_enable_fail;
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
|
||||
dbam_psoc_enable_fail:
|
||||
dispatcher_twt_psoc_disable(psoc);
|
||||
twt_psoc_enable_fail:
|
||||
mlo_mgr_psoc_disable(psoc);
|
||||
mlo_mgr_psoc_enable_fail:
|
||||
@@ -1464,6 +1491,8 @@ QDF_STATUS dispatcher_psoc_disable(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
QDF_STATUS status;
|
||||
|
||||
QDF_BUG(QDF_STATUS_SUCCESS == dbam_psoc_disable(psoc));
|
||||
|
||||
QDF_BUG(QDF_STATUS_SUCCESS == dispatcher_twt_psoc_disable(psoc));
|
||||
|
||||
QDF_BUG(QDF_STATUS_SUCCESS == mlo_mgr_psoc_disable(psoc));
|
||||
|
新增問題並參考
封鎖使用者