qcacld-3.0: Fix default value of beamformee STS Capability for SAP
A VHT beamformee shall indicate the maximum number of space-time streams it can receive in a VHT NDP in the Beamformee STS Capability subfield of the VHT Capabilities Information field of the VHT Capabilities element. The SAP is advertising STS value as 8 in both 2G and 5G band. This may cause IOT issues. Fix the default value of beamformee STS capability value as default value 3 for SAP. Change-Id: I026eabeea941a33f1ffab6e498e6de90e182320e CRs-Fixed: 2448390
This commit is contained in:

committed by
nshrivas

parent
48a887afae
commit
6fc0a9a120
@@ -41,6 +41,16 @@
|
||||
#define CFG_VHT_TX_MCS_MAP_STAMAX 0xFFFF
|
||||
#define CFG_VHT_TX_MCS_MAP_STADEF 0xFFFE
|
||||
|
||||
/*
|
||||
* MLME_CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_FW_DEF + 1 is
|
||||
* assumed to be the default fw supported BF antennas, if fw
|
||||
* says it supports 8 antennas in rx ready event and if
|
||||
* gTxBFCsnValue INI value is configured above 3, set
|
||||
* the same to MLME_CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED.
|
||||
* Otherwise, fall back and set fw default value[3].
|
||||
*/
|
||||
#define MLME_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_FW_DEF 3
|
||||
|
||||
#define CFG_STR_DATA_LEN 17
|
||||
#define CFG_EDCA_DATA_LEN 17
|
||||
#define CFG_MAX_TX_POWER_2_4_LEN 128
|
||||
|
@@ -1994,12 +1994,10 @@ int hdd_update_tgt_cfg(hdd_handle_t hdd_handle, struct wma_tgt_cfg *cfg)
|
||||
hdd_err("set tx_bfee_ant_supp failed");
|
||||
}
|
||||
|
||||
if ((value >
|
||||
WNI_CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_FW_DEF) &&
|
||||
if ((value > MLME_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_FW_DEF) &&
|
||||
!cfg->tx_bfee_8ss_enabled) {
|
||||
status =
|
||||
ucfg_mlme_cfg_set_vht_tx_bfee_ant_supp(hdd_ctx->psoc,
|
||||
WNI_CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_FW_DEF);
|
||||
status = ucfg_mlme_cfg_set_vht_tx_bfee_ant_supp(hdd_ctx->psoc,
|
||||
MLME_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_FW_DEF);
|
||||
if (QDF_IS_STATUS_ERROR(status)) {
|
||||
status = false;
|
||||
hdd_err("set tx_bfee_ant_supp failed");
|
||||
|
@@ -73,7 +73,6 @@
|
||||
* the same to WNI_CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED.
|
||||
* Otherwise, fall back and set fw default value[3].
|
||||
*/
|
||||
#define WNI_CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_FW_DEF 3
|
||||
|
||||
#define WNI_CFG_WPS_ENABLE_AP 1
|
||||
|
||||
|
@@ -16663,7 +16663,7 @@ QDF_STATUS csr_send_mb_start_bss_req_msg(struct mac_context *mac, uint32_t
|
||||
pMsg->vht_config.su_beam_formee =
|
||||
(uint8_t)value &&
|
||||
(uint8_t)mac->mlme_cfg->vht_caps.vht_cap_info.tx_bfee_sap;
|
||||
value = mac->mlme_cfg->vht_caps.vht_cap_info.tx_bfee_ant_supp;
|
||||
value = MLME_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_FW_DEF;
|
||||
pMsg->vht_config.csnof_beamformer_antSup = (uint8_t)value;
|
||||
pMsg->vht_config.mu_beam_formee = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user