iwlwifi: turn on SGI support for VHT 160MHz
authorGregory Greenman <gregory.greenman@intel.com>
Tue, 12 Apr 2016 12:16:24 +0000 (15:16 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 10 May 2016 19:34:07 +0000 (22:34 +0300)
Devices supporting VHT 160MHz width are supporting also Short GI.
Turn on this capability in vht cap.

Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c

index e99624d..21653fe 100644 (file)
@@ -377,8 +377,8 @@ static void iwl_init_vht_hw_capab(const struct iwl_cfg *cfg,
                       IEEE80211_VHT_CAP_MAX_A_MPDU_LENGTH_EXPONENT_SHIFT;
 
        if (data->vht160_supported)
-               vht_cap->cap |=
-                       IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ;
+               vht_cap->cap |= IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ |
+                               IEEE80211_VHT_CAP_SHORT_GI_160;
 
        if (cfg->vht_mu_mimo_supported)
                vht_cap->cap |= IEEE80211_VHT_CAP_MU_BEAMFORMEE_CAPABLE;