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
This commit is contained in:
@@ -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
|
||||
|
Fai riferimento in un nuovo problema
Block a user