mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
qcacld-3.0: Fix TDLS VHT channel width information
TDLS VHT channel width information can be read from session entry, but the value needs to be readjusted as per our protocol stack implementation. Add changes in the host driver to fix TDLS VHT channel width information. Change-Id: I8797b298e46213ace014557697a449ea4ae560b6 CRs-fixed: 1044693
This commit is contained in:
parent
2eeaf6af91
commit
b76eff2ede
1 changed files with 8 additions and 2 deletions
|
|
@ -2388,9 +2388,15 @@ static void lim_tdls_update_hash_node_info(tpAniSirGlobal pMac,
|
|||
* width of the BSS to which the TDLS peer STAs are
|
||||
* associated.
|
||||
*/
|
||||
pStaDs->vhtSupportedChannelWidthSet = psessionEntry->ch_width;
|
||||
if (psessionEntry->ch_width)
|
||||
pStaDs->vhtSupportedChannelWidthSet =
|
||||
psessionEntry->ch_width - 1;
|
||||
else
|
||||
pStaDs->vhtSupportedChannelWidthSet =
|
||||
psessionEntry->ch_width;
|
||||
|
||||
lim_log(pMac, LOG1, FL("vhtSupportedChannelWidthSet = %hu, htSupportedChannelWidthSet %hu"),
|
||||
pStaDs->htSupportedChannelWidthSet,
|
||||
pStaDs->vhtSupportedChannelWidthSet,
|
||||
pStaDs->htSupportedChannelWidthSet);
|
||||
|
||||
pStaDs->vhtLdpcCapable = pVhtCaps->ldpcCodingCap;
|
||||
|
|
|
|||
Loading…
Reference in a new issue