qcacld-3.0: Enable D0WOW for pcie
Enable FEATURE_WLAN_DOWOW for pcie. This is for backward compatible with rome fw. Change-Id: Ia2107ff6939666b4a0bd19d57149d17814f2dfb5 CRs-Fixed: 2070426
此提交包含在:
@@ -432,6 +432,24 @@ QDF_STATUS target_if_pmo_psoc_send_host_wakeup_ind(
|
||||
QDF_STATUS target_if_pmo_psoc_send_target_resume_req(
|
||||
struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
/**
|
||||
* target_if_pmo_psoc_send_d0wow_enable_req() - send d0 wow enable request
|
||||
* @psoc: objmgr psoc
|
||||
*
|
||||
* Return: return QDF_STATUS_SUCCESS on success else error code
|
||||
*/
|
||||
QDF_STATUS target_if_pmo_psoc_send_d0wow_enable_req(
|
||||
struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
/**
|
||||
* target_if_pmo_psoc_send_d0wow_disable_req() - send d0 wow disable request
|
||||
* @psoc: objmgr psoc
|
||||
*
|
||||
* Return: return QDF_STATUS_SUCCESS on success else error code
|
||||
*/
|
||||
QDF_STATUS target_if_pmo_psoc_send_d0wow_disable_req(
|
||||
struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
/**
|
||||
* target_if_pmo_register_tx_ops() - Register PMO component TX OPS
|
||||
* @tx_ops: PMO if transmit ops
|
||||
|
@@ -99,6 +99,10 @@ void target_if_pmo_register_tx_ops(struct wlan_pmo_tx_ops *pmo_tx_ops)
|
||||
target_if_pmo_psoc_send_host_wakeup_ind;
|
||||
pmo_tx_ops->psoc_send_target_resume_req =
|
||||
target_if_pmo_psoc_send_target_resume_req;
|
||||
pmo_tx_ops->psoc_send_d0wow_enable_req =
|
||||
target_if_pmo_psoc_send_d0wow_enable_req;
|
||||
pmo_tx_ops->psoc_send_d0wow_disable_req =
|
||||
target_if_pmo_psoc_send_d0wow_disable_req;
|
||||
pmo_tx_ops->send_set_pkt_filter =
|
||||
target_if_pmo_send_pkt_filter_req;
|
||||
pmo_tx_ops->send_clear_pkt_filter =
|
||||
|
@@ -183,3 +183,30 @@ QDF_STATUS target_if_pmo_psoc_send_target_resume_req(
|
||||
TGT_WILDCARD_PDEV_ID);
|
||||
}
|
||||
|
||||
#ifdef FEATURE_WLAN_D0WOW
|
||||
QDF_STATUS target_if_pmo_psoc_send_d0wow_enable_req(
|
||||
struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return wmi_unified_d0wow_enable_send(GET_WMI_HDL_FROM_PSOC(psoc),
|
||||
TGT_WILDCARD_PDEV_ID);
|
||||
}
|
||||
|
||||
QDF_STATUS target_if_pmo_psoc_send_d0wow_disable_req(
|
||||
struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return wmi_unified_d0wow_disable_send(GET_WMI_HDL_FROM_PSOC(psoc),
|
||||
TGT_WILDCARD_PDEV_ID);
|
||||
}
|
||||
#else
|
||||
QDF_STATUS target_if_pmo_psoc_send_d0wow_enable_req(
|
||||
struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
QDF_STATUS target_if_pmo_psoc_send_d0wow_disable_req(
|
||||
struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
#endif
|
||||
|
新增問題並參考
封鎖使用者