mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
qcacld-3.0: enable shortgi for assoc req based on ap capabilities
Currently shortgi 20/40 values are updated with ini configured values irrespective of ap capabilities. This change fills shortgi values based on ap capabilities if it is enabled in ini. Change-Id: I6a590e5c0981fab61dcbcf06cf22fda70d833fd7 CRs-Fixed: 2867232
This commit is contained in:
parent
d36de63654
commit
65d897bce7
1 changed files with 11 additions and 0 deletions
|
|
@ -15706,6 +15706,17 @@ QDF_STATUS csr_send_join_req_msg(struct mac_context *mac, uint32_t sessionId,
|
|||
bss_freq,
|
||||
mac->mlme_cfg->ht_caps.
|
||||
ht_cap_info.adv_coding_cap);
|
||||
|
||||
if (pProfile->csrPersona == QDF_STA_MODE) {
|
||||
if (pSession->ht_config.ht_sgi20)
|
||||
pSession->ht_config.ht_sgi20 =
|
||||
pIes->HTCaps.shortGI20MHz;
|
||||
|
||||
if (pSession->ht_config.ht_sgi40)
|
||||
pSession->ht_config.ht_sgi40 =
|
||||
pIes->HTCaps.shortGI40MHz;
|
||||
}
|
||||
|
||||
csr_join_req->ht_config = pSession->ht_config;
|
||||
csr_join_req->vht_config = pSession->vht_config;
|
||||
sme_debug("ht capability 0x%x VHT capability 0x%x",
|
||||
|
|
|
|||
Loading…
Reference in a new issue