From 3f3000fd73ae61105d13dccc907a7ec9e0812b9d Mon Sep 17 00:00:00 2001 From: Alok Kumar Date: Wed, 28 Nov 2018 19:20:31 +0530 Subject: [PATCH] qcacld-3.0: Add INI parameter for PEER UNMAP CONF SUPPORT Add INI parameter "gEnablePeerUnmapConfSupport" to enable/disable peer unmap confirmation support. When enabled Host will send this support to the FW only if FW support is also enabled. Default Value: False Change-Id: Id368e61b5a99354e25a1fa2a0ff61b1262217521 CRs-Fixed: 2358126 --- core/dp/ol/inc/cfg_legacy_dp.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/core/dp/ol/inc/cfg_legacy_dp.h b/core/dp/ol/inc/cfg_legacy_dp.h index db18655097c5..6ec63092b1a5 100644 --- a/core/dp/ol/inc/cfg_legacy_dp.h +++ b/core/dp/ol/inc/cfg_legacy_dp.h @@ -118,6 +118,19 @@ CFG_INI_BOOL("gCEClassifyEnable", \ true, "enable CE classify") +/* + * + * gEnablePeerUnmapConfSupport - Set PEER UNMAP confirmation support + * Default: false + * 1 - enable 0 - disable + * + * Enable peer unmap confirmation support in the Host. Host will send + * this support to the FW only if FW support is enabled. + */ +#define CFG_DP_ENABLE_PEER_UMAP_CONF_SUPPORT \ + CFG_INI_BOOL("gEnablePeerUnmapConfSupport", \ + false, "enable PEER UNMAP CONF support") + #define CFG_LEGACY_DP_ALL \ CFG(CFG_DP_FLOW_STEERING_ENABLED) \ CFG(CFG_DP_CE_CLASSIFY_ENABLE) \ @@ -125,6 +138,7 @@ CFG(CFG_DP_ENABLE_TX_SCHED_WRR_VO) \ CFG(CFG_DP_ENABLE_TX_SCHED_WRR_VI) \ CFG(CFG_DP_ENABLE_TX_SCHED_WRR_BE) \ - CFG(CFG_DP_ENABLE_TX_SCHED_WRR_BK) + CFG(CFG_DP_ENABLE_TX_SCHED_WRR_BK) \ + CFG(CFG_DP_ENABLE_PEER_UMAP_CONF_SUPPORT) #endif