qcacld-3.0: Disable SAP/GO D3 WoW features if IPA is enabled

SAP/GO D3 WoW feature is not supported when IPA is enabled and hence
disable SAP/GO D3 WoW features when IPA is enabled.

Change-Id: Ia3da37087a0ca79c81c546f43a0893e46cf08c3c
CRs-Fixed: 3015104
这个提交包含在:
Rajeev Kumar
2021-08-16 10:36:31 -07:00
提交者 Madan Koyyalamudi
父节点 21d1e86216
当前提交 9227d006fc
修改 2 个文件,包含 25 行新增1 行删除

查看文件

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2018, 2020-2021 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -24,6 +24,7 @@
#include "wlan_ipa_public_struct.h"
#include "wlan_objmgr_pdev_obj.h"
#include "wlan_ipa_main.h"
#ifdef IPA_OFFLOAD
@@ -57,6 +58,17 @@ QDF_STATUS ipa_register_is_ipa_ready(struct wlan_objmgr_pdev *pdev);
*/
void ipa_disable_register_cb(void);
/**
* wlan_ipa_config_is_enabled() - api to get IPA enable status
*
* Return: true - ipa is enabled
* false - ipa is not enabled
*/
static inline bool wlan_ipa_config_is_enabled(void)
{
return ipa_config_is_enabled();
}
#else
static inline QDF_STATUS ipa_init(void)
@@ -78,6 +90,12 @@ static inline QDF_STATUS ipa_register_is_ipa_ready(
static inline void ipa_disable_register_cb(void)
{
}
static inline bool wlan_ipa_config_is_enabled(void)
{
return false;
}
#endif /* IPA_OFFLOAD */
#endif /* _WLAN_IPA_OBJ_MGMT_H_ */