iwlwifi: mvm: add marker cmd response struct.
This helps for documentation and clarifies the code by defining the exact response struct for the marker command. Signed-off-by: Mordechay Goodstein <mordechay.goodstein@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
committed by
Luca Coelho
parent
aed52a88c0
commit
5281f5181a
@ -504,6 +504,7 @@ enum iwl_legacy_cmds {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @MARKER_CMD: trace marker command, uses &struct iwl_mvm_marker
|
* @MARKER_CMD: trace marker command, uses &struct iwl_mvm_marker
|
||||||
|
* with &struct iwl_mvm_marker_rsp
|
||||||
*/
|
*/
|
||||||
MARKER_CMD = 0xcb,
|
MARKER_CMD = 0xcb,
|
||||||
|
|
||||||
|
@ -278,6 +278,15 @@ struct iwl_mvm_marker {
|
|||||||
__le32 metadata[0];
|
__le32 metadata[0];
|
||||||
} __packed; /* MARKER_API_S_VER_1 */
|
} __packed; /* MARKER_API_S_VER_1 */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* struct iwl_mvm_marker_rsp - Response to marker cmd
|
||||||
|
*
|
||||||
|
* @gp2: The gp2 clock value in the FW
|
||||||
|
*/
|
||||||
|
struct iwl_mvm_marker_rsp {
|
||||||
|
__le32 gp2;
|
||||||
|
} __packed;
|
||||||
|
|
||||||
/* Operation types for the debug mem access */
|
/* Operation types for the debug mem access */
|
||||||
enum {
|
enum {
|
||||||
DEBUG_MEM_OP_READ = 0,
|
DEBUG_MEM_OP_READ = 0,
|
||||||
|
Reference in New Issue
Block a user