qcacld-3.0: Fix the issue with SU Tx beamformer cfg setting

There are two cfg setting parameters defined for SU Tx beamformer
and improperly updated the cfg settings hence the Tx beamformer
capability advertised as unsupported always.
Remove the redundant setting for SU Tx beamformer and update the cfg
with correct values.

Change-Id: I422179ae87ab5c561f0356bcab4585fbdc53c0bd
CRs-Fixed: 2343090
This commit is contained in:
Kiran Kumar Lokere
2018-10-31 18:47:33 -07:00
کامیت شده توسط nshrivas
والد 2da56437f1
کامیت fe5c596801
4فایلهای تغییر یافته به همراه3 افزوده شده و 13 حذف شده

مشاهده پرونده

@@ -166,11 +166,6 @@
0, \
"VHT ENABLE TXBF 20MHZ")
#define CFG_VHT_SU_BEAMFORMER_CAP CFG_BOOL( \
"su_bformer", \
0, \
"VHT SU BEAMFORMER CAP")
#define CFG_VHT_MU_BEAMFORMER_CAP CFG_BOOL( \
"mu_bformer", \
0, \
@@ -566,7 +561,6 @@
#define CFG_VHT_CAPS_ALL \
CFG(CFG_VHT_SUPP_CHAN_WIDTH) \
CFG(CFG_VHT_SU_BEAMFORMER_CAP) \
CFG(CFG_VHT_SU_BEAMFORMEE_CAP) \
CFG(CFG_VHT_BEAMFORMEE_ANT_SUPP) \
CFG(CFG_VHT_ENABLE_TX_SU_BEAM_FORMER) \

مشاهده پرونده

@@ -435,7 +435,6 @@ struct wlan_mlme_mbo {
* @tx_supp_data_rate: Tx highest supported data rate
* @basic_mcs_set: Basic MCS set
* @enable_txbf_20mhz: enable tx bf for 20mhz
* @su_bfer: enable VHT tx su beam former
* @channel_width: Channel width capability for 11ac
* @rx_mcs: VHT Rx MCS capability for 1x1 mode
* @tx_mcs: VHT Tx MCS capability for 1x1 mode
@@ -478,7 +477,6 @@ struct mlme_vht_capabilities_info {
uint32_t tx_supp_data_rate;
uint32_t basic_mcs_set;
bool enable_txbf_20mhz;
bool su_bfer;
uint8_t channel_width;
uint32_t rx_mcs;
uint32_t tx_mcs;

مشاهده پرونده

@@ -1589,7 +1589,7 @@ wlan_mlme_get_vht_tx_su_beamformer(struct wlan_objmgr_psoc *psoc, bool *value)
return QDF_STATUS_E_FAILURE;
}
*value = mlme_obj->cfg.vht_caps.vht_cap_info.su_bfer;
*value = mlme_obj->cfg.vht_caps.vht_cap_info.su_bformer;
return QDF_STATUS_SUCCESS;
}