mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacld-3.0: Revert "qcacld-3.0:Fix the IOT issue with TxBF CSN value"
This reverts The Change-Id: Ifa2872ef62925f99bf49ef504ade4a4bb431672b because this change results slower down the downloading speed of file from the server in weak signal (-70 RSSI) area. Change-Id: Iec7423809f5225de9b5c4d08d7806a8a2a9dfe06 CRs-Fixed: 2270285
This commit is contained in:
parent
b816ce8e7c
commit
3ff56da2fa
1 changed files with 12 additions and 10 deletions
|
|
@ -15299,7 +15299,6 @@ QDF_STATUS csr_send_join_req_msg(tpAniSirGlobal pMac, uint32_t sessionId,
|
|||
tpCsrNeighborRoamControlInfo neigh_roam_info;
|
||||
uint32_t value = 0, value1 = 0;
|
||||
QDF_STATUS packetdump_timer_status;
|
||||
tDot11fIEVHTCaps *vht_caps = NULL;
|
||||
|
||||
if (!pSession) {
|
||||
sme_err("session %d not found", sessionId);
|
||||
|
|
@ -15833,12 +15832,8 @@ QDF_STATUS csr_send_join_req_msg(tpAniSirGlobal pMac, uint32_t sessionId,
|
|||
|
||||
csr_join_req->vht_config.su_beam_formee = value;
|
||||
|
||||
if (pIes->VHTCaps.present)
|
||||
vht_caps = &pIes->VHTCaps;
|
||||
else if (pIes->vendor_vht_ie.VHTCaps.present)
|
||||
vht_caps = &pIes->vendor_vht_ie.VHTCaps;
|
||||
/* Set BF CSN value only if SU Bformee is enabled */
|
||||
if (vht_caps && csr_join_req->vht_config.su_beam_formee) {
|
||||
if (csr_join_req->vht_config.su_beam_formee) {
|
||||
txBFCsnValue = (uint8_t)value1;
|
||||
/*
|
||||
* Certain commercial AP display a bad behavior when
|
||||
|
|
@ -15848,11 +15843,18 @@ QDF_STATUS csr_send_join_req_msg(tpAniSirGlobal pMac, uint32_t sessionId,
|
|||
* CSN cap of less than 4. To avoid such issues, take a
|
||||
* min of self and peer CSN while sending ASSOC request.
|
||||
*/
|
||||
if (pIes->Vendor1IE.present &&
|
||||
vht_caps->csnofBeamformerAntSup < 4) {
|
||||
if (vht_caps->csnofBeamformerAntSup)
|
||||
if (txBFCsnValue < 4) {
|
||||
if (IS_BSS_VHT_CAPABLE(pIes->VHTCaps) &&
|
||||
pIes->VHTCaps.csnofBeamformerAntSup)
|
||||
txBFCsnValue = QDF_MIN(txBFCsnValue,
|
||||
vht_caps->csnofBeamformerAntSup);
|
||||
pIes->VHTCaps.csnofBeamformerAntSup);
|
||||
else if (IS_BSS_VHT_CAPABLE(
|
||||
pIes->vendor_vht_ie.VHTCaps)
|
||||
&& pIes->vendor_vht_ie.VHTCaps.
|
||||
csnofBeamformerAntSup)
|
||||
txBFCsnValue = QDF_MIN(txBFCsnValue,
|
||||
pIes->vendor_vht_ie.
|
||||
VHTCaps.csnofBeamformerAntSup);
|
||||
}
|
||||
}
|
||||
csr_join_req->vht_config.csnof_beamformer_antSup = txBFCsnValue;
|
||||
|
|
|
|||
Loading…
Reference in a new issue