]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: add description to a few generic assert numbers
authorNaftali Goldstein <naftali.goldstein@intel.com>
Wed, 25 Jul 2018 12:52:20 +0000 (15:52 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Sun, 11 Nov 2018 09:06:20 +0000 (11:06 +0200)
commit6c727b2f45146aba374fd3f3ec30f50173270214
tree860305b54581b603ab952befe410751abcbe6c7d
parent32343930d5544594090880a4da6c015c2a08f49d
iwlwifi: mvm: add description to a few generic assert numbers

FW asserts 0x70, 0x71, and 0x73 all just mean that the real error
happened in another MAC, and to look there for the problem. Add their
descriptions to the assert number lookup table so users get a nicer
error message in the logs.
Also, since the 4 most-significant bits of the assert number are
dynamic, and depend on which MAC the assert occurred on, ignore those
bits when looking up the assert name.

Signed-off-by: Naftali Goldstein <naftali.goldstein@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/utils.c