mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
qcacld-3.0: Get self SU and MU beamformee cap from cfg
Get self SU and MU beamformee cap from cfg in function populate_dot11f_vht_caps in case of session is NULL so that absolute self cap will reflect values that are intersection of ini configuration and firmware capability. Change-Id: Ic177382e6922e4c117cb01c78dd9b16437659496 CRs-Fixed: 1082131
This commit is contained in:
parent
ecc81df033
commit
bc17724e7a
1 changed files with 9 additions and 2 deletions
|
|
@ -1052,8 +1052,15 @@ populate_dot11f_vht_caps(tpAniSirGlobal pMac,
|
|||
CFG_GET_INT(nStatus, pMac, WNI_CFG_VHT_RXSTBC, nCfgValue);
|
||||
pDot11f->rxSTBC = (nCfgValue & 0x0007);
|
||||
|
||||
pDot11f->suBeamformeeCap = 0;
|
||||
pDot11f->muBeamformeeCap = 0;
|
||||
nCfgValue = 0;
|
||||
CFG_GET_INT(nStatus, pMac,
|
||||
WNI_CFG_VHT_SU_BEAMFORMEE_CAP, nCfgValue);
|
||||
pDot11f->suBeamformeeCap = (nCfgValue & 0x0001);
|
||||
|
||||
nCfgValue = 0;
|
||||
CFG_GET_INT(nStatus, pMac,
|
||||
WNI_CFG_VHT_MU_BEAMFORMEE_CAP, nCfgValue);
|
||||
pDot11f->muBeamformeeCap = (nCfgValue & 0x0001);
|
||||
|
||||
nCfgValue = 0;
|
||||
CFG_GET_INT(nStatus, pMac, WNI_CFG_VHT_SU_BEAMFORMER_CAP,
|
||||
|
|
|
|||
Loading…
Reference in a new issue