summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/fw/api/commands.h
diff options
context:
space:
mode:
authorMordechai Goodstein2017-06-13 16:17:27 +0200
committerLuca Coelho2017-08-01 11:41:45 +0200
commitf2e66c8df0d0f10c70ed7f5e14a939714e9ee6a9 (patch)
tree2cf4d52ef0523ff3b1c5427ec620bb9a1a1777d3 /drivers/net/wireless/intel/iwlwifi/fw/api/commands.h
parentiwlwifi: mvm: support fw reading empty OTP (diff)
downloadkernel-qcow2-linux-f2e66c8df0d0f10c70ed7f5e14a939714e9ee6a9.tar.gz
kernel-qcow2-linux-f2e66c8df0d0f10c70ed7f5e14a939714e9ee6a9.tar.xz
kernel-qcow2-linux-f2e66c8df0d0f10c70ed7f5e14a939714e9ee6a9.zip
iwlwifi: implement fseq version mismatch warning
During init, the FW checks whether the FSEQ value matches what it expects. If it doesn't match, we print a warning to let integrators clearly know that something is wrong. This can happen if another core (i.e. not WiFi) has updated the FSEQ version. This notification is only sent by the FW in production, for development firmwares, an assertion is triggered instead. Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Mordechai Goodstein <mordechay.goodstein@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/api/commands.h')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/fw/api/commands.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/fw/api/commands.h b/drivers/net/wireless/intel/iwlwifi/fw/api/commands.h
index 34fceb26447d..c7b8cffdf281 100644
--- a/drivers/net/wireless/intel/iwlwifi/fw/api/commands.h
+++ b/drivers/net/wireless/intel/iwlwifi/fw/api/commands.h
@@ -652,6 +652,13 @@ enum iwl_system_subcmd_ids {
* @INIT_EXTENDED_CFG_CMD: &struct iwl_init_extended_cfg_cmd
*/
INIT_EXTENDED_CFG_CMD = 0x03,
+
+ /**
+ * @FSEQ_VER_MISMATCH_NTF: Notification about fseq version
+ * mismatch during init. The format is specified in
+ * &struct iwl_fseq_ver_mismatch_ntf.
+ */
+ FSEQ_VER_MISMATCH_NTF = 0xFF,
};
#endif /* __iwl_fw_api_commands_h__ */