From 7fef54a8ac42ff6bcb62cd68ea606a8fea5f5dbb Mon Sep 17 00:00:00 2001 From: Ajit Pal Singh Date: Wed, 9 Oct 2019 18:32:16 +0530 Subject: [PATCH] qcacld-3.0: usb: Make HTC_MAX_MSG_PER_BUNDLE_TX configurable Make HTC_MAX_MSG_PER_BUNDLE_TX configurable through config files. Also set HTC_MAX_MSG_PER_BUNDLE_TX to 48 for QCN7605 usb. Change-Id: If6616251f536c35db087d5623a81c8a3f02da725 CRs-Fixed: 2544743 --- Kbuild | 4 ++++ configs/genoa.usb.debug_defconfig | 1 + configs/genoa.usb.perf_defconfig | 1 + 3 files changed, 6 insertions(+) diff --git a/Kbuild b/Kbuild index cbff722ce801..ce077cf5bafb 100644 --- a/Kbuild +++ b/Kbuild @@ -2825,6 +2825,10 @@ ifdef CONFIG_TGT_NUM_MSDU_DESC ccflags-y += -DCFG_TGT_NUM_MSDU_DESC=$(CONFIG_TGT_NUM_MSDU_DESC) endif +ifdef CONFIG_HTC_MAX_MSG_PER_BUNDLE_TX +ccflags-y += -DCFG_HTC_MAX_MSG_PER_BUNDLE_TX=$(CONFIG_HTC_MAX_MSG_PER_BUNDLE_TX) +endif + ifdef CONFIG_CFG_ROAM_OFFLOAD_MAX_VDEV ccflags-y += -DCFG_TGT_DEFAULT_ROAM_OFFLOAD_MAX_VDEV=$(CONFIG_CFG_ROAM_OFFLOAD_MAX_VDEV) endif diff --git a/configs/genoa.usb.debug_defconfig b/configs/genoa.usb.debug_defconfig index 1184b9a6c937..38dc89492bc7 100644 --- a/configs/genoa.usb.debug_defconfig +++ b/configs/genoa.usb.debug_defconfig @@ -62,4 +62,5 @@ CONFIG_QCN7605_SUPPORT := y CONFIG_TGT_NUM_MSDU_DESC := 0 # For OOB wakeup CONFIG_WLAN_FEATURE_WOW_PULSE := y +CONFIG_HTC_MAX_MSG_PER_BUNDLE_TX := 48 ################################### diff --git a/configs/genoa.usb.perf_defconfig b/configs/genoa.usb.perf_defconfig index 6d2772738c3f..4957eb8a756d 100644 --- a/configs/genoa.usb.perf_defconfig +++ b/configs/genoa.usb.perf_defconfig @@ -67,4 +67,5 @@ CONFIG_QCN7605_SUPPORT := y CONFIG_TGT_NUM_MSDU_DESC := 0 # For OOB wakeup CONFIG_WLAN_FEATURE_WOW_PULSE := y +CONFIG_HTC_MAX_MSG_PER_BUNDLE_TX := 48 ###################################