aboutsummaryrefslogtreecommitdiffstats
path: root/src/protocol/diag_log_1x.h
blob: 4442d6a8f148fd76949ba13538c5f9f6bfb9268c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#pragma once

#include <stdint.h>

#define L1X(x)	(0x1000 + x)

enum diag_log_code_1x {
	LOG_UIM_DATA_C						= 0x98,
	LOG_UIM_DS_DATA_C					= 0x4ce,
	LOG_DATA_PROTOCOL_LOGGING_C				= 0x1eb,
	LOG_DATA_PROTOCOL_LOGGING_NETWORK_IP_RM_TX_80_BYTES_C	= 0x572,
	LOG_DATA_PROTOCOL_LOGGING_NETWORK_IP_RM_RX_80_BYTES_C	= 0x573,
	LOG_DATA_PROTOCOL_LOGGING_NETWORK_IP_RM_TX_FULL_C	= 0x574,
	LOG_DATA_PROTOCOL_LOGGING_NETWORK_IP_RM_RX_FULL_C	= 0x575,
	LOG_DATA_PROTOCOL_LOGGING_NETWORK_IP_UM_TX_80_BYTES_C	= 0x576,
	LOG_DATA_PROTOCOL_LOGGING_NETWORK_IP_UM_RX_80_BYTES_C	= 0x577,
	LOG_DATA_PROTOCOL_LOGGING_NETWORK_IP_UM_TX_FULL_C	= 0x578,
	LOG_DATA_PROTOCOL_LOGGING_NETWORK_IP_UM_RX_FULL_C	= 0x579,
	LOG_DATA_PROTOCOL_LOGGING_LINK_RM_TX_80_BYTES_C		= 0x57a,
	LOG_DATA_PROTOCOL_LOGGING_LINK_RM_RX_80_BYTES_C		= 0x57b,
	LOG_DATA_PROTOCOL_LOGGING_LINK_RM_TX_FULL_C		= 0x57c,
	LOG_DATA_PROTOCOL_LOGGING_LINK_RM_RX_FULL_C		= 0x57d,
	LOG_DATA_PROTOCOL_LOGGING_LINK_UM_TX_80_BYTES_C		= 0x57e,
	LOG_DATA_PROTOCOL_LOGGING_LINK_UM_RX_80_BYTES_C		= 0x57f,
	LOG_DATA_PROTOCOL_LOGGING_LINK_UM_TX_FULL_C		= 0x580,
	LOG_DATA_PROTOCOL_LOGGING_LINK_UM_RX_FULL_C		= 0x581,
	LOG_DATA_PROTOCOL_LOGGING_FLOW_RM_TX_80_BYTES_C		= 0x582,
	LOG_DATA_PROTOCOL_LOGGING_FLOW_RM_TX_FULL_C		= 0x583,
	LOG_DATA_PROTOCOL_LOGGING_FLOW_UM_TX_80_BYTES_C		= 0x584,
	LOG_DATA_PROTOCOL_LOGGING_FLOW_UM_TX_FULL_C		= 0x585,
};

struct diag_log_uim_msg {
	uint8_t len;
	uint8_t data[0];
} __attribute__ ((packed));