qcacld-3.0: Higher Bandwidth support 80/80+80/160 in 2.4 GHz Band

Higher Bandwidth support 80/80+80/160 is enabled on 2.4 GHz Band.

Modififed the population of peer capability logic to disable
80+80/160 based on the band.

Change-Id: I8319ef3fcd93676bca1115a088a926a772545d24
CRs-Fixed: 3030837
This commit is contained in:
Surya Prakash Sivaraj 2023-12-07 15:34:00 +05:30 • committed by Ravindra Konda
commit 8a29e58646
2 changed files with 10 additions and 1 deletions

View file

@ -1195,6 +1195,9 @@ populate_dot11f_vht_caps(struct mac_context *mac,
return QDF_STATUS_SUCCESS;
}
if (wlan_reg_is_24ghz_ch_freq(pe_session->curr_op_freq))
pDot11f->supportedChannelWidthSet = 0;
if (pe_session->ht_config.ht_rx_ldpc)
pDot11f->ldpcCodingCap =
pe_session->vht_config.ldpc_coding;

View file

@ -16408,8 +16408,14 @@ QDF_STATUS csr_send_mb_start_bss_req_msg(struct mac_context *mac, uint32_t
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;
/* Disable shortgi160 and 80 for 2.4Ghz BSS*/
if (wlan_reg_is_24ghz_ch_freq(pParam->operation_chan_freq)) {
pMsg->vht_config.shortgi160and80plus80 = 0;
pMsg->vht_config.shortgi80 = 0;
}
sme_debug("ht capability 0x%x VHT capability 0x%x",
sme_debug("cur_op_freq %d ht capability 0x%x VHT capability 0x%x",
pParam->operation_chan_freq,
(*(uint32_t *) &pMsg->ht_config),
(*(uint32_t *) &pMsg->vht_config));
#ifdef WLAN_FEATURE_11W