mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
qcacld-3.0: Fix 40MHz flag setting for 6GHz connection
In peer assoc the 40MHz flag is set if HT is enabled and bandwidth is 40MHz which fails the 40MHz setting for 6GHz connection as HT is not supported in 6GHz band. Remove the HT check for 40MHz flag setting in peer assoc. Change-Id: I2a34dd6fbbca50912952f532e8b485148bf3c3a2 CRs-Fixed: 2649524
This commit is contained in:
parent
4df7deec7f
commit
b56a540667
1 changed files with 9 additions and 9 deletions
|
|
@ -1426,15 +1426,6 @@ QDF_STATUS wma_send_peer_assoc(tp_wma_handle wma,
|
|||
cmd->ht_flag = 1;
|
||||
cmd->qos_flag = 1;
|
||||
cmd->peer_rate_caps |= WMI_RC_HT_FLAG;
|
||||
|
||||
if (params->ch_width) {
|
||||
cmd->bw_40 = 1;
|
||||
cmd->peer_rate_caps |= WMI_RC_CW40_FLAG;
|
||||
if (params->fShortGI40Mhz)
|
||||
cmd->peer_rate_caps |= WMI_RC_SGI_FLAG;
|
||||
} else if (params->fShortGI20Mhz) {
|
||||
cmd->peer_rate_caps |= WMI_RC_SGI_FLAG;
|
||||
}
|
||||
}
|
||||
|
||||
if (params->vhtCapable) {
|
||||
|
|
@ -1444,6 +1435,15 @@ QDF_STATUS wma_send_peer_assoc(tp_wma_handle wma,
|
|||
cmd->peer_rate_caps |= WMI_RC_HT_FLAG;
|
||||
}
|
||||
|
||||
if (params->ch_width) {
|
||||
cmd->bw_40 = 1;
|
||||
cmd->peer_rate_caps |= WMI_RC_CW40_FLAG;
|
||||
if (params->fShortGI40Mhz)
|
||||
cmd->peer_rate_caps |= WMI_RC_SGI_FLAG;
|
||||
} else if (params->fShortGI20Mhz) {
|
||||
cmd->peer_rate_caps |= WMI_RC_SGI_FLAG;
|
||||
}
|
||||
|
||||
if (params->ch_width == CH_WIDTH_80MHZ)
|
||||
cmd->bw_80 = 1;
|
||||
else if (params->ch_width == CH_WIDTH_160MHZ)
|
||||
|
|
|
|||
Loading…
Reference in a new issue