From: Gregory Greenman Date: Tue, 12 Apr 2016 12:16:24 +0000 (+0300) Subject: iwlwifi: turn on SGI support for VHT 160MHz X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fbbd48595f2689619bab6957c6c2ee2895005b51;p=linux-beck.git iwlwifi: turn on SGI support for VHT 160MHz Devices supporting VHT 160MHz width are supporting also Short GI. Turn on this capability in vht cap. Signed-off-by: Gregory Greenman Signed-off-by: Luca Coelho --- diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c b/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c index e99624d8a027..21653fee806c 100644 --- a/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c +++ b/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c @@ -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;