qcacld-3.0: Fix HE Tx beamforming cfg parameter values

HE Tx beamforming config parameter setting fails due to incorrect
value range. Correct the HE Tx beamforming config parameter values

Change-Id: Idb0ada45417467122bd7473cca07d15cf54fd3cc
CRs-Fixed: 2244247
This commit is contained in:
Kiran Kumar Lokere 2018-05-17 16:26:26 -07:00 • committed by nshrivas
commit a48cae1f5f
3 changed files with 7 additions and 7 deletions

View file

@ -1459,11 +1459,11 @@ enum {
#define WNI_CFG_HE_MU_BEAMFORMER_STAMAX 1
#define WNI_CFG_HE_MU_BEAMFORMER_STADEF 0
#define WNI_CFG_HE_BFEE_STS_LT80_STAMIN 0x3
#define WNI_CFG_HE_BFEE_STS_LT80_STAMIN 0
#define WNI_CFG_HE_BFEE_STS_LT80_STAMAX 0x7
#define WNI_CFG_HE_BFEE_STS_LT80_STADEF 0
#define WNI_CFG_HE_BFEE_STS_GT80_STAMIN 0x3
#define WNI_CFG_HE_BFEE_STS_GT80_STAMIN 0
#define WNI_CFG_HE_BFEE_STS_GT80_STAMAX 0x7
#define WNI_CFG_HE_BFEE_STS_GT80_STADEF 0

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2017 The Linux Foundation. All rights reserved.
* Copyright (c) 2011-2018 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@ -257,9 +257,10 @@ tSirRetStatus cfg_set_int(tpAniSirGlobal pMac, uint16_t cfgId, uint32_t value)
if ((pMac->cfg.gCfgIBufMin[index] > value) ||
(pMac->cfg.gCfgIBufMax[index] < value)) {
pe_warn("Value: %d out of range: [%d,%d] cfg id: %d", value,
pMac->cfg.gCfgIBufMin[index],
pMac->cfg.gCfgIBufMax[index], cfgId);
pe_warn("Value: %d out of range: [%d,%d] cfg id: %d, %s",
value, pMac->cfg.gCfgIBufMin[index],
pMac->cfg.gCfgIBufMax[index], cfgId,
cfg_get_string(cfgId));
return eSIR_CFG_INVALID_ID;
} else {
/* Write integer value */

View file

@ -1178,7 +1178,6 @@ cgstatic cfg_static[CFG_PARAM_MAX_NUM] = {
WNI_CFG_HE_MU_PPDU_STADEF},
{WNI_CFG_HE_SU_BEAMFORMER,
CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
WNI_CFG_HE_SU_BEAMFORMER_STAMIN, WNI_CFG_HE_SU_BEAMFORMER_STAMAX,
WNI_CFG_HE_SU_BEAMFORMER_STADEF},
{WNI_CFG_HE_SU_BEAMFORMEE,