|
@@ -890,15 +890,16 @@ QDF_STATUS wma_send_peer_assoc(tp_wma_handle wma,
|
|
|
if (params->htCapable) {
|
|
|
cmd->peer_flags |= (WMI_PEER_HT | WMI_PEER_QOS);
|
|
|
cmd->peer_rate_caps |= WMI_RC_HT_FLAG;
|
|
|
- }
|
|
|
|
|
|
- if (params->ch_width) {
|
|
|
- cmd->peer_flags |= WMI_PEER_40MHZ;
|
|
|
- cmd->peer_rate_caps |= WMI_RC_CW40_FLAG;
|
|
|
- if (params->fShortGI40Mhz)
|
|
|
+ if (params->ch_width) {
|
|
|
+ cmd->peer_flags |= WMI_PEER_40MHZ;
|
|
|
+ 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;
|
|
|
- } else if (params->fShortGI20Mhz)
|
|
|
- cmd->peer_rate_caps |= WMI_RC_SGI_FLAG;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
#ifdef WLAN_FEATURE_11AC
|
|
|
if (params->vhtCapable) {
|