mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
iwlwifi: wrt: add mipi type to debug types
This adds the MIPI mode type to the types declared supported by the driver. Without this patch, when using MIPI mode and looking at the logs the user would see the debug destination "UNKNOWN". Signed-off-by: Liad Kaufman <liad.kaufman@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
This commit is contained in:
parent
bb8f44c919
commit
6a8ac59c80
2 changed files with 5 additions and 1 deletions
|
@ -427,11 +427,13 @@ struct iwl_fw_dbg_reg_op {
|
||||||
* @SMEM_MODE: monitor stores the data in SMEM
|
* @SMEM_MODE: monitor stores the data in SMEM
|
||||||
* @EXTERNAL_MODE: monitor stores the data in allocated DRAM
|
* @EXTERNAL_MODE: monitor stores the data in allocated DRAM
|
||||||
* @MARBH_MODE: monitor stores the data in MARBH buffer
|
* @MARBH_MODE: monitor stores the data in MARBH buffer
|
||||||
|
* @MIPI_MODE: monitor outputs the data through the MIPI interface
|
||||||
*/
|
*/
|
||||||
enum iwl_fw_dbg_monitor_mode {
|
enum iwl_fw_dbg_monitor_mode {
|
||||||
SMEM_MODE = 0,
|
SMEM_MODE = 0,
|
||||||
EXTERNAL_MODE = 1,
|
EXTERNAL_MODE = 1,
|
||||||
MARBH_MODE = 2,
|
MARBH_MODE = 2,
|
||||||
|
MIPI_MODE = 3,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
* GPL LICENSE SUMMARY
|
* GPL LICENSE SUMMARY
|
||||||
*
|
*
|
||||||
* Copyright(c) 2008 - 2014 Intel Corporation. All rights reserved.
|
* Copyright(c) 2008 - 2014 Intel Corporation. All rights reserved.
|
||||||
* Copyright(c) 2013 - 2014 Intel Mobile Communications GmbH
|
* Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of version 2 of the GNU General Public License as
|
* it under the terms of version 2 of the GNU General Public License as
|
||||||
|
@ -205,6 +205,8 @@ static inline const char *get_fw_dbg_mode_string(int mode)
|
||||||
return "EXTERNAL_DRAM";
|
return "EXTERNAL_DRAM";
|
||||||
case MARBH_MODE:
|
case MARBH_MODE:
|
||||||
return "MARBH";
|
return "MARBH";
|
||||||
|
case MIPI_MODE:
|
||||||
|
return "MIPI";
|
||||||
default:
|
default:
|
||||||
return "UNKNOWN";
|
return "UNKNOWN";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue