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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Oct 2017 09:51:25 +0000 (11:51 +0200)
commitaee20f321daf95f47183d4af8b0c3dcd0096fe25
treeeab9bca617b1c0811dc847109485848672035d4e
parentf8895642cf8ec03af47bd7017ecf0b8ff28fe23e
iwlwifi: add workaround to disable wide channels in 5GHz

commit 01a9c948a09348950515bf2abb6113ed83e696d8 upstream.

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.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c