summaryrefslogtreecommitdiffstats
path: root/include/mm.h
blob: 32d1744714ddc58d4659c95a596ea7a817a9ec22 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
/*
 * DECT Mobility Management
 *
 * Copyright (c) 2009 Patrick McHardy <kaber@trash.net>
 */

#ifndef _LIBDECT_MM_H
#define _LIBDECT_MM_H

/**
 * MM message types
 */
enum dect_mm_msg_types {
	DECT_MM_AUTHENTICATION_REQUEST		= 0x40,
	DECT_MM_AUTHENTICATION_REPLY		= 0x41,
	DECT_MM_KEY_ALLOCATE			= 0x42,
	DECT_MM_AUTHENTICATION_REJECT		= 0x43,
	DECT_MM_ACCESS_RIGHTS_REQUEST		= 0x44,
	DECT_MM_ACCESS_RIGHTS_ACCEPT		= 0x45,
	DECT_MM_ACCESS_RIGHTS_REJECT		= 0x47,
	DECT_MM_ACCESS_RIGHTS_TERMINATE_REQUEST	= 0x48,
	DECT_MM_ACCESS_RIGHTS_TERMINATE_ACCEPT	= 0x49,
	DECT_MM_ACCESS_RIGHTS_TERMINATE_REJECT	= 0x4b,
	DECT_MM_CIPHER_REQUEST			= 0x4c,
	DECT_MM_CIPHER_SUGGEST			= 0x4e,
	DECT_MM_CIPHER_REJECT			= 0x4f,
	DECT_MM_INFO_REQUEST			= 0x50,
	DECT_MM_INFO_ACCEPT			= 0x51,
	DECT_MM_INFO_SUGGEST			= 0x52,
	DECT_MM_INFO_REJECT			= 0x53,
	DECT_MM_LOCATE_REQUEST			= 0x54,
	DECT_MM_LOCATE_ACCEPT			= 0x55,
	DECT_MM_DETACH				= 0x56,
	DECT_MM_LOCATE_REJECT			= 0x57,
	DECT_MM_IDENTITY_REQUEST		= 0x58,
	DECT_MM_IDENTITY_REPLY			= 0x59,
	DECT_MM_TEMPORARY_IDENTITY_ASSIGN	= 0x5c,
	DECT_MM_TEMPORARY_IDENTITY_ASSIGN_ACK	= 0x5d,
	DECT_MM_TEMPORARY_IDENTITY_ASSIGN_REJ	= 0x5f,
};

struct dect_mm_access_rights_accept_msg {
	struct dect_msg_common			common;
};

struct dect_mm_access_rights_reject_msg {
	struct dect_msg_common			common;
	struct dect_ie_reject_reason		*reject_reason;
	struct dect_ie_duration			*duration;
	struct dect_ie_iwu_to_iwu		*iwu_to_iwu;
	struct dect_ie_escape_to_proprietary	*escape_to_proprietary;
};

struct dect_mm_access_rights_request_msg {
	struct dect_msg_common			common;
	struct dect_ie_portable_identity	*portable_identity;
	struct dect_ie_auth_type		*auth_type;
	struct dect_ie_cipher_info		*cipher_info;
	struct dect_ie_setup_capability		*setup_capability;
	struct dect_ie_terminal_capability	*terminal_capability;
	struct dect_ie_iwu_to_iwu		*iwu_to_iwu;
	struct dect_ie_model_identifier		*model_identifier;
	struct dect_ie_codec_list		*codec_list;
	struct dect_ie_escape_to_proprietary	*escape_to_proprietary;
};

struct dect_mm_access_rights_terminate_accept_msg {
	struct dect_msg_common			common;
};

struct dect_mm_access_rights_terminate_reject_msg {
	struct dect_msg_common			common;
};

struct dect_mm_access_rights_terminate_request_msg {
	struct dect_msg_common			common;
};

struct dect_mm_authentication_reject_msg {
	struct dect_msg_common			common;
};

struct dect_mm_authentication_reply_msg {
	struct dect_msg_common			common;
};

struct dect_mm_authentication_request_msg {
	struct dect_msg_common			common;
};

struct dect_mm_cipher_reject_msg {
	struct dect_msg_common			common;
};

struct dect_mm_cipher_request_msg {
	struct dect_msg_common			common;
};

struct dect_mm_cipher_suggest_msg {
	struct dect_msg_common			common;
};

struct dect_mm_detach_msg {
	struct dect_msg_common			common;
};

struct dect_mm_identity_reply_msg {
	struct dect_msg_common			common;
};

struct dect_mm_identity_request_msg {
	struct dect_msg_common			common;
};

struct dect_mm_key_allocate_msg {
	struct dect_msg_common			common;
};

struct dect_mm_locate_accept_msg {
	struct dect_msg_common			common;
};

struct dect_mm_locate_reject_msg {
	struct dect_msg_common			common;
};

struct dect_mm_locate_request_msg {
	struct dect_msg_common			common;
};

struct dect_mm_info_accept_msg {
	struct dect_msg_common			common;
};

struct dect_mm_info_reject_msg {
	struct dect_msg_common			common;
};

struct dect_mm_info_request_msg {
	struct dect_msg_common			common;
};

struct dect_mm_info_suggest_msg {
	struct dect_msg_common			common;
};

struct dect_mm_temporary_identity_assign_msg {
	struct dect_msg_common			common;
};

struct dect_mm_temporary_identity_assign_ack_msg {
	struct dect_msg_common			common;
};

struct dect_mm_temporary_identity_assign_rej_msg {
	struct dect_msg_common			common;
};

struct dect_mm_iwu_msg {
	struct dect_msg_common			common;
};

struct dect_mm_notify_msg {
	struct dect_msg_common			common;
};

#endif /* _LIBDECT_MM_H */