iwlwifi: consider VHT 160MHz while parsing NVM
authorGregory Greenman <gregory.greenman@intel.com>
Sun, 3 Apr 2016 11:06:12 +0000 (14:06 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 10 May 2016 19:14:49 +0000 (22:14 +0300)
commit4896d7642fd34251ba7119bcb8304d9a73e51bf8
tree6b070c526f97d0e0f2f23d1037174487f8523be0
parent1afb0ae4217423f7864cba0684362de99782fa4e
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>
drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.h
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c