mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
qcacld-3.0: Set channel width for TDLS link on base channel
This is qcacld-2.0 to qcacld-3.0 propagation The htSupportedChannelWidthSet of the TDLS link on base channel should be less than or equal to channel width of STA-AP link. The parameter pStaDs->htSupportedChannelWidthSet represents the channel width of TDLS link on base channel. psessionEntry->htSupportedChannelWidthSet represents the channel width set of STA-AP link. So fill the pStaDs->htSupportedChannelWidthSet from psessionEntry->htSupportedChannelWidthSet. Change-Id: I7fe3f2f449d83f5d6f01adce3a25d8031dfbeb48 CRs-Fixed: 800031
This commit is contained in:
parent
10ccf878f9
commit
3e8322c055
1 changed files with 8 additions and 1 deletions
|
|
@ -2253,8 +2253,15 @@ static void lim_tdls_update_hash_node_info(tpAniSirGlobal pMac,
|
|||
if (htCaps->present) {
|
||||
pStaDs->mlmStaContext.htCapability = 1;
|
||||
pStaDs->htGreenfield = htCaps->greenField;
|
||||
/*
|
||||
* pStaDs->htSupportedChannelWidthSet should have the base
|
||||
* channel capability. The htSupportedChannelWidthSet of the
|
||||
* TDLS link on base channel should be less than or equal to
|
||||
* channel width of STA-AP link. So take this setting from the
|
||||
* psessionEntry.
|
||||
*/
|
||||
pStaDs->htSupportedChannelWidthSet =
|
||||
htCaps->supportedChannelWidthSet;
|
||||
psessionEntry->htSupportedChannelWidthSet;
|
||||
pStaDs->htMIMOPSState = htCaps->mimoPowerSave;
|
||||
pStaDs->htMaxAmsduLength = htCaps->maximalAMSDUsize;
|
||||
pStaDs->htAMpduDensity = htCaps->mpduDensity;
|
||||
|
|
|
|||
Loading…
Reference in a new issue