qcacld-3.0: Fix TDLS HT Cap channel width
Fix TDLS HT Cap channel width, select supportedChannelWidthSet based on channel bonding settings for each band. Change-Id: I89bae8bfb3d193da5e7165480447bc7471f93d06 CRs-Fixed: 2380598
This commit is contained in:
@@ -692,7 +692,7 @@ static void populate_dot11f_tdls_ht_vht_cap(struct mac_context *mac,
|
|||||||
nss = QDF_MIN(nss, mac->user_configured_nss);
|
nss = QDF_MIN(nss, mac->user_configured_nss);
|
||||||
if (IS_DOT11_MODE_HT(selfDot11Mode)) {
|
if (IS_DOT11_MODE_HT(selfDot11Mode)) {
|
||||||
/* Include HT Capability IE */
|
/* Include HT Capability IE */
|
||||||
populate_dot11f_ht_caps(mac, NULL, htCap);
|
populate_dot11f_ht_caps(mac, pe_session, htCap);
|
||||||
val_len = SIZE_OF_SUPPORTED_MCS_SET;
|
val_len = SIZE_OF_SUPPORTED_MCS_SET;
|
||||||
wlan_mlme_get_cfg_str(&htCap->supportedMCSSet[0],
|
wlan_mlme_get_cfg_str(&htCap->supportedMCSSet[0],
|
||||||
&mac->mlme_cfg->rates.supported_mcs_set,
|
&mac->mlme_cfg->rates.supported_mcs_set,
|
||||||
@@ -714,8 +714,9 @@ static void populate_dot11f_tdls_ht_vht_cap(struct mac_context *mac,
|
|||||||
* 11.21.1 General: The channel width of the TDLS direct link on
|
* 11.21.1 General: The channel width of the TDLS direct link on
|
||||||
* the base channel shall not exceed the channel width of the
|
* the base channel shall not exceed the channel width of the
|
||||||
* BSS to which the TDLS peer STAs are associated.
|
* BSS to which the TDLS peer STAs are associated.
|
||||||
|
* Select supportedChannelWidthSet based on channel bonding
|
||||||
|
* settings for each band
|
||||||
*/
|
*/
|
||||||
htCap->supportedChannelWidthSet = 1;
|
|
||||||
} else {
|
} else {
|
||||||
htCap->present = 0;
|
htCap->present = 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user