iwlwifi: add workaround to disable wide channels in 5GHz
authorLuca Coelho <luciano.coelho@intel.com>
Tue, 15 Aug 2017 17:48:41 +0000 (20:48 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 18 Aug 2017 14:36:41 +0000 (17:36 +0300)
commit01a9c948a09348950515bf2abb6113ed83e696d8
tree7859b93f7933d3e37480f78a67f0f0d906706672
parent482e48440a0e0a6260d026b92de99034ac4d7b52
iwlwifi: add workaround to disable wide channels in 5GHz

The OTP in some SKUs have erroneously allowed 40MHz and 80MHz channels
in the 5.2GHz band.  The firmware has been modified to not allow this
in those SKUs, so the driver needs to do the same otherwise the
firmware will assert when we try to use it.

Cc: stable@vger.kernel.org
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/nvm.c
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.h