qcacmn: WAR for opt_wifi_dp feature to disable IPA(1)

IPA_OFFLOAD will be enabled by  default for MSM.
This is a WAR to disable IPA offload during compile
time, based on the IPA_WDI_OPT_DPATH feature flag from IPA.
If the flag is not defined in the IPA test
module file, IPA offload path will be disabled.
This is a WAR, and will be fixed once a Kernel config is
available to enable or disable the optional wifi datapath
feature.

Change-Id: I7aad275f4d86a2ffc239f1fe343de31ec2988fad
CRs-Fixed: 3431972
This commit is contained in:
Namita Nair
2023-03-14 12:40:30 -07:00
committed by Madan Koyyalamudi
parent d252ffb791
commit d33baafbe5
12 changed files with 26 additions and 13 deletions

View File

@@ -15,8 +15,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef IPA_OFFLOAD
#include <wlan_ipa_ucfg_api.h>
#include <wlan_ipa_core.h>
#include <qdf_ipa_wdi3.h>
@@ -42,6 +40,8 @@
#include "dp_txrx_wds.h"
#endif
#ifdef IPA_OFFLOAD
/* Hard coded config parameters until dp_ops_cfg.cfg_attach implemented */
#define CFG_IPA_UC_TX_BUF_SIZE_DEFAULT (2048)