mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacld-3.0: Fix the issue with VHT SGI settings in SAP mode
SGI setting for 80 and 160MHz are not advertised due to checking the wrong channel width parameter in the session entry. Check the correct channel width parameter to advertise the SGI support in 80MHz and 160MHz Change-Id: Ia0c2096f243b649088a9dc5ed5e5374cea972e51 CRs-Fixed: 1000145
This commit is contained in:
parent
0799875341
commit
6d2b488d48
1 changed files with 2 additions and 4 deletions
|
|
@ -977,8 +977,7 @@ populate_dot11f_vht_caps(tpAniSirGlobal pMac,
|
|||
nCfgValue);
|
||||
|
||||
pDot11f->ldpcCodingCap = (nCfgValue & 0x0001);
|
||||
if (psessionEntry->vhtTxChannelWidthSet <
|
||||
WNI_CFG_VHT_CHANNEL_WIDTH_80MHZ) {
|
||||
if (psessionEntry->ch_width < CH_WIDTH_80MHZ) {
|
||||
pDot11f->shortGI80MHz = 0;
|
||||
} else {
|
||||
nCfgValue = 0;
|
||||
|
|
@ -989,8 +988,7 @@ populate_dot11f_vht_caps(tpAniSirGlobal pMac,
|
|||
pDot11f->shortGI80MHz = (nCfgValue & 0x0001);
|
||||
}
|
||||
|
||||
if (psessionEntry->vhtTxChannelWidthSet <
|
||||
WNI_CFG_VHT_CHANNEL_WIDTH_160MHZ) {
|
||||
if (psessionEntry->ch_width < CH_WIDTH_160MHZ) {
|
||||
pDot11f->shortGI160and80plus80MHz = 0;
|
||||
} else {
|
||||
nCfgValue = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue