wifi: iwlwifi: fw: add an error table status getter
authorYedidya Benshimol <yedidya.ben.shimol@intel.com>
Tue, 8 Oct 2024 04:25:26 +0000 (07:25 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Oct 2024 14:44:03 +0000 (16:44 +0200)
commit43e0b2ada519e9b665135074c0da215f2e8b301a
treef959eb9051bac0a21ccde072f16d9a1e74a19f12
parent02ea0fb981f0fada9668fff223d185c953f3b755
wifi: iwlwifi: fw: add an error table status getter

Add a function for getting the error status and error
code for given error table.
Remove a static function of same purpose from mvm/d3.c

Signed-off-by: Yedidya Benshimol <yedidya.ben.shimol@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20241008072037.610a38614ce6.Iab5f795bc30ce5d08550cff1772fe051527bcb95@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/dbg.h
drivers/net/wireless/intel/iwlwifi/fw/dump.c
drivers/net/wireless/intel/iwlwifi/mvm/d3.c