wlan: Disable aggregation in BTC SCO if gNumBuffBTCSco is 1
Aggregation buff size of 1 is not handled by firmware and thus
limit the gNumBuffBTCSco values to greater than 1 and consider 1 as
aggregation disabled.
Change-Id: I48218314dce4bac908930f289e080fad3cfa1a39
CRs-Fixed: 2177897
diff --git a/CORE/HDD/inc/wlan_hdd_cfg.h b/CORE/HDD/inc/wlan_hdd_cfg.h
index e14d5e0..049df4e 100644
--- a/CORE/HDD/inc/wlan_hdd_cfg.h
+++ b/CORE/HDD/inc/wlan_hdd_cfg.h
@@ -3160,15 +3160,18 @@
/*
* gNumBuffBTCSco is used to set block ack buffer size for
- * aggregation during SCO. If this is set to 0, aggregation
+ * aggregation during SCO. If this is set to 0 or 1, aggregation
* during SCO feature is disabled. To enable aggregation
- * during SCO, gNumBuffBTCSco should be set to non zero value.
+ * during SCO, gNumBuffBTCSco should be set to be greater than 1.
*/
+#define CFG_NUM_BUFF_BTC_SCO_INVALID 1
+
#define CFG_NUM_BUFF_BTC_SCO_NAME "gNumBuffBTCSco"
#define CFG_NUM_BUFF_BTC_SCO_MIN (0)
#define CFG_NUM_BUFF_BTC_SCO_MAX (10)
#define CFG_NUM_BUFF_BTC_SCO_DEFAULT (0)
+
/* Value for ENABLE_POWERSAVE_OFFLOAD*/
#define CFG_ENABLE_POWERSAVE_OFFLOAD_NAME "gEnablePowerSaveOffload"
#define CFG_ENABLE_POWERSAVE_OFFLOAD_MIN (1)