summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.h
diff options
context:
space:
mode:
authorGregory Greenman <gregory.greenman@intel.com>2016-04-03 14:06:12 +0300
committerLuca Coelho <luciano.coelho@intel.com>2016-05-10 22:14:49 +0300
commit4896d7642fd34251ba7119bcb8304d9a73e51bf8 (patch)
tree6b070c526f97d0e0f2f23d1037174487f8523be0 /drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.h
parent1afb0ae4217423f7864cba0684362de99782fa4e (diff)
downloadlinux-4896d7642fd34251ba7119bcb8304d9a73e51bf8.tar.xz
iwlwifi: consider VHT 160MHz while parsing NVM
Devices belonging to 9000 family can support VHT 160MHz channel width, so need to consider it when configuring VHT capabilities. However, NVM file doesn't have a single bit specifying that 160MHz is supported. This patch turns on 160MHz support in VHT capabilities in case there's at least one channel supporting 160MHz. Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.h')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.h b/drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.h
index 53f39a34eca2..1f4e50289c14 100644
--- a/drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.h
+++ b/drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.h
@@ -98,6 +98,7 @@ struct iwl_nvm_data {
s8 max_tx_pwr_half_dbm;
bool lar_enabled;
+ bool vht160_supported;
struct ieee80211_supported_band bands[NUM_NL80211_BANDS];
struct ieee80211_channel channels[];
};