From 56d5e0b7e03d55bbf400ee9d8ecc28fde393e452 Mon Sep 17 00:00:00 2001 From: Naveen Rawat Date: Tue, 13 Feb 2018 12:05:25 -0800 Subject: [PATCH] qcacld-3.0: Allow tx/rx chainmask value to be 3 Allow tx/rx chainmask value to be 3, which indicates use both chains. Change-Id: I95779ff97dca6538312177443163dc7276985fb9 CRs-Fixed: 2183831 --- core/hdd/inc/wlan_hdd_cfg.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_cfg.h b/core/hdd/inc/wlan_hdd_cfg.h index 8e35e530c2af..a9b3d9c18062 100644 --- a/core/hdd/inc/wlan_hdd_cfg.h +++ b/core/hdd/inc/wlan_hdd_cfg.h @@ -5300,8 +5300,8 @@ enum hdd_link_speed_rpt_type { * * gSetTxChainmask1x1 - Sets Transmit chain mask. * @Min: 1 - * @Max: 2 - * @Default: 1 + * @Max: 3 + * @Default: 0 * * This ini Sets Transmit chain mask. * @@ -5311,6 +5311,7 @@ enum hdd_link_speed_rpt_type { * chain0 is selected for both Tx and Rx. * gSetTxChainmask1x1=1 or gSetRxChainmask1x1=1 to select chain0. * gSetTxChainmask1x1=2 or gSetRxChainmask1x1=2 to select chain1. + * gSetTxChainmask1x1=3 or gSetRxChainmask1x1=3 to select both chains. * * Supported Feature: 11AC * @@ -5321,15 +5322,15 @@ enum hdd_link_speed_rpt_type { #define CFG_VHT_ENABLE_1x1_TX_CHAINMASK "gSetTxChainmask1x1" #define CFG_VHT_ENABLE_1x1_TX_CHAINMASK_MIN (0) -#define CFG_VHT_ENABLE_1x1_TX_CHAINMASK_MAX (2) +#define CFG_VHT_ENABLE_1x1_TX_CHAINMASK_MAX (3) #define CFG_VHT_ENABLE_1x1_TX_CHAINMASK_DEFAULT (0) /* * * gSetRxChainmask1x1 - Sets Receive chain mask. * @Min: 1 - * @Max: 2 - * @Default: 1 + * @Max: 3 + * @Default: 0 * * This ini is used to set Receive chain mask. * @@ -5339,6 +5340,7 @@ enum hdd_link_speed_rpt_type { * chain0 is selected for both Tx and Rx. * gSetTxChainmask1x1=1 or gSetRxChainmask1x1=1 to select chain0. * gSetTxChainmask1x1=2 or gSetRxChainmask1x1=2 to select chain1. + * gSetTxChainmask1x1=3 or gSetRxChainmask1x1=3 to select both chains. * * Supported Feature: 11AC * @@ -5349,7 +5351,7 @@ enum hdd_link_speed_rpt_type { #define CFG_VHT_ENABLE_1x1_RX_CHAINMASK "gSetRxChainmask1x1" #define CFG_VHT_ENABLE_1x1_RX_CHAINMASK_MIN (0) -#define CFG_VHT_ENABLE_1x1_RX_CHAINMASK_MAX (2) +#define CFG_VHT_ENABLE_1x1_RX_CHAINMASK_MAX (3) #define CFG_VHT_ENABLE_1x1_RX_CHAINMASK_DEFAULT (0) /*