Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-dect-nwk.c
blobb6a2c608f92f1b1887ce4a2bf1a527da804748a3
1 /* packet-dect_nwk.c
3 * Dissector for the DECT (Digital Enhanced Cordless Telecommunications)
4 * NWK protocol layer as described in ETSI EN 300 175-5 V2.7.1 (2017-11)
6 * Copyright 2018 by Harald Welte <laforge@gnumonks.org>
7 * Copyright 2022 by Bernhard Dick <bernhard@bdick.de>
9 * Wireshark - Network traffic analyzer
10 * By Gerald Combs <gerald@wireshark.org>
11 * Copyright 1998 Gerald Combs
13 * SPDX-License-Identifier: GPL-2.0-or-later
16 #include "config.h"
17 #include <epan/packet.h>
18 #include <epan/packet_info.h>
19 #include <epan/proto.h>
20 #include <epan/tfs.h>
21 #include <epan/tvbuff.h>
22 #include <epan/value_string.h>
23 #include <epan/wmem_scopes.h>
24 #include <ftypes/ftypes.h>
26 #include "packet-e212.h"
28 void proto_register_dect_nwk(void);
29 void proto_reg_handoff_dect_nwk(void);
31 static int proto_dect_nwk;
33 static int hf_nwk_ti;
34 static int hf_nwk_pdisc;
35 static int hf_nwk_msg_type_lce;
36 static int hf_nwk_msg_type_cc;
37 static int hf_dect_nwk_message_type_ciss;
38 static int hf_dect_nwk_message_type_crss;
39 static int hf_dect_nwk_message_type_clms;
40 static int hf_dect_nwk_message_type_coms;
41 static int hf_nwk_msg_type_mm;
43 static int ett_dect_nwk_s_ie_element;
45 static int hf_dect_nwk_s_ie_fl;
47 static int hf_dect_nwk_s_ie_fl_type;
48 static int hf_dect_nwk_s_ie_fl_double_octet_type;
50 static int hf_dect_nwk_s_ie_fl_control_type;
52 static int hf_dect_nwk_s_ie_fl_repeat_indicator_type;
54 static int hf_dect_nwk_s_ie_fl_shift_locking;
55 static int hf_dect_nwk_s_ie_fl_shift_new_codeset;
57 static int hf_dect_nwk_s_ie_fl_basic_service_call_class;
58 static int hf_dect_nwk_s_ie_fl_basic_service_type;
60 static int hf_dect_nwk_s_ie_fl_single_display_display_info;
62 static int hf_dect_nwk_s_ie_fl_single_keypad_keypad_info;
64 static int hf_dect_nwk_s_ie_fl_release_reason_code;
66 static int hf_dect_nwk_s_ie_fl_signal_value;
68 static int hf_dect_nwk_s_ie_fl_timer_restart_value;
70 static int hf_dect_nwk_s_ie_fl_test_hook_control_hook_value;
72 static int hf_dect_nwk_s_ie_type;
73 static int hf_dect_nwk_s_ie_length;
75 static int hf_dect_nwk_s_ie_octet_group_extension;
77 static int hf_dect_nwk_s_ie_auth_type_authentication_algorithm;
78 static int hf_dect_nwk_s_ie_auth_type_proprietary_algorithm;
79 static int hf_dect_nwk_s_ie_auth_type_ak_type;
80 static int hf_dect_nwk_s_ie_auth_type_ak_number;
81 static int hf_dect_nwk_s_ie_auth_type_inc;
82 static int hf_dect_nwk_s_ie_auth_type_def;
83 static int hf_dect_nwk_s_ie_auth_type_txc;
84 static int hf_dect_nwk_s_ie_auth_type_upc;
85 static int hf_dect_nwk_s_ie_auth_type_cipher_key_number;
86 static int hf_dect_nwk_s_ie_auth_type_cipher_key_number_related;
87 static int hf_dect_nwk_s_ie_auth_type_default_cipher_key_index;
88 static int hf_dect_nwk_s_ie_auth_type_default_cipher_key_algorithm;
90 static int hf_dect_nwk_s_ie_calling_party_number_type;
91 static int hf_dect_nwk_s_ie_calling_party_number_numbering_plan;
92 static int hf_dect_nwk_s_ie_calling_party_number_presentation;
93 static int hf_dect_nwk_s_ie_calling_party_number_screening;
94 static int hf_dect_nwk_s_ie_calling_party_number_address;
96 static int hf_dect_nwk_s_ie_cipher_info_yn;
97 static int hf_dect_nwk_s_ie_cipher_info_algorithm;
98 static int hf_dect_nwk_s_ie_cipher_info_proprietary_algorithm;
99 static int hf_dect_nwk_s_ie_cipher_info_key_type;
100 static int hf_dect_nwk_s_ie_cipher_info_key_number;
102 static int hf_dect_nwk_s_ie_duration_lock_limits;
103 static int hf_dect_nwk_s_ie_duration_time_limits;
104 static int hf_dect_nwk_s_ie_duration_time_duration;
106 static int hf_dect_nwk_s_ie_fixed_identity_type;
107 static int hf_dect_nwk_s_ie_fixed_identity_value_length;
108 static int hf_dect_nwk_s_ie_fixed_identity_arc;
109 static int hf_dect_nwk_s_ie_fixed_identity_ard;
110 static int hf_dect_nwk_s_ie_fixed_identity_padding;
112 static int hf_dect_nwk_s_ie_iwu_to_iwu_sr;
113 static int hf_dect_nwk_s_ie_iwu_to_iwu_protocol_discriminator;
114 static int hf_dect_nwk_s_ie_iwu_to_iwu_information;
115 static int hf_dect_nwk_s_ie_iwu_to_iwu_discriminator_type;
116 static int hf_dect_nwk_s_ie_iwu_to_iwu_user_specific_contents;
117 static int hf_dect_nwk_s_ie_iwu_to_iwu_emc_discriminator;
118 static int hf_dect_nwk_s_ie_iwu_to_iwu_proprietary_contents;
120 static int ett_dect_nwk_s_ie_location_area_li_type;
121 static int hf_dect_nwk_s_ie_location_area_li_type;
122 static int hf_dect_nwk_s_ie_location_area_la_level_included;
123 static int hf_dect_nwk_s_ie_location_area_li_extended_included;
124 static int hf_dect_nwk_s_ie_location_area_la_level;
125 static int hf_dect_nwk_s_ie_location_area_eli_type;
126 static int hf_dect_nwk_s_ie_location_area_lac;
127 static int hf_dect_nwk_s_ie_location_area_ci;
129 static int hf_dect_nwk_s_ie_multi_display_information;
131 static int hf_dect_nwk_s_ie_multi_keypad_information;
133 static int hf_dect_nwk_s_ie_nwk_assigned_identity_type;
134 static int hf_dect_nwk_s_ie_nwk_assigned_identity_value_length;
135 static int hf_dect_nwk_s_ie_nwk_assigned_identity_value;
136 static int hf_dect_nwk_s_ie_nwk_assigned_identity_padding;
138 static int hf_dect_nwk_s_ie_portable_identity_type;
139 static int hf_dect_nwk_s_ie_portable_identity_value_length;
140 static int hf_dect_nwk_s_ie_portable_identity_put;
141 static int hf_dect_nwk_s_ie_portable_identity_padding;
142 static int hf_dect_nwk_s_ie_portable_identity_ipei;
143 static int hf_dect_nwk_s_ie_portable_identity_tpui_assignment_type;
144 static int hf_dect_nwk_s_ie_portable_identity_tpui_value;
145 static int hf_dect_nwk_s_ie_portable_identity_ipui_o_number;
146 static int hf_dect_nwk_s_ie_portable_identity_ipui_p_poc;
147 static int hf_dect_nwk_s_ie_portable_identity_ipui_p_acc;
148 static int hf_dect_nwk_s_ie_portable_identity_ipui_q_bacn;
149 static int hf_dect_nwk_s_ie_portable_identity_ipui_r_imsi;
150 static int hf_dect_nwk_s_ie_portable_identity_ipui_s_number;
151 static int hf_dect_nwk_s_ie_portable_identity_ipui_t_eic;
152 static int hf_dect_nwk_s_ie_portable_identity_ipui_t_number;
153 static int hf_dect_nwk_s_ie_portable_identity_ipui_u_cacn;
155 static int hf_dect_nwk_s_ie_rand_rand_field;
157 static int hf_dect_nwk_s_ie_res_res_field;
159 static int hf_dect_nwk_s_ie_rs_rs_field;
161 static int hf_dect_nwk_s_ie_terminal_capability_tone_capabilities;
162 static int hf_dect_nwk_s_ie_terminal_capability_display_capabilities;
163 static int hf_dect_nwk_s_ie_terminal_capability_echo_parameter;
164 static int hf_dect_nwk_s_ie_terminal_capability_n_rej;
165 static int hf_dect_nwk_s_ie_terminal_capability_a_vol;
166 static int hf_dect_nwk_s_ie_terminal_capability_slot_type_capability;
167 static int hf_dect_nwk_s_ie_terminal_capability_slot_type_half_80;
168 static int hf_dect_nwk_s_ie_terminal_capability_slot_type_long_640;
169 static int hf_dect_nwk_s_ie_terminal_capability_slot_type_long_672;
170 static int hf_dect_nwk_s_ie_terminal_capability_slot_type_full;
171 static int hf_dect_nwk_s_ie_terminal_capability_slot_type_double;
172 static int hf_dect_nwk_s_ie_terminal_capability_stored_display_characters;
173 static int hf_dect_nwk_s_ie_terminal_capability_lines_in_display;
174 static int hf_dect_nwk_s_ie_terminal_capability_chars_per_line;
175 static int hf_dect_nwk_s_ie_terminal_capability_scrolling_behaviour;
176 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_1;
177 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_1_cap;
178 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_1_gap;
179 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_1_dect_gsm;
180 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_1_isdn;
181 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_1_lrms;
182 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_1_dprs_stream;
183 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_1_dprs_asymmetric;
184 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_2;
185 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_2_dprs_class_2;
186 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_2_data_services;
187 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_2_isdn;
188 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_2_dect_umts_bearer;
189 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_2_dect_umts_sms;
190 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_2_dect_umts_facsimile;
191 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_2_rap;
192 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_3;
193 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_3_dect_gsm;
194 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_3_wrs;
195 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_3_sms;
196 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_3_dmap;
197 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_3_cta;
198 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_3_ethernet;
199 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_3_token_ring;
200 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_4;
201 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_4_ip;
202 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_4_ppp;
203 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_4_v24;
204 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_4_cf;
205 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_4_ipq;
206 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_4_rap_2;
207 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_4_dprs;
208 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_5;
209 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_5_mod_2bz;
210 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_5_mod_4bz;
211 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_5_mod_8bz;
212 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_5_mod_16bz;
213 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_5_mod_2a;
214 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_5_mod_4a;
215 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_5_mod_8a;
216 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_6;
217 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_6_dect_umts;
218 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_6_dect_umts_gprs;
219 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_6_odap;
220 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_6_f_mms;
221 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_6_gf;
222 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_6_fast_hopping;
223 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_6_no_emission;
224 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_7;
225 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_7_mod64;
226 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_7_ng_dect_1;
227 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_7_ng_dect_3;
228 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_7_headset_management;
229 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_7_re_keying;
230 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_7_associated_melody;
231 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_7_ng_dect_5;
232 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_8;
233 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_8_mux_e_u;
234 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_8_channel_ipf;
235 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_8_channel_sipf;
236 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_8_packet_data_category;
237 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_9;
238 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_9_dprs_3;
239 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_9_dprs_4;
240 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_9_dect_ule;
241 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_9_light_data;
242 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_10;
243 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_10_date_time_recovery;
244 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_10_extended_list_change;
245 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_10_screening;
246 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_10_wrs_2;
247 static int hf_dect_nwk_s_ie_terminal_capability_profile_indicator_10_wrs_ule;
248 static int hf_dect_nwk_s_ie_terminal_capability_dsaa2;
249 static int hf_dect_nwk_s_ie_terminal_capability_dsc2;
250 static int hf_dect_nwk_s_ie_terminal_capability_control_codes;
251 static int hf_dect_nwk_s_ie_terminal_capability_escape_to_char_sets_1;
252 static int hf_dect_nwk_s_ie_terminal_capability_escape_to_char_sets_1_latin_no1;
253 static int hf_dect_nwk_s_ie_terminal_capability_escape_to_char_sets_1_latin_no9;
254 static int hf_dect_nwk_s_ie_terminal_capability_escape_to_char_sets_1_latin_no5;
255 static int hf_dect_nwk_s_ie_terminal_capability_escape_to_char_sets_1_greek;
256 static int hf_dect_nwk_s_ie_terminal_capability_blind_slot_6;
257 static int hf_dect_nwk_s_ie_terminal_capability_blind_slot_indication;
258 static int hf_dect_nwk_s_ie_terminal_capability_sp0;
259 static int hf_dect_nwk_s_ie_terminal_capability_sp1;
260 static int hf_dect_nwk_s_ie_terminal_capability_sp2;
261 static int hf_dect_nwk_s_ie_terminal_capability_sp3;
262 static int hf_dect_nwk_s_ie_terminal_capability_sp4;
263 static int hf_dect_nwk_s_ie_terminal_capability_blind_slot_6a;
264 static int hf_dect_nwk_s_ie_terminal_capability_sp5;
265 static int hf_dect_nwk_s_ie_terminal_capability_sp6;
266 static int hf_dect_nwk_s_ie_terminal_capability_sp7;
267 static int hf_dect_nwk_s_ie_terminal_capability_sp8;
268 static int hf_dect_nwk_s_ie_terminal_capability_sp9;
269 static int hf_dect_nwk_s_ie_terminal_capability_sp10;
270 static int hf_dect_nwk_s_ie_terminal_capability_sp11;
272 static int hf_dect_nwk_s_ie_escape_to_proprietary_discriminator_type;
273 static int hf_dect_nwk_s_ie_escape_to_proprietary_discriminator;
275 static int hf_dect_nwk_s_ie_model_identifier_manic;
276 static int hf_dect_nwk_s_ie_model_identifier_modic;
277 static int hf_dect_nwk_s_ie_model_identifier_imeisv;
279 static int hf_dect_nwk_s_ie_codec_list_negotiation_indicator;
280 static int hf_dect_nwk_s_ie_codec_list_codec_identifier;
281 static int hf_dect_nwk_s_ie_codec_list_mac_and_dlc_service;
282 static int hf_dect_nwk_s_ie_codec_list_last_codec;
283 static int hf_dect_nwk_s_ie_codec_list_c_plane_routing;
284 static int hf_dect_nwk_s_ie_codec_list_slot_size;
286 static int ett_dect_nwk;
288 static dissector_handle_t dect_nwk_handle;
290 /*********************************************************************************
291 * DECT DEFINITIONS
292 *********************************************************************************/
294 /* Section 7.2 */
295 enum dect_nwk_proto_disc {
296 DECT_NWK_PDISC_LCE = 0x0,
297 DECT_NWK_PDISC_CC = 0x3,
298 DECT_NWK_PDISC_CISS = 0x4,
299 DECT_NWK_PDISC_MM = 0x5,
300 DECT_NWK_PDISC_CLMS = 0x6,
301 DECT_NWK_PDISC_COMS = 0x7,
304 /* Section 7.4.1 */
305 enum dect_nwk_cc_msg_type {
306 DECT_NWK_CC_ALERTING = 0x01,
307 DECT_NWK_CC_CALL_PROC = 0x02,
308 DECT_NWK_CC_SETUP = 0x05,
309 DECT_NWK_CC_CONNECT = 0x07,
310 DECT_NWK_CC_SETUP_ACK = 0x0d,
311 DECT_NWK_CC_CONNECT_ACK = 0x0f,
312 DECT_NWK_CC_SERVICE_CHANGE = 0x20,
313 DECT_NWK_CC_SERVICE_ACCEPT = 0x21,
314 DECT_NWK_CC_SERVICE_REJECT = 0x23,
315 DECT_NWK_CC_RELEASE = 0x4d,
316 DECT_NWK_CC_RELEASE_COM = 0x5a,
317 DECT_NWK_CC_IWU_INFO = 0x60,
318 DECT_NWK_CC_NOTIFY = 0x6e,
319 DECT_NWK_CC_INFO = 0x7b,
322 /* Section 7.4.2 */
323 enum dect_nwk_ss_msg_type {
324 DECT_NWK_SS_CISS_RELEASE_COM = 0x5a,
325 DECT_NWK_SS_CISS_FACILITY = 0x62,
326 DECT_NWK_SS_CISS_REGISTER = 0x64,
328 DECT_NWK_SS_CRSS_HOLD = 0x24,
329 DECT_NWK_SS_CRSS_HOLD_ACK = 0x28,
330 DECT_NWK_SS_CRSS_HOLD_REJ = 0x30,
331 DECT_NWK_SS_CRSS_RETRIEVE = 0x31,
332 DECT_NWK_SS_CRSS_RETRIEVE_ACK = 0x33,
333 DECT_NWK_SS_CRSS_RETRIEVE_REJ = 0x37,
334 #define DECT_NWK_SS_CRSS_FACILITY DECT_NWK_SS_CISS_FACILITY
337 /* Section 7.4.3 */
338 enum dect_nwk_coms_msg_type {
339 DECT_NWK_COMS_SETUP = 0x05,
340 DECT_NWK_COMS_CONNECT = 0x07,
341 DECT_NWK_COMS_NOTIFY = 0x08,
342 DECT_NWK_COMS_RELEASE = 0x4d,
343 DECT_NWK_COMS_RELEASE_COM = 0x5a,
344 DECT_NWK_COMS_INFO = 0x7b,
345 DECT_NWK_COMS_ACK = 0x78,
348 /* Section 7.4.4 */
349 enum dect_nwk_clms_msg_type {
350 DECT_NWK_CLMS_VARIABLE = 0x01,
353 /* Section 7.4.5 */
354 enum dect_nwk_mm_msg_type {
355 DECT_NWK_MM_AUTH_REQ = 0x40,
356 DECT_NWK_MM_AUTH_REPLY = 0x41,
357 DECT_NWK_MM_KEY_ALLOC = 0x42,
358 DECT_NWK_MM_AUTH_REJ = 0x43,
359 DECT_NWK_MM_ACC_RIGHTS_REQ = 0x44,
360 DECT_NWK_MM_ACC_RIGHTS_ACK = 0x45,
361 DECT_NWK_MM_ACC_RIGHTS_REJ = 0x47,
362 DECT_NWK_MM_ACC_RIGHTS_TERM_REQ = 0x48,
363 DECT_NWK_MM_ACC_RIGHTS_TERM_ACK = 0x49,
364 DECT_NWK_MM_ACC_RIGHTS_TERM_REJ = 0x4b,
365 DECT_NWK_MM_CIPH_REQ = 0x4c,
366 DECT_NWK_MM_CIPH_SUGGEST = 0x4e,
367 DECT_NWK_MM_CIPH_REJ = 0x4f,
368 DECT_NWK_MM_INFO_REQ = 0x50,
369 DECT_NWK_MM_INFO_ACK = 0x51,
370 DECT_NWK_MM_INFO_SUGGEST = 0x52,
371 DECT_NWK_MM_INFO_REJ = 0x53,
372 DECT_NWK_MM_LOCATE_REQ = 0x54,
373 DECT_NWK_MM_LOCATE_ACK = 0x55,
374 DECT_NWK_MM_DETACH = 0x56,
375 DECT_NWK_MM_LOCATE_REJ = 0x57,
376 DECT_NWK_MM_ID_REQ = 0x58,
377 DECT_NWK_MM_ID_REPLY = 0x59,
378 DECT_NWK_MM_IWU = 0x5b,
379 DECT_NWK_MM_TID_ASSIGN = 0x5c,
380 DECT_NWK_MM_TID_ASSIGN_ACK = 0x5d,
381 DECT_NWK_MM_TID_ASSIGN_REJ = 0x5f,
382 DECT_NWK_MM_NOTIFY = 0x6e,
385 /* Section 7.4.6 */
386 enum dect_nwk_lce_msg_type {
387 DECT_NWK_LCE_PAGE_RESP = 0x71,
388 DECT_NWK_LCE_PAGE_REJ = 0x72,
391 /* Section 7.5.1 */
392 enum dect_nwk_s_ie_octet_identifier {
393 DECT_NWK_S_IE_OCTET_FIRST = 0,
394 DECT_NWK_S_IE_OCTET_A = 1,
395 DECT_NWK_S_IE_OCTET_B = 2,
396 DECT_NWK_S_IE_OCTET_C = 3,
397 DECT_NWK_S_IE_OCTET_D = 4,
398 DECT_NWK_S_IE_OCTET_E = 5,
399 DECT_NWK_S_IE_OCTET_F = 6,
400 DECT_NWK_S_IE_OCTET_G = 7,
401 DECT_NWK_S_IE_OCTET_H = 8,
402 DECT_NWK_S_IE_OCTET_I = 9,
405 /* Section 7.5.3 */
406 enum dect_nwk_s_fl_ie_shift_codeset {
407 DECT_NWK_S_FL_IE_SHIFT_CODESET_INITIAL = 0x0,
408 DECT_NWK_S_FL_IE_SHIFT_CODESET_NON_STANDARD_0 = 0x4,
409 DECT_NWK_S_FL_IE_SHIFT_CODESET_NON_STANDARD_1 = 0x5,
410 DECT_NWK_S_FL_IE_SHIFT_CODESET_NON_STANDARD_2 = 0x6,
411 DECT_NWK_S_FL_IE_SHIFT_CODESET_NON_STANDARD_3 = 0x7,
414 /* Section 7.6.1 */
415 enum dect_nwk_s_fl_ie_type {
416 DECT_NWK_S_IE_FL_SHIFT = 0x1,
417 DECT_NWK_S_IE_FL_CONTROL = 0x2,
418 DECT_NWK_S_IE_FL_REPEAT_INDICATOR = 0x5,
419 DECT_NWK_S_IE_FL_DOUBLE_OCTET_ELEMENT = 0x6,
422 enum dect_nwk_s_fl_ie_control_type {
423 DECT_NWK_S_IE_FL_CONTROL_SENDING_COMPLETE = 0x1,
424 DECT_NWK_S_IE_FL_CONTROL_DELIMITER_REQUEST = 0x2,
425 DECT_NWK_S_IE_FL_CONTROL_USE_TPUI = 0x3
428 enum dect_nwk_s_fl_ie_double_octet_type {
429 DECT_NWK_S_IE_FL_DOUBLE_OCTET_BASIC_SERVICE = 0x0,
430 DECT_NWK_S_IE_FL_DOUBLE_OCTET_RELEASE_REASON = 0x2,
431 DECT_NWK_S_IE_FL_DOUBLE_OCTET_SIGNAL = 0x4,
432 DECT_NWK_S_IE_FL_DOUBLE_OCTET_TIMER_RESTART = 0x5,
433 DECT_NWK_S_IE_FL_DOUBLE_OCTET_TEST_HOOK_CONTROL = 0x6,
434 DECT_NWK_S_IE_FL_DOUBLE_OCTET_SINGLE_DISPLAY = 0x8,
435 DECT_NWK_S_IE_FL_DOUBLE_OCTET_SINGLE_KEYPAD = 0x9,
438 /* Section 7.6.3 */
439 enum dect_nwk_s_ie_fl_repeat_indicator_type {
440 DECT_NWK_S_IE_FL_REPEAT_INDICATOR_NON_PRIORITIZED = 0x1,
441 DECT_NWK_S_IE_FL_REPEAT_INDICATOR_PRIORITIZED = 0x2,
444 /* Section 7.6.4 */
445 enum dect_nwk_s_ie_fl_basic_service_call_class {
446 DECT_NWK_S_IE_FL_BASIC_SERVICE_CALL_CLASS_LIA = 0x2,
447 DECT_NWK_S_IE_FL_BASIC_SERVICE_CALL_CLASS_ULE = 0x3,
448 DECT_NWK_S_IE_FL_BASIC_SERVICE_CALL_CLASS_MESSAGE = 0x4,
449 DECT_NWK_S_IE_FL_BASIC_SERVICE_CALL_CLASS_DECT_ISDN_IIP = 0x7,
450 DECT_NWK_S_IE_FL_BASIC_SERVICE_CALL_CLASS_NORMAL = 0x8,
451 DECT_NWK_S_IE_FL_BASIC_SERVICE_CALL_CLASS_INTERNAL = 0x9,
452 DECT_NWK_S_IE_FL_BASIC_SERVICE_CALL_CLASS_EMERGENCY = 0xA,
453 DECT_NWK_S_IE_FL_BASIC_SERVICE_CALL_CLASS_SERVICE = 0xB,
454 DECT_NWK_S_IE_FL_BASIC_SERVICE_CALL_CLASS_EXTERNAL_HANDOVER = 0xC,
455 DECT_NWK_S_IE_FL_BASIC_SERVICE_CALL_CLASS_SUPPLEMENTARY_SERVICE = 0xD,
456 DECT_NWK_S_IE_FL_BASIC_SERVICE_CALL_CLASS_OA_M = 0xE,
459 enum dect_nwk_s_ie_fl_basic_service_type {
460 DECT_NWK_S_IE_FL_BASIC_SERVICE_BASIC_SPEECH = 0x0,
461 DECT_NWK_S_IE_FL_BASIC_SERVICE_DECT_GSM_IWP = 0x4,
462 DECT_NWK_S_IE_FL_BASIC_SERVICE_LRMS = 0x5,
463 /* Specification assigns 0b0110 to DECT UMTS IWP and GSM IWP SMS*/
464 DECT_NWK_S_IE_FL_BASIC_SERVICE_DECT_UMTS_IWP_GSM_IWP_SMS = 0x6,
465 DECT_NWK_S_IE_FL_BASIC_SERVICE_WIDEBAND_SPEECH = 0x8,
466 DECT_NWK_S_IE_FL_BASIC_SERVICE_SUOTA_CLASS_4_DPRS = 0x9,
467 DECT_NWK_S_IE_FL_BASIC_SERVICE_SUOTA_CLASS_3_DPRS = 0xA,
468 DECT_NWK_S_IE_FL_BASIC_SERVICE_DTAM_WIDEBAND_SPEECH = 0xB,
469 DECT_NWK_S_IE_FL_BASIC_SERVICE_OTHER = 0xF,
472 /* Section 7.6.7 */
473 enum dect_nwk_s_ie_fl_release_reason {
474 DECT_NWK_S_IE_FL_RELEASE_REASON_NORMAL = 0x00,
475 DECT_NWK_S_IE_FL_RELEASE_REASON_UNEXPECTED_MESSAGE = 0x01,
476 DECT_NWK_S_IE_FL_RELEASE_REASON_UNKNOWN_TRANSACTION_IDENTIFIER = 0x02,
477 DECT_NWK_S_IE_FL_RELEASE_REASON_MANDATORY_INFORMATION_ELEMENT_MISSING = 0x03,
478 DECT_NWK_S_IE_FL_RELEASE_REASON_INVALID_INFORMATION_ELEMENT_CONTENTS = 0x04,
479 DECT_NWK_S_IE_FL_RELEASE_REASON_INCOMPATIBLE_SERVICE = 0x05,
480 DECT_NWK_S_IE_FL_RELEASE_REASON_SERVICE_NOT_IMPLEMENTED = 0x06,
481 DECT_NWK_S_IE_FL_RELEASE_REASON_NEGOTIATION_NOT_SUPPORTED = 0x07,
482 DECT_NWK_S_IE_FL_RELEASE_REASON_INVALID_ENTITY = 0x08,
483 DECT_NWK_S_IE_FL_RELEASE_REASON_AUTHENTICATION_FAILED = 0x09,
484 DECT_NWK_S_IE_FL_RELEASE_REASON_UNKNOWN_IDENTITY = 0x0A,
485 DECT_NWK_S_IE_FL_RELEASE_REASON_NEGOTIATION_FAILED = 0x0B,
486 DECT_NWK_S_IE_FL_RELEASE_REASON_COLLISION = 0x0C,
487 DECT_NWK_S_IE_FL_RELEASE_REASON_TIMER_EXPIRY = 0x0D,
488 DECT_NWK_S_IE_FL_RELEASE_REASON_PARTIAL_RELEASE = 0x0E,
489 DECT_NWK_S_IE_FL_RELEASE_REASON_UNKNOWN = 0x0F,
490 DECT_NWK_S_IE_FL_RELEASE_REASON_USER_DETACHED = 0x10,
491 DECT_NWK_S_IE_FL_RELEASE_REASON_USER_NOT_IN_RANGE = 0x11,
492 DECT_NWK_S_IE_FL_RELEASE_REASON_USER_UNKNOWN = 0x12,
493 DECT_NWK_S_IE_FL_RELEASE_REASON_USER_ALREADY_ACTIVE = 0x13,
494 DECT_NWK_S_IE_FL_RELEASE_REASON_USER_BUSY = 0x14,
495 DECT_NWK_S_IE_FL_RELEASE_REASON_USER_REJECTION = 0x15,
496 DECT_NWK_S_IE_FL_RELEASE_REASON_USER_CALL_MODIFY = 0x16,
497 DECT_NWK_S_IE_FL_RELEASE_REASON_EXTERNAL_HANDOVER_NOT_SUPPORTED = 0x21,
498 DECT_NWK_S_IE_FL_RELEASE_REASON_NETWORK_PARAMETERS_MISSING = 0x22,
499 DECT_NWK_S_IE_FL_RELEASE_REASON_EXTERNAL_HANDOVER_RELEASE = 0x23,
500 DECT_NWK_S_IE_FL_RELEASE_REASON_OVERLOAD = 0x31,
501 DECT_NWK_S_IE_FL_RELEASE_REASON_INSUFFICIENT_RESOURCES = 0x32,
502 DECT_NWK_S_IE_FL_RELEASE_REASON_INSUFFICIENT_BEARERS_AVAILABLE = 0x33,
503 DECT_NWK_S_IE_FL_RELEASE_REASON_IWU_CONGESTION = 0x34,
504 DECT_NWK_S_IE_FL_RELEASE_REASON_SECURITY_ATTACK_ASSUMED = 0x40,
505 DECT_NWK_S_IE_FL_RELEASE_REASON_ENCRYPTION_ACTIVATION_FAILED = 0x41,
506 DECT_NWK_S_IE_FL_RELEASE_REASON_RE_KEYING_FAILED = 0x42,
507 DECT_NWK_S_IE_FL_RELEASE_REASON_NO_CIPHER_KEY_AVAILABLE = 0x43,
510 /* Section 7.6.8 */
511 enum dect_nwk_s_ie_fl_signal_value {
512 DECT_NWK_S_IE_FL_SIGNAL_VALUE_DIAL_TONE_ON = 0x00,
513 DECT_NWK_S_IE_FL_SIGNAL_VALUE_RINGBACK_TONE_ON = 0x01,
514 DECT_NWK_S_IE_FL_SIGNAL_VALUE_INTERCEPT_TONE_ON = 0x02,
515 DECT_NWK_S_IE_FL_SIGNAL_VALUE_NETWORK_CONGESTION_TONE_ON = 0x03,
516 DECT_NWK_S_IE_FL_SIGNAL_VALUE_BUSY_TONE_ON = 0x04,
517 DECT_NWK_S_IE_FL_SIGNAL_VALUE_CONFIRM_TONE_ON = 0x05,
518 DECT_NWK_S_IE_FL_SIGNAL_VALUE_ANSWER_TONE_ON = 0x06,
519 DECT_NWK_S_IE_FL_SIGNAL_VALUE_CALL_WAITING_TONE_ON = 0x07,
520 DECT_NWK_S_IE_FL_SIGNAL_VALUE_OFF_HOOK_WARNING_TONE_ON = 0x08,
521 DECT_NWK_S_IE_FL_SIGNAL_VALUE_NEGATIVE_ACK_TONE = 0x09,
522 DECT_NWK_S_IE_FL_SIGNAL_VALUE_TONES_OFF = 0x3F,
523 DECT_NWK_S_IE_FL_SIGNAL_VALUE_ALERTING_ON_PATTERN_0 = 0x40,
524 DECT_NWK_S_IE_FL_SIGNAL_VALUE_ALERTING_ON_PATTERN_1 = 0x41,
525 DECT_NWK_S_IE_FL_SIGNAL_VALUE_ALERTING_ON_PATTERN_2 = 0x42,
526 DECT_NWK_S_IE_FL_SIGNAL_VALUE_ALERTING_ON_PATTERN_3 = 0x43,
527 DECT_NWK_S_IE_FL_SIGNAL_VALUE_ALERTING_ON_PATTERN_4 = 0x44,
528 DECT_NWK_S_IE_FL_SIGNAL_VALUE_ALERTING_ON_PATTERN_5 = 0x45,
529 DECT_NWK_S_IE_FL_SIGNAL_VALUE_ALERTING_ON_PATTERN_6 = 0x46,
530 DECT_NWK_S_IE_FL_SIGNAL_VALUE_ALERTING_ON_PATTERN_7 = 0x47,
531 DECT_NWK_S_IE_FL_SIGNAL_VALUE_ALERTING_ON_CONTINUOUS = 0x48,
532 DECT_NWK_S_IE_FL_SIGNAL_VALUE_ALERTING_OFF = 0x4F,
535 /* Section 7.6.9 */
536 enum dect_nwk_s_ie_fl_timer_restart_value {
537 DECT_NWK_S_IE_FL_TIMER_RESTART_VALUE_RESTART_TIMER = 0x00,
538 DECT_NWK_S_IE_FL_TIMER_RESTART_VALUE_STOP_TIMER = 0x01,
541 /* Section 7.6.10 */
542 enum dect_nwk_s_ie_fl_test_hook_control_hook_value {
543 DECT_NWK_S_IE_FL_TEST_HOOK_CONTROL_HOOK_VALUE_ON_HOOK = 0x00,
544 DECT_NWK_S_IE_FL_TEST_HOOK_CONTROL_HOOK_VALUE_OFF_HOOK = 0x01,
547 /* Section 7.7.1 */
548 enum dect_nkw_s_ie_type {
549 DECT_NWK_S_IE_INFO_TYPE = 0x01,
550 DECT_NWK_S_IE_IDENTITY_TYPE = 0x02,
551 DECT_NWK_S_IE_PORTABLE_IDENTITY = 0x05,
552 DECT_NWK_S_IE_FIXED_IDENTITY = 0x06,
553 DECT_NWK_S_IE_LOCATION_AREA = 0x07,
554 DECT_NWK_S_IE_NWK_ASSIGNED_IDENTITY = 0x09,
555 DECT_NWK_S_IE_AUTH_TYPE = 0x0A,
556 DECT_NWK_S_IE_ALLOCATION_TYPE = 0x0B,
557 DECT_NWK_S_IE_RAND = 0x0C,
558 DECT_NWK_S_IE_RES = 0x0D,
559 DECT_NWK_S_IE_RS = 0x0E,
560 DECT_NWK_S_IE_IWU_ATTRIBUTES = 0x12,
561 DECT_NWK_S_IE_CALL_ATTRIBUES = 0x13,
562 DECT_NWK_S_IE_SERVICE_CHANGE_INFO = 0x16,
563 DECT_NWK_S_IE_CONNECTION_ATTRIBUTES = 0x17,
564 DECT_NWK_S_IE_CIPHER_INFO = 0x19,
565 DECT_NWK_S_IE_CALL_IDENTITY = 0x1A,
566 DECT_NWK_S_IE_CONNECTION_IDENTITY = 0x1B,
567 DECT_NWK_S_IE_FACILITY = 0x1C,
568 DECT_NWK_S_IE_PROGRESS_INDICATOR = 0x1E,
569 DECT_NWK_S_IE_MMS_GENERIC_HEADER = 0x20,
570 DECT_NWK_S_IE_MMS_OBJECT_HEADER = 0x21,
571 DECT_NWK_S_IE_MMS_EXTENDED_HEADER = 0x22,
572 DECT_NWK_S_IE_TIME_DATE = 0x23,
573 DECT_NWK_S_IE_MULTI_DISPLAY = 0x28,
574 DECT_NWK_S_IE_MULTI_KEYPAD = 0x2C,
575 DECT_NWK_S_IE_FEATURE_ACTIVATE = 0x38,
576 DECT_NWK_S_IE_FEATURE_INDICATE = 0x39,
577 DECT_NWK_S_IE_NETWORK_PARAMETER = 0x41,
578 DECT_NWK_S_IE_EXT_HO_INDICATOR = 0x42,
579 DECT_NWK_S_IE_ZAP_FIELD = 0x52,
580 DECT_NWK_S_IE_SERVICE_CLASS = 0x54,
581 DECT_NWK_S_IE_KEY = 0x56,
582 DECT_NWK_S_IE_REJECT_REASON = 0x60,
583 DECT_NWK_S_IE_SETUP_CAPABILITY = 0x62,
584 DECT_NWK_S_IE_TERMINAL_CAPABILITY = 0x63,
585 DECT_NWK_S_IE_END_TO_END_COMPATIBILITY = 0x64,
586 DECT_NWK_S_IE_RATE_PARAMETERS = 0x65,
587 DECT_NWK_S_IE_TRANSIT_DELAY = 0x66,
588 DECT_NWK_S_IE_WINDOW_SIZE = 0x67,
589 DECT_NWK_S_IE_ULE_MAC_CONFIGURATION_INFO = 0x68,
590 DECT_NWK_S_IE_CALLING_PARTY_NUMBER = 0x6C,
591 DECT_NWK_S_IE_CALLING_PARTY_NAME = 0x6D,
592 DECT_NWK_S_IE_CALLED_PARTY_NUMBER = 0x70,
593 DECT_NWK_S_IE_CALLED_PARTY_SUBADDR = 0x71,
594 DECT_NWK_S_IE_DURATION = 0x72,
595 DECT_NWK_S_IE_CALLED_PARTY_NAME = 0x73,
596 DECT_NWK_S_IE_LIST_CHANGE_DETAILS = 0x74,
597 DECT_NWK_S_IE_SEGMENTED_INFO = 0x75,
598 DECT_NWK_S_IE_ALPHANUMERIC = 0x76,
599 DECT_NWK_S_IE_IWU_TO_IWU = 0x77,
600 DECT_NWK_S_IE_MODEL_IDENTIFIER = 0x78,
601 DECT_NWK_S_IE_IWU_PACKET = 0x7A,
602 DECT_NWK_S_IE_ESCAPE_TO_PROPRIETARY = 0x7B,
603 DECT_NWK_S_IE_CODEC_LIST = 0x7C,
604 DECT_NWK_S_IE_EVENTS_NOTIFICATION = 0x7D,
605 DECT_NWK_S_IE_CALL_INFORMATION = 0x7E,
606 DECT_NWK_S_IE_ESCAPE_FOR_EXTENSION = 0x7F,
609 /* Section 7.7.4 */
610 enum dect_nwk_s_ie_auth_type_authentication_algorithm {
611 DECT_NWK_S_IE_AUTH_TYPE_AUTHENTICATION_ALGORITHM_DSAA = 0x01,
612 DECT_NWK_S_IE_AUTH_TYPE_AUTHENTICATION_ALGORITHM_DSAA2 = 0x02,
613 DECT_NWK_S_IE_AUTH_TYPE_AUTHENTICATION_ALGORITHM_UMTS = 0x20,
614 DECT_NWK_S_IE_AUTH_TYPE_AUTHENTICATION_ALGORITHM_GSM = 0x40,
615 DECT_NWK_S_IE_AUTH_TYPE_AUTHENTICATION_ALGORITHM_PROPRIETARY = 0x7F,
618 enum dect_nwk_s_ie_auth_type_ak_type {
619 DECT_NWK_S_IE_AUTH_TYPE_AK_TYPE_USER_AK = 0x1,
620 DECT_NWK_S_IE_AUTH_TYPE_AK_TYPE_USER_PERSONAL_ID = 0x3,
621 DECT_NWK_S_IE_AUTH_TYPE_AK_TYPE_AUTHENTICATION_CODE = 0x4,
624 enum dect_nwk_s_ie_auth_type_default_cipher_key_algorithm {
625 DECT_NWK_S_IE_AUTH_TYPE_DEFAULT_CIPHER_KEY_ALGORITHM_DSC = 0x0,
626 DECT_NWK_S_IE_AUTH_TYPE_DEFAULT_CIPHER_KEY_ALGORITHM_DSC2 = 0x1,
629 /* Section 7.7.9 */
630 enum dect_nwk_s_ie_calling_party_number_type {
631 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_TYPE_UNKNOWN = 0x0,
632 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_TYPE_INTERNATIONAL = 0x1,
633 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_TYPE_NATIONAL = 0x2,
634 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_TYPE_NETWORK_SPECIFIC = 0x3,
635 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_TYPE_SUBSCRIBER = 0x4,
636 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_TYPE_ABBREVIATED = 0x6,
637 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_TYPE_RESERVED = 0x7,
640 enum dect_nwk_s_ie_calling_party_number_numbering_plan {
641 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_NUMBERING_PLAN_UNKNOWN = 0x0,
642 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_NUMBERING_PLAN_ISDN = 0x1,
643 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_NUMBERING_PLAN_DATA = 0x3,
644 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_NUMBERING_PLAN_TCP_IP = 0x7,
645 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_NUMBERING_PLAN_NATIONAL = 0x8,
646 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_NUMBERING_PLAN_PRIVATE = 0x9,
647 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_NUMBERING_PLAN_SIP = 0xA,
648 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_NUMBERING_PLAN_INTERNET = 0xB,
649 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_NUMBERING_PLAN_LAN_MAC = 0xC,
650 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_NUMBERING_PLAN_X400 = 0xD,
651 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_NUMBERING_PLAN_PROFILE = 0xE,
652 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_NUMBERING_PLAN_RESERVED = 0xF,
655 enum dect_nwk_s_ie_calling_party_number_presentation {
656 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_PRESENTATION_ALLOWED = 0x0,
657 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_PRESENTATION_RESTRICTED = 0x1,
658 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_PRESENTATION_NUMBER_NOT_AVAILABLE = 0x2,
659 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_PRESENTATION_RESERVED = 0x3,
662 enum dect_nwk_s_ie_calling_party_number_screening {
663 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_PRESENTATION_USER_NOT_SCREENED = 0x0,
664 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_PRESENTATION_USER_VERIFIED_PASSED = 0x1,
665 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_PRESENTATION_USER_VERIFIED_FAILED = 0x2,
666 DECT_NWK_S_IE_CALLING_PARTY_NUMBER_PRESENTATION_NETWORK = 0x3,
669 /* Section 7.7.10 */
670 enum dect_nwk_s_ie_cipher_info_algorithm {
671 DECT_NWK_S_IE_CIPHER_INFO_ALGORITHM_DSC = 0x01,
672 DECT_NWK_S_IE_CIPHER_INFO_ALGORITHM_DSC2 = 0x02,
673 DECT_NWK_S_IE_CIPHER_INFO_ALGORITHM_GPRS_NO = 0x28,
674 DECT_NWK_S_IE_CIPHER_INFO_ALGORITHM_GPRS_GEA1 = 0x29,
675 DECT_NWK_S_IE_CIPHER_INFO_ALGORITHM_GPRS_GEA2 = 0x2A,
676 DECT_NWK_S_IE_CIPHER_INFO_ALGORITHM_GPRS_GEA3 = 0x2B,
677 DECT_NWK_S_IE_CIPHER_INFO_ALGORITHM_GPRS_GEA4 = 0x2C,
678 DECT_NWK_S_IE_CIPHER_INFO_ALGORITHM_GPRS_GEA5 = 0x2D,
679 DECT_NWK_S_IE_CIPHER_INFO_ALGORITHM_GPRS_GEA6 = 0x2E,
680 DECT_NWK_S_IE_CIPHER_INFO_ALGORITHM_GPRS_GEA7 = 0x2F,
681 DECT_NWK_S_IE_CIPHER_INFO_ALGORITHM_PROPRIETARY = 0x7F,
684 enum dect_nwk_s_ie_cipher_info_key_type {
685 DECT_NWK_S_IE_CIPHER_INFO_KEY_TYPE_DERIVED = 0x9,
686 DECT_NWK_S_IE_CIPHER_INFO_KEY_TYPE_STATIC = 0xA,
689 /* Section 7.7.13 */
690 enum dect_nwk_s_ie_duration_lock_limits_type {
691 DECT_NWK_S_IE_DURATION_LOCK_LIMITS_TEMPORARY2 = 0x5,
692 DECT_NWK_S_IE_DURATION_LOCK_LIMITS_TEMPORARY = 0x6,
693 DECT_NWK_S_IE_DURATION_LOCK_LIMITS_NO = 0x7,
696 enum dect_nwk_s_ie_duration_time_limits_type {
697 DECT_NWK_S_IE_DURATION_TIME_LIMITS_ERASE = 0x0,
698 DECT_NWK_S_IE_DURATION_TIME_LIMITS_DEFINED_1 = 0x1,
699 DECT_NWK_S_IE_DURATION_TIME_LIMITS_DEFINED_2 = 0x2,
700 DECT_NWK_S_IE_DURATION_TIME_LIMITS_STANDARD = 0x4,
701 DECT_NWK_S_IE_DURATION_TIME_LIMITS_INFINITE = 0xF,
704 /* Section 7.7.18 */
705 enum dect_nwk_s_ie_fixed_identity_type {
706 DECT_NWK_S_IE_FIXED_IDENTITY_ARI = 0x00,
707 DECT_NWK_S_IE_FIXED_IDENTITY_ARI_PLUS_RPN = 0x01,
708 DECT_NWK_S_IE_FIXED_IDENTITY_ARI_PLUS_RPN_WRS = 0x02,
709 DECT_NWK_S_IE_FIXED_IDENTITY_PARK = 0x20,
712 enum dect_nwk_arc_type {
713 DECT_NWK_ARC_TYPE_A = 0x0,
714 DECT_NWK_ARC_TYPE_B = 0x1,
715 DECT_NWK_ARC_TYPE_C = 0x2,
716 DECT_NWK_ARC_TYPE_D = 0x3,
717 DECT_NWK_ARC_TYPE_E = 0x4,
718 DECT_NWK_ARC_TYPE_F = 0x5,
719 DECT_NWK_ARC_TYPE_G = 0x6,
720 DECT_NWK_ARC_TYPE_H = 0x7,
723 /* Section 7.7.23 */
724 enum dect_nwk_s_ie_iwu_to_iwu_protocol_discriminator_type {
725 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_USER_SPECIFIC = 0x00,
726 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_OSI_HIGH_LAYER = 0x01,
727 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_X263 = 0x02,
728 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_LIST_ACCESS = 0x03,
729 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_IA5_CHARS = 0x04,
730 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_ULE_NON_CCM = 0x05,
731 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_SUOTA = 0x06,
732 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_V120 = 0x07,
733 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_Q931_MESSAGE = 0x08,
734 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_Q931_IE = 0x09,
735 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_Q931_PARTIAL = 0x0A,
736 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_ULE_CCM_AUX0 = 0x0C,
737 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_ULE_CCM_AUX1 = 0x0D,
738 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_ULE_CCM_AUX2 = 0x0E,
739 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_DTAM = 0x0F,
740 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_GSM_MESSAGE = 0x10,
741 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_GSM_IE = 0x11,
742 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_UMTS_GPRS_IE = 0x12,
743 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_UMTS_GPRS_MESSAGE = 0x13,
744 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_LRMS = 0x14,
745 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_RLL_AP = 0x15,
746 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_WRS = 0x16,
747 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_DECT_ISDN_C_PLANE = 0x20,
748 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_DECT_ISDN_U_PLANE = 0x21,
749 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_DECT_ISDN_OPER = 0x22,
750 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_TERMINAL_DATA = 0x23,
751 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_DECT_IP = 0x24,
752 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_MPEG4 = 0x25,
753 DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_UNKNOWN = 0x2F,
756 enum dect_nwk_s_ie_iwu_to_iwu_discriminator_type {
757 DECT_NWK_S_IE_IWU_TO_IWU_DISCRIMINATOR_TYPE_UNSPECIFIED = 0x00,
758 DECT_NWK_S_IE_IWU_TO_IWU_DISCRIMINATOR_TYPE_EMC = 0x01,
761 /* Section 7.7.25 */
762 enum dect_nwk_s_ie_location_area_eli_type {
763 DECT_NWK_S_IE_LOCATION_AREA_ELI_TYPE_LI_REQ_NOT_INCLUDED = 0x7,
764 DECT_NWK_S_IE_LOCATION_AREA_ELI_TYPE_LI = 0xF,
767 /* Section 7.7.28 */
768 enum dect_nwk_s_ie_nwk_assigned_identity_type {
769 DECT_NWK_S_IE_NWK_ASSIGNED_IDENTITY_TMSI = 0xE4,
770 DECT_NWK_S_IE_NWK_ASSIGNED_IDENTITY_PROPRIETARY = 0xFF,
773 /* Section 7.7.30 */
774 enum dect_nwk_s_ie_portable_identity_type {
775 DECT_NWK_S_IE_PORTABLE_IDENTITY_IPUI = 0x00,
776 DECT_NWK_S_IE_PORTABLE_IDENTITY_IPEI = 0x10,
777 DECT_NWK_S_IE_PORTABLE_IDENTITY_TPUI = 0x20,
780 enum dect_nwk_s_ie_portable_identity_tpui_assignment_type_coding {
781 DECT_NWK_S_IE_PORTABLE_IDENTITY_TPUI_ASSIGNMENT_TYPE_TPUI = 0x0,
782 DECT_NWK_S_IE_PORTABLE_IDENTITY_TPUI_ASSIGNMENT_TYPE_TPUI_WITH_NUMBER_ASSIGNED = 0x1,
785 enum dect_nwk_ipui_type {
786 DECT_NWK_IPUI_TYPE_N = 0x0,
787 DECT_NWK_IPUI_TYPE_O = 0x1,
788 DECT_NWK_IPUI_TYPE_P = 0x2,
789 DECT_NWK_IPUI_TYPE_Q = 0x3,
790 DECT_NWK_IPUI_TYPE_R = 0x4,
791 DECT_NWK_IPUI_TYPE_S = 0x5,
792 DECT_NWK_IPUI_TYPE_T = 0x6,
793 DECT_NWK_IPUI_TYPE_U = 0x7,
796 /* Section 7.7.41 */
797 enum dect_nwk_s_ie_terminal_capability_tone_capabilites {
798 DECT_NWK_S_IE_TERMINAL_CAPABILITY_TONE_CAPABILITY_NA = 0x0,
799 DECT_NWK_S_IE_TERMINAL_CAPABILITY_TONE_CAPABILITY_NO_TONE_CAPABILITY = 0x1,
800 DECT_NWK_S_IE_TERMINAL_CAPABILITY_TONE_CAPABILITY_DIAL_TONE_ONLY = 0x2,
801 DECT_NWK_S_IE_TERMINAL_CAPABILITY_TONE_CAPABILITY_E182_TONES_SUPPORTED = 0x3,
802 DECT_NWK_S_IE_TERMINAL_CAPABILITY_TONE_CAPABILITY_COMPLETE_DECT_TONES_SUPPORTED = 0x4,
805 enum dect_nwk_s_ie_terminal_capability_display_capabilities {
806 DECT_NWK_S_IE_TERMINAL_CAPABILITY_DISPLAY_CAPABILITY_NA = 0x0,
807 DECT_NWK_S_IE_TERMINAL_CAPABILITY_DISPLAY_CAPABILITY_NO_DISPLAY = 0x1,
808 DECT_NWK_S_IE_TERMINAL_CAPABILITY_DISPLAY_CAPABILITY_NUMERIC = 0x2,
809 DECT_NWK_S_IE_TERMINAL_CAPABILITY_DISPLAY_CAPABILITY_NUMERIC_PLUS = 0x3,
810 DECT_NWK_S_IE_TERMINAL_CAPABILITY_DISPLAY_CAPABILITY_ALPHANUMERIC = 0x4,
811 DECT_NWK_S_IE_TERMINAL_CAPABILITY_DISPLAY_CAPABILITY_FULL_DISPLAY = 0x5,
814 enum dect_nwk_s_ie_terminal_capability_echo_parameters {
815 DECT_NWK_S_IE_TERMINAL_CAPABILITY_ECHO_PARAMETER_NA = 0x0,
816 DECT_NWK_S_IE_TERMINAL_CAPABILITY_ECHO_PARAMETER_MINIMUM_TCLW = 0x1,
817 DECT_NWK_S_IE_TERMINAL_CAPABILITY_ECHO_PARAMETER_TCLW_FULL = 0x2,
818 DECT_NWK_S_IE_TERMINAL_CAPABILITY_ECHO_PARAMETER_TCLW_VOIP_COMPATIBLE = 0x3,
821 enum dect_nwk_s_ie_terminal_capability_n_rej_capabilities {
822 DECT_NWK_S_IE_TERMINAL_CAPABILITY_N_REJ_NA = 0x0,
823 DECT_NWK_S_IE_TERMINAL_CAPABILITY_N_REJ_NO = 0x1,
824 DECT_NWK_S_IE_TERMINAL_CAPABILITY_N_REJ_PROVIDED = 0x2,
827 enum dect_nwk_s_ie_terminal_capability_a_vol_capabilities {
828 DECT_NWK_S_IE_TERMINAL_CAPABILITY_A_VOL_NA = 0x0,
829 DECT_NWK_S_IE_TERMINAL_CAPABILITY_A_VOL_NO_PP_A_VOL = 0x1,
830 DECT_NWK_S_IE_TERMINAL_CAPABILITY_A_VOL_PP_A_VOL_USED = 0x2,
833 enum dect_nwk_s_ie_terminal_capability_slot_type {
834 DECT_NWK_S_IE_TERMINAL_CAPABILITY_SLOT_TYPE_HALF_80 = 0x1,
835 DECT_NWK_S_IE_TERMINAL_CAPABILITY_SLOT_TYPE_LONG_640 = 0x02,
836 DECT_NWK_S_IE_TERMINAL_CAPABILITY_SLOT_TYPE_LONG_672 = 0x04,
837 DECT_NWK_S_IE_TERMINAL_CAPABILITY_SLOT_TYPE_FULL = 0x08,
838 DECT_NWK_S_IE_TERMINAL_CAPABILITY_SLOT_TYPE_DOUBLE = 0x10,
841 enum dect_nwk_s_ie_terminal_capability_scrolling_behaviour_type {
842 DECT_NWK_S_IE_TERMINAL_CAPABILITY_SCROLLING_BEHAVIOUR_NOT_SPECIFIED = 0x00,
843 DECT_NWK_S_IE_TERMINAL_CAPABILITY_SCROLLING_BEHAVIOUR_TYPE_1 = 0x01,
844 DECT_NWK_S_IE_TERMINAL_CAPABILITY_SCROLLING_BEHAVIOUR_TYPE_2 = 0x02,
847 enum dect_nwk_s_ie_terminal_capability_profile_indicator_1 {
848 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_1_CAP = 0x01,
849 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_1_GAP = 0x02,
850 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_1_DECT_GSM = 0x04,
851 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_1_ISDN = 0x08,
852 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_1_LRMS = 0x10,
853 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_1_DPRS_STREAM = 0x20,
854 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_1_DPRS_ASYMMETRIC = 0x40,
857 enum dect_nwk_s_ie_terminal_capability_profile_indicator_2 {
858 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_2_DPRS_CLASS_2 = 0x01,
859 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_2_DATA_SERVICES = 0x02,
860 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_2_ISDN = 0x04,
861 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_2_DECT_UMTS_BEARER = 0x08,
862 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_2_DECT_UMTS_SMS = 0x10,
863 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_2_DECT_UMTS_FACSIMILE = 0x20,
864 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_2_RAP = 0x40,
867 enum dect_nwk_s_ie_terminal_capability_profile_indicator_3 {
868 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_3_DECT_GSM = 0x01,
869 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_3_WRS = 0x02,
870 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_3_SMS = 0x04,
871 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_3_DMAP = 0x08,
872 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_3_CTA = 0x10,
873 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_3_ETHERNET = 0x20,
874 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_3_TOKEN_RING = 0x40,
877 enum dect_nwk_s_ie_terminal_capability_profile_indicator_4 {
878 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_4_IP = 0x01,
879 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_4_PPP = 0x02,
880 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_4_V24 = 0x04,
881 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_4_CF = 0x08,
882 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_4_IPQ = 0x10,
883 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_4_RAP_2 = 0x20,
884 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_4_DPRS = 0x40,
887 enum dect_nwk_s_ie_terminal_capability_profile_indicator_5 {
888 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_5_MOD_2BZ = 0x01,
889 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_5_MOD_4BZ = 0x02,
890 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_5_MOD_8BZ = 0x04,
891 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_5_MOD_16BZ = 0x08,
892 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_5_MOD_2A = 0x10,
893 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_5_MOD_4A = 0x20,
894 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_5_MOD_8A = 0x40,
896 enum dect_nwk_s_ie_terminal_capability_profile_indicator_6 {
897 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_6_DECT_UMTS = 0x01,
898 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_6_DECT_UMTS_GPRS = 0x02,
899 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_6_ODAP = 0x04,
900 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_6_F_MMS = 0x08,
901 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_6_GF = 0x10,
902 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_6_FAST_HOPPING = 0x20,
903 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_6_NO_EMISSION = 0x40,
906 enum dect_nwk_s_ie_terminal_capability_profile_indicator_7 {
907 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_7_MOD64 = 0x01,
908 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_7_NG_DECT_1 = 0x02,
909 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_7_NG_DECT_3 = 0x04,
910 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_7_HEADSET_MANAGEMENT = 0x08,
911 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_7_RE_KEYING = 0x10,
912 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_7_ASSOCIATED_MELODY = 0x20,
913 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_7_NG_DECT_5 = 0x40,
916 enum dect_nwk_s_ie_terminal_capability_profile_indicator_8 {
917 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_8_MUX_E_U = 0x01,
918 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_8_CHANNEL_IPF = 0x02,
919 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_8_CHANNEL_SIPF = 0x04,
920 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_8_PACKET_DATA_CATEGORY = 0x78,
923 enum dect_nwk_s_ie_terminal_capability_profile_indicator_9 {
924 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_9_DPRS_3 = 0x01,
925 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_9_DPRS_4 = 0x02,
926 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_9_DECT_ULE = 0x1C,
927 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_9_LIGHT_DATA = 0x20,
930 enum dect_nwk_s_ie_terminal_capability_profile_indicator_10 {
931 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_10_DATE_TIME_RECOVERY = 0x01,
932 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_10_EXTENDED_LIST_CHANGE = 0x02,
933 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_10_SCREENING = 0x04,
934 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_10_WRS_2 = 0x08,
935 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_10_WRS_ULE = 0x10,
938 enum dect_nwk_s_ie_terminal_capability_profile_indicator_8_packet_data_categories {
939 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_8_PACKET_DATA_NO = 0x0,
940 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_8_PACKET_DATA_CAT_1 = 0x1,
941 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_8_PACKET_DATA_CAT_2 = 0x2,
942 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_8_PACKET_DATA_CAT_3 = 0x3,
943 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_8_PACKET_DATA_CAT_4_8PSK = 0x4,
944 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_8_PACKET_DATA_CAT_4_64QAM = 0x5,
947 enum dect_nwk_s_ie_terminal_capability_profile_indicator_9_dect_ule_versions {
948 DECT_NWK_S_IE_TERMINA_CAPABILITY_PROFILE_INDICATOR_9_DECT_ULE_1_V111 = 0x1,
949 DECT_NWK_S_IE_TERMINA_CAPABILITY_PROFILE_INDICATOR_9_DECT_ULE_1_V121 = 0x3,
950 DECT_NWK_S_IE_TERMINA_CAPABILITY_PROFILE_INDICATOR_9_DECT_ULE_2 = 0x5,
951 DECT_NWK_S_IE_TERMINA_CAPABILITY_PROFILE_INDICATOR_9_DECT_ULE_3 = 0x7,
954 enum dect_nwk_s_ie_terminal_capability_control_codes {
955 DECT_NWK_S_IE_TERMINAL_CAPABILITY_CONTROL_CODES_NOT_SPECIFIED = 0x0,
956 DECT_NWK_S_IE_TERMINAL_CAPABILITY_CONTROL_CODES_0CH = 0x1,
957 DECT_NWK_S_IE_TERMINAL_CAPABILITY_CONTROL_CODES_CODING_001 = 0x2,
958 DECT_NWK_S_IE_TERMINAL_CAPABILITY_CONTROL_CODES_CODING_010 = 0x3,
959 DECT_NWK_S_IE_TERMINAL_CAPABILITY_CONTROL_CODES_CODING_011 = 0x4,
962 enum dect_nwk_s_ie_terminal_capability_escape_to_char_sets_1 {
963 DECT_NWK_S_IE_TERMINAL_CAPABILITY_ESCAPE_TO_CHAR_SETS_1_LATIN_NO1 = 0x01,
964 DECT_NWK_S_IE_TERMINAL_CAPABILITY_ESCAPE_TO_CHAR_SETS_1_LATIN_NO9 = 0x02,
965 DECT_NWK_S_IE_TERMINAL_CAPABILITY_ESCAPE_TO_CHAR_SETS_1_LATIN_NO5 = 0x04,
966 DECT_NWK_S_IE_TERMINAL_CAPABILITY_ESCAPE_TO_CHAR_SETS_1_GREEK = 0x08,
969 enum dect_nwk_s_ie_terminal_capability_blind_slot_indication {
970 DECT_NWK_S_IE_TERMINAL_CAPABILITY_BLIND_SLOT_INDICATION_NO = 0x0,
971 DECT_NWK_S_IE_TERMINAL_CAPABILITY_BLIND_SLOT_INDICATION_NOT_POSSIBLE_ADJACENT = 0x1,
972 DECT_NWK_S_IE_TERMINAL_CAPABILITY_BLIND_SLOT_INDICATION_NOT_POSSIBLE_EVERY_SECOND = 0x2,
973 DECT_NWK_S_IE_TERMINAL_CAPABILITY_BLIND_SLOT_INDICATION_LIMITATIONS_IN_FOLLOWING_BITS = 0x3,
976 enum dect_nwk_s_ie_terminal_capability_blind_slot_6 {
977 DECT_NWK_S_IE_TERMINAL_CAPABILITY_SP0 = 0x10,
978 DECT_NWK_S_IE_TERMINAL_CAPABILITY_SP1 = 0x08,
979 DECT_NWK_S_IE_TERMINAL_CAPABILITY_SP2 = 0x04,
980 DECT_NWK_S_IE_TERMINAL_CAPABILITY_SP3 = 0x02,
981 DECT_NWK_S_IE_TERMINAL_CAPABILITY_SP4 = 0x01,
984 enum dect_nwk_s_ie_terminal_capability_blind_slot_6a {
985 DECT_NWK_S_IE_TERMINAL_CAPABILITY_SP5 = 0x40,
986 DECT_NWK_S_IE_TERMINAL_CAPABILITY_SP6 = 0x20,
987 DECT_NWK_S_IE_TERMINAL_CAPABILITY_SP7 = 0x10,
988 DECT_NWK_S_IE_TERMINAL_CAPABILITY_SP8 = 0x08,
989 DECT_NWK_S_IE_TERMINAL_CAPABILITY_SP9 = 0x04,
990 DECT_NWK_S_IE_TERMINAL_CAPABILITY_SP10 = 0x02,
991 DECT_NWK_S_IE_TERMINAL_CAPABILITY_SP11 = 0x01,
994 /* Section 7.7.45 */
995 enum dect_nwk_s_ie_escape_to_proprietary_discriminator_type {
996 DECT_NWK_S_IE_ESCAPE_TO_PROPRIETARY_DISCRIMINATOR_TYPE_UNSPECIFIED = 0x00,
997 DECT_NWK_S_IE_ESCAPE_TO_PROPRIETARY_DISCRIMINATOR_TYPE_EMC = 0x01,
1000 /* Section 7.7.54 */
1001 enum dect_nwk_s_ie_codec_list_negotiation_indicator_type {
1002 DECT_NWK_S_IE_CODEC_LIST_NEGOTIATION_INDICATOR_NOT_POSSIBLE = 0x0,
1003 DECT_NWK_S_IE_CODEC_LIST_NEGOTIATION_INDICATOR_CODEC_NEGOTIATION = 0x1,
1006 enum dect_nwk_s_ie_codec_list_codec_identifier_type {
1007 DECT_NWK_S_IE_CODEC_LIST_CODEC_IDENTIFIER_USER_32 = 0x01,
1008 DECT_NWK_S_IE_CODEC_LIST_CODEC_IDENTIFIER_G726_32 = 0x02,
1009 DECT_NWK_S_IE_CODEC_LIST_CODEC_IDENTIFIER_G722_64 = 0x03,
1010 DECT_NWK_S_IE_CODEC_LIST_CODEC_IDENTIFIER_G711_ALAW_64 = 0x04,
1011 DECT_NWK_S_IE_CODEC_LIST_CODEC_IDENTIFIER_G711_ULAW_64 = 0x05,
1012 DECT_NWK_S_IE_CODEC_LIST_CODEC_IDENTIFIER_G729_1_32 = 0x06,
1013 DECT_NWK_S_IE_CODEC_LIST_CODEC_IDENTIFIER_MPEG4_32 = 0x07,
1014 DECT_NWK_S_IE_CODEC_LIST_CODEC_IDENTIFIER_MPEG4_64 = 0x08,
1015 DECT_NWK_S_IE_CODEC_LIST_CODEC_IDENTIFIER_USER_64 = 0x09,
1018 enum dect_nwk_s_ie_codec_list_mac_and_dlc_service_type {
1019 DECT_NWK_S_IE_CODEC_LIST_MAC_AND_DLC_SERVICE_LU1_INA = 0x0,
1020 DECT_NWK_S_IE_CODEC_LIST_MAC_AND_DLC_SERVICE_LU1_INB = 0x1,
1021 DECT_NWK_S_IE_CODEC_LIST_MAC_AND_DLC_SERVICE_LU1_IPM = 0x2,
1022 DECT_NWK_S_IE_CODEC_LIST_MAC_AND_DLC_SERVICE_LU1_IPQ = 0x3,
1023 DECT_NWK_S_IE_CODEC_LIST_MAC_AND_DLC_SERVICE_LU7_INB = 0x4,
1024 DECT_NWK_S_IE_CODEC_LIST_MAC_AND_DLC_SERVICE_LU12_INB = 0x5,
1027 enum dect_nwk_s_ie_codec_list_c_plane_routing_type {
1028 DECT_NWK_S_IE_CODEC_LIST_C_PLANE_ROUTING_CS_ONLY = 0x0,
1029 DECT_NWK_S_IE_CODEC_LIST_C_PLANE_ROUTING_CS_PREFERRED_CF_ACCEPTED = 0x1,
1030 DECT_NWK_S_IE_CODEC_LIST_C_PLANE_ROUTING_CF_PREFERRED_CS_ACCEPTED = 0x2,
1031 DECT_NWK_S_IE_CODEC_LIST_C_PLANE_ROUTING_CF_ONLY = 0x4,
1034 enum dect_nwk_s_ie_codec_list_slot_size_type {
1035 DECT_NWK_S_IE_CODEC_LIST_SLOT_SIZE_HALF = 0x0,
1036 DECT_NWK_S_IE_CODEC_LIST_SLOT_SIZE_LONG_640 = 0x1,
1037 DECT_NWK_S_IE_CODEC_LIST_SLOT_SIZE_LONG_672 = 0x2,
1038 DECT_NWK_S_IE_CODEC_LIST_SLOT_SIZE_FULL = 0x4,
1039 DECT_NWK_S_IE_CODEC_LIST_SLOT_SIZE_DOUBLE = 0x5,
1042 /* Annex D.2.2 */
1043 enum dect_charset_control_codes {
1044 DECT_CHARSET_CANCEL_DTMF_TONE = 0x00,
1045 DECT_CHARSET_RETURN_HOME = 0x02,
1046 DECT_CHARSET_RETURN_END = 0x03,
1047 DECT_CHARSET_DIALLING_PAUSE = 0x05,
1048 DECT_CHARSET_MOVE_FORWARD_TO_NEXT_COLUMN_TAB_POSITION = 0x06,
1049 DECT_CHARSET_MOVE_BACKWARD_TO_NEXT_COLUMN_TAB_POSITION = 0x07,
1050 DECT_CHARSET_MOVE_BACKWARD_ONE_COLUMN = 0x08,
1051 DECT_CHARSET_MOVE_FORWARD_ONE_COLUMN = 0x09,
1052 DECT_CHARSET_MOVE_DOWN_ONE_ROW = 0x0A,
1053 DECT_CHARSET_MOVE_UP_ONE_ROW = 0x0B,
1054 DECT_CHARSET_CLEAR_DISPLAY = 0x0C,
1055 DECT_CHARSET_RETURN_TO_START_OF_CURRENT_ROW = 0x0D,
1056 DECT_CHARSET_FLASH_OFF = 0x0E,
1057 DECT_CHARSET_FLASH_ON = 0x0F,
1058 DECT_CHARSET_XON = 0x11,
1059 DECT_CHARSET_GO_TO_PULSE_DIALLING = 0x12,
1060 DECT_CHARSET_XOFF = 0x13,
1061 DECT_CHARSET_GO_TO_DTMF_DIALLING_DEFINED_TONE_LENGTH = 0x14,
1062 DECT_CHARSET_REGISTER_RECALL = 0x15,
1063 DECT_CHARSET_GO_TO_DTMF_DIALLING_INFINITE_TONE_LENGTH = 0x16,
1064 DECT_CHARSET_INTERNAL_CALL = 0x17,
1065 DECT_CHARSET_SERVICE_CALL = 0x18,
1066 DECT_CHARSET_CLEAR_TO_END_OF_DISPLAY = 0x19,
1067 DECT_CHARSET_CLEAR_TO_END_OF_LINE = 0x1A,
1068 DECT_CHARSET_ESC = 0x1B,
1069 DECT_CHARSET_SUPPLEMENTARY_SERVICE = 0x1C,
1072 /*********************************************************************************
1073 * DECT VALUE STRINGS
1074 *********************************************************************************/
1076 /* Section 7.2 */
1077 static const value_string nwk_pdisc_vals[] = {
1078 { DECT_NWK_PDISC_LCE, "Link Control Entity (LCE)" },
1079 { DECT_NWK_PDISC_CC, "Call Control (CC)" },
1080 { DECT_NWK_PDISC_CISS, "Call Independent Supplementary Services (CISS)" },
1081 { DECT_NWK_PDISC_MM, "Mobility Management (MM)" },
1082 { DECT_NWK_PDISC_CLMS, "ConnectionLess Message Service (CLMS)" },
1083 { DECT_NWK_PDISC_COMS, "Connection Oriented Message Service (COMS)" },
1084 { 0, NULL }
1087 /* Section 7.4.1 */
1088 static const value_string nwk_cc_msgt_vals[] = {
1089 { DECT_NWK_CC_ALERTING, "CC-ALERTING" },
1090 { DECT_NWK_CC_CALL_PROC, "CC-CALL-PROC" },
1091 { DECT_NWK_CC_SETUP, "CC-SETUP" },
1092 { DECT_NWK_CC_CONNECT, "CC-CONNECT" },
1093 { DECT_NWK_CC_SETUP_ACK, "CC-SETUP-ACK" },
1094 { DECT_NWK_CC_CONNECT_ACK, "CC-CONNECT-ACK" },
1095 { DECT_NWK_CC_SERVICE_CHANGE, "CC-SERVICE-CHANGE" },
1096 { DECT_NWK_CC_SERVICE_ACCEPT, "CC-SERVICE-ACCEPT" },
1097 { DECT_NWK_CC_SERVICE_REJECT, "CC-SERVICE-REJECT" },
1098 { DECT_NWK_CC_RELEASE, "CC-RELEASE" },
1099 { DECT_NWK_CC_RELEASE_COM, "CC-RELEASE-COM" },
1100 { DECT_NWK_CC_IWU_INFO, "CC-IWU-INFO" },
1101 { DECT_NWK_CC_NOTIFY, "CC-NOTIFY" },
1102 { DECT_NWK_CC_INFO, "CC-INFO" },
1103 { 0, NULL }
1106 /* Section 7.4.2 */
1107 static const value_string dect_nwk_ciss_message_type_vals[] = {
1108 { DECT_NWK_SS_CISS_RELEASE_COM, "CISS-RELEASE-COM" },
1109 { DECT_NWK_SS_CISS_FACILITY, "FACILITY" },
1110 { DECT_NWK_SS_CISS_REGISTER, "CISS-REGISTER" },
1111 { 0, NULL }
1114 static const value_string dect_nwk_crss_message_type_vals[] = {
1115 { DECT_NWK_SS_CRSS_HOLD, "HOLD" },
1116 { DECT_NWK_SS_CRSS_HOLD_ACK, "HOLD-ACK" },
1117 { DECT_NWK_SS_CRSS_HOLD_REJ, "HOLD-REJECT" },
1118 { DECT_NWK_SS_CRSS_RETRIEVE, "RETRIEVE" },
1119 { DECT_NWK_SS_CRSS_RETRIEVE_ACK, "RETRIEVE-ACK" },
1120 { DECT_NWK_SS_CRSS_RETRIEVE_REJ, "RETRIEVE-REJECT" },
1121 { DECT_NWK_SS_CRSS_FACILITY, "FACILITY" },
1122 { 0, NULL }
1125 /* Section 7.4.3 */
1126 static const value_string dect_nwk_coms_message_type_vals[] = {
1127 { DECT_NWK_COMS_SETUP, "COMS-SETUP" },
1128 { DECT_NWK_COMS_CONNECT, "COMS-CONNECT" },
1129 { DECT_NWK_COMS_NOTIFY, "COMS-NOTIFY" },
1130 { DECT_NWK_COMS_RELEASE, "COMS-RELEASE" },
1131 { DECT_NWK_COMS_RELEASE_COM, "COMS-RELEASE-COM" },
1132 { DECT_NWK_COMS_INFO, "COMS-INFO" },
1133 { DECT_NWK_COMS_ACK, "COMS-ACK" },
1134 { 0, NULL }
1137 /* Section 7.4.4 */
1138 static const value_string dect_nwk_clms_message_type_vals[] = {
1139 { DECT_NWK_CLMS_VARIABLE, "CLMS-VARIABLE" },
1140 { 0, NULL }
1143 /* Section 7.4.5 */
1144 static const value_string nwk_mm_msgt_vals[] = {
1145 { DECT_NWK_MM_AUTH_REQ, "MM-AUTH-REQ" },
1146 { DECT_NWK_MM_AUTH_REPLY, "MM-AUTH-REPLY" },
1147 { DECT_NWK_MM_KEY_ALLOC, "MM-KEY-ALLOCATE" },
1148 { DECT_NWK_MM_AUTH_REJ, "MM-AUTH-REJECT" },
1149 { DECT_NWK_MM_ACC_RIGHTS_REQ, "MM-ACCESS-RIGHTS-REQUEST" },
1150 { DECT_NWK_MM_ACC_RIGHTS_ACK, "MM-ACCESS-RIGHTS-ACCEPT" },
1151 { DECT_NWK_MM_ACC_RIGHTS_REJ, "MM-ACCESS-RIGHTS-REJECT" },
1152 { DECT_NWK_MM_ACC_RIGHTS_TERM_REQ, "MM-ACCESS-RIGHTS-TERMINATE-REQUEST" },
1153 { DECT_NWK_MM_ACC_RIGHTS_TERM_ACK, "MM-ACCESS-RIGHTS-TERMINATE-ACCEPT" },
1154 { DECT_NWK_MM_ACC_RIGHTS_TERM_REJ, "MM-ACCESS-RIGHTS-TERMINATE-REJECT" },
1155 { DECT_NWK_MM_CIPH_REQ, "MM-CIPHER-REQUEST" },
1156 { DECT_NWK_MM_CIPH_SUGGEST, "MM-CIPHER-SUGGEST" },
1157 { DECT_NWK_MM_CIPH_REJ, "MM-CIPHER-REJECT" },
1158 { DECT_NWK_MM_INFO_REQ, "MM-INFO-REQUEST" },
1159 { DECT_NWK_MM_INFO_ACK, "MM-INFO-ACCEPT" },
1160 { DECT_NWK_MM_INFO_SUGGEST, "MM-INFO-SUGGEST" },
1161 { DECT_NWK_MM_INFO_REJ, "MM-INFO-REJECT" },
1162 { DECT_NWK_MM_LOCATE_REQ, "MM-LOCATE-REQUEST" },
1163 { DECT_NWK_MM_LOCATE_ACK, "MM-LOCATE-ACCEPT" },
1164 { DECT_NWK_MM_DETACH, "MM-DETACH" },
1165 { DECT_NWK_MM_LOCATE_REJ, "MM-LOCATE-REJECT" },
1166 { DECT_NWK_MM_ID_REQ, "MM-IDENTITY-REQUEST" },
1167 { DECT_NWK_MM_ID_REPLY, "MM-IDENTITY-REPLY" },
1168 { DECT_NWK_MM_IWU, "MM-IWU" },
1169 { DECT_NWK_MM_TID_ASSIGN, "MM-TEMPORARY-IDENTITY-ASSIGN" },
1170 { DECT_NWK_MM_TID_ASSIGN_ACK, "MM-TEMPORARY-IDENTITY-ASSIGN-ACK" },
1171 { DECT_NWK_MM_TID_ASSIGN_REJ, "MM-TEMPORARY-IDENTITY-ASSIGN-REJ" },
1172 { DECT_NWK_MM_NOTIFY, "MM-NOTIFY" },
1173 { 0, NULL }
1176 /* Section 7.4.6 */
1177 static const value_string nwk_lce_msgt_vals[] = {
1178 { DECT_NWK_LCE_PAGE_RESP, "LCE-PAGE-RESPONSE" },
1179 { DECT_NWK_LCE_PAGE_REJ, "LCE-PAGE-REJECT" },
1180 { 0, NULL }
1183 /* Section 7.5.3 */
1184 static const true_false_string dect_nwk_s_ie_fl_shift_locking_tfs = {
1185 "non-locking",
1186 "locking"
1189 static const value_string dect_nwk_s_ie_fl_shift_codeset_val[] = {
1190 { DECT_NWK_S_FL_IE_SHIFT_CODESET_INITIAL, "Initial codeset" },
1191 { DECT_NWK_S_FL_IE_SHIFT_CODESET_NON_STANDARD_0, "Non-Standard codeset 0" },
1192 { DECT_NWK_S_FL_IE_SHIFT_CODESET_NON_STANDARD_1, "Non-Standard codeset 1" },
1193 { DECT_NWK_S_FL_IE_SHIFT_CODESET_NON_STANDARD_2, "Non-Standard codeset 2" },
1194 { DECT_NWK_S_FL_IE_SHIFT_CODESET_NON_STANDARD_3, "Non-Standard codeset 3" },
1195 { 0, NULL }
1198 /* Section 7.6.1 */
1199 static const value_string dect_nwk_s_ie_fl_type_val[] = {
1200 { DECT_NWK_S_IE_FL_SHIFT, "SHIFT" },
1201 { DECT_NWK_S_IE_FL_CONTROL, "CONTROL" },
1202 { DECT_NWK_S_IE_FL_REPEAT_INDICATOR, "REPEAT-INDICATOR" },
1203 { DECT_NWK_S_IE_FL_DOUBLE_OCTET_ELEMENT, "DOUBLE-OCTET-ELEMENT" },
1204 { 0, NULL }
1207 static const value_string dect_nwk_s_ie_fl_control_type_val[] = {
1208 { DECT_NWK_S_IE_FL_CONTROL_SENDING_COMPLETE, "SENDING-COMPLETE" },
1209 { DECT_NWK_S_IE_FL_CONTROL_DELIMITER_REQUEST, "DELIMITER-REQUEST" },
1210 { DECT_NWK_S_IE_FL_CONTROL_USE_TPUI, "USE-TPUI" },
1211 { 0, NULL }
1214 static const value_string dect_nwk_s_ie_fl_double_octet_type_val[] = {
1215 { DECT_NWK_S_IE_FL_DOUBLE_OCTET_BASIC_SERVICE, "BASIC-SERVICE" },
1216 { DECT_NWK_S_IE_FL_DOUBLE_OCTET_RELEASE_REASON, "RELEASE-REASON" },
1217 { DECT_NWK_S_IE_FL_DOUBLE_OCTET_SIGNAL, "SIGNAL" },
1218 { DECT_NWK_S_IE_FL_DOUBLE_OCTET_TIMER_RESTART, "TIMER-RESTART" },
1219 { DECT_NWK_S_IE_FL_DOUBLE_OCTET_TEST_HOOK_CONTROL, "TEST-HOOK-CONTROL" },
1220 { DECT_NWK_S_IE_FL_DOUBLE_OCTET_SINGLE_DISPLAY, "SINGLE-DISPLAY" },
1221 { DECT_NWK_S_IE_FL_DOUBLE_OCTET_SINGLE_KEYPAD, "SINGLE-KEYPAD" },
1222 { 0, NULL }
1225 /* Section 7.6.3 */
1226 static const value_string dect_nwk_s_ie_fl_repeat_indicator_type_val[] = {
1227 { DECT_NWK_S_IE_FL_REPEAT_INDICATOR_NON_PRIORITIZED, "Non prioritized list" },
1228 { DECT_NWK_S_IE_FL_REPEAT_INDICATOR_PRIORITIZED, "Prioritized list" },
1229 { 0, NULL }
1232 /* Section 7.6.4 */
1233 static const value_string dect_nwk_s_ie_fl_basic_service_call_class_val[] = {
1234 { DECT_NWK_S_IE_FL_BASIC_SERVICE_CALL_CLASS_LIA, "Basic speech default setup attributes" },
1235 { DECT_NWK_S_IE_FL_BASIC_SERVICE_CALL_CLASS_ULE, "ULE service call setup"},
1236 { DECT_NWK_S_IE_FL_BASIC_SERVICE_CALL_CLASS_MESSAGE, "Message call setup" },
1237 { DECT_NWK_S_IE_FL_BASIC_SERVICE_CALL_CLASS_DECT_ISDN_IIP, "DECT/ISDN IIP" },
1238 { DECT_NWK_S_IE_FL_BASIC_SERVICE_CALL_CLASS_NORMAL, "Normal call setup" },
1239 { DECT_NWK_S_IE_FL_BASIC_SERVICE_CALL_CLASS_INTERNAL, "Internal call setup" },
1240 { DECT_NWK_S_IE_FL_BASIC_SERVICE_CALL_CLASS_EMERGENCY, "Emergency call setup" },
1241 { DECT_NWK_S_IE_FL_BASIC_SERVICE_CALL_CLASS_SERVICE, "Service call setup" },
1242 { DECT_NWK_S_IE_FL_BASIC_SERVICE_CALL_CLASS_EXTERNAL_HANDOVER, "External handover call setup" },
1243 { DECT_NWK_S_IE_FL_BASIC_SERVICE_CALL_CLASS_SUPPLEMENTARY_SERVICE, "Supplementary service call setup" },
1244 { DECT_NWK_S_IE_FL_BASIC_SERVICE_CALL_CLASS_OA_M, "OA&M call setup" },
1245 { 0, NULL }
1248 static const value_string dect_nwk_s_ie_fl_basic_service_type_val[] = {
1249 { DECT_NWK_S_IE_FL_BASIC_SERVICE_BASIC_SPEECH, "Basic speech default setup attributes" },
1250 { DECT_NWK_S_IE_FL_BASIC_SERVICE_DECT_GSM_IWP, "DECT GSM IWP profile (Phase 2)" },
1251 { DECT_NWK_S_IE_FL_BASIC_SERVICE_LRMS, "LRMS (E-profile) service" },
1252 { DECT_NWK_S_IE_FL_BASIC_SERVICE_DECT_UMTS_IWP_GSM_IWP_SMS, "DECT UMTS IWP or GSM IWP SMS" },
1253 { DECT_NWK_S_IE_FL_BASIC_SERVICE_WIDEBAND_SPEECH, "Wideband speech default setup attributes" },
1254 { DECT_NWK_S_IE_FL_BASIC_SERVICE_SUOTA_CLASS_4_DPRS, "Light data services: SUOTA, Class 4 DPRS management, default setup attributes" },
1255 { DECT_NWK_S_IE_FL_BASIC_SERVICE_SUOTA_CLASS_3_DPRS, "Light data services: SUOTA, Class 3 DPRS management, default setup attributes" },
1256 { DECT_NWK_S_IE_FL_BASIC_SERVICE_DTAM_WIDEBAND_SPEECH, "DTAM Wideband speech default setup attributes" },
1257 { DECT_NWK_S_IE_FL_BASIC_SERVICE_OTHER, "Other" },
1258 { 0, NULL }
1261 /* Section 7.6.7 */
1262 static const value_string dect_nwk_s_ie_fl_release_reason_val[] = {
1263 { DECT_NWK_S_IE_FL_RELEASE_REASON_NORMAL, "Normal" },
1264 { DECT_NWK_S_IE_FL_RELEASE_REASON_UNEXPECTED_MESSAGE, "Unexpected Message" },
1265 { DECT_NWK_S_IE_FL_RELEASE_REASON_UNKNOWN_TRANSACTION_IDENTIFIER, "Unknown Transaction Identifier" },
1266 { DECT_NWK_S_IE_FL_RELEASE_REASON_MANDATORY_INFORMATION_ELEMENT_MISSING, "Mandatory information element missing" },
1267 { DECT_NWK_S_IE_FL_RELEASE_REASON_INVALID_INFORMATION_ELEMENT_CONTENTS, "Invalid information element contents" },
1268 { DECT_NWK_S_IE_FL_RELEASE_REASON_INCOMPATIBLE_SERVICE, "Incompatible service" },
1269 { DECT_NWK_S_IE_FL_RELEASE_REASON_SERVICE_NOT_IMPLEMENTED, "Service not implemented" },
1270 { DECT_NWK_S_IE_FL_RELEASE_REASON_NEGOTIATION_NOT_SUPPORTED, "Negotiation not supported" },
1271 { DECT_NWK_S_IE_FL_RELEASE_REASON_INVALID_ENTITY, "Invalid identity" },
1272 { DECT_NWK_S_IE_FL_RELEASE_REASON_AUTHENTICATION_FAILED, "Authentication failed" },
1273 { DECT_NWK_S_IE_FL_RELEASE_REASON_UNKNOWN_IDENTITY, "Unknown identity" },
1274 { DECT_NWK_S_IE_FL_RELEASE_REASON_NEGOTIATION_FAILED, "Negotiation failed" },
1275 { DECT_NWK_S_IE_FL_RELEASE_REASON_COLLISION, "Collision" },
1276 { DECT_NWK_S_IE_FL_RELEASE_REASON_TIMER_EXPIRY, "Timer expiry" },
1277 { DECT_NWK_S_IE_FL_RELEASE_REASON_PARTIAL_RELEASE, "Partial release" },
1278 { DECT_NWK_S_IE_FL_RELEASE_REASON_UNKNOWN, "Unknown" },
1279 { DECT_NWK_S_IE_FL_RELEASE_REASON_USER_DETACHED, "User detached" },
1280 { DECT_NWK_S_IE_FL_RELEASE_REASON_USER_NOT_IN_RANGE, "User not in range" },
1281 { DECT_NWK_S_IE_FL_RELEASE_REASON_USER_UNKNOWN, "User unknown" },
1282 { DECT_NWK_S_IE_FL_RELEASE_REASON_USER_ALREADY_ACTIVE, "User already active" },
1283 { DECT_NWK_S_IE_FL_RELEASE_REASON_USER_BUSY, "User busy" },
1284 { DECT_NWK_S_IE_FL_RELEASE_REASON_USER_REJECTION, "User rejection" },
1285 { DECT_NWK_S_IE_FL_RELEASE_REASON_USER_CALL_MODIFY, "User call modify" },
1286 { DECT_NWK_S_IE_FL_RELEASE_REASON_EXTERNAL_HANDOVER_NOT_SUPPORTED, "External Handover not supported" },
1287 { DECT_NWK_S_IE_FL_RELEASE_REASON_NETWORK_PARAMETERS_MISSING, "Network Parameters missing" },
1288 { DECT_NWK_S_IE_FL_RELEASE_REASON_EXTERNAL_HANDOVER_RELEASE, "External Handover release" },
1289 { DECT_NWK_S_IE_FL_RELEASE_REASON_OVERLOAD, "Overload" },
1290 { DECT_NWK_S_IE_FL_RELEASE_REASON_INSUFFICIENT_RESOURCES, "Insufficient resources" },
1291 { DECT_NWK_S_IE_FL_RELEASE_REASON_INSUFFICIENT_BEARERS_AVAILABLE, "Insufficient bearers available" },
1292 { DECT_NWK_S_IE_FL_RELEASE_REASON_IWU_CONGESTION, "IWU congestion" },
1293 { DECT_NWK_S_IE_FL_RELEASE_REASON_SECURITY_ATTACK_ASSUMED, "Security attack assumed" },
1294 { DECT_NWK_S_IE_FL_RELEASE_REASON_ENCRYPTION_ACTIVATION_FAILED, "Encryption activation failed" },
1295 { DECT_NWK_S_IE_FL_RELEASE_REASON_RE_KEYING_FAILED, "Re-Keying failed" },
1296 { DECT_NWK_S_IE_FL_RELEASE_REASON_NO_CIPHER_KEY_AVAILABLE, "No Cipher Key available" },
1297 { 0, NULL }
1300 /* Section 7.6.8 */
1301 static const value_string dect_nwk_s_ie_fl_signal_value_val[] = {
1302 { DECT_NWK_S_IE_FL_SIGNAL_VALUE_DIAL_TONE_ON, "Dial tone on" },
1303 { DECT_NWK_S_IE_FL_SIGNAL_VALUE_RINGBACK_TONE_ON, "Ring-back tone on" },
1304 { DECT_NWK_S_IE_FL_SIGNAL_VALUE_INTERCEPT_TONE_ON, "Intercept tone on " },
1305 { DECT_NWK_S_IE_FL_SIGNAL_VALUE_NETWORK_CONGESTION_TONE_ON, "Network congestion tone on" },
1306 { DECT_NWK_S_IE_FL_SIGNAL_VALUE_BUSY_TONE_ON, "Busy tone on" },
1307 { DECT_NWK_S_IE_FL_SIGNAL_VALUE_CONFIRM_TONE_ON, "Confirm tone on" },
1308 { DECT_NWK_S_IE_FL_SIGNAL_VALUE_ANSWER_TONE_ON, "Answer tone on" },
1309 { DECT_NWK_S_IE_FL_SIGNAL_VALUE_CALL_WAITING_TONE_ON, "Call waiting tone on" },
1310 { DECT_NWK_S_IE_FL_SIGNAL_VALUE_OFF_HOOK_WARNING_TONE_ON, "Off-hook warning tone on" },
1311 { DECT_NWK_S_IE_FL_SIGNAL_VALUE_NEGATIVE_ACK_TONE, "Negative acknowledgement tone" },
1312 { DECT_NWK_S_IE_FL_SIGNAL_VALUE_TONES_OFF, "Tones off" },
1313 { DECT_NWK_S_IE_FL_SIGNAL_VALUE_ALERTING_ON_PATTERN_0, "Alerting on - pattern 0" },
1314 { DECT_NWK_S_IE_FL_SIGNAL_VALUE_ALERTING_ON_PATTERN_1, "Alerting on - pattern 1" },
1315 { DECT_NWK_S_IE_FL_SIGNAL_VALUE_ALERTING_ON_PATTERN_2, "Alerting on - pattern 2" },
1316 { DECT_NWK_S_IE_FL_SIGNAL_VALUE_ALERTING_ON_PATTERN_3, "Alerting on - pattern 3" },
1317 { DECT_NWK_S_IE_FL_SIGNAL_VALUE_ALERTING_ON_PATTERN_4, "Alerting on - pattern 4" },
1318 { DECT_NWK_S_IE_FL_SIGNAL_VALUE_ALERTING_ON_PATTERN_5, "Alerting on - pattern 5" },
1319 { DECT_NWK_S_IE_FL_SIGNAL_VALUE_ALERTING_ON_PATTERN_6, "Alerting on - pattern 6" },
1320 { DECT_NWK_S_IE_FL_SIGNAL_VALUE_ALERTING_ON_PATTERN_7, "Alerting on - pattern 7" },
1321 { DECT_NWK_S_IE_FL_SIGNAL_VALUE_ALERTING_ON_CONTINUOUS, "Alerting on - continuous" },
1322 { DECT_NWK_S_IE_FL_SIGNAL_VALUE_ALERTING_OFF, "Alerting off" },
1323 { 0, NULL }
1326 /* Section 7.6.9 */
1327 static const value_string dect_nwk_s_ie_fl_timer_restart_value_val[] = {
1328 { DECT_NWK_S_IE_FL_TIMER_RESTART_VALUE_RESTART_TIMER, "Restart timer" },
1329 { DECT_NWK_S_IE_FL_TIMER_RESTART_VALUE_STOP_TIMER, "Stop timer" },
1330 { 0, NULL }
1333 /* Section 7.6.10 */
1334 static const value_string dect_nwk_s_ie_fl_test_hook_control_hook_value_val[] = {
1335 { DECT_NWK_S_IE_FL_TEST_HOOK_CONTROL_HOOK_VALUE_ON_HOOK, "On-Hook" },
1336 { DECT_NWK_S_IE_FL_TEST_HOOK_CONTROL_HOOK_VALUE_OFF_HOOK, "Off-Hook" },
1337 { 0, NULL }
1340 /* Section 7.7.1 */
1341 static const value_string dect_nwk_s_ie_type_val[] = {
1342 { DECT_NWK_S_IE_INFO_TYPE, "INFO-TYPE" },
1343 { DECT_NWK_S_IE_IDENTITY_TYPE, "IDENTITY-TYPE" },
1344 { DECT_NWK_S_IE_PORTABLE_IDENTITY, "PORTABLE-IDENTITY" },
1345 { DECT_NWK_S_IE_FIXED_IDENTITY, "FIXED-IDENTITY" },
1346 { DECT_NWK_S_IE_LOCATION_AREA, "LOCATION-AREA" },
1347 { DECT_NWK_S_IE_NWK_ASSIGNED_IDENTITY, "NWK-ASSIGNED-IDENTITY" },
1348 { DECT_NWK_S_IE_AUTH_TYPE, "AUTH-TYPE" },
1349 { DECT_NWK_S_IE_ALLOCATION_TYPE, "ALLOCATION-TYPE" },
1350 { DECT_NWK_S_IE_RAND, "RAND" },
1351 { DECT_NWK_S_IE_RES, "RES" },
1352 { DECT_NWK_S_IE_RS, "RS" },
1353 { DECT_NWK_S_IE_IWU_ATTRIBUTES, "IWU-ATTRIBUTES" },
1354 { DECT_NWK_S_IE_CALL_ATTRIBUES, "CALL-ATTRIBUTES" },
1355 { DECT_NWK_S_IE_SERVICE_CHANGE_INFO, "SERVICE-CHANGE-INFO" },
1356 { DECT_NWK_S_IE_CONNECTION_ATTRIBUTES, "CONNECTION-ATTRIBUTES" },
1357 { DECT_NWK_S_IE_CIPHER_INFO, "CIPHER-INFO" },
1358 { DECT_NWK_S_IE_CALL_IDENTITY, "CALL-IDENTITY" },
1359 { DECT_NWK_S_IE_CONNECTION_IDENTITY, "CONNECTION-IDENTITY" },
1360 { DECT_NWK_S_IE_FACILITY, "FACILITY" },
1361 { DECT_NWK_S_IE_PROGRESS_INDICATOR, "PROGRESS-INDICATOR" },
1362 { DECT_NWK_S_IE_MMS_GENERIC_HEADER, "MMS-GENERIC-HEADER" },
1363 { DECT_NWK_S_IE_MMS_OBJECT_HEADER, "MMS-OBJECT-HEADER" },
1364 { DECT_NWK_S_IE_MMS_EXTENDED_HEADER, "MMS-EXTENDED-HEADER" },
1365 { DECT_NWK_S_IE_TIME_DATE, "TIME-DATE" },
1366 { DECT_NWK_S_IE_MULTI_DISPLAY, "MULTI-DISPLAY" },
1367 { DECT_NWK_S_IE_MULTI_KEYPAD, "MULTI-KEYPAD" },
1368 { DECT_NWK_S_IE_FEATURE_ACTIVATE, "FEATURE-ACTIVATE" },
1369 { DECT_NWK_S_IE_FEATURE_INDICATE, "FEATURE-INDICATE" },
1370 { DECT_NWK_S_IE_NETWORK_PARAMETER, "NETWORK-PARAMETER" },
1371 { DECT_NWK_S_IE_EXT_HO_INDICATOR, "EXT-HO-INDICATOR" },
1372 { DECT_NWK_S_IE_ZAP_FIELD, "ZAP-FIELD" },
1373 { DECT_NWK_S_IE_SERVICE_CLASS, "SERVICE-CLASS" },
1374 { DECT_NWK_S_IE_KEY, "KEY" },
1375 { DECT_NWK_S_IE_REJECT_REASON, "REJECT-REASON" },
1376 { DECT_NWK_S_IE_SETUP_CAPABILITY, "SETUP-CAPABILITY" },
1377 { DECT_NWK_S_IE_TERMINAL_CAPABILITY, "TERMINAL-CAPABILITY" },
1378 { DECT_NWK_S_IE_END_TO_END_COMPATIBILITY, "END-TO-END-COMPATIBILITY" },
1379 { DECT_NWK_S_IE_RATE_PARAMETERS, "RATE-PARAMETERS" },
1380 { DECT_NWK_S_IE_TRANSIT_DELAY, "TRANSIT-DELAY" },
1381 { DECT_NWK_S_IE_WINDOW_SIZE, "WINDOWS-SIZE" },
1382 { DECT_NWK_S_IE_ULE_MAC_CONFIGURATION_INFO, "ULE-MAC-CONFIGURATION-INFO" },
1383 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER, "CALLING-PARTY-NUMBER" },
1384 { DECT_NWK_S_IE_CALLING_PARTY_NAME, "CALLING-PARTY-NAME" },
1385 { DECT_NWK_S_IE_CALLED_PARTY_NUMBER, "CALLED-PARTY-NUMBER" },
1386 { DECT_NWK_S_IE_CALLED_PARTY_SUBADDR, "CALLED-PARTY-SUBADDR" },
1387 { DECT_NWK_S_IE_DURATION, "DURATION" },
1388 { DECT_NWK_S_IE_CALLED_PARTY_NAME, "CALLED-PARTY-NAME" },
1389 { DECT_NWK_S_IE_LIST_CHANGE_DETAILS, "LIST-CHANGE-DETAILS" },
1390 { DECT_NWK_S_IE_SEGMENTED_INFO, "SEGMENTED_INFO" },
1391 { DECT_NWK_S_IE_ALPHANUMERIC, "ALPHANUMERIC" },
1392 { DECT_NWK_S_IE_IWU_TO_IWU, "IWU-TO-IWU" },
1393 { DECT_NWK_S_IE_MODEL_IDENTIFIER, "MODEL-IDENTIFIER" },
1394 { DECT_NWK_S_IE_IWU_PACKET, "IWU-PACKET" },
1395 { DECT_NWK_S_IE_ESCAPE_TO_PROPRIETARY, "ESCAPE-TO-PROPRIETARY" },
1396 { DECT_NWK_S_IE_CODEC_LIST, "CODEC-LIST" },
1397 { DECT_NWK_S_IE_EVENTS_NOTIFICATION, "EVENTS-NOTIFICATION" },
1398 { DECT_NWK_S_IE_CALL_INFORMATION, "CALL-INFORMATION" },
1399 { DECT_NWK_S_IE_ESCAPE_FOR_EXTENSION, "ESCAPE-FOR-EXTENSION" },
1400 { 0, NULL }
1403 /* Section 7.7.4 */
1404 static const value_string dect_nwk_s_ie_auth_type_authentication_algorithm_val[] = {
1405 { DECT_NWK_S_IE_AUTH_TYPE_AUTHENTICATION_ALGORITHM_DSAA, "DECT standard authentication algorithm (DSAA)" },
1406 { DECT_NWK_S_IE_AUTH_TYPE_AUTHENTICATION_ALGORITHM_DSAA2, "DECT standard authentication algorithm #2 (DSAA2)" },
1407 { DECT_NWK_S_IE_AUTH_TYPE_AUTHENTICATION_ALGORITHM_UMTS, "GSM authentication algorithm" },
1408 { DECT_NWK_S_IE_AUTH_TYPE_AUTHENTICATION_ALGORITHM_GSM, "UMTS authentication algorithm" },
1409 { DECT_NWK_S_IE_AUTH_TYPE_AUTHENTICATION_ALGORITHM_PROPRIETARY, "Escape to proprietary algorithm identifier" },
1410 { 0, NULL }
1413 static const value_string dect_nwk_s_ie_auth_type_ak_type_val[] = {
1414 { DECT_NWK_S_IE_AUTH_TYPE_AK_TYPE_USER_AK, "User authentication key" },
1415 { DECT_NWK_S_IE_AUTH_TYPE_AK_TYPE_USER_PERSONAL_ID, "User personal identity" },
1416 { DECT_NWK_S_IE_AUTH_TYPE_AK_TYPE_AUTHENTICATION_CODE, "Authentication code" },
1417 { 0, NULL }
1420 static const value_string dect_nwk_s_ie_auth_type_default_cipher_key_algorithm_val[] = {
1421 { DECT_NWK_S_IE_AUTH_TYPE_DEFAULT_CIPHER_KEY_ALGORITHM_DSC, "DSC" },
1422 { DECT_NWK_S_IE_AUTH_TYPE_DEFAULT_CIPHER_KEY_ALGORITHM_DSC2, "DSC2" },
1423 { 0, NULL }
1426 static const true_false_string dect_nwk_s_ie_auth_type_cipher_key_number_related_tfs = {
1427 "IPUI/PARK pair",
1428 "IPUI"
1431 /* Section 7.7.9 */
1432 static const value_string dect_nwk_s_ie_calling_party_number_type_val[] = {
1433 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_TYPE_UNKNOWN, "Unknown" },
1434 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_TYPE_INTERNATIONAL, "International number" },
1435 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_TYPE_NATIONAL, "National number" },
1436 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_TYPE_NETWORK_SPECIFIC, "Network specific number" },
1437 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_TYPE_SUBSCRIBER, "Subscriber number" },
1438 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_TYPE_ABBREVIATED, "Abbreviated number" },
1439 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_TYPE_RESERVED, "Reserved for extension" },
1440 { 0, NULL }
1443 static const value_string dect_nwk_s_ie_calling_party_number_numbering_plan_val[] = {
1444 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_NUMBERING_PLAN_UNKNOWN, "Unknown" },
1445 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_NUMBERING_PLAN_ISDN, "ISDN/telephony plan" },
1446 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_NUMBERING_PLAN_DATA, "Data plan" },
1447 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_NUMBERING_PLAN_TCP_IP, "TCP/IP address" },
1448 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_NUMBERING_PLAN_NATIONAL, "National standard plan" },
1449 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_NUMBERING_PLAN_PRIVATE, "Private plan" },
1450 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_NUMBERING_PLAN_SIP, "SIP addressing scheme, \"From:\" field" },
1451 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_NUMBERING_PLAN_INTERNET, "Internet character format address" },
1452 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_NUMBERING_PLAN_LAN_MAC, "LAN MAC address" },
1453 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_NUMBERING_PLAN_X400, "Recommendation ITU-T X.400 address" },
1454 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_NUMBERING_PLAN_PROFILE, "Profile service specific alphanumeric identifier" },
1455 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_NUMBERING_PLAN_RESERVED, "Reserved for extension" },
1456 { 0, NULL }
1459 static const value_string dect_nwk_s_ie_calling_party_number_presentation_val[] = {
1460 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_PRESENTATION_ALLOWED, "Presentation allowed" },
1461 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_PRESENTATION_RESTRICTED, "Presentation restricted" },
1462 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_PRESENTATION_NUMBER_NOT_AVAILABLE, "Number not available" },
1463 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_PRESENTATION_RESERVED, "Reserved" },
1464 { 0, NULL }
1467 static const value_string dect_nwk_s_ie_calling_party_number_screening_val[] = {
1468 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_PRESENTATION_USER_NOT_SCREENED, "User-provided, not screened" },
1469 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_PRESENTATION_USER_VERIFIED_PASSED, "User-provided, verified and passed" },
1470 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_PRESENTATION_USER_VERIFIED_FAILED, "User-provided, verified and failed" },
1471 { DECT_NWK_S_IE_CALLING_PARTY_NUMBER_PRESENTATION_NETWORK, "Network provided" },
1472 { 0, NULL }
1475 /* Section 7.7.10 */
1476 static const value_string dect_nwk_s_ie_cipher_info_algorithm_val[] = {
1477 { DECT_NWK_S_IE_CIPHER_INFO_ALGORITHM_DSC, "DECT Standard Cipher algorithm #1 (DSC)" },
1478 { DECT_NWK_S_IE_CIPHER_INFO_ALGORITHM_DSC2, "DECT Standard Cipher algorithm #2 (DSC2)" },
1479 { DECT_NWK_S_IE_CIPHER_INFO_ALGORITHM_GPRS_NO, "GPRS ciphering not used" },
1480 { DECT_NWK_S_IE_CIPHER_INFO_ALGORITHM_GPRS_GEA1, "GPRS encryption algorithm GEA/1" },
1481 { DECT_NWK_S_IE_CIPHER_INFO_ALGORITHM_GPRS_GEA2, "GPRS encryption algorithm GEA/2" },
1482 { DECT_NWK_S_IE_CIPHER_INFO_ALGORITHM_GPRS_GEA3, "GPRS encryption algorithm GEA/3" },
1483 { DECT_NWK_S_IE_CIPHER_INFO_ALGORITHM_GPRS_GEA4, "GPRS encryption algorithm GEA/4" },
1484 { DECT_NWK_S_IE_CIPHER_INFO_ALGORITHM_GPRS_GEA5, "GPRS encryption algorithm GEA/5" },
1485 { DECT_NWK_S_IE_CIPHER_INFO_ALGORITHM_GPRS_GEA6, "GPRS encryption algorithm GEA/6" },
1486 { DECT_NWK_S_IE_CIPHER_INFO_ALGORITHM_GPRS_GEA7, "GPRS encryption algorithm GEA/7" },
1487 { DECT_NWK_S_IE_CIPHER_INFO_ALGORITHM_PROPRIETARY, "Escape to proprietary algorithm identifier" },
1488 { 0, NULL }
1491 static const value_string dect_nwk_s_ie_cipher_info_key_type_val[] = {
1492 { DECT_NWK_S_IE_CIPHER_INFO_KEY_TYPE_DERIVED, "Derived cipher key" },
1493 { DECT_NWK_S_IE_CIPHER_INFO_KEY_TYPE_STATIC, "Static cipher key" },
1494 { 0, NULL }
1497 /* Section 7.7.13 */
1498 static const value_string dect_nwk_s_ie_duration_lock_limits_type_val[] = {
1499 { DECT_NWK_S_IE_DURATION_LOCK_LIMITS_TEMPORARY2, "Temporary user limits 2" },
1500 { DECT_NWK_S_IE_DURATION_LOCK_LIMITS_TEMPORARY, "Temporary user limits" },
1501 { DECT_NWK_S_IE_DURATION_LOCK_LIMITS_NO, "No limits" },
1502 { 0, NULL }
1505 static const value_string dect_nwk_s_ie_duration_time_limits_type_val[] = {
1506 { DECT_NWK_S_IE_DURATION_TIME_LIMITS_ERASE, "Erase (time limit zero)" },
1507 { DECT_NWK_S_IE_DURATION_TIME_LIMITS_DEFINED_1, "Defined time limit 1" },
1508 { DECT_NWK_S_IE_DURATION_TIME_LIMITS_DEFINED_2, "Defined time limit 2" },
1509 { DECT_NWK_S_IE_DURATION_TIME_LIMITS_STANDARD, "Standard time limit" },
1510 { DECT_NWK_S_IE_DURATION_TIME_LIMITS_INFINITE, "Infinite" },
1511 { 0, NULL }
1514 /* Section 7.7.18 */
1515 static const value_string dect_nwk_s_ie_fixed_identity_type_val[] = {
1516 { DECT_NWK_S_IE_FIXED_IDENTITY_ARI, "Access rights identity (ARI)" },
1517 { DECT_NWK_S_IE_FIXED_IDENTITY_ARI_PLUS_RPN, "Access rights identity plus radio fixed part number (ARI + RPN)" },
1518 { DECT_NWK_S_IE_FIXED_IDENTITY_ARI_PLUS_RPN_WRS, "Access rights identity plus radio fixed part number for WRS (ARI + RPN for WRS)" },
1519 { DECT_NWK_S_IE_FIXED_IDENTITY_PARK, "Portable access rights key (PARK)" },
1520 { 0, NULL }
1523 static const value_string dect_nwk_arc_type_val[] = {
1524 { DECT_NWK_ARC_TYPE_A, "A (small residential 1..7 RFPs" },
1525 { DECT_NWK_ARC_TYPE_B, "B (LAN and multi-cell)" },
1526 { DECT_NWK_ARC_TYPE_C, "C (public access)" },
1527 { DECT_NWK_ARC_TYPE_D, "D (public with GSM/UMTS)" },
1528 { DECT_NWK_ARC_TYPE_E, "E (PP-to-PP)"},
1529 { 0, NULL }
1532 /* Section 7.7.23 */
1533 static const value_string dect_nwk_s_ie_iwu_to_iwu_protocol_discriminator_type_val[] = {
1534 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_USER_SPECIFIC, "User specific" },
1535 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_OSI_HIGH_LAYER, "OSI high layer protocols" },
1536 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_X263, "ITU-T X.263" },
1537 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_LIST_ACCESS, "List Access" },
1538 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_IA5_CHARS, "IA 5 characters" },
1539 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_ULE_NON_CCM, "ULE Configuration and Control (non CCM encrypted) service channel" },
1540 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_SUOTA, "Light data service, Software Upgrade Over The Air (SUOTA)" },
1541 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_V120, "ITU-T V.120 Rate adaption" },
1542 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_Q931_MESSAGE, "ITU-T Q.931, message" },
1543 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_Q931_IE, "ITU-T Q.931, information element(s)" },
1544 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_Q931_PARTIAL, "ITU-T Q.931, partial message" },
1545 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_ULE_CCM_AUX0, "ULE CCM encrypted service channel AUX0" },
1546 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_ULE_CCM_AUX1, "ULE CCM encrypted service channel AUX1" },
1547 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_ULE_CCM_AUX2, "ULE CCM encrypted service channel AUX2" },
1548 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_DTAM, "Digital Telephone Answering Machine (DTAM)" },
1549 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_GSM_MESSAGE, "GSM, message" },
1550 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_GSM_IE, "GSM, information element(s)" },
1551 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_UMTS_GPRS_IE, "UMTS/GPRS, information element(s)" },
1552 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_UMTS_GPRS_MESSAGE, "UMTS/GPRS, messages" },
1553 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_LRMS, "LRMS" },
1554 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_RLL_AP, "RLL Access Profile" },
1555 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_WRS, "WRS" },
1556 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_DECT_ISDN_C_PLANE, "DECT/ISDN Intermediate System C-plane specific" },
1557 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_DECT_ISDN_U_PLANE, "DECT/ISDN Intermediate System U-plane specific" },
1558 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_DECT_ISDN_OPER, "DECT/ISDN Intermediate System Operation and Maintenance" },
1559 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_TERMINAL_DATA, "Terminal Data" },
1560 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_DECT_IP, "DECT access to IP Networks specific" },
1561 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_MPEG4, "MPEG-4 ER AAC-LD Configuration Description" },
1562 { DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_UNKNOWN, "Unknown" },
1563 { 0, NULL }
1566 static const value_string dect_nwk_s_ie_iwu_to_iwu_discriminator_type_val[] = {
1567 { DECT_NWK_S_IE_IWU_TO_IWU_DISCRIMINATOR_TYPE_UNSPECIFIED, "Unspecified" },
1568 { DECT_NWK_S_IE_IWU_TO_IWU_DISCRIMINATOR_TYPE_EMC, "EMC" },
1569 { 0, NULL }
1572 /* Section 7.7.25 */
1573 static const value_string dect_nwk_s_ie_location_area_eli_type_val[] = {
1574 { DECT_NWK_S_IE_LOCATION_AREA_ELI_TYPE_LI_REQ_NOT_INCLUDED, "Location information is requested and not included" },
1575 { DECT_NWK_S_IE_LOCATION_AREA_ELI_TYPE_LI, "Location information" },
1576 { 0, NULL }
1579 /* Section 7.7.28 */
1580 static const value_string dect_nwk_s_ie_nwk_assigned_identity_type_val[] = {
1581 { DECT_NWK_S_IE_NWK_ASSIGNED_IDENTITY_TMSI, "Temporary Mobile Subscriber Identity (TMSI, P-TMSI)" },
1582 { DECT_NWK_S_IE_NWK_ASSIGNED_IDENTITY_PROPRIETARY, "Proprietary (application specific)" },
1583 { 0, NULL }
1586 /* Section 7.7.30 */
1587 static const value_string dect_nwk_s_ie_portable_identity_type_val[] = {
1588 { DECT_NWK_S_IE_PORTABLE_IDENTITY_IPUI, "International Portable User Identity (IPUI)" },
1589 { DECT_NWK_S_IE_PORTABLE_IDENTITY_IPEI, "International Portable Equipment Identity (IPEI)" },
1590 { DECT_NWK_S_IE_PORTABLE_IDENTITY_TPUI, "Temporary Portable User Identity (TPUI)" },
1591 { 0, NULL }
1594 static const value_string dect_nwk_s_ie_portable_identity_tpui_assignment_type_val[] = {
1595 { DECT_NWK_S_IE_PORTABLE_IDENTITY_TPUI_ASSIGNMENT_TYPE_TPUI, "TPUI" },
1596 { DECT_NWK_S_IE_PORTABLE_IDENTITY_TPUI_ASSIGNMENT_TYPE_TPUI_WITH_NUMBER_ASSIGNED, "TPUI with number assigned" },
1597 { 0, NULL }
1600 /* Section 6.2 in ETSI EN 300 175-6 */
1601 static const value_string dect_nwk_ipui_type_val[] = {
1602 { DECT_NWK_IPUI_TYPE_N, "N (residential/default)" },
1603 { DECT_NWK_IPUI_TYPE_O, "O (private)" },
1604 { DECT_NWK_IPUI_TYPE_P, "P (public/public access service)" },
1605 { DECT_NWK_IPUI_TYPE_Q, "Q (public/general)" },
1606 { DECT_NWK_IPUI_TYPE_R, "R (public/IMSI)" },
1607 { DECT_NWK_IPUI_TYPE_S, "S (PSTN/ISDN)" },
1608 { DECT_NWK_IPUI_TYPE_T, "T (private extended)" },
1609 { DECT_NWK_IPUI_TYPE_U, "U (public/general)" },
1610 { 0, NULL }
1613 /* Section 7.7.41 */
1614 static const value_string dect_nwk_s_ie_terminal_capability_tone_capabilites_val[] = {
1615 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_TONE_CAPABILITY_NA, "Not applicable" },
1616 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_TONE_CAPABILITY_NO_TONE_CAPABILITY, "No tone capability" },
1617 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_TONE_CAPABILITY_DIAL_TONE_ONLY, "Dial tone only" },
1618 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_TONE_CAPABILITY_E182_TONES_SUPPORTED, "Recommendation ITU-T E.182 tones supported" },
1619 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_TONE_CAPABILITY_COMPLETE_DECT_TONES_SUPPORTED, "Complete DECT tones supported" },
1620 { 0, NULL }
1623 static const value_string dect_nwk_s_ie_terminal_capability_display_capabilities_val[] = {
1624 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_DISPLAY_CAPABILITY_NA, "Not applicable" },
1625 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_DISPLAY_CAPABILITY_NO_DISPLAY, "No Display" },
1626 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_DISPLAY_CAPABILITY_NUMERIC, "Numeric" },
1627 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_DISPLAY_CAPABILITY_NUMERIC_PLUS, "Numeric-plus" },
1628 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_DISPLAY_CAPABILITY_ALPHANUMERIC, "Alphanumeric" },
1629 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_DISPLAY_CAPABILITY_FULL_DISPLAY, "Full display" },
1630 { 0, NULL }
1633 static const value_string dect_nwk_s_ie_terminal_capability_echo_parameters_val[] = {
1634 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_ECHO_PARAMETER_NA, "Not applicable" },
1635 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_ECHO_PARAMETER_MINIMUM_TCLW, "Minimum TCLw" },
1636 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_ECHO_PARAMETER_TCLW_FULL, "TCLw > 46 dB (Full TCLw)" },
1637 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_ECHO_PARAMETER_TCLW_VOIP_COMPATIBLE, "TCLw > 55 dB (VoIP compatible TCLw)" },
1638 { 0, NULL }
1641 static const value_string dect_nwk_s_ie_terminal_capability_n_rej_capabilities_val[] = {
1642 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_N_REJ_NA, "Not applicable" },
1643 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_N_REJ_NO, "No noise rejection" },
1644 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_N_REJ_PROVIDED, "Noise rejection" },
1645 { 0, NULL }
1648 static const value_string dect_nwk_s_ie_terminal_capability_a_vol_capabilities_val[] = {
1649 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_A_VOL_NA, "Not applicable" },
1650 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_A_VOL_NO_PP_A_VOL, "No PP adaptive volume control" },
1651 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_A_VOL_PP_A_VOL_USED, "PP adaptive volume control used" },
1652 { 0, NULL }
1655 static const value_string dect_nwk_s_ie_terminal_capability_scrolling_behaviour_type_val[] = {
1656 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_SCROLLING_BEHAVIOUR_NOT_SPECIFIED, "Not specified" },
1657 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_SCROLLING_BEHAVIOUR_TYPE_1, "Type 1"},
1658 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_SCROLLING_BEHAVIOUR_TYPE_2, "Type 2"},
1659 { 0, NULL }
1662 static const value_string dect_nwk_s_ie_terminal_capability_profile_indicator_8_packet_data_categories_val[] = {
1663 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_8_PACKET_DATA_NO, "No packet data supported or non categorized system" },
1664 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_8_PACKET_DATA_CAT_1, "Cat 1 (low-end data devices)" },
1665 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_8_PACKET_DATA_CAT_2, "Cat 2 (mid-end data devices)" },
1666 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_8_PACKET_DATA_CAT_3, "Cat 3 (high-end data devices)" },
1667 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_8_PACKET_DATA_CAT_4_8PSK, "Cat 4 (high-level modulation up to 8PSK)" },
1668 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_8_PACKET_DATA_CAT_4_64QAM, "Cat 4 (high-level modulation up to 64QAM" },
1669 { 0, NULL }
1672 static const value_string dect_nwk_s_ie_terminal_capability_profile_indicator_9_dect_ule_versions_val[] = {
1673 { DECT_NWK_S_IE_TERMINA_CAPABILITY_PROFILE_INDICATOR_9_DECT_ULE_1_V111, "Phase 1 version v1.1.1" },
1674 { DECT_NWK_S_IE_TERMINA_CAPABILITY_PROFILE_INDICATOR_9_DECT_ULE_1_V121, "Phase 1 version v1.2.1" },
1675 { DECT_NWK_S_IE_TERMINA_CAPABILITY_PROFILE_INDICATOR_9_DECT_ULE_2, "Phase 2" },
1676 { DECT_NWK_S_IE_TERMINA_CAPABILITY_PROFILE_INDICATOR_9_DECT_ULE_3, "Phase 3" },
1677 { 0, NULL }
1680 static const value_string dect_nwk_s_ie_terminal_capability_control_codes_val[] = {
1681 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_CONTROL_CODES_NOT_SPECIFIED, "Not specified" },
1682 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_CONTROL_CODES_0CH, "0CH (clear display)" },
1683 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_CONTROL_CODES_CODING_001, "Coding 001 plus 0x08 to 0x0B and 0x0D" },
1684 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_CONTROL_CODES_CODING_010, "Coding 010 plus 0x02, 0x03, 0x06, 0x07, 0x19, 0x1A" },
1685 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_CONTROL_CODES_CODING_011, "Coding 011 plus 0x0E, 0x0F" },
1686 { 0, NULL }
1689 static const value_string dect_nwk_s_ie_terminal_capability_blind_slot_indication_val[] = {
1690 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_BLIND_SLOT_INDICATION_NO, "No blind slots" },
1691 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_BLIND_SLOT_INDICATION_NOT_POSSIBLE_ADJACENT, "Setup is not possible on both slots adjacent to an active slot" },
1692 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_BLIND_SLOT_INDICATION_NOT_POSSIBLE_EVERY_SECOND, "Setup is not possible on every second slot" },
1693 { DECT_NWK_S_IE_TERMINAL_CAPABILITY_BLIND_SLOT_INDICATION_LIMITATIONS_IN_FOLLOWING_BITS, "Limitations indicated in the following bits" },
1694 { 0, NULL }
1697 /* Section 7.7.45 */
1698 static const value_string dect_nwk_s_ie_escape_to_proprietary_discriminator_type_val[] = {
1699 { DECT_NWK_S_IE_ESCAPE_TO_PROPRIETARY_DISCRIMINATOR_TYPE_UNSPECIFIED, "Unspecified" },
1700 { DECT_NWK_S_IE_ESCAPE_TO_PROPRIETARY_DISCRIMINATOR_TYPE_EMC, "EMC" },
1701 { 0, NULL }
1704 static const true_false_string tfs_last_more = {
1705 "Last",
1706 "More"
1709 /* Section 7.7.54 */
1710 static const value_string dect_nwk_s_ie_codec_list_negotiation_indicator_type_val[] = {
1711 { DECT_NWK_S_IE_CODEC_LIST_NEGOTIATION_INDICATOR_NOT_POSSIBLE, "Negotiation not possible" },
1712 { DECT_NWK_S_IE_CODEC_LIST_NEGOTIATION_INDICATOR_CODEC_NEGOTIATION, "Codec negotiation" },
1713 { 0, NULL }
1716 static const value_string dect_nwk_s_ie_codec_list_codec_identifier_type_val[] = {
1717 { DECT_NWK_S_IE_CODEC_LIST_CODEC_IDENTIFIER_USER_32, "user specific, 32 kbit/s" },
1718 { DECT_NWK_S_IE_CODEC_LIST_CODEC_IDENTIFIER_G726_32, "G.726 ADPCM, 32 kbit/s" },
1719 { DECT_NWK_S_IE_CODEC_LIST_CODEC_IDENTIFIER_G722_64, "G.722, 64 kbit/s" },
1720 { DECT_NWK_S_IE_CODEC_LIST_CODEC_IDENTIFIER_G711_ALAW_64, "G.711 alaw, 64 kbit/s" },
1721 { DECT_NWK_S_IE_CODEC_LIST_CODEC_IDENTIFIER_G711_ULAW_64, "G.711 ulaw, 64 kbit/s" },
1722 { DECT_NWK_S_IE_CODEC_LIST_CODEC_IDENTIFIER_G729_1_32, "G.729.1, 32 kbit/s" },
1723 { DECT_NWK_S_IE_CODEC_LIST_CODEC_IDENTIFIER_MPEG4_32, "MPEG-4 ER AAC-LD, 32 kbit/s" },
1724 { DECT_NWK_S_IE_CODEC_LIST_CODEC_IDENTIFIER_MPEG4_64, "MPEG-4 ER AAC-LD, 64 kbit/s" },
1725 { DECT_NWK_S_IE_CODEC_LIST_CODEC_IDENTIFIER_USER_64, "user specific, 64 kbit/s" },
1726 { 0, NULL }
1729 static const value_string dect_nwk_s_ie_codec_list_mac_and_dlc_service_type_val[] = {
1730 { DECT_NWK_S_IE_CODEC_LIST_MAC_AND_DLC_SERVICE_LU1_INA, "DLC service LU1, MAC service INA" },
1731 { DECT_NWK_S_IE_CODEC_LIST_MAC_AND_DLC_SERVICE_LU1_INB, "DLC service LU1, MAC service INB" },
1732 { DECT_NWK_S_IE_CODEC_LIST_MAC_AND_DLC_SERVICE_LU1_IPM, "DLC service LU1, MAC service IPM" },
1733 { DECT_NWK_S_IE_CODEC_LIST_MAC_AND_DLC_SERVICE_LU1_IPQ, "DLC service LU1, MAC service IPQ" },
1734 { DECT_NWK_S_IE_CODEC_LIST_MAC_AND_DLC_SERVICE_LU7_INB, "DLC service LU7, MAC service INB" },
1735 { DECT_NWK_S_IE_CODEC_LIST_MAC_AND_DLC_SERVICE_LU12_INB, "DLC service LU12, MAC service INB" },
1736 { 0, NULL }
1739 static const value_string dect_nwk_s_ie_codec_list_c_plane_routing_type_val[] = {
1740 { DECT_NWK_S_IE_CODEC_LIST_C_PLANE_ROUTING_CS_ONLY, "CS only" },
1741 { DECT_NWK_S_IE_CODEC_LIST_C_PLANE_ROUTING_CS_PREFERRED_CF_ACCEPTED, "CS preferred / CF accepted" },
1742 { DECT_NWK_S_IE_CODEC_LIST_C_PLANE_ROUTING_CF_PREFERRED_CS_ACCEPTED, "CF preferred / CS accepted" },
1743 { DECT_NWK_S_IE_CODEC_LIST_C_PLANE_ROUTING_CF_ONLY, "CF only" },
1744 { 0, NULL }
1747 static const value_string dect_nwk_s_ie_codec_list_slot_size_type_val[] = {
1748 { DECT_NWK_S_IE_CODEC_LIST_SLOT_SIZE_HALF, "Half slot; j = 0" },
1749 { DECT_NWK_S_IE_CODEC_LIST_SLOT_SIZE_LONG_640, "Long slot; j = 640" },
1750 { DECT_NWK_S_IE_CODEC_LIST_SLOT_SIZE_LONG_672, "Long slot; j = 672" },
1751 { DECT_NWK_S_IE_CODEC_LIST_SLOT_SIZE_FULL, "Full slot" },
1752 { DECT_NWK_S_IE_CODEC_LIST_SLOT_SIZE_DOUBLE, "Double slot" },
1753 { 0, NULL }
1756 /* Annex D.2.2 */
1757 static const value_string dect_charset_control_codes_val[] = {
1758 { DECT_CHARSET_CANCEL_DTMF_TONE, "Null/cancel DTMF tone" },
1759 { DECT_CHARSET_RETURN_HOME, "Return home" },
1760 { DECT_CHARSET_RETURN_END, "Return end" },
1761 { DECT_CHARSET_DIALLING_PAUSE, "Dialling pause" },
1762 { DECT_CHARSET_MOVE_FORWARD_TO_NEXT_COLUMN_TAB_POSITION, "Move forward to next column tab position" },
1763 { DECT_CHARSET_MOVE_BACKWARD_TO_NEXT_COLUMN_TAB_POSITION, "Move backward to next column tab position" },
1764 { DECT_CHARSET_MOVE_BACKWARD_ONE_COLUMN, "Move backward one column" },
1765 { DECT_CHARSET_MOVE_FORWARD_ONE_COLUMN, "Move forward one column" },
1766 { DECT_CHARSET_MOVE_DOWN_ONE_ROW, "Move down one row" },
1767 { DECT_CHARSET_MOVE_UP_ONE_ROW, "Move up one row" },
1768 { DECT_CHARSET_CLEAR_DISPLAY, "Clear display (and return home)" },
1769 { DECT_CHARSET_RETURN_TO_START_OF_CURRENT_ROW, "Return (to start of current row)" },
1770 { DECT_CHARSET_FLASH_OFF, "Flash off (see note 2)" },
1771 { DECT_CHARSET_FLASH_ON, "Flash on (see note 2)" },
1772 { DECT_CHARSET_XON, "XON (resume transmission)" },
1773 { DECT_CHARSET_GO_TO_PULSE_DIALLING, "Go to pulse dialling" },
1774 { DECT_CHARSET_XOFF, "XOFF (stop transmission)" },
1775 { DECT_CHARSET_GO_TO_DTMF_DIALLING_DEFINED_TONE_LENGTH, "Go to DTMF dialling; defined tone length" },
1776 { DECT_CHARSET_REGISTER_RECALL, "Register recall" },
1777 { DECT_CHARSET_GO_TO_DTMF_DIALLING_INFINITE_TONE_LENGTH, "Go to DTMF dialling; infinite tone length" },
1778 { DECT_CHARSET_INTERNAL_CALL, "Internal call" },
1779 { DECT_CHARSET_SERVICE_CALL, "Service call" },
1780 { DECT_CHARSET_CLEAR_TO_END_OF_DISPLAY, "Clear to end of display" },
1781 { DECT_CHARSET_CLEAR_TO_END_OF_LINE, "Clear to end of line" },
1782 { DECT_CHARSET_ESC, "ESC. ESCape in the IA5 sense" },
1783 { DECT_CHARSET_SUPPLEMENTARY_SERVICE, "Supplementary service" },
1784 { 0, NULL }
1787 /* TOOD: value_string for other protocols */
1789 #define DECT_NWK_S_IE_OCTET_GROUP_EXTENSION_MASK 0x80
1790 #define DECT_NWK_S_IE_OCTET_GROUP_EXTENSION_SHIFT 7
1792 #define DECT_NWK_S_IE_CIPHER_INFO_ALGORITHM_MASK 0x7F
1794 #define DECT_NWK_S_IE_FIXED_LENGTH_MASK 0x80
1795 #define DECT_NWK_S_IE_FIXED_LENGTH_SHIFT 7
1797 #define DECT_NWK_S_IE_FL_TYPE_MASK 0x70
1798 #define DECT_NWK_S_IE_FL_TYPE_SHIFT 4
1799 #define DECT_NWK_S_IE_FL_DOUBLE_OCTET_TYPE_MASK 0x0F
1801 #define DECT_NWK_S_IE_AUTH_TYPE_DEF_MASK 0x40
1802 #define DECT_NWK_S_IE_AUTH_TYPE_DEF_SHIFT 6
1804 #define DECT_NWK_S_IE_PORTABLE_IDENTITY_TYPE_MASK 0x7F
1805 #define DECT_NWK_S_IE_PORTABLE_IDENTITY_IPUI_TYPE_MASK 0xF0
1806 #define DECT_NWK_S_IE_PORTABLE_IDENTITY_IPUI_TYPE_SHIFT 4
1808 #define DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_MASK 0x3F
1809 #define DECT_NWK_S_IE_IWU_TO_IWU_DISCRIMINATOR_TYPE_MASK 0x7F
1811 #define DECT_NWK_S_IE_LOCATION_AREA_LI_EXTENDED_INCLUDED_MASK 0x80
1812 #define DECT_NWK_S_IE_LOCATION_AREA_LI_EXTENDED_INCLUDED_SHIFT 7
1813 #define DECT_NWK_S_IE_LOCATION_AREA_ELI_TYPE_MASK 0xF0
1814 #define DECT_NWK_S_IE_LOCATION_AREA_ELI_TYPE_SHIFT 4
1816 #define DECT_NWK_S_IE_TERMINAL_CAPABILITY_STORED_DISPLAY_CHARACTERS_MASK 0x7F
1818 #define DECT_NWK_S_IE_ESCAPE_TO_PROPRIETARY_DISCRIMINATOR_TYPE_MASK 0x7F
1820 #define DECT_NWK_S_IE_CODEC_LIST_LAST_CODEC_MASK 0x80
1821 #define DECT_NWK_S_IE_CODEC_LIST_LAST_CODEC_SHIFT 7
1823 /*********************************************************************************
1824 * DECT dissector code
1825 *********************************************************************************/
1827 static proto_item* add_dect_nwk_dect_charset_tree_item(proto_tree *tree, packet_info *pinfo, int hfindex, tvbuff_t *tvb, int start, int length)
1829 const char *keypad_string, *current_char_ptr;
1830 uint8_t current_char_position;
1831 gunichar current_char;
1832 wmem_strbuf_t *keypad_information;
1834 keypad_string = tvb_get_string_enc(pinfo->pool, tvb, start, length, ENC_DECT_STANDARD_8BITS);
1835 current_char_ptr = keypad_string;
1837 keypad_information = wmem_strbuf_new_sized(pinfo->pool, length);
1838 for ( current_char_position = 0; current_char_position < length; current_char_position++ ) {
1839 current_char = g_utf8_get_char(current_char_ptr);
1840 if ( current_char < 0x20 ) {
1841 wmem_strbuf_append_printf(keypad_information, "<<%s>>", val_to_str(current_char, dect_charset_control_codes_val, "0x%02x"));
1842 } else {
1843 wmem_strbuf_append_unichar(keypad_information, current_char);
1845 current_char_ptr = g_utf8_next_char(current_char_ptr);
1848 return proto_tree_add_string_format_value(tree, hfindex, tvb, start, length, keypad_string ,"%s", wmem_strbuf_get_str(keypad_information));
1851 static int dissect_dect_nwk_s_ie_auth_type(tvbuff_t *tvb, unsigned offset, proto_tree *tree, void _U_ *data)
1853 uint8_t authentication_algorithm;
1854 bool def;
1856 proto_tree_add_item(tree, hf_dect_nwk_s_ie_auth_type_authentication_algorithm, tvb, offset, 1, ENC_NA);
1857 authentication_algorithm = tvb_get_uint8(tvb, offset);
1858 offset++;
1859 if ( authentication_algorithm == DECT_NWK_S_IE_AUTH_TYPE_AUTHENTICATION_ALGORITHM_PROPRIETARY ) {
1860 proto_tree_add_item(tree, hf_dect_nwk_s_ie_auth_type_proprietary_algorithm, tvb, offset, 1, ENC_NA);
1861 offset++;
1863 proto_tree_add_item(tree, hf_dect_nwk_s_ie_auth_type_ak_type, tvb, offset, 1, ENC_NA);
1864 proto_tree_add_item(tree, hf_dect_nwk_s_ie_auth_type_ak_number, tvb, offset, 1, ENC_NA);
1865 offset++;
1866 proto_tree_add_item(tree, hf_dect_nwk_s_ie_auth_type_inc, tvb, offset, 1, ENC_NA);
1867 proto_tree_add_item(tree, hf_dect_nwk_s_ie_auth_type_def, tvb, offset, 1, ENC_NA);
1868 proto_tree_add_item(tree, hf_dect_nwk_s_ie_auth_type_txc, tvb, offset, 1, ENC_NA);
1869 proto_tree_add_item(tree, hf_dect_nwk_s_ie_auth_type_upc, tvb, offset, 1, ENC_NA);
1870 proto_tree_add_item(tree, hf_dect_nwk_s_ie_auth_type_cipher_key_number, tvb, offset, 1, ENC_NA);
1871 proto_tree_add_item(tree, hf_dect_nwk_s_ie_auth_type_cipher_key_number_related, tvb, offset, 1, ENC_NA);
1872 def = ( tvb_get_uint8(tvb, offset) & DECT_NWK_S_IE_AUTH_TYPE_DEF_MASK ) >> DECT_NWK_S_IE_AUTH_TYPE_DEF_SHIFT;
1873 offset++;
1874 if( def ) {
1875 proto_tree_add_item(tree, hf_dect_nwk_s_ie_auth_type_default_cipher_key_index, tvb, offset, 2, ENC_NA);
1876 offset += 2;
1877 proto_tree_add_item(tree, hf_dect_nwk_s_ie_auth_type_default_cipher_key_algorithm, tvb, offset, 1, ENC_NA);
1878 offset++;
1880 return offset;
1883 static int dissect_dect_nwk_s_ie_calling_party_number(tvbuff_t *tvb, unsigned offset, uint8_t ie_length, proto_tree *tree, void _U_ *data)
1885 bool octet_group_extension;
1886 uint8_t address_length;
1887 proto_tree_add_item(tree, hf_dect_nwk_s_ie_octet_group_extension, tvb, offset, 1, ENC_NA);
1888 proto_tree_add_item(tree, hf_dect_nwk_s_ie_calling_party_number_type, tvb, offset, 1, ENC_NA);
1889 proto_tree_add_item(tree, hf_dect_nwk_s_ie_calling_party_number_numbering_plan, tvb, offset, 1, ENC_NA);
1890 octet_group_extension = ( tvb_get_uint8(tvb, offset) & DECT_NWK_S_IE_OCTET_GROUP_EXTENSION_MASK ) >> DECT_NWK_S_IE_OCTET_GROUP_EXTENSION_SHIFT;
1891 offset++;
1892 if ( !octet_group_extension ) {
1893 proto_tree_add_item(tree, hf_dect_nwk_s_ie_octet_group_extension, tvb, offset, 1, ENC_NA);
1894 proto_tree_add_item(tree, hf_dect_nwk_s_ie_calling_party_number_presentation, tvb, offset, 1, ENC_NA);
1895 proto_tree_add_item(tree, hf_dect_nwk_s_ie_calling_party_number_screening, tvb, offset, 1, ENC_NA);
1896 offset++;
1897 address_length = ie_length - 2;
1898 } else {
1899 address_length = ie_length - 1;
1901 proto_tree_add_item(tree, hf_dect_nwk_s_ie_calling_party_number_address, tvb, offset, address_length, ENC_DECT_STANDARD_8BITS);
1902 return offset + address_length;
1905 static int dissect_dect_nwk_s_ie_cipher_info(tvbuff_t *tvb, unsigned offset, proto_tree *tree, void _U_ *data)
1907 uint8_t algorithm;
1908 proto_tree_add_item(tree, hf_dect_nwk_s_ie_cipher_info_yn, tvb, offset, 1, ENC_NA);
1909 proto_tree_add_item(tree, hf_dect_nwk_s_ie_cipher_info_algorithm, tvb, offset, 1, ENC_NA);
1910 algorithm = tvb_get_uint8(tvb, offset) & DECT_NWK_S_IE_CIPHER_INFO_ALGORITHM_MASK;
1911 offset++;
1912 if (algorithm == DECT_NWK_S_IE_CIPHER_INFO_ALGORITHM_PROPRIETARY) {
1913 proto_tree_add_item(tree, hf_dect_nwk_s_ie_cipher_info_proprietary_algorithm, tvb, offset, 1, ENC_NA);
1914 offset++;
1916 proto_tree_add_item(tree, hf_dect_nwk_s_ie_cipher_info_key_type, tvb, offset, 1, ENC_NA);
1917 proto_tree_add_item(tree, hf_dect_nwk_s_ie_cipher_info_key_number, tvb, offset, 1, ENC_NA);
1918 offset++;
1919 return offset;
1922 static int dissect_dect_nwk_s_ie_duration(tvbuff_t *tvb, unsigned offset, uint8_t _U_ ie_length, packet_info _U_ *pinfo, proto_tree *tree, void _U_ *data) {
1923 bool octet_group_extension;
1925 proto_tree_add_item(tree, hf_dect_nwk_s_ie_octet_group_extension, tvb, offset, 1, ENC_NA);
1926 proto_tree_add_item(tree, hf_dect_nwk_s_ie_duration_lock_limits, tvb, offset, 1, ENC_NA);
1927 proto_tree_add_item(tree, hf_dect_nwk_s_ie_duration_time_limits, tvb, offset, 1, ENC_NA);
1928 octet_group_extension = ( tvb_get_uint8(tvb, offset) & DECT_NWK_S_IE_OCTET_GROUP_EXTENSION_MASK ) >> DECT_NWK_S_IE_OCTET_GROUP_EXTENSION_SHIFT;
1929 offset++;
1931 if ( !octet_group_extension ) {
1932 /* Octet 3a does not have an group extension indicator, it is solely defined by the one in octet 3 */
1933 proto_tree_add_item(tree, hf_dect_nwk_s_ie_duration_time_duration, tvb, offset, 1, ENC_NA);
1934 offset++;
1937 return offset;
1940 static int dissect_dect_nwk_s_ie_fixed_identity(tvbuff_t *tvb, unsigned offset, proto_tree *tree, void _U_ *data)
1942 uint8_t value_length;
1943 unsigned bit_offset, no_of_bits;
1944 proto_tree_add_item(tree, hf_dect_nwk_s_ie_fixed_identity_type, tvb, offset, 1, ENC_NA);
1945 offset++;
1946 proto_tree_add_item(tree, hf_dect_nwk_s_ie_fixed_identity_value_length, tvb, offset, 1, ENC_NA);
1947 value_length = tvb_get_uint8(tvb, offset) & 0x7F;
1948 offset++;
1949 proto_tree_add_item(tree, hf_dect_nwk_s_ie_fixed_identity_arc, tvb, offset, 1, ENC_NA);
1950 bit_offset = ( offset * 8 ) + 4;
1951 no_of_bits = value_length - 4;
1952 proto_tree_add_bits_item(tree, hf_dect_nwk_s_ie_fixed_identity_ard, tvb, bit_offset, no_of_bits, ENC_NA);
1953 bit_offset += no_of_bits;
1954 offset += value_length / 8;
1955 if (value_length % 8) {
1956 no_of_bits = 8 - (value_length % 8);
1957 proto_tree_add_bits_item(tree, hf_dect_nwk_s_ie_fixed_identity_padding, tvb, bit_offset, no_of_bits, ENC_NA);
1958 offset++;
1960 return offset;
1963 static int dissect_dect_nwk_s_ie_iwu_to_iwu(tvbuff_t *tvb, unsigned offset, uint8_t ie_length, packet_info _U_ *pinfo, proto_tree *tree, void _U_ *data) {
1964 uint8_t protocol_discriminator, discriminator_type, remaining_length;
1966 proto_tree_add_item(tree, hf_dect_nwk_s_ie_iwu_to_iwu_sr, tvb, offset, 1, ENC_NA);
1967 proto_tree_add_item(tree, hf_dect_nwk_s_ie_iwu_to_iwu_protocol_discriminator, tvb, offset, 1, ENC_NA);
1968 protocol_discriminator = tvb_get_uint8(tvb, offset) & DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_MASK;
1969 offset++;
1970 remaining_length = ie_length -1;
1972 proto_tree_add_item(tree, hf_dect_nwk_s_ie_iwu_to_iwu_information, tvb, offset, remaining_length, ENC_NA);
1973 if ( protocol_discriminator == DECT_NWK_S_IE_IWU_TO_IWU_PROTOCOL_DISCRIMINATOR_USER_SPECIFIC ) {
1974 proto_tree_add_item(tree, hf_dect_nwk_s_ie_iwu_to_iwu_discriminator_type, tvb, offset, 1, ENC_NA);
1975 discriminator_type = tvb_get_uint8(tvb, offset) & DECT_NWK_S_IE_IWU_TO_IWU_DISCRIMINATOR_TYPE_MASK;
1976 offset++;
1977 remaining_length--;
1979 proto_tree_add_item(tree, hf_dect_nwk_s_ie_iwu_to_iwu_user_specific_contents, tvb, offset, remaining_length, ENC_NA);
1980 if ( discriminator_type == DECT_NWK_S_IE_IWU_TO_IWU_DISCRIMINATOR_TYPE_EMC ) {
1981 proto_tree_add_item(tree, hf_dect_nwk_s_ie_iwu_to_iwu_emc_discriminator, tvb, offset, 2, ENC_NA);
1982 offset += 2;
1983 remaining_length -= 2;
1984 proto_tree_add_item(tree, hf_dect_nwk_s_ie_iwu_to_iwu_proprietary_contents, tvb, offset, remaining_length, ENC_NA);
1988 return offset + remaining_length;
1991 static int dissect_dect_nwk_s_ie_location_area(tvbuff_t *tvb, unsigned offset, packet_info *pinfo, proto_tree *tree, void _U_ *data)
1993 uint8_t eli_type;
1994 bool li_extended_included;
1995 proto_tree *li_type_tree;
1996 proto_item *li_type_item;
1998 li_type_item = proto_tree_add_item(tree, hf_dect_nwk_s_ie_location_area_li_type, tvb, offset, 1, ENC_NA);
1999 li_type_tree = proto_item_add_subtree(li_type_item, ett_dect_nwk_s_ie_location_area_li_type);
2000 proto_tree_add_item(li_type_tree, hf_dect_nwk_s_ie_location_area_li_extended_included, tvb, offset, 1, ENC_NA);
2001 proto_tree_add_item(li_type_tree, hf_dect_nwk_s_ie_location_area_la_level_included, tvb, offset, 1, ENC_NA);
2002 proto_tree_add_item(tree, hf_dect_nwk_s_ie_location_area_la_level, tvb, offset, 1, ENC_NA);
2003 li_extended_included = ( tvb_get_uint8(tvb, offset) & DECT_NWK_S_IE_LOCATION_AREA_LI_EXTENDED_INCLUDED_MASK ) >> DECT_NWK_S_IE_LOCATION_AREA_LI_EXTENDED_INCLUDED_SHIFT;
2004 offset++;
2006 if ( li_extended_included ) {
2007 proto_tree_add_item(tree, hf_dect_nwk_s_ie_location_area_eli_type, tvb, offset, 1, ENC_NA);
2008 eli_type = ( tvb_get_uint8(tvb, offset) & DECT_NWK_S_IE_LOCATION_AREA_ELI_TYPE_MASK ) >> DECT_NWK_S_IE_LOCATION_AREA_ELI_TYPE_SHIFT;
2009 offset++;
2010 if ( eli_type == DECT_NWK_S_IE_LOCATION_AREA_ELI_TYPE_LI ) {
2011 offset = dissect_e212_mcc_mnc(tvb, pinfo, tree, offset, E212_NONE, false);
2012 proto_tree_add_item(tree, hf_dect_nwk_s_ie_location_area_lac, tvb, offset, 2, ENC_NA);
2013 offset += 2;
2014 proto_tree_add_item(tree, hf_dect_nwk_s_ie_location_area_ci, tvb, offset, 2, ENC_NA);
2015 offset += 2;
2018 return offset;
2021 static int dissect_dect_nwk_s_ie_nwk_assigned_identity(tvbuff_t *tvb, unsigned offset, proto_tree *tree, void _U_ *data)
2023 uint8_t value_length;
2024 unsigned bit_offset, no_of_bits;
2025 proto_tree_add_item(tree, hf_dect_nwk_s_ie_nwk_assigned_identity_type, tvb, offset, 1, ENC_NA);
2026 offset++;
2027 proto_tree_add_item(tree, hf_dect_nwk_s_ie_nwk_assigned_identity_value_length, tvb, offset, 1, ENC_NA);
2028 value_length = tvb_get_uint8(tvb, offset) & 0x7F;
2029 offset++;
2030 bit_offset = offset * 8;
2031 proto_tree_add_bits_item(tree, hf_dect_nwk_s_ie_nwk_assigned_identity_value, tvb, bit_offset, value_length, ENC_NA);
2032 bit_offset += value_length;
2033 offset += value_length / 8;
2034 if (value_length % 8) {
2035 no_of_bits = 8 - (value_length % 8);
2036 proto_tree_add_bits_item(tree, hf_dect_nwk_s_ie_nwk_assigned_identity_padding, tvb, bit_offset, no_of_bits, ENC_NA);
2037 offset++;
2039 return offset;
2042 static int dissect_dect_nwk_s_ie_multi_display(tvbuff_t *tvb, unsigned offset, uint8_t ie_length, packet_info _U_ *pinfo, proto_tree *tree, void _U_ *data)
2044 add_dect_nwk_dect_charset_tree_item(tree, pinfo, hf_dect_nwk_s_ie_multi_display_information, tvb, offset, ie_length);
2045 offset += ie_length;
2047 return offset;
2050 static int dissect_dect_nwk_s_ie_multi_keypad(tvbuff_t *tvb, unsigned offset, uint8_t ie_length, packet_info _U_ *pinfo, proto_tree *tree, void _U_ *data)
2052 add_dect_nwk_dect_charset_tree_item(tree, pinfo, hf_dect_nwk_s_ie_multi_keypad_information, tvb, offset, ie_length);
2053 offset += ie_length;
2055 return offset;
2058 static int dissect_dect_nwk_s_ie_portable_identity(tvbuff_t *tvb, unsigned offset, proto_tree *tree, void _U_ *data)
2060 uint8_t value_length, identity_type, ipui_type;
2061 unsigned bit_offset, no_of_bits, overflow_bits_in_last_byte, no_of_bytes;
2062 bool bcd_last_byte_odd;
2063 identity_type = tvb_get_uint8(tvb, offset) & DECT_NWK_S_IE_PORTABLE_IDENTITY_TYPE_MASK;
2064 proto_tree_add_item(tree, hf_dect_nwk_s_ie_portable_identity_type, tvb, offset, 1, ENC_NA);
2065 offset++;
2066 proto_tree_add_item(tree, hf_dect_nwk_s_ie_portable_identity_value_length, tvb, offset, 1, ENC_NA);
2067 value_length = tvb_get_uint8(tvb, offset) & 0x7F;
2068 overflow_bits_in_last_byte = value_length % 8;
2069 if (overflow_bits_in_last_byte) {
2070 no_of_bytes = value_length / 8 + 1;
2071 bcd_last_byte_odd = true;
2072 } else {
2073 no_of_bytes = value_length / 8;
2074 bcd_last_byte_odd = false;
2076 offset++;
2077 bit_offset = ( offset * 8 ) + 4;
2078 switch(identity_type) {
2079 case DECT_NWK_S_IE_PORTABLE_IDENTITY_IPUI:
2080 ipui_type = ( tvb_get_uint8(tvb, offset) & DECT_NWK_S_IE_PORTABLE_IDENTITY_IPUI_TYPE_MASK ) >> DECT_NWK_S_IE_PORTABLE_IDENTITY_IPUI_TYPE_SHIFT;
2081 proto_tree_add_item(tree, hf_dect_nwk_s_ie_portable_identity_put, tvb, offset, 1, ENC_NA);
2082 no_of_bits = value_length - 4;
2083 switch(ipui_type) {
2084 case DECT_NWK_IPUI_TYPE_N:
2085 proto_tree_add_bits_item(tree, hf_dect_nwk_s_ie_portable_identity_ipei, tvb, bit_offset, no_of_bits, ENC_NA);
2086 break;
2087 case DECT_NWK_IPUI_TYPE_O:
2088 proto_tree_add_bits_item(tree, hf_dect_nwk_s_ie_portable_identity_ipui_o_number, tvb, bit_offset, no_of_bits, ENC_NA);
2089 break;
2090 case DECT_NWK_IPUI_TYPE_P:
2091 proto_tree_add_bits_item(tree, hf_dect_nwk_s_ie_portable_identity_ipui_p_poc, tvb, bit_offset, 16, ENC_BIG_ENDIAN);
2092 proto_tree_add_bits_item(tree, hf_dect_nwk_s_ie_portable_identity_ipui_p_acc, tvb, bit_offset + 16, no_of_bits - 16, ENC_BIG_ENDIAN);
2093 break;
2094 case DECT_NWK_IPUI_TYPE_Q:
2095 proto_tree_add_item(tree, hf_dect_nwk_s_ie_portable_identity_ipui_q_bacn, tvb, offset, no_of_bytes,
2096 ENC_BCD_DIGITS_0_9 | ENC_BIG_ENDIAN | ENC_BCD_SKIP_FIRST | (bcd_last_byte_odd ? ENC_BCD_ODD_NUM_DIG : 0));
2097 break;
2098 case DECT_NWK_IPUI_TYPE_R:
2099 proto_tree_add_item(tree, hf_dect_nwk_s_ie_portable_identity_ipui_r_imsi, tvb, offset, no_of_bytes,
2100 ENC_BCD_DIGITS_0_9 | ENC_BIG_ENDIAN | ENC_BCD_SKIP_FIRST | (bcd_last_byte_odd ? ENC_BCD_ODD_NUM_DIG : 0));
2101 break;
2102 case DECT_NWK_IPUI_TYPE_S:
2103 proto_tree_add_item(tree, hf_dect_nwk_s_ie_portable_identity_ipui_s_number, tvb, offset, no_of_bytes,
2104 ENC_BCD_DIGITS_0_9 | ENC_BIG_ENDIAN | ENC_BCD_SKIP_FIRST | (bcd_last_byte_odd ? ENC_BCD_ODD_NUM_DIG : 0));
2105 break;
2106 case DECT_NWK_IPUI_TYPE_T:
2107 proto_tree_add_bits_item(tree, hf_dect_nwk_s_ie_portable_identity_ipui_t_eic, tvb, bit_offset, 16, ENC_BIG_ENDIAN);
2108 proto_tree_add_item(tree, hf_dect_nwk_s_ie_portable_identity_ipui_t_number, tvb, offset + 2, no_of_bytes - 2,
2109 ENC_BCD_DIGITS_0_9 | ENC_BIG_ENDIAN | ENC_BCD_SKIP_FIRST | (bcd_last_byte_odd ? ENC_BCD_ODD_NUM_DIG : 0));
2110 break;
2111 case DECT_NWK_IPUI_TYPE_U:
2112 proto_tree_add_item(tree, hf_dect_nwk_s_ie_portable_identity_ipui_u_cacn, tvb, offset, no_of_bytes,
2113 ENC_BCD_DIGITS_0_9 | ENC_BIG_ENDIAN | ENC_BCD_SKIP_FIRST | (bcd_last_byte_odd ? ENC_BCD_ODD_NUM_DIG : 0));
2114 break;
2117 bit_offset += no_of_bits;
2118 offset += value_length / 8;
2119 if (overflow_bits_in_last_byte) {
2120 no_of_bits = 8 - overflow_bits_in_last_byte;
2121 proto_tree_add_bits_item(tree, hf_dect_nwk_s_ie_portable_identity_padding, tvb, bit_offset, no_of_bits, ENC_NA);
2122 offset++;
2124 break;
2125 case DECT_NWK_S_IE_PORTABLE_IDENTITY_IPEI:
2126 no_of_bits = value_length - 4;
2127 proto_tree_add_bits_item(tree, hf_dect_nwk_s_ie_portable_identity_ipei, tvb, bit_offset, no_of_bits, ENC_NA);
2128 offset += 5;
2129 break;
2130 case DECT_NWK_S_IE_PORTABLE_IDENTITY_TPUI:
2131 no_of_bits = value_length;
2132 proto_tree_add_item(tree, hf_dect_nwk_s_ie_portable_identity_tpui_assignment_type, tvb, offset, 1, ENC_NA);
2133 proto_tree_add_bits_item(tree, hf_dect_nwk_s_ie_portable_identity_tpui_value, tvb, bit_offset, no_of_bits, ENC_NA);
2134 offset += 3;
2135 break;
2137 return offset;
2140 static int dissect_dect_nwk_s_ie_terminal_capability(tvbuff_t *tvb, unsigned offset, uint8_t ie_length, packet_info _U_ *pinfo, proto_tree *tree, void _U_ *data)
2142 bool octet_group_extension;
2143 unsigned octet_identifier, next_element_offset;
2144 uint16_t stored_display_characters = 0;
2146 static int* const slot_type_flags[] = {
2147 &hf_dect_nwk_s_ie_terminal_capability_slot_type_double,
2148 &hf_dect_nwk_s_ie_terminal_capability_slot_type_full,
2149 &hf_dect_nwk_s_ie_terminal_capability_slot_type_long_672,
2150 &hf_dect_nwk_s_ie_terminal_capability_slot_type_long_640,
2151 &hf_dect_nwk_s_ie_terminal_capability_slot_type_half_80,
2152 NULL
2155 static int* const profile_indicator_1_flags [] = {
2156 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_1_cap,
2157 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_1_gap,
2158 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_1_dect_gsm,
2159 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_1_isdn,
2160 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_1_lrms,
2161 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_1_dprs_stream,
2162 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_1_dprs_asymmetric,
2163 NULL
2166 static int* const profile_indicator_2_flags [] = {
2167 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_2_dprs_class_2,
2168 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_2_data_services,
2169 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_2_isdn,
2170 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_2_dect_umts_bearer,
2171 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_2_dect_umts_sms,
2172 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_2_dect_umts_facsimile,
2173 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_2_rap,
2174 NULL
2177 static int* const profile_indicator_3_flags[] = {
2178 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_3_dect_gsm,
2179 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_3_wrs,
2180 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_3_sms,
2181 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_3_dmap,
2182 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_3_cta,
2183 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_3_ethernet,
2184 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_3_token_ring,
2185 NULL
2188 static int* const profile_indicator_4_flags[] = {
2189 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_4_ip,
2190 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_4_ppp,
2191 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_4_v24,
2192 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_4_cf,
2193 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_4_ipq,
2194 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_4_rap_2,
2195 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_4_dprs,
2196 NULL
2199 static int* const profile_indicator_5_flags[] = {
2200 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_5_mod_2bz,
2201 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_5_mod_4bz,
2202 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_5_mod_8bz,
2203 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_5_mod_16bz,
2204 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_5_mod_2a,
2205 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_5_mod_4a,
2206 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_5_mod_8a,
2207 NULL
2210 static int* const profile_indicator_6_flags[] = {
2211 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_6_dect_umts,
2212 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_6_dect_umts_gprs,
2213 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_6_odap,
2214 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_6_f_mms,
2215 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_6_gf,
2216 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_6_fast_hopping,
2217 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_6_no_emission,
2218 NULL
2221 static int* const profile_indicator_7_flags[] = {
2222 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_7_mod64,
2223 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_7_ng_dect_1,
2224 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_7_ng_dect_3,
2225 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_7_headset_management,
2226 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_7_re_keying,
2227 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_7_associated_melody,
2228 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_7_ng_dect_5,
2229 NULL
2232 static int* const profile_indicator_8_flags[] = {
2233 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_8_mux_e_u,
2234 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_8_channel_ipf,
2235 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_8_channel_sipf,
2236 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_8_packet_data_category,
2237 NULL
2240 static int* const profile_indicator_9_flags[] = {
2241 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_9_dprs_3,
2242 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_9_dprs_4,
2243 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_9_dect_ule,
2244 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_9_light_data,
2245 NULL
2248 static int* const profile_indicator_10_flags[] = {
2249 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_10_date_time_recovery,
2250 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_10_extended_list_change,
2251 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_10_screening,
2252 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_10_wrs_2,
2253 &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_10_wrs_ule,
2254 NULL
2257 static int* const escape_to_char_sets_1_flags[] = {
2258 &hf_dect_nwk_s_ie_terminal_capability_escape_to_char_sets_1_latin_no1,
2259 &hf_dect_nwk_s_ie_terminal_capability_escape_to_char_sets_1_latin_no9,
2260 &hf_dect_nwk_s_ie_terminal_capability_escape_to_char_sets_1_latin_no5,
2261 &hf_dect_nwk_s_ie_terminal_capability_escape_to_char_sets_1_greek,
2262 NULL
2265 static int* const blind_slot_6_flags[] = {
2266 &hf_dect_nwk_s_ie_terminal_capability_blind_slot_indication,
2267 &hf_dect_nwk_s_ie_terminal_capability_sp0,
2268 &hf_dect_nwk_s_ie_terminal_capability_sp1,
2269 &hf_dect_nwk_s_ie_terminal_capability_sp2,
2270 &hf_dect_nwk_s_ie_terminal_capability_sp3,
2271 &hf_dect_nwk_s_ie_terminal_capability_sp4,
2272 NULL
2275 static int* const blind_slot_6a_flags[] = {
2276 &hf_dect_nwk_s_ie_terminal_capability_sp5,
2277 &hf_dect_nwk_s_ie_terminal_capability_sp6,
2278 &hf_dect_nwk_s_ie_terminal_capability_sp7,
2279 &hf_dect_nwk_s_ie_terminal_capability_sp8,
2280 &hf_dect_nwk_s_ie_terminal_capability_sp9,
2281 &hf_dect_nwk_s_ie_terminal_capability_sp10,
2282 &hf_dect_nwk_s_ie_terminal_capability_sp11,
2283 NULL
2286 next_element_offset = offset + ie_length;
2288 octet_identifier = DECT_NWK_S_IE_OCTET_FIRST;
2289 do {
2290 proto_tree_add_item(tree, hf_dect_nwk_s_ie_octet_group_extension, tvb, offset, 1, ENC_NA);
2291 switch(octet_identifier) {
2292 case DECT_NWK_S_IE_OCTET_FIRST:
2293 proto_tree_add_item(tree, hf_dect_nwk_s_ie_terminal_capability_tone_capabilities, tvb, offset, 1, ENC_NA);
2294 proto_tree_add_item(tree, hf_dect_nwk_s_ie_terminal_capability_display_capabilities, tvb, offset, 1, ENC_NA);
2295 /* Octet 3a is intentionally missing according to the standard */
2296 octet_identifier++;
2297 break;
2298 case DECT_NWK_S_IE_OCTET_B:
2299 proto_tree_add_item(tree, hf_dect_nwk_s_ie_terminal_capability_echo_parameter, tvb, offset, 1, ENC_NA);
2300 proto_tree_add_item(tree, hf_dect_nwk_s_ie_terminal_capability_n_rej, tvb, offset, 1, ENC_NA);
2301 proto_tree_add_item(tree, hf_dect_nwk_s_ie_terminal_capability_a_vol, tvb, offset, 1, ENC_NA);
2302 break;
2303 case DECT_NWK_S_IE_OCTET_C:
2304 proto_tree_add_bitmask(tree, tvb, offset, hf_dect_nwk_s_ie_terminal_capability_slot_type_capability, ett_dect_nwk_s_ie_element, slot_type_flags, ENC_NA);
2305 break;
2306 case DECT_NWK_S_IE_OCTET_D:
2307 stored_display_characters = ( tvb_get_uint8(tvb, offset) & DECT_NWK_S_IE_TERMINAL_CAPABILITY_STORED_DISPLAY_CHARACTERS_MASK ) << 7;
2308 break;
2309 case DECT_NWK_S_IE_OCTET_E:
2310 stored_display_characters = stored_display_characters | ( tvb_get_uint8(tvb, offset) & DECT_NWK_S_IE_TERMINAL_CAPABILITY_STORED_DISPLAY_CHARACTERS_MASK );
2311 proto_tree_add_uint(tree, hf_dect_nwk_s_ie_terminal_capability_stored_display_characters, tvb, offset-1, 2, stored_display_characters);
2312 break;
2313 case DECT_NWK_S_IE_OCTET_F:
2314 proto_tree_add_item(tree, hf_dect_nwk_s_ie_terminal_capability_lines_in_display, tvb, offset, 1, ENC_NA);
2315 break;
2316 case DECT_NWK_S_IE_OCTET_G:
2317 proto_tree_add_item(tree, hf_dect_nwk_s_ie_terminal_capability_chars_per_line, tvb, offset, 1, ENC_NA);
2318 break;
2319 case DECT_NWK_S_IE_OCTET_H:
2320 proto_tree_add_item(tree, hf_dect_nwk_s_ie_terminal_capability_scrolling_behaviour, tvb, offset, 1, ENC_NA);
2321 break;
2323 octet_group_extension = ( tvb_get_uint8(tvb, offset) & DECT_NWK_S_IE_OCTET_GROUP_EXTENSION_MASK ) >> DECT_NWK_S_IE_OCTET_GROUP_EXTENSION_SHIFT;
2324 octet_identifier++;
2325 offset++;
2326 } while ( !octet_group_extension );
2328 octet_identifier = DECT_NWK_S_IE_OCTET_FIRST;
2329 do {
2330 proto_tree_add_item(tree, hf_dect_nwk_s_ie_octet_group_extension, tvb, offset, 1, ENC_NA);
2331 switch(octet_identifier) {
2332 case DECT_NWK_S_IE_OCTET_FIRST:
2333 proto_tree_add_bitmask(tree, tvb, offset, hf_dect_nwk_s_ie_terminal_capability_profile_indicator_1, ett_dect_nwk_s_ie_element,
2334 profile_indicator_1_flags, ENC_NA);
2335 break;
2336 case DECT_NWK_S_IE_OCTET_A:
2337 proto_tree_add_bitmask(tree, tvb, offset, hf_dect_nwk_s_ie_terminal_capability_profile_indicator_2, ett_dect_nwk_s_ie_element,
2338 profile_indicator_2_flags, ENC_NA);
2339 break;
2340 case DECT_NWK_S_IE_OCTET_B:
2341 proto_tree_add_bitmask(tree, tvb, offset, hf_dect_nwk_s_ie_terminal_capability_profile_indicator_3, ett_dect_nwk_s_ie_element,
2342 profile_indicator_3_flags, ENC_NA);
2343 break;
2344 case DECT_NWK_S_IE_OCTET_C:
2345 proto_tree_add_bitmask(tree, tvb, offset, hf_dect_nwk_s_ie_terminal_capability_profile_indicator_4, ett_dect_nwk_s_ie_element,
2346 profile_indicator_4_flags, ENC_NA);
2347 break;
2348 case DECT_NWK_S_IE_OCTET_D:
2349 proto_tree_add_bitmask(tree, tvb, offset, hf_dect_nwk_s_ie_terminal_capability_profile_indicator_5, ett_dect_nwk_s_ie_element,
2350 profile_indicator_5_flags, ENC_NA);
2351 break;
2352 case DECT_NWK_S_IE_OCTET_E:
2353 proto_tree_add_bitmask(tree, tvb, offset, hf_dect_nwk_s_ie_terminal_capability_profile_indicator_6, ett_dect_nwk_s_ie_element,
2354 profile_indicator_6_flags, ENC_NA);
2355 break;
2356 case DECT_NWK_S_IE_OCTET_F:
2357 proto_tree_add_bitmask(tree, tvb, offset, hf_dect_nwk_s_ie_terminal_capability_profile_indicator_7, ett_dect_nwk_s_ie_element,
2358 profile_indicator_7_flags, ENC_NA);
2359 break;
2360 case DECT_NWK_S_IE_OCTET_G:
2361 proto_tree_add_bitmask(tree, tvb, offset, hf_dect_nwk_s_ie_terminal_capability_profile_indicator_8, ett_dect_nwk_s_ie_element,
2362 profile_indicator_8_flags, ENC_NA);
2363 break;
2364 case DECT_NWK_S_IE_OCTET_H:
2365 proto_tree_add_bitmask(tree, tvb, offset, hf_dect_nwk_s_ie_terminal_capability_profile_indicator_9, ett_dect_nwk_s_ie_element,
2366 profile_indicator_9_flags, ENC_NA);
2367 break;
2368 case DECT_NWK_S_IE_OCTET_I:
2369 proto_tree_add_bitmask(tree, tvb, offset, hf_dect_nwk_s_ie_terminal_capability_profile_indicator_10, ett_dect_nwk_s_ie_element,
2370 profile_indicator_10_flags, ENC_NA);
2371 break;
2373 octet_group_extension = ( tvb_get_uint8(tvb, offset) & DECT_NWK_S_IE_OCTET_GROUP_EXTENSION_MASK ) >> DECT_NWK_S_IE_OCTET_GROUP_EXTENSION_SHIFT;
2374 octet_identifier++;
2375 offset++;
2376 } while ( !octet_group_extension );
2378 octet_identifier = DECT_NWK_S_IE_OCTET_FIRST;
2379 do {
2380 proto_tree_add_item(tree, hf_dect_nwk_s_ie_octet_group_extension, tvb, offset, 1, ENC_NA);
2381 switch(octet_identifier) {
2382 case DECT_NWK_S_IE_OCTET_FIRST:
2383 proto_tree_add_item(tree, hf_dect_nwk_s_ie_terminal_capability_dsaa2, tvb, offset, 1, ENC_NA);
2384 proto_tree_add_item(tree, hf_dect_nwk_s_ie_terminal_capability_dsc2, tvb, offset, 1, ENC_NA);
2385 proto_tree_add_item(tree, hf_dect_nwk_s_ie_terminal_capability_control_codes, tvb, offset, 1, ENC_NA);
2386 break;
2387 case DECT_NWK_S_IE_OCTET_A:
2388 proto_tree_add_bitmask(tree, tvb, offset, hf_dect_nwk_s_ie_terminal_capability_escape_to_char_sets_1, ett_dect_nwk_s_ie_element,
2389 escape_to_char_sets_1_flags, ENC_NA);
2390 break;
2392 octet_group_extension = ( tvb_get_uint8(tvb, offset) & DECT_NWK_S_IE_OCTET_GROUP_EXTENSION_MASK ) >> DECT_NWK_S_IE_OCTET_GROUP_EXTENSION_SHIFT;
2393 octet_identifier++;
2394 offset++;
2395 } while ( !octet_group_extension );
2397 /* Octet 6 is not always submitted according to standard */
2398 if (offset != next_element_offset) {
2399 octet_identifier = DECT_NWK_S_IE_OCTET_FIRST;
2400 do {
2401 proto_tree_add_item(tree, hf_dect_nwk_s_ie_octet_group_extension, tvb, offset, 1, ENC_NA);
2402 switch(octet_identifier) {
2403 case DECT_NWK_S_IE_OCTET_FIRST:
2404 proto_tree_add_bitmask(tree, tvb, offset, hf_dect_nwk_s_ie_terminal_capability_blind_slot_6, ett_dect_nwk_s_ie_element,
2405 blind_slot_6_flags, ENC_NA);
2406 break;
2407 case DECT_NWK_S_IE_OCTET_A:
2408 proto_tree_add_bitmask(tree, tvb, offset, hf_dect_nwk_s_ie_terminal_capability_blind_slot_6a, ett_dect_nwk_s_ie_element,
2409 blind_slot_6a_flags, ENC_NA);
2410 break;
2412 octet_group_extension = ( tvb_get_uint8(tvb, offset) & DECT_NWK_S_IE_OCTET_GROUP_EXTENSION_MASK ) >> DECT_NWK_S_IE_OCTET_GROUP_EXTENSION_SHIFT;
2413 octet_identifier++;
2414 offset++;
2415 } while ( !octet_group_extension );
2417 return offset;
2420 static int dissect_dect_nwk_s_ie_escape_to_proprietary(tvbuff_t *tvb, unsigned offset, proto_tree *tree, void _U_ *data)
2422 uint8_t discriminator_type;
2423 proto_tree_add_item(tree, hf_dect_nwk_s_ie_escape_to_proprietary_discriminator_type, tvb, offset, 1, ENC_NA);
2424 discriminator_type = tvb_get_uint8(tvb, offset) & DECT_NWK_S_IE_ESCAPE_TO_PROPRIETARY_DISCRIMINATOR_TYPE_MASK;
2425 offset++;
2426 if (discriminator_type == DECT_NWK_S_IE_ESCAPE_TO_PROPRIETARY_DISCRIMINATOR_TYPE_EMC) {
2427 proto_tree_add_item(tree, hf_dect_nwk_s_ie_escape_to_proprietary_discriminator, tvb, offset, 2, ENC_NA);
2428 offset+=2;
2430 /* FIXME: Content Handling */
2431 return offset;
2434 static int dissect_dect_nwk_s_ie_model_identifier(tvbuff_t *tvb, unsigned offset, uint8_t ie_length, packet_info _U_ *pinfo, proto_tree *tree, void _U_ *data) {
2435 if ( ie_length == 3) {
2436 proto_tree_add_item(tree, hf_dect_nwk_s_ie_model_identifier_manic, tvb, offset, 2, ENC_NA);
2437 offset += 2;
2438 proto_tree_add_item(tree, hf_dect_nwk_s_ie_model_identifier_modic, tvb, offset, 1, ENC_NA);
2439 offset++;
2440 } else if ( ie_length == 20) {
2441 proto_tree_add_item(tree, hf_dect_nwk_s_ie_model_identifier_imeisv, tvb, offset, ie_length, ENC_NA);
2442 offset += ie_length;
2445 return offset;
2448 static int dissect_dect_nwk_s_ie_codec_list(tvbuff_t *tvb, unsigned offset, uint8_t _U_ ie_length, packet_info _U_ *pinfo, proto_tree *tree, void _U_ *data) {
2449 bool last_codec;
2450 unsigned octet_identifier;
2452 proto_tree_add_item(tree, hf_dect_nwk_s_ie_codec_list_negotiation_indicator, tvb, offset, 1, ENC_NA);
2453 offset++;
2455 last_codec = false;
2456 octet_identifier = DECT_NWK_S_IE_OCTET_FIRST;
2457 do {
2458 switch(octet_identifier) {
2459 case DECT_NWK_S_IE_OCTET_FIRST:
2460 proto_tree_add_item(tree, hf_dect_nwk_s_ie_codec_list_codec_identifier, tvb, offset, 1, ENC_NA);
2461 break;
2462 case DECT_NWK_S_IE_OCTET_A:
2463 proto_tree_add_item(tree, hf_dect_nwk_s_ie_codec_list_mac_and_dlc_service, tvb, offset, 1, ENC_NA);
2464 break;
2465 case DECT_NWK_S_IE_OCTET_B:
2466 proto_tree_add_item(tree, hf_dect_nwk_s_ie_codec_list_last_codec, tvb, offset, 1, ENC_NA);
2467 proto_tree_add_item(tree, hf_dect_nwk_s_ie_codec_list_c_plane_routing, tvb, offset, 1, ENC_NA);
2468 proto_tree_add_item(tree, hf_dect_nwk_s_ie_codec_list_slot_size, tvb, offset, 1, ENC_NA);
2469 last_codec = ( tvb_get_uint8(tvb, offset) & DECT_NWK_S_IE_CODEC_LIST_LAST_CODEC_MASK ) >> DECT_NWK_S_IE_CODEC_LIST_LAST_CODEC_SHIFT;
2470 break;
2472 octet_identifier = (octet_identifier + 1) % 3;
2473 offset++;
2474 } while ( !last_codec );
2476 return offset;
2479 static int dissect_dect_nwk_s_ie(tvbuff_t *tvb, unsigned offset, packet_info *pinfo, proto_tree *tree, void _U_ *data)
2481 bool fixed_length;
2482 uint8_t element_type, element_length, fl_ie_type, fl_ie_double_octet_type;
2483 proto_tree *field_tree;
2484 proto_tree *field_tree_item;
2486 fixed_length = (tvb_get_uint8(tvb, offset) & DECT_NWK_S_IE_FIXED_LENGTH_MASK) >> DECT_NWK_S_IE_FIXED_LENGTH_SHIFT;
2487 if(fixed_length) {
2488 fl_ie_type = ( tvb_get_uint8(tvb, offset) & DECT_NWK_S_IE_FL_TYPE_MASK ) >> DECT_NWK_S_IE_FL_TYPE_SHIFT;
2489 fl_ie_double_octet_type = ( tvb_get_uint8(tvb, offset) & DECT_NWK_S_IE_FL_DOUBLE_OCTET_TYPE_MASK );
2490 if ( fl_ie_type == DECT_NWK_S_IE_FL_DOUBLE_OCTET_ELEMENT ) {
2491 element_length = 2;
2492 field_tree = proto_tree_add_subtree(tree, tvb, offset, element_length, ett_dect_nwk_s_ie_element, &field_tree_item, "Fixed length Element: ");
2493 proto_item_append_text(field_tree_item, "%s", val_to_str(fl_ie_double_octet_type, dect_nwk_s_ie_fl_double_octet_type_val, "Unknown: 0x%0x"));
2494 proto_tree_add_item(field_tree, hf_dect_nwk_s_ie_fl, tvb, offset, 1, ENC_NA);
2495 proto_tree_add_item(field_tree, hf_dect_nwk_s_ie_fl_type, tvb, offset, 1, ENC_NA);
2496 proto_tree_add_item(field_tree, hf_dect_nwk_s_ie_fl_double_octet_type, tvb, offset, 1, ENC_NA);
2497 offset++;
2498 switch (fl_ie_double_octet_type) {
2499 case DECT_NWK_S_IE_FL_DOUBLE_OCTET_BASIC_SERVICE:
2500 proto_tree_add_item(field_tree, hf_dect_nwk_s_ie_fl_basic_service_call_class, tvb, offset, 1, ENC_NA);
2501 proto_tree_add_item(field_tree, hf_dect_nwk_s_ie_fl_basic_service_type, tvb, offset, 1, ENC_NA);
2502 break;
2503 case DECT_NWK_S_IE_FL_DOUBLE_OCTET_RELEASE_REASON:
2504 proto_tree_add_item(field_tree, hf_dect_nwk_s_ie_fl_release_reason_code, tvb, offset, 1, ENC_NA);
2505 break;
2506 case DECT_NWK_S_IE_FL_DOUBLE_OCTET_SIGNAL:
2507 proto_tree_add_item(field_tree, hf_dect_nwk_s_ie_fl_signal_value, tvb, offset, 1, ENC_NA);
2508 break;
2509 case DECT_NWK_S_IE_FL_DOUBLE_OCTET_TIMER_RESTART:
2510 proto_tree_add_item(field_tree, hf_dect_nwk_s_ie_fl_timer_restart_value, tvb, offset, 1, ENC_NA);
2511 break;
2512 case DECT_NWK_S_IE_FL_DOUBLE_OCTET_TEST_HOOK_CONTROL:
2513 proto_tree_add_item(field_tree, hf_dect_nwk_s_ie_fl_test_hook_control_hook_value, tvb, offset, 1, ENC_NA);
2514 break;
2515 case DECT_NWK_S_IE_FL_DOUBLE_OCTET_SINGLE_DISPLAY:
2516 add_dect_nwk_dect_charset_tree_item(field_tree, pinfo, hf_dect_nwk_s_ie_fl_single_display_display_info, tvb, offset, 1);
2517 break;
2518 case DECT_NWK_S_IE_FL_DOUBLE_OCTET_SINGLE_KEYPAD:
2519 add_dect_nwk_dect_charset_tree_item(field_tree, pinfo, hf_dect_nwk_s_ie_fl_single_keypad_keypad_info, tvb, offset, 1);
2520 break;
2522 } else {
2523 element_length = 1;
2524 field_tree = proto_tree_add_subtree(tree, tvb, offset, element_length, ett_dect_nwk_s_ie_element, &field_tree_item, "Fixed length Element: ");
2525 proto_tree_add_item(field_tree, hf_dect_nwk_s_ie_fl, tvb, offset, 1, ENC_NA);
2526 proto_tree_add_item(field_tree, hf_dect_nwk_s_ie_type, tvb, offset, 1, ENC_NA);
2527 if ( fl_ie_type == DECT_NWK_S_IE_FL_CONTROL ) {
2528 proto_tree_add_item(field_tree, hf_dect_nwk_s_ie_fl_control_type, tvb, offset, 1, ENC_NA);
2529 proto_item_append_text(field_tree_item, "%s", val_to_str(fl_ie_double_octet_type, dect_nwk_s_ie_fl_control_type_val, "Unknown: 0x%0x"));
2530 } else {
2531 proto_item_append_text(field_tree_item, "%s", val_to_str(fl_ie_type, dect_nwk_s_ie_fl_type_val, "Unknown: 0x%0x"));
2532 switch (fl_ie_type) {
2533 case DECT_NWK_S_IE_FL_SHIFT:
2534 proto_tree_add_item(field_tree, hf_dect_nwk_s_ie_fl_shift_locking, tvb, offset, 1, ENC_NA);
2535 proto_tree_add_item(field_tree, hf_dect_nwk_s_ie_fl_shift_new_codeset, tvb, offset, 1, ENC_NA);
2536 break;
2537 case DECT_NWK_S_IE_FL_REPEAT_INDICATOR:
2538 proto_tree_add_item(field_tree, hf_dect_nwk_s_ie_fl_repeat_indicator_type, tvb, offset, 1, ENC_NA);
2539 break;
2543 offset ++;
2544 } else {
2545 element_type = ( tvb_get_uint8(tvb, offset) & 0x7F);
2546 element_length = tvb_get_uint8(tvb, offset + 1);
2547 field_tree = proto_tree_add_subtree(tree, tvb, offset, element_length + 2, ett_dect_nwk_s_ie_element, &field_tree_item, "Element: ");
2548 proto_item_append_text(field_tree_item, "%s", val_to_str(element_type, dect_nwk_s_ie_type_val, "Unknown: 0x%0x"));
2549 proto_tree_add_item(field_tree, hf_dect_nwk_s_ie_fl, tvb, offset, 1, ENC_NA);
2550 proto_tree_add_item(field_tree, hf_dect_nwk_s_ie_type, tvb, offset, 1, ENC_NA);
2551 offset++;
2552 proto_tree_add_item(field_tree, hf_dect_nwk_s_ie_length, tvb, offset, 1, ENC_NA);
2553 offset++;
2554 switch (element_type) {
2555 case DECT_NWK_S_IE_AUTH_TYPE:
2556 offset = dissect_dect_nwk_s_ie_auth_type(tvb, offset, field_tree, data);
2557 break;
2558 case DECT_NWK_S_IE_CALLING_PARTY_NUMBER:
2559 offset = dissect_dect_nwk_s_ie_calling_party_number(tvb, offset, element_length, field_tree, data);
2560 break;
2561 case DECT_NWK_S_IE_CIPHER_INFO:
2562 offset = dissect_dect_nwk_s_ie_cipher_info(tvb, offset, field_tree, data);
2563 break;
2564 case DECT_NWK_S_IE_DURATION:
2565 offset = dissect_dect_nwk_s_ie_duration(tvb, offset, element_length, pinfo, field_tree, data);
2566 break;
2567 case DECT_NWK_S_IE_FIXED_IDENTITY:
2568 offset = dissect_dect_nwk_s_ie_fixed_identity(tvb, offset, field_tree, data);
2569 break;
2570 case DECT_NWK_S_IE_IWU_TO_IWU:
2571 offset = dissect_dect_nwk_s_ie_iwu_to_iwu(tvb, offset, element_length, pinfo, field_tree, data);
2572 break;
2573 case DECT_NWK_S_IE_LOCATION_AREA:
2574 offset = dissect_dect_nwk_s_ie_location_area(tvb, offset, pinfo, field_tree, data);
2575 break;
2576 case DECT_NWK_S_IE_MULTI_DISPLAY:
2577 offset = dissect_dect_nwk_s_ie_multi_display(tvb, offset, element_length, pinfo, field_tree, data);
2578 break;
2579 case DECT_NWK_S_IE_MULTI_KEYPAD:
2580 offset = dissect_dect_nwk_s_ie_multi_keypad(tvb, offset, element_length, pinfo, field_tree, data);
2581 break;
2582 case DECT_NWK_S_IE_NWK_ASSIGNED_IDENTITY:
2583 offset = dissect_dect_nwk_s_ie_nwk_assigned_identity(tvb, offset, field_tree, data);
2584 break;
2585 case DECT_NWK_S_IE_PORTABLE_IDENTITY:
2586 offset = dissect_dect_nwk_s_ie_portable_identity(tvb, offset, field_tree, data);
2587 break;
2588 case DECT_NWK_S_IE_RAND:
2589 proto_tree_add_item(field_tree,hf_dect_nwk_s_ie_rand_rand_field, tvb, offset, element_length, ENC_NA);
2590 offset += element_length;
2591 break;
2592 case DECT_NWK_S_IE_RES:
2593 proto_tree_add_item(field_tree,hf_dect_nwk_s_ie_res_res_field, tvb, offset, element_length, ENC_NA);
2594 offset += element_length;
2595 break;
2596 case DECT_NWK_S_IE_RS:
2597 proto_tree_add_item(field_tree,hf_dect_nwk_s_ie_rs_rs_field, tvb, offset, element_length, ENC_NA);
2598 offset += element_length;
2599 break;
2600 case DECT_NWK_S_IE_TERMINAL_CAPABILITY:
2601 offset = dissect_dect_nwk_s_ie_terminal_capability(tvb, offset, element_length, pinfo, field_tree, data);
2602 break;
2603 case DECT_NWK_S_IE_ESCAPE_TO_PROPRIETARY:
2604 dissect_dect_nwk_s_ie_escape_to_proprietary(tvb, offset, field_tree, data);
2605 offset += element_length;
2606 break;
2607 case DECT_NWK_S_IE_MODEL_IDENTIFIER:
2608 offset = dissect_dect_nwk_s_ie_model_identifier(tvb, offset, element_length, pinfo, field_tree, data);
2609 break;
2610 case DECT_NWK_S_IE_CODEC_LIST:
2611 offset = dissect_dect_nwk_s_ie_codec_list(tvb, offset, element_length, pinfo, field_tree, data);
2612 break;
2613 default:
2614 offset += element_length;
2615 break;
2618 return offset;
2621 static int dissect_dect_nwk_lce(tvbuff_t *tvb, uint8_t msg_type, unsigned offset, packet_info *pinfo, proto_tree *tree, void _U_ *data)
2625 proto_tree_add_item(tree, hf_nwk_msg_type_lce, tvb, offset, 1, ENC_NA);
2626 col_append_fstr(pinfo->cinfo, COL_INFO, "%s ",
2627 val_to_str(msg_type, nwk_lce_msgt_vals, "Unknown 0x%02x"));
2628 offset++;
2630 while(tvb_reported_length_remaining(tvb, offset)) {
2631 offset = dissect_dect_nwk_s_ie(tvb, offset, pinfo, tree, data);
2634 /* TOOD: dissection of TLVs/IEs */
2636 return offset;
2639 static int dissect_dect_nwk_cc(tvbuff_t *tvb, uint8_t msg_type, unsigned offset, packet_info *pinfo, proto_tree *tree, void _U_ *data)
2641 /* According to Section 7.2 CC also contains CRSS messages */
2642 if ( msg_type == DECT_NWK_SS_CRSS_HOLD ||
2643 msg_type == DECT_NWK_SS_CRSS_HOLD_ACK ||
2644 msg_type == DECT_NWK_SS_CRSS_HOLD_REJ ||
2645 msg_type == DECT_NWK_SS_CRSS_RETRIEVE ||
2646 msg_type == DECT_NWK_SS_CRSS_RETRIEVE_ACK ||
2647 msg_type == DECT_NWK_SS_CRSS_RETRIEVE_REJ ||
2648 msg_type == DECT_NWK_SS_CISS_FACILITY ) {
2649 proto_tree_add_item(tree, hf_dect_nwk_message_type_crss, tvb, offset, 1, ENC_NA);
2650 col_append_fstr(pinfo->cinfo, COL_INFO, "%s ",
2651 val_to_str(msg_type, dect_nwk_crss_message_type_vals, "Unknown 0x%02x"));
2652 } else {
2653 proto_tree_add_item(tree, hf_nwk_msg_type_cc, tvb, offset, 1, ENC_NA);
2654 col_append_fstr(pinfo->cinfo, COL_INFO, "%s ",
2655 val_to_str(msg_type, nwk_cc_msgt_vals, "Unknown 0x%02x"));
2657 offset++;
2659 while(tvb_reported_length_remaining(tvb, offset)) {
2660 offset = dissect_dect_nwk_s_ie(tvb, offset, pinfo, tree, data);
2663 return offset;
2666 static int dissect_dect_nwk_ciss(tvbuff_t *tvb, uint8_t msg_type, unsigned offset, packet_info *pinfo, proto_tree *tree, void _U_ *data)
2668 proto_tree_add_item(tree, hf_dect_nwk_message_type_ciss, tvb, offset, 1, ENC_NA);
2669 col_append_fstr(pinfo->cinfo, COL_INFO, "%s ",
2670 val_to_str(msg_type, dect_nwk_ciss_message_type_vals, "Unknown 0x%02x"));
2671 offset++;
2673 while(tvb_reported_length_remaining(tvb, offset)) {
2674 offset = dissect_dect_nwk_s_ie(tvb, offset, pinfo, tree, data);
2677 return offset;
2680 static int dissect_dect_nwk_coms(tvbuff_t *tvb, uint8_t msg_type, unsigned offset, packet_info *pinfo, proto_tree *tree, void _U_ *data)
2682 proto_tree_add_item(tree, hf_dect_nwk_message_type_coms, tvb, offset, 1, ENC_NA);
2683 col_append_fstr(pinfo->cinfo, COL_INFO, "%s ",
2684 val_to_str(msg_type, dect_nwk_coms_message_type_vals, "Unknown 0x%02x"));
2685 offset++;
2687 while(tvb_reported_length_remaining(tvb, offset)) {
2688 offset = dissect_dect_nwk_s_ie(tvb, offset, pinfo, tree, data);
2691 return offset;
2695 static int dissect_dect_nwk_clms(tvbuff_t *tvb, uint8_t msg_type, unsigned offset, packet_info *pinfo, proto_tree *tree, void _U_ *data)
2697 proto_tree_add_item(tree, hf_dect_nwk_message_type_clms, tvb, offset, 1, ENC_NA);
2698 col_append_fstr(pinfo->cinfo, COL_INFO, "%s ",
2699 val_to_str(msg_type, dect_nwk_clms_message_type_vals, "Unknown 0x%02x"));
2700 offset++;
2702 while(tvb_reported_length_remaining(tvb, offset)) {
2703 offset = dissect_dect_nwk_s_ie(tvb, offset, pinfo, tree, data);
2706 return offset;
2709 static int dissect_dect_nwk_mm(tvbuff_t *tvb, uint8_t msg_type, unsigned offset, packet_info *pinfo, proto_tree *tree, void _U_ *data)
2711 proto_tree_add_item(tree, hf_nwk_msg_type_mm, tvb, offset, 1, ENC_NA);
2712 col_append_fstr(pinfo->cinfo, COL_INFO, "%s ",
2713 val_to_str(msg_type, nwk_mm_msgt_vals, "Unknown 0x%02x"));
2714 offset++;
2716 while(tvb_reported_length_remaining(tvb, offset)) {
2717 offset = dissect_dect_nwk_s_ie(tvb, offset, pinfo, tree, data);
2719 /* TOOD: dissection of TLVs/IEs */
2721 return offset;
2725 static int dissect_dect_nwk(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
2727 proto_tree *nwk_tree;
2728 proto_item *nwk_ti;
2729 uint8_t pdisc, msg_type;
2730 unsigned len;
2731 unsigned offset = 0;
2733 len = tvb_reported_length(tvb);
2735 col_append_str(pinfo->cinfo, COL_INFO, "(NWK) ");
2737 nwk_ti = proto_tree_add_item(tree, proto_dect_nwk, tvb, 0, len, ENC_NA);
2738 nwk_tree = proto_item_add_subtree(nwk_ti, ett_dect_nwk);
2740 proto_tree_add_item(nwk_tree, hf_nwk_ti, tvb, 0, 1, ENC_NA);
2741 proto_tree_add_item(nwk_tree, hf_nwk_pdisc, tvb, 0, 1, ENC_NA);
2742 pdisc = tvb_get_uint8(tvb, 0) & 0x0F;
2743 msg_type = tvb_get_uint8(tvb, 1);
2745 switch (pdisc) {
2746 case DECT_NWK_PDISC_LCE:
2747 offset = dissect_dect_nwk_lce(tvb, msg_type, 1, pinfo, nwk_tree, data);
2748 break;
2749 case DECT_NWK_PDISC_CC:
2750 offset = dissect_dect_nwk_cc(tvb, msg_type, 1, pinfo, nwk_tree, data);
2751 break;
2752 case DECT_NWK_PDISC_MM:
2753 offset = dissect_dect_nwk_mm(tvb, msg_type, 1, pinfo, nwk_tree, data);
2754 break;
2755 case DECT_NWK_PDISC_CISS:
2756 offset = dissect_dect_nwk_ciss(tvb, msg_type, 1, pinfo, nwk_tree, data);
2757 break;
2758 case DECT_NWK_PDISC_CLMS:
2759 offset = dissect_dect_nwk_clms(tvb, msg_type, 1, pinfo, nwk_tree, data);
2760 break;
2761 case DECT_NWK_PDISC_COMS:
2762 offset = dissect_dect_nwk_coms(tvb, msg_type, 1, pinfo, nwk_tree, data);
2763 break;
2764 default:
2765 break;
2768 /* whatever was not dissected: Use generic data dissector */
2769 if ( offset < tvb_captured_length(tvb) ) {
2770 tvbuff_t *payload = tvb_new_subset_remaining(tvb, offset);
2771 call_data_dissector(payload, pinfo, tree);
2773 return tvb_captured_length(tvb);
2777 ETSI EN 300 175-6 V2.7.1 Annex C
2778 IPEI will be displayed as EEEEE PPPPPPP C
2779 where:
2780 * EEEEE is the decimal representation of the first 16 bits
2781 * PPPPPPP is the decimal representation of the last 20 bits
2782 * C is calculated based on the digits by multiplying the digit with its position
2783 (starting with 1 on the leftmost one), and taking the sum of those multiply results
2784 modulo 11. If the result is 10 a '*' is displayed instead.
2786 static void fmt_dect_nwk_ipei(char *ipei_string, uint64_t ipei) {
2787 uint16_t emc, check_digit;
2788 uint32_t psn;
2789 uint64_t digit_divisor, ipei_digits;
2791 emc = ( ( ipei & 0xFFFF00000 ) >> 20 ) & 0xFFFF;
2792 psn = ipei & 0xFFFFF;
2794 digit_divisor = 100000000000;
2795 ipei_digits = emc * (uint64_t)10000000 + psn;
2796 check_digit = 0;
2797 for(uint8_t i = 1; i <= 12; i++) {
2798 check_digit += (uint16_t)( ( ipei_digits / digit_divisor ) * i );
2799 ipei_digits = ipei_digits % digit_divisor;
2800 digit_divisor /= 10;
2802 check_digit = check_digit % 11;
2804 if ( check_digit == 10) {
2805 snprintf(ipei_string, 16, "%05d %07d *", emc, psn);
2806 } else {
2807 snprintf(ipei_string, 16, "%05d %07d %d", emc, psn, check_digit);
2811 void proto_register_dect_nwk(void)
2813 static hf_register_info hf[] =
2815 { &hf_nwk_ti,
2816 { "Transaction Identifier", "dect_nwk.ti", FT_UINT8, BASE_HEX,
2817 NULL, 0xF0, NULL, HFILL
2820 { &hf_nwk_pdisc,
2821 { "Protocol Discriminator", "dect_nwk.pdisc", FT_UINT8, BASE_HEX,
2822 VALS(nwk_pdisc_vals), 0x0F, NULL, HFILL
2825 { &hf_nwk_msg_type_cc,
2826 { "Message Type", "dect_nwk.msg_type", FT_UINT8, BASE_HEX,
2827 VALS(nwk_cc_msgt_vals), 0x0, NULL, HFILL
2830 { &hf_dect_nwk_message_type_ciss,
2831 { "Message Type", "dect_nwk.msg_type", FT_UINT8, BASE_HEX,
2832 VALS(dect_nwk_ciss_message_type_vals), 0x0, NULL, HFILL
2835 { &hf_dect_nwk_message_type_crss,
2836 { "Message Type", "dect_nwk.msg_type", FT_UINT8, BASE_HEX,
2837 VALS(dect_nwk_crss_message_type_vals), 0x0, NULL, HFILL
2840 { &hf_dect_nwk_message_type_coms,
2841 { "Message Type", "dect_nwk.msg_type", FT_UINT8, BASE_HEX,
2842 VALS(dect_nwk_coms_message_type_vals), 0x0, NULL, HFILL
2845 { &hf_dect_nwk_message_type_clms,
2846 { "Message Type", "dect_nwk.msg_type", FT_UINT8, BASE_HEX,
2847 VALS(dect_nwk_clms_message_type_vals), 0x0, NULL, HFILL
2850 { &hf_nwk_msg_type_mm,
2851 { "Message Type", "dect_nwk.msg_type", FT_UINT8, BASE_HEX,
2852 VALS(nwk_mm_msgt_vals), 0x0, NULL, HFILL
2855 { &hf_nwk_msg_type_lce,
2856 { "Message Type", "dect_nwk.msg_type", FT_UINT8, BASE_HEX,
2857 VALS(nwk_lce_msgt_vals), 0x0, NULL, HFILL
2862 /* S Type common */
2863 { &hf_dect_nwk_s_ie_fl,
2864 { "Fixed Length", "dect_nwk.s.fixed_length", FT_BOOLEAN, 8,
2865 NULL, 0x80, NULL, HFILL
2868 { &hf_dect_nwk_s_ie_type,
2869 { "Message Type", "dect_nwk.s.ie.type", FT_UINT8, BASE_HEX,
2870 VALS(dect_nwk_s_ie_type_val), 0x7F, NULL, HFILL
2873 { &hf_dect_nwk_s_ie_length,
2874 { "Content Length", "dect_nwk.s.ie.length", FT_UINT8, BASE_DEC,
2875 NULL, 0x0, "Length indicator", HFILL
2878 { &hf_dect_nwk_s_ie_octet_group_extension,
2879 { "Extension", "dect_nwk.s.ie.group_extension", FT_BOOLEAN, 8,
2880 TFS(&tfs_last_more), 0x80, NULL, HFILL
2883 /* Fixed length elements */
2884 { &hf_dect_nwk_s_ie_fl_type,
2885 { "Message Type", "dect_nwk.s.ie.fl.type", FT_UINT8, BASE_HEX,
2886 VALS(dect_nwk_s_ie_fl_type_val), 0x70, NULL, HFILL
2889 { &hf_dect_nwk_s_ie_fl_control_type,
2890 { "CTRL Type", "dect_nwk.s.ie.fl.control_type", FT_UINT8, BASE_HEX,
2891 VALS(dect_nwk_s_ie_fl_control_type_val), 0x0F, NULL, HFILL
2894 { &hf_dect_nwk_s_ie_fl_double_octet_type,
2895 { "Double Octet Type", "dect_nwk.s.ie.fl.double_octet_type", FT_UINT8, BASE_HEX,
2896 VALS(dect_nwk_s_ie_fl_double_octet_type_val), 0x0F, NULL, HFILL
2899 /* Shift */
2900 { &hf_dect_nwk_s_ie_fl_shift_locking,
2901 { "Shift Procedure", "dect_nwk.s.ie.fl.shift.locking", FT_BOOLEAN, 8,
2902 TFS(&dect_nwk_s_ie_fl_shift_locking_tfs), 0x08, NULL, HFILL
2905 { &hf_dect_nwk_s_ie_fl_shift_new_codeset,
2906 { "New Codeset", "dect_nwk.s.ie.fl.shift.new_codeset", FT_UINT8, BASE_HEX,
2907 VALS(dect_nwk_s_ie_fl_shift_codeset_val), 0x07, NULL, HFILL
2910 /* Repeat indicator */
2911 { &hf_dect_nwk_s_ie_fl_repeat_indicator_type,
2912 { "Indicator Type", "dect_nwk.s.ie.fl.repeat_indicator.type", FT_UINT8, BASE_HEX,
2913 VALS(dect_nwk_s_ie_fl_repeat_indicator_type_val), 0x0F, NULL, HFILL
2916 /* Basic service */
2917 { &hf_dect_nwk_s_ie_fl_basic_service_call_class,
2918 { "Call class", "dect_nwk.s.ie.fl.basic_service.call_class", FT_UINT8, BASE_HEX,
2919 VALS(dect_nwk_s_ie_fl_basic_service_call_class_val), 0xF0, NULL, HFILL
2922 { &hf_dect_nwk_s_ie_fl_basic_service_type,
2923 { "Basic Service", "dect_nwk.s.ie.fl.basic_service", FT_UINT8, BASE_HEX,
2924 VALS(dect_nwk_s_ie_fl_basic_service_type_val), 0x0F, NULL, HFILL
2927 /* Single display */
2928 { &hf_dect_nwk_s_ie_fl_single_display_display_info,
2929 { "Display Info", "dect_nwk.s.ie.fl.single_display.display_info", FT_STRING, BASE_NONE,
2930 NULL, 0x0, NULL, HFILL
2933 /* Single keypad */
2934 { &hf_dect_nwk_s_ie_fl_single_keypad_keypad_info,
2935 { "Keypad Info", "dect_nwk.s.ie.fl.single_keypad.keypad_info", FT_STRING, BASE_NONE,
2936 NULL, 0x0, NULL, HFILL
2939 /* Release reason */
2940 { &hf_dect_nwk_s_ie_fl_release_reason_code,
2941 { "Release Reason Code", "dect_nwk.s.ie.fl.release_reason.code", FT_UINT8, BASE_HEX,
2942 VALS(dect_nwk_s_ie_fl_release_reason_val), 0x0, NULL, HFILL
2945 /* Signal */
2946 { &hf_dect_nwk_s_ie_fl_signal_value,
2947 { "Signal value", "dect_nwk.s.ie.fl.signal.value", FT_UINT8, BASE_HEX,
2948 VALS(dect_nwk_s_ie_fl_signal_value_val), 0x0, NULL, HFILL
2951 /* Timer restart */
2952 { &hf_dect_nwk_s_ie_fl_timer_restart_value,
2953 { "Restart value", "dect_nwk.s.ie.fl.timer_restart.restart_value", FT_UINT8, BASE_HEX,
2954 VALS(dect_nwk_s_ie_fl_timer_restart_value_val), 0x0, NULL, HFILL
2957 /* Test hook control */
2958 { &hf_dect_nwk_s_ie_fl_test_hook_control_hook_value,
2959 { "Hook value", "dect_nwk.s.ie.fl.test_hook_control.hook_value", FT_UINT8, BASE_HEX,
2960 VALS(dect_nwk_s_ie_fl_test_hook_control_hook_value_val), 0x0, NULL, HFILL
2963 /* Auth type*/
2964 { &hf_dect_nwk_s_ie_auth_type_authentication_algorithm,
2965 { "Authentication algorithm", "dect_nwk.s.ie.auth_type.authentication_algorithm", FT_UINT8, BASE_HEX,
2966 VALS(dect_nwk_s_ie_auth_type_authentication_algorithm_val), 0x0, NULL, HFILL
2969 { &hf_dect_nwk_s_ie_auth_type_proprietary_algorithm,
2970 { "Proprietary algorithm", "dect_nwk.s.ie.auth_type.proprietary_algorithm", FT_UINT8, BASE_HEX,
2971 NULL, 0x0, NULL, HFILL
2974 { &hf_dect_nwk_s_ie_auth_type_ak_type,
2975 { "AK Type", "dect_nwk.s.ie.auth_type.ak_type", FT_UINT8, BASE_HEX,
2976 VALS(dect_nwk_s_ie_auth_type_ak_type_val), 0xF0, NULL, HFILL
2979 { &hf_dect_nwk_s_ie_auth_type_ak_number,
2980 { "AK Number", "dect_nwk.s.ie.auth_type.ak_number", FT_UINT8, BASE_HEX,
2981 NULL, 0x0F, NULL, HFILL
2984 { &hf_dect_nwk_s_ie_auth_type_inc,
2985 { "INC", "dect_nwk.s.ie.auth_type.inc", FT_BOOLEAN, 8,
2986 TFS(&tfs_yes_no), 0x80, "Increment value of the ZAP field", HFILL
2989 { &hf_dect_nwk_s_ie_auth_type_def,
2990 { "DEF", "dect_nwk.s.ie.auth_type.def", FT_BOOLEAN, 8,
2991 TFS(&tfs_yes_no), 0x40, "Use generated derived cipher key as default cipher key for early encryption", HFILL
2994 { &hf_dect_nwk_s_ie_auth_type_txc,
2995 { "TXC", "dect_nwk.s.ie.auth_type.tx", FT_BOOLEAN, 8,
2996 TFS(&tfs_yes_no), 0x20, "Include derived cipher key in the AUTHENTICATION-REPLY message", HFILL
2999 { &hf_dect_nwk_s_ie_auth_type_upc,
3000 { "UPC", "dect_nwk.s.ie.auth_type.upc", FT_BOOLEAN, 8,
3001 TFS(&tfs_yes_no), 0x10, "Store derived cipher key", HFILL
3004 { &hf_dect_nwk_s_ie_auth_type_cipher_key_number,
3005 { "Cipher key number", "dect_nwk.s.ie.auth_type.cipher_key_number", FT_UINT8, BASE_HEX,
3006 NULL, 0x0F, NULL, HFILL
3009 { &hf_dect_nwk_s_ie_auth_type_cipher_key_number_related,
3010 { "Key related to", "dect_nwk.s.ie.auth_type.key_related_to", FT_BOOLEAN, 8,
3011 TFS(&dect_nwk_s_ie_auth_type_cipher_key_number_related_tfs), 0x08, NULL, HFILL
3014 { &hf_dect_nwk_s_ie_auth_type_default_cipher_key_index,
3015 { "Default Cipher Key Index", "dect_nwk.s.ie.auth_type.default_cipher_key_index", FT_UINT16, BASE_HEX,
3016 NULL, 0x0, NULL, HFILL
3019 { &hf_dect_nwk_s_ie_auth_type_default_cipher_key_algorithm,
3020 { "Default Cipher Key Algorithm", "dect_nwk.s.ie.auth_type.default_cipher_key_algorithm", FT_UINT8, BASE_HEX,
3021 VALS(dect_nwk_s_ie_auth_type_default_cipher_key_algorithm_val), 0x03, NULL, HFILL
3024 /* Calling party number */
3025 { &hf_dect_nwk_s_ie_calling_party_number_type,
3026 { "Type", "dect_nwk.s.ie.calling_party_number.type", FT_UINT8, BASE_HEX,
3027 VALS(dect_nwk_s_ie_calling_party_number_type_val), 0x70, NULL, HFILL
3030 { &hf_dect_nwk_s_ie_calling_party_number_numbering_plan,
3031 { "Numbering plan", "dect_nwk.s.ie.calling_party_number.numbering_plan", FT_UINT8, BASE_HEX,
3032 VALS(dect_nwk_s_ie_calling_party_number_numbering_plan_val), 0x0F, NULL, HFILL
3035 { &hf_dect_nwk_s_ie_calling_party_number_presentation,
3036 { "Presentation", "dect_nwk.s.ie.calling_party_number.presentation", FT_UINT8, BASE_HEX,
3037 VALS(dect_nwk_s_ie_calling_party_number_presentation_val), 0x60, NULL, HFILL
3040 { &hf_dect_nwk_s_ie_calling_party_number_screening,
3041 { "Screening", "dect_nwk.s.ie.calling_party_number.screening", FT_UINT8, BASE_HEX,
3042 VALS(dect_nwk_s_ie_calling_party_number_screening_val), 0x03, NULL, HFILL
3045 { &hf_dect_nwk_s_ie_calling_party_number_address,
3046 { "Address", "dect_nwk.s.ie.calling_party_number.address", FT_STRING, BASE_NONE,
3047 NULL, 0x0, NULL, HFILL
3050 /* Cipher info */
3051 { &hf_dect_nwk_s_ie_cipher_info_yn,
3052 { "Y/N", "dect_nwk.s.ie.cipher_info.yn", FT_BOOLEAN, 8, NULL, 0x80, NULL, HFILL}
3054 { &hf_dect_nwk_s_ie_cipher_info_algorithm,
3055 { "Algorithm", "dect_nwk.s.ie.cipher_info.algorithm", FT_UINT8, BASE_HEX,
3056 VALS(dect_nwk_s_ie_cipher_info_algorithm_val), 0x7F, NULL, HFILL
3059 { &hf_dect_nwk_s_ie_cipher_info_proprietary_algorithm,
3060 { "Proprietary algorithm", "dect_nwk.s.ie.cipher_info.proprietary_algorithm", FT_UINT8, BASE_HEX,
3061 NULL, 0x0, NULL, HFILL
3064 { &hf_dect_nwk_s_ie_cipher_info_key_type,
3065 { "Key Type", "dect_nwk.s.ie.cipher_info.key_type", FT_UINT8, BASE_HEX,
3066 VALS(dect_nwk_s_ie_cipher_info_key_type_val), 0xF0, NULL, HFILL
3069 { &hf_dect_nwk_s_ie_cipher_info_key_number,
3070 { "Key Number", "dect_nwk.s.ie.cipher_info.key_number", FT_UINT8, BASE_HEX,
3071 NULL, 0x0F, NULL, HFILL
3074 /* Duration */
3075 { &hf_dect_nwk_s_ie_duration_lock_limits,
3076 { "Lock Limits", "dect_nwk.s.ie.duration.lock_limits", FT_UINT8, BASE_HEX,
3077 VALS(dect_nwk_s_ie_duration_lock_limits_type_val), 0x70, NULL, HFILL
3080 { &hf_dect_nwk_s_ie_duration_time_limits,
3081 { "Time Limits", "dect_nwk.s.ie.duration.time_limits", FT_UINT8, BASE_HEX,
3082 VALS(dect_nwk_s_ie_duration_time_limits_type_val), 0x0F, NULL, HFILL
3085 { &hf_dect_nwk_s_ie_duration_time_duration,
3086 { "Time duration", "dect_nwk.s.ie.duration.time_duration", FT_UINT8, BASE_DEC,
3087 NULL, 0x0, NULL, HFILL
3090 /* Fixed Identity */
3091 { &hf_dect_nwk_s_ie_fixed_identity_type,
3092 { "Type", "dect_nwk.s.ie.fixed_identity.type", FT_UINT8, BASE_HEX,
3093 VALS(dect_nwk_s_ie_fixed_identity_type_val), 0x7F, NULL, HFILL
3096 { &hf_dect_nwk_s_ie_fixed_identity_value_length,
3097 { "Value Length", "dect_nwk.s.ie.fixed_identity.value_length", FT_UINT8, BASE_DEC,
3098 NULL, 0x7F, NULL, HFILL
3101 { &hf_dect_nwk_s_ie_fixed_identity_arc,
3102 { "ARC", "dect_nwk.s.ie.fixed_identity.arc", FT_UINT8, BASE_HEX,
3103 VALS(dect_nwk_arc_type_val), 0x70, NULL, HFILL
3106 { &hf_dect_nwk_s_ie_fixed_identity_ard,
3107 { "ARD", "dect_nwk.s.ie.fixed_identity.ard", FT_UINT64, BASE_HEX, NULL, 0x0, NULL, HFILL }
3109 { &hf_dect_nwk_s_ie_fixed_identity_padding,
3110 { "Padding", "dect_nwk.s.ie.fixed_identity.padding", FT_UINT8, BASE_HEX,
3111 NULL, 0x0, NULL, HFILL
3114 /* IWU to IWU */
3115 { &hf_dect_nwk_s_ie_iwu_to_iwu_sr,
3116 { "S/R", "dect_nwk.s.ie.iwu_to_iwu.sr", FT_BOOLEAN, 8,
3117 NULL, 0x40, "Send/Reject", HFILL
3120 { &hf_dect_nwk_s_ie_iwu_to_iwu_protocol_discriminator,
3121 { "Protocol Discriminator", "dect_nwk.s.ie.iwu_to_iwu.protocol_discriminator", FT_UINT8, BASE_HEX,
3122 VALS(dect_nwk_s_ie_iwu_to_iwu_protocol_discriminator_type_val), 0x3F, NULL, HFILL
3125 { &hf_dect_nwk_s_ie_iwu_to_iwu_information,
3126 { "Information", "dect_nwk.s.ie.iwu_to_iwu.information", FT_BYTES, BASE_NONE,
3127 NULL, 0x0, NULL, HFILL
3130 { &hf_dect_nwk_s_ie_iwu_to_iwu_discriminator_type,
3131 { "Discriminator Type", "dect_nwk.s.ie.iwu_to_iwu.discriminator_type", FT_UINT8, BASE_HEX,
3132 VALS(dect_nwk_s_ie_iwu_to_iwu_discriminator_type_val), 0x7F, NULL, HFILL
3135 { &hf_dect_nwk_s_ie_iwu_to_iwu_user_specific_contents,
3136 { "User specific contents", "dect_nwk.s.ie.iwu_to_iwu.user_specific_contents", FT_BYTES, BASE_NONE,
3137 NULL, 0x0, NULL, HFILL
3140 { &hf_dect_nwk_s_ie_iwu_to_iwu_emc_discriminator,
3141 { "EMC", "dect_nwk.s.ie.iwu_to_iwu.emc_discriminator", FT_UINT16, BASE_HEX,
3142 NULL, 0x0, "Discriminator (EMC)", HFILL
3145 { &hf_dect_nwk_s_ie_iwu_to_iwu_proprietary_contents,
3146 { "Proprietary", "dect_nwk.s.ie.iwu_to_iwu.proprietary_contents", FT_BYTES, BASE_NONE,
3147 NULL, 0x0, NULL, HFILL
3150 /* Location area */
3151 { &hf_dect_nwk_s_ie_location_area_li_type,
3152 { "LI-Type", "dect_nwk.s.ie.location_area.li_type", FT_UINT8, BASE_HEX,
3153 NULL, 0xC0, NULL, HFILL
3156 { &hf_dect_nwk_s_ie_location_area_li_extended_included,
3157 { "Ext. LI included", "dect_nwk.s.ie.location_area.li_extended_included", FT_BOOLEAN, 8,
3158 TFS(&tfs_yes_no), 0x80, "Extended location information is included", HFILL
3161 { &hf_dect_nwk_s_ie_location_area_la_level_included,
3162 { "LA level included", "dect_nwk.s.ie.location_area.la_level_included", FT_BOOLEAN, 8,
3163 TFS(&tfs_yes_no), 0x40, "Location area level is included (LA level field is valid)", HFILL
3166 { &hf_dect_nwk_s_ie_location_area_la_level,
3167 { "Location area level", "dect_nwk.s.ie.location_area.la_level", FT_UINT8, BASE_DEC,
3168 NULL, 0x3F, NULL, HFILL
3171 { &hf_dect_nwk_s_ie_location_area_eli_type,
3172 { "ELI-Type", "dect_nwk.s.ie.location_area.eli_type", FT_UINT8, BASE_HEX,
3173 VALS(dect_nwk_s_ie_location_area_eli_type_val), DECT_NWK_S_IE_LOCATION_AREA_ELI_TYPE_MASK, "Extended Location Information type", HFILL
3176 { &hf_dect_nwk_s_ie_location_area_lac,
3177 { "LAC", "dect_nwk.s.ie.location_area.lac", FT_BYTES, BASE_NONE, NULL, 0x0, "Location Area Code", HFILL }
3179 { &hf_dect_nwk_s_ie_location_area_ci,
3180 { "CI", "dect_nwk.s.ie.location_area.ci", FT_BYTES, BASE_NONE, NULL, 0x0, "Cell Identity", HFILL }
3182 /* Multi-display */
3183 { &hf_dect_nwk_s_ie_multi_display_information,
3184 { "Display Information", "dect_nwk.s.ie.multi_display.information", FT_STRING, BASE_NONE,
3185 NULL, 0x0, NULL, HFILL
3188 /* Multi-keypad */
3189 { &hf_dect_nwk_s_ie_multi_keypad_information,
3190 { "Keypad Information", "dect_nwk.s.ie.multi_keypad.information", FT_STRING, BASE_NONE,
3191 NULL, 0x0, NULL, HFILL
3194 /* NWK assigend Identity */
3195 { &hf_dect_nwk_s_ie_nwk_assigned_identity_type,
3196 { "Type", "dect_nwk.s.ie.nwk_assigned_identity.type", FT_UINT8, BASE_HEX,
3197 VALS(dect_nwk_s_ie_nwk_assigned_identity_type_val), 0x7F, NULL, HFILL
3200 { &hf_dect_nwk_s_ie_nwk_assigned_identity_value_length,
3201 { "Value Length", "dect_nwk.s.ie.nwk_assigned_identity.value_length", FT_UINT8, BASE_DEC,
3202 NULL, 0x7F, NULL, HFILL
3205 { &hf_dect_nwk_s_ie_nwk_assigned_identity_value,
3206 { "Value", "dect_nwk.s.ie.nwk_assigned_identity.value", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }
3208 { &hf_dect_nwk_s_ie_nwk_assigned_identity_padding,
3209 { "Padding", "dect_nwk.s.ie.nwk_assigned_identity.padding", FT_UINT8, BASE_HEX,
3210 NULL, 0x0, NULL, HFILL
3213 /* Portable Identity */
3214 { &hf_dect_nwk_s_ie_portable_identity_type,
3215 { "Type", "dect_nwk.s.ie.portable_identity.type", FT_UINT8, BASE_HEX,
3216 VALS(dect_nwk_s_ie_portable_identity_type_val), 0x7F, NULL, HFILL
3219 { &hf_dect_nwk_s_ie_portable_identity_value_length,
3220 { "Value Length", "dect_nwk.s.ie.portable_identity.value_length", FT_UINT8, BASE_DEC,
3221 NULL, 0x7F, NULL, HFILL
3224 { &hf_dect_nwk_s_ie_portable_identity_put,
3225 { "PUT", "dect_nwk.s.ie.portable_identity.ipui.put", FT_UINT8, BASE_HEX,
3226 VALS(dect_nwk_ipui_type_val), 0xF0, NULL, HFILL
3229 { &hf_dect_nwk_s_ie_portable_identity_ipei,
3230 { "IPEI", "dect_nwk.s.ie.portable_identity.ipei", FT_UINT64, BASE_CUSTOM,
3231 CF_FUNC(&fmt_dect_nwk_ipei), 0x0, NULL, HFILL }
3233 { &hf_dect_nwk_s_ie_portable_identity_tpui_assignment_type,
3234 { "Assignment Type", "dect_nwk.s.ie.portable_identity.tpui_assignment_type", FT_UINT8, BASE_HEX,
3235 VALS(dect_nwk_s_ie_portable_identity_tpui_assignment_type_val), 0xF0, NULL, HFILL }
3237 { &hf_dect_nwk_s_ie_portable_identity_tpui_value,
3238 { "TPUI value", "dect_nwk.s.ie.portable_identity.tpui_value", FT_UINT32, BASE_HEX,
3239 NULL, 0x0, NULL, HFILL }
3241 { &hf_dect_nwk_s_ie_portable_identity_ipui_o_number,
3242 { "Number", "dect_nwk.s.ie.portable_identity.ipui_o.number", FT_UINT64, BASE_HEX, NULL, 0, NULL, HFILL }
3244 { &hf_dect_nwk_s_ie_portable_identity_ipui_p_poc,
3245 { "POC", "dect_nwk.s.ie.portable_identity.ipui_p.poc", FT_UINT16, BASE_HEX,
3246 NULL, 0, "Public Operator Code", HFILL }
3248 { &hf_dect_nwk_s_ie_portable_identity_ipui_p_acc,
3249 { "ACC", "dect_nwk.s.ie.portable_identity.ipui_p.acc", FT_BYTES, BASE_NONE,
3250 NULL, 0, "ACCount number", HFILL }
3252 { &hf_dect_nwk_s_ie_portable_identity_ipui_q_bacn,
3253 { "BACN", "dect_nwk.s.ie.portable_identity.ipui_q.bacn", FT_STRING, BASE_NONE,
3254 NULL, 0, "Bank ACount Number", HFILL }
3256 { &hf_dect_nwk_s_ie_portable_identity_ipui_r_imsi,
3257 { "IMSI", "dect_nwk.s.ie.portable_identity.ipui_r.imsi", FT_STRING, BASE_NONE,
3258 NULL, 0, "International Mobile Subscriber Identity", HFILL }
3260 { &hf_dect_nwk_s_ie_portable_identity_ipui_s_number,
3261 { "Number", "dect_nwk.s.ie.portable_identity.ipui_s.number", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }
3263 { &hf_dect_nwk_s_ie_portable_identity_ipui_t_eic,
3264 { "EIC", "dect_nwk.s.ie.portable_identity.ipui_t.eic", FT_UINT16, BASE_HEX, NULL, 0, NULL, HFILL }
3266 { &hf_dect_nwk_s_ie_portable_identity_ipui_t_number,
3267 { "Number", "dect_nwk.s.ie.portable_identity.ipui_t.number", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }
3269 { &hf_dect_nwk_s_ie_portable_identity_ipui_u_cacn,
3270 { "CACN", "dect_nwk.s.ie.portable_identity.ipui_u.cacn", FT_STRING, BASE_NONE,
3271 NULL, 0, "Credit Card ACount Number", HFILL }
3273 { &hf_dect_nwk_s_ie_portable_identity_padding,
3274 { "Padding", "dect_nwk.s.ie.portable_identity.padding", FT_UINT8, BASE_HEX,
3275 NULL, 0x0, NULL, HFILL
3278 /* RAND */
3279 { &hf_dect_nwk_s_ie_rand_rand_field,
3280 { "RAND Field", "dect_nwk.s.ie.rand.rand_field", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }
3282 /* RES */
3283 { &hf_dect_nwk_s_ie_res_res_field,
3284 { "RES Field", "dect_nwk.s.ie.res.res_field", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }
3286 /* RS */
3287 { &hf_dect_nwk_s_ie_rs_rs_field,
3288 { "RS Field", "dect_nwk.s.ie.rs.rs_field", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }
3290 /* Terminal capability */
3291 { &hf_dect_nwk_s_ie_terminal_capability_tone_capabilities,
3292 { "tone capabilities", "dect_nwk.s.ie.terminal_capability.tone_capabilities", FT_UINT8, BASE_HEX,
3293 VALS(dect_nwk_s_ie_terminal_capability_tone_capabilites_val), 0x70, NULL, HFILL
3296 { &hf_dect_nwk_s_ie_terminal_capability_display_capabilities,
3297 { "display capabilities", "dect_nwk.s.ie.terminal_capability.display_capabilities", FT_UINT8, BASE_HEX,
3298 VALS(dect_nwk_s_ie_terminal_capability_display_capabilities_val), 0x0F, NULL, HFILL
3301 { &hf_dect_nwk_s_ie_terminal_capability_echo_parameter,
3302 { "echo parameter", "dect_nwk.s.ie.terminal_capability.echo_parameter", FT_UINT8, BASE_HEX,
3303 VALS(dect_nwk_s_ie_terminal_capability_echo_parameters_val), 0x70, NULL, HFILL
3306 { &hf_dect_nwk_s_ie_terminal_capability_n_rej,
3307 { "N-REJ", "dect_nwk.s.ie.terminal_capability.n_rej", FT_UINT8, BASE_HEX,
3308 VALS(dect_nwk_s_ie_terminal_capability_n_rej_capabilities_val), 0x0C, NULL, HFILL
3311 { &hf_dect_nwk_s_ie_terminal_capability_a_vol,
3312 { "A-VOL", "dect_nwk.s.ie.terminal_capability.a_vol", FT_UINT8, BASE_HEX,
3313 VALS(dect_nwk_s_ie_terminal_capability_a_vol_capabilities_val), 0x03, NULL, HFILL
3316 { &hf_dect_nwk_s_ie_terminal_capability_slot_type_capability,
3317 { "slot type capability", "dect_nwk.s.ie.terminal_capability.slot_type_capability", FT_UINT8, BASE_HEX,
3318 NULL, 0x7F, NULL, HFILL
3321 { &hf_dect_nwk_s_ie_terminal_capability_slot_type_half_80,
3322 { "Half slot; j = 80", "dect_nwk.s.ie.terminal_capability.slot_type.half_80", FT_BOOLEAN, 8,
3323 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_SLOT_TYPE_HALF_80, NULL, HFILL
3326 { &hf_dect_nwk_s_ie_terminal_capability_slot_type_long_640,
3327 { "Long slot; j = 640", "dect_nwk.s.ie.terminal_capability.slot_type.long_640", FT_BOOLEAN, 8,
3328 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_SLOT_TYPE_LONG_640, NULL, HFILL
3331 { &hf_dect_nwk_s_ie_terminal_capability_slot_type_long_672,
3332 { "Long slot; j = 672", "dect_nwk.s.ie.terminal_capability.slot_type.long_672", FT_BOOLEAN, 8,
3333 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_SLOT_TYPE_LONG_672, NULL, HFILL
3336 { &hf_dect_nwk_s_ie_terminal_capability_slot_type_full,
3337 { "Full slot", "dect_nwk.s.ie.terminal_capability.slot_type.full", FT_BOOLEAN, 8,
3338 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_SLOT_TYPE_FULL, NULL, HFILL
3341 { &hf_dect_nwk_s_ie_terminal_capability_slot_type_double,
3342 { "Double slot", "dect_nwk.s.ie.terminal_capability.slot_type.double", FT_BOOLEAN, 8,
3343 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_SLOT_TYPE_DOUBLE, NULL, HFILL
3346 { &hf_dect_nwk_s_ie_terminal_capability_stored_display_characters,
3347 { "Stored display characters", "dect_nwk.s.ie.terminal_capability.stored_display_characters", FT_UINT16, BASE_DEC,
3348 NULL, 0x3FFF, NULL, HFILL
3351 { &hf_dect_nwk_s_ie_terminal_capability_lines_in_display,
3352 { "Lines in display", "dect_nwk.s.ie.terminal_capability.lines_in_display", FT_UINT8, BASE_DEC,
3353 NULL, 0x7F, NULL, HFILL
3356 { &hf_dect_nwk_s_ie_terminal_capability_chars_per_line,
3357 { "Characters/line", "dect_nwk.s.ie.terminal_capability.chars_per_line", FT_UINT8, BASE_DEC,
3358 NULL, 0x7F, NULL, HFILL
3361 { &hf_dect_nwk_s_ie_terminal_capability_scrolling_behaviour,
3362 { "Scrolling behaviour", "dect_nwk.s.ie.terminal_capability.scrolling_behaviour", FT_UINT8, BASE_HEX,
3363 VALS(dect_nwk_s_ie_terminal_capability_scrolling_behaviour_type_val), 0x7F, NULL, HFILL
3366 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_1,
3367 { "Profile indicator 1", "dect_nwk.s.ie.terminal_capability.profile_indicator_1", FT_UINT8, BASE_HEX,
3368 NULL, 0x7F, NULL, HFILL
3371 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_1_cap,
3372 { "CAP", "dect_nwk.s.ie.terminal_capability.profile_indicator_1.cap", FT_BOOLEAN, 8,
3373 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_1_CAP, NULL, HFILL
3376 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_1_gap,
3377 { "GAP", "dect_nwk.s.ie.terminal_capability.profile_indicator_1.gap", FT_BOOLEAN, 8,
3378 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_1_GAP, NULL, HFILL
3381 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_1_dect_gsm,
3382 { "DECT/GSM interworking profile", "dect_nwk.s.ie.terminal_capability.profile_indicator_1.dect_gsm", FT_BOOLEAN, 8,
3383 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_1_DECT_GSM, NULL, HFILL
3386 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_1_isdn,
3387 { "ISDN End-system", "dect_nwk.s.ie.terminal_capability.profile_indicator_1.isdn", FT_BOOLEAN, 8,
3388 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_1_ISDN, NULL, HFILL
3391 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_1_lrms,
3392 { "LRMS", "dect_nwk.s.ie.terminal_capability.profile_indicator_1.lrms", FT_BOOLEAN, 8,
3393 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_1_LRMS, NULL, HFILL
3396 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_1_dprs_stream,
3397 { "DPRS Stream", "dect_nwk.s.ie.terminal_capability.profile_indicator_1.dprs_stream", FT_BOOLEAN, 8,
3398 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_1_DPRS_STREAM, NULL, HFILL
3401 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_1_dprs_asymmetric,
3402 { "DPRS asymmetric bearers", "dect_nwk.s.ie.terminal_capability.profile_indicator_1.dprs_asymmetric", FT_BOOLEAN, 8,
3403 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_1_DPRS_ASYMMETRIC, NULL, HFILL
3406 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_2,
3407 { "Profile indicator 2", "dect_nwk.s.ie.terminal_capability.profile_indicator_2", FT_UINT8, BASE_HEX,
3408 NULL, 0x7F, NULL, HFILL
3411 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_2_dprs_class_2,
3412 { "DPRS Class 2 management and B-Field procedures", "dect_nwk.s.ie.terminal_capability.profile_indicator_2.dprs_class_2", FT_BOOLEAN, 8,
3413 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_2_DPRS_CLASS_2, NULL, HFILL
3416 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_2_data_services,
3417 { "Data Services Profile D, Class 2", "dect_nwk.s.ie.terminal_capability.profile_indicator_2.data_services", FT_BOOLEAN, 8,
3418 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_2_DATA_SERVICES, NULL, HFILL
3421 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_2_isdn,
3422 { "ISDN Intermediate Access Profile", "dect_nwk.s.ie.terminal_capability.profile_indicator_2.isdn", FT_BOOLEAN, 8,
3423 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_2_ISDN, NULL, HFILL
3426 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_2_dect_umts_bearer,
3427 { "DECT/UMTS-GSM interworking - UMTS-GSM Bearer service", "dect_nwk.s.ie.terminal_capability.profile_indicator_2.dect_umts_bearer", FT_BOOLEAN, 8,
3428 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_2_DECT_UMTS_BEARER, NULL, HFILL
3431 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_2_dect_umts_sms,
3432 { "DECT/UMTS-GSM interworking - UMTS-GSM SMS service", "dect_nwk.s.ie.terminal_capability.profile_indicator_2.dect_umts_sms", FT_BOOLEAN, 8,
3433 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_2_DECT_UMTS_SMS, NULL, HFILL
3436 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_2_dect_umts_facsimile,
3437 { "DECT/UMTS-GSM interworking - UMTS-GSM Facsimile", "dect_nwk.s.ie.terminal_capability.profile_indicator_2.dect_umts_facsimile", FT_BOOLEAN, 8,
3438 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_2_DECT_UMTS_FACSIMILE, NULL, HFILL
3441 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_2_rap,
3442 { "RAP 1 Profile", "dect_nwk.s.ie.terminal_capability.profile_indicator_2.rap", FT_BOOLEAN, 8,
3443 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_2_RAP, NULL, HFILL
3446 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_3,
3447 { "Profile indicator 3", "dect_nwk.s.ie.terminal_capability.profile_indicator_3", FT_UINT8, BASE_HEX,
3448 NULL, 0x7F, NULL, HFILL
3451 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_3_dect_gsm,
3452 { "DECT/GSM dual mode terminal", "dect_nwk.s.ie.terminal_capability.profile_indicator_3.dect_gsm", FT_BOOLEAN, 8,
3453 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_3_DECT_GSM, NULL, HFILL
3456 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_3_wrs,
3457 { "\"V1\" WRS", "dect_nwk.s.ie.terminal_capability.profile_indicator_3.wrs", FT_BOOLEAN, 8,
3458 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_3_WRS, NULL, HFILL
3461 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_3_sms,
3462 { "SMS over LRMS", "dect_nwk.s.ie.terminal_capability.profile_indicator_3.sms", FT_BOOLEAN, 8,
3463 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_3_SMS, NULL, HFILL
3466 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_3_dmap,
3467 { "DMAP", "dect_nwk.s.ie.terminal_capability.profile_indicator_3.dmap", FT_BOOLEAN, 8,
3468 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_3_DMAP, NULL, HFILL
3471 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_3_cta,
3472 { "Multiport CTA", "dect_nwk.s.ie.terminal_capability.profile_indicator_3.cta", FT_BOOLEAN, 8,
3473 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_3_CTA, NULL, HFILL
3476 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_3_ethernet,
3477 { "Ethernet", "dect_nwk.s.ie.terminal_capability.profile_indicator_3.ethernet", FT_BOOLEAN, 8,
3478 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_3_ETHERNET, NULL, HFILL
3481 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_3_token_ring,
3482 { "Token Ring", "dect_nwk.s.ie.terminal_capability.profile_indicator_3.token_ring", FT_BOOLEAN, 8,
3483 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_3_TOKEN_RING, NULL, HFILL
3486 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_4,
3487 { "Profile indicator 4", "dect_nwk.s.ie.terminal_capability.profile_indicator_4", FT_UINT8, BASE_HEX,
3488 NULL, 0x7F, NULL, HFILL
3491 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_4_ip,
3492 { "IP", "dect_nwk.s.ie.terminal_capability.profile_indicator_4.ip", FT_BOOLEAN, 8,
3493 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_4_IP, NULL, HFILL
3496 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_4_ppp,
3497 { "PPP", "dect_nwk.s.ie.terminal_capability.profile_indicator_4.ppp", FT_BOOLEAN, 8,
3498 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_4_PPP, NULL, HFILL
3501 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_4_v24,
3502 { "V.24", "dect_nwk.s.ie.terminal_capability.profile_indicator_4.v24", FT_BOOLEAN, 8,
3503 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_4_V24, NULL, HFILL
3506 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_4_cf,
3507 { "C F", "dect_nwk.s.ie.terminal_capability.profile_indicator_4.cf", FT_BOOLEAN, 8,
3508 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_4_CF, NULL, HFILL
3511 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_4_ipq,
3512 { "I PQ", "dect_nwk.s.ie.terminal_capability.profile_indicator_4.ipq", FT_BOOLEAN, 8,
3513 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_4_IPQ, NULL, HFILL
3516 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_4_rap_2,
3517 { "RAP 2 Profile", "dect_nwk.s.ie.terminal_capability.profile_indicator_4.rap_2", FT_BOOLEAN, 8,
3518 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_4_RAP_2, NULL, HFILL
3521 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_4_dprs,
3522 { "Generic Media Encapsulation transport (DPRS)", "dect_nwk.s.ie.terminal_capability.profile_indicator_4.dprs", FT_BOOLEAN, 8,
3523 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_4_DPRS, NULL, HFILL
3526 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_5,
3527 { "Profile indicator 5", "dect_nwk.s.ie.terminal_capability.profile_indicator_5", FT_UINT8, BASE_HEX,
3528 NULL, 0x7F, NULL, HFILL
3531 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_5_mod_2bz,
3532 { "2-level modulation scheme (B+Z field)", "dect_nwk.s.ie.terminal_capability.profile_indicator_5.mod_2bz", FT_BOOLEAN, 8,
3533 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_5_MOD_2BZ, NULL, HFILL
3536 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_5_mod_4bz,
3537 { "4-level modulation scheme (B+Z field)", "dect_nwk.s.ie.terminal_capability.profile_indicator_5.mod_4bz", FT_BOOLEAN, 8,
3538 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_5_MOD_4BZ, NULL, HFILL
3541 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_5_mod_8bz,
3542 { "8-level modulation scheme (B+Z field)", "dect_nwk.s.ie.terminal_capability.profile_indicator_5.mod_8bz", FT_BOOLEAN, 8,
3543 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_5_MOD_8BZ, NULL, HFILL
3546 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_5_mod_16bz,
3547 { "16-level modulation scheme (B+Z field)", "dect_nwk.s.ie.terminal_capability.profile_indicator_5.mod_16bz", FT_BOOLEAN, 8,
3548 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_5_MOD_16BZ, NULL, HFILL
3551 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_5_mod_2a,
3552 { "2-level modulation scheme (A field)", "dect_nwk.s.ie.terminal_capability.profile_indicator_5.mod_2a", FT_BOOLEAN, 8,
3553 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_5_MOD_2A, NULL, HFILL
3556 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_5_mod_4a,
3557 { "4-level modulation scheme (A field)", "dect_nwk.s.ie.terminal_capability.profile_indicator_5.mod_4a", FT_BOOLEAN, 8,
3558 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_5_MOD_4A, NULL, HFILL
3561 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_5_mod_8a,
3562 { "8-level modulation scheme (A field)", "dect_nwk.s.ie.terminal_capability.profile_indicator_5.mod_8a", FT_BOOLEAN, 8,
3563 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_5_MOD_8A, NULL, HFILL
3566 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_6,
3567 { "Profile indicator 6", "dect_nwk.s.ie.terminal_capability.profile_indicator_6", FT_UINT8, BASE_HEX,
3568 NULL, 0x7F, NULL, HFILL
3571 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_6_dect_umts,
3572 { "DECT/UMTS interworking profile", "dect_nwk.s.ie.terminal_capability.profile_indicator_6.dect_umts", FT_BOOLEAN, 8,
3573 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_6_DECT_UMTS, NULL, HFILL
3576 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_6_dect_umts_gprs,
3577 { "DECT/UMTS interworking - GPRS services", "dect_nwk.s.ie.terminal_capability.profile_indicator_6.dect_umts_gprs", FT_BOOLEAN, 8,
3578 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_6_DECT_UMTS_GPRS, NULL, HFILL
3581 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_6_odap,
3582 { "Basic ODAP", "dect_nwk.s.ie.terminal_capability.profile_indicator_6.odap", FT_BOOLEAN, 8,
3583 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_6_ODAP, NULL, HFILL
3586 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_6_f_mms,
3587 { "F-MMS Interworking profile", "dect_nwk.s.ie.terminal_capability.profile_indicator_6.f_mms", FT_BOOLEAN, 8,
3588 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_6_F_MMS, NULL, HFILL
3591 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_6_gf,
3592 { "Channel GF", "dect_nwk.s.ie.terminal_capability.profile_indicator_6.gf", FT_BOOLEAN, 8,
3593 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_6_GF, NULL, HFILL
3596 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_6_fast_hopping,
3597 { "PT with fast hopping radio", "dect_nwk.s.ie.terminal_capability.profile_indicator_6.fast_hopping", FT_BOOLEAN, 8,
3598 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_6_FAST_HOPPING, NULL, HFILL
3601 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_6_no_emission,
3602 { "Capability to support \"no emission\" or U-NEMo mode", "dect_nwk.s.ie.terminal_capability.profile_indicator_6.no_emission", FT_BOOLEAN, 8,
3603 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_6_NO_EMISSION, NULL, HFILL
3606 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_7,
3607 { "Profile indicator 7", "dect_nwk.s.ie.terminal_capability.profile_indicator_7", FT_UINT8, BASE_HEX,
3608 NULL, 0x7F, NULL, HFILL
3611 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_7_mod64,
3612 { "64-level modulation scheme (B+Z field)", "dect_nwk.s.ie.terminal_capability.profile_indicator_7.mod64", FT_BOOLEAN, 8,
3613 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_7_MOD64, NULL, HFILL
3616 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_7_ng_dect_1,
3617 { "NG-DECT Part 1: Wideband voice", "dect_nwk.s.ie.terminal_capability.profile_indicator_7.ng_dect_1", FT_BOOLEAN, 8,
3618 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_7_NG_DECT_1, NULL, HFILL
3621 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_7_ng_dect_3,
3622 { "NG-DECT Part 3", "dect_nwk.s.ie.terminal_capability.profile_indicator_7.ng_dect_3", FT_BOOLEAN, 8,
3623 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_7_NG_DECT_3, NULL, HFILL
3626 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_7_headset_management,
3627 { "Headset management", "dect_nwk.s.ie.terminal_capability.profile_indicator_7.headset_management", FT_BOOLEAN, 8,
3628 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_7_HEADSET_MANAGEMENT, NULL, HFILL
3631 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_7_re_keying,
3632 { "Re-keying and default cipher key early encryption mechanism", "dect_nwk.s.ie.terminal_capability.profile_indicator_7.re_keying", FT_BOOLEAN, 8,
3633 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_7_RE_KEYING, NULL, HFILL
3636 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_7_associated_melody,
3637 { "associated melody per contact", "dect_nwk.s.ie.terminal_capability.profile_indicator_7.associated_melody", FT_BOOLEAN, 8,
3638 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_7_ASSOCIATED_MELODY, NULL, HFILL
3641 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_7_ng_dect_5,
3642 { "NG-DECT Part 5", "dect_nwk.s.ie.terminal_capability.profile_indicator_7.ng_dect_5", FT_BOOLEAN, 8,
3643 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_7_NG_DECT_5, NULL, HFILL
3646 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_8,
3647 { "Profile indicator 8", "dect_nwk.s.ie.terminal_capability.profile_indicator_8", FT_UINT8, BASE_HEX,
3648 NULL, 0x7F, NULL, HFILL
3651 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_8_mux_e_u,
3652 { "E+U-type mux and channel I PF basic procedures", "dect_nwk.s.ie.terminal_capability.profile_indicator_8.mux_e_u", FT_BOOLEAN, 8,
3653 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_8_MUX_E_U, NULL, HFILL
3656 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_8_channel_ipf,
3657 { "Channel I PF advanced procedures", "dect_nwk.s.ie.terminal_capability.profile_indicator_8.channel_ipf", FT_BOOLEAN, 8,
3658 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_8_CHANNEL_IPF, NULL, HFILL
3661 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_8_channel_sipf,
3662 { "Channel SI PF", "dect_nwk.s.ie.terminal_capability.profile_indicator_8.channel_sipf", FT_BOOLEAN, 8,
3663 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_8_CHANNEL_SIPF, NULL, HFILL
3666 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_8_packet_data_category,
3667 { "DPRS/NG-DECT Packet Data Category", "dect_nwk.s.ie.terminal_capability.profile_indicator_8.packet_data_category", FT_UINT8, BASE_HEX,
3668 VALS(dect_nwk_s_ie_terminal_capability_profile_indicator_8_packet_data_categories_val),
3669 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_8_PACKET_DATA_CATEGORY, NULL, HFILL
3672 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_9,
3673 { "Profile indicator 9", "dect_nwk.s.ie.terminal_capability.profile_indicator_9", FT_UINT8, BASE_HEX,
3674 NULL, 0x7F, NULL, HFILL
3677 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_9_dprs_3,
3678 { "DPRS Class 3 management and A-field procedures", "dect_nwk.s.ie.terminal_capability.profile_indicator_9.dprs_3", FT_BOOLEAN, 8,
3679 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_9_DPRS_3, NULL, HFILL
3682 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_9_dprs_4,
3683 { "DPRS Class 4 management and A-field procedures", "dect_nwk.s.ie.terminal_capability.profile_indicator_9.dprs_4", FT_BOOLEAN, 8,
3684 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_9_DPRS_4, NULL, HFILL
3687 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_9_dect_ule,
3688 { "DECT ULE", "dect_nwk.s.ie.terminal_capability.profile_indicator_9.dect_ule", FT_UINT8, BASE_HEX,
3689 VALS(dect_nwk_s_ie_terminal_capability_profile_indicator_9_dect_ule_versions_val),
3690 DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_9_DECT_ULE, NULL, HFILL
3693 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_9_light_data,
3694 { "Light data services", "dect_nwk.s.ie.terminal_capability.profile_indicator_9.light_data", FT_BOOLEAN, 8,
3695 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_9_LIGHT_DATA, NULL, HFILL
3698 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_10,
3699 { "Profile indicator 10", "dect_nwk.s.ie.terminal_capability.profile_indicator_10", FT_UINT8, BASE_HEX,
3700 NULL, 0x7F, NULL, HFILL
3703 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_10_date_time_recovery,
3704 { "Date and Time recovery", "dect_nwk.s.ie.terminal_capability.profile_indicator_10.date_time_recovery", FT_BOOLEAN, 8,
3705 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_10_DATE_TIME_RECOVERY, NULL, HFILL
3708 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_10_extended_list_change,
3709 { "Extended list change notification", "dect_nwk.s.ie.terminal_capability.profile_indicator_10.extended_list_change", FT_BOOLEAN, 8,
3710 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_10_EXTENDED_LIST_CHANGE, NULL, HFILL
3713 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_10_screening,
3714 { "Screening", "dect_nwk.s.ie.terminal_capability.profile_indicator_10.screening", FT_BOOLEAN, 8,
3715 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_10_SCREENING, NULL, HFILL
3718 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_10_wrs_2,
3719 { "\"V2\" WRS", "dect_nwk.s.ie.terminal_capability.profile_indicator_10.wrs_2", FT_BOOLEAN, 8,
3720 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_10_WRS_2, NULL, HFILL
3723 { &hf_dect_nwk_s_ie_terminal_capability_profile_indicator_10_wrs_ule,
3724 { "WRS for ULE", "dect_nwk.s.ie.terminal_capability.profile_indicator_10.wrs_ule", FT_BOOLEAN, 8,
3725 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_PROFILE_INDICATOR_10_WRS_ULE, NULL, HFILL
3728 { &hf_dect_nwk_s_ie_terminal_capability_dsaa2,
3729 { "DSAA2 supported", "dect_nwk.s.ie.terminal_capability.dsaa2", FT_BOOLEAN, 8,
3730 TFS(&tfs_yes_no), 0x40, NULL, HFILL
3733 { &hf_dect_nwk_s_ie_terminal_capability_dsc2,
3734 { "DSC2 supported", "dect_nwk.s.ie.terminal_capability.dsc2", FT_BOOLEAN, 8,
3735 TFS(&tfs_yes_no), 0x20, NULL, HFILL
3738 { &hf_dect_nwk_s_ie_terminal_capability_control_codes,
3739 { "Control Codes", "dect_nwk.s.ie.terminal_capability.control_codes", FT_UINT8, BASE_HEX,
3740 VALS(dect_nwk_s_ie_terminal_capability_control_codes_val), 0x07, NULL, HFILL
3743 { &hf_dect_nwk_s_ie_terminal_capability_escape_to_char_sets_1,
3744 { "escape to 8 bit character sets_1", "dect_nwk.s.ie.terminal_capability.escape_to_char_sets_1", FT_UINT8, BASE_HEX,
3745 NULL, 0x7F, NULL, HFILL
3748 { &hf_dect_nwk_s_ie_terminal_capability_escape_to_char_sets_1_latin_no1,
3749 { "ISO-8859-1", "dect_nwk.s.ie.terminal_capability.escape_to_char_sets_1.latin_no1", FT_BOOLEAN, 8,
3750 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_ESCAPE_TO_CHAR_SETS_1_LATIN_NO1, NULL, HFILL
3753 { &hf_dect_nwk_s_ie_terminal_capability_escape_to_char_sets_1_latin_no9,
3754 { "ISO-8859-15", "dect_nwk.s.ie.terminal_capability.escape_to_char_sets_1.latin_no9", FT_BOOLEAN, 8,
3755 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_ESCAPE_TO_CHAR_SETS_1_LATIN_NO9, NULL, HFILL
3758 { &hf_dect_nwk_s_ie_terminal_capability_escape_to_char_sets_1_latin_no5,
3759 { "ISO-8859-9", "dect_nwk.s.ie.terminal_capability.escape_to_char_sets_1.latin_no5", FT_BOOLEAN, 8,
3760 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_ESCAPE_TO_CHAR_SETS_1_LATIN_NO5, NULL, HFILL
3763 { &hf_dect_nwk_s_ie_terminal_capability_escape_to_char_sets_1_greek,
3764 { "ISO-8859-7", "dect_nwk.s.ie.terminal_capability.escape_to_char_sets_1.greek", FT_BOOLEAN, 8,
3765 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_ESCAPE_TO_CHAR_SETS_1_GREEK, NULL, HFILL
3768 { &hf_dect_nwk_s_ie_terminal_capability_blind_slot_6,
3769 { "Blind Slot Octet 6", "dect_nwk.s.ie.terminal_capability.blind_slot_6", FT_UINT8, BASE_HEX,
3770 NULL, 0x7F, NULL, HFILL
3773 { &hf_dect_nwk_s_ie_terminal_capability_blind_slot_indication,
3774 { "Blind slot indication", "dect_nwk.s.ie.terminal_capability.blind_slot_indication", FT_UINT8, BASE_HEX,
3775 VALS(dect_nwk_s_ie_terminal_capability_blind_slot_indication_val), 0x60, NULL, HFILL
3778 { &hf_dect_nwk_s_ie_terminal_capability_sp0,
3779 { "SP0", "dect_nwk.s.ie.terminal_capability.sp0", FT_BOOLEAN, 8,
3780 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_SP0, NULL, HFILL
3783 { &hf_dect_nwk_s_ie_terminal_capability_sp1,
3784 { "SP1", "dect_nwk.s.ie.terminal_capability.sp1", FT_BOOLEAN, 8,
3785 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_SP1, NULL, HFILL
3788 { &hf_dect_nwk_s_ie_terminal_capability_sp2,
3789 { "SP2", "dect_nwk.s.ie.terminal_capability.sp2", FT_BOOLEAN, 8,
3790 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_SP2, NULL, HFILL
3793 { &hf_dect_nwk_s_ie_terminal_capability_sp3,
3794 { "SP3", "dect_nwk.s.ie.terminal_capability.sp3", FT_BOOLEAN, 8,
3795 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_SP3, NULL, HFILL
3798 { &hf_dect_nwk_s_ie_terminal_capability_sp4,
3799 { "SP4", "dect_nwk.s.ie.terminal_capability.sp4", FT_BOOLEAN, 8,
3800 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_SP4, NULL, HFILL
3803 { &hf_dect_nwk_s_ie_terminal_capability_blind_slot_6a,
3804 { "Blind Slot Octet 6a", "dect_nwk.s.ie.terminal_capability.blind_slot_6a", FT_UINT8, BASE_HEX,
3805 NULL, 0x7F, NULL, HFILL
3808 { &hf_dect_nwk_s_ie_terminal_capability_sp5,
3809 { "SP5", "dect_nwk.s.ie.terminal_capability.sp5", FT_BOOLEAN, 8,
3810 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_SP5, NULL, HFILL
3813 { &hf_dect_nwk_s_ie_terminal_capability_sp6,
3814 { "SP6", "dect_nwk.s.ie.terminal_capability.sp6", FT_BOOLEAN, 8,
3815 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_SP6, NULL, HFILL
3818 { &hf_dect_nwk_s_ie_terminal_capability_sp7,
3819 { "SP7", "dect_nwk.s.ie.terminal_capability.sp7", FT_BOOLEAN, 8,
3820 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_SP7, NULL, HFILL
3823 { &hf_dect_nwk_s_ie_terminal_capability_sp8,
3824 { "SP8", "dect_nwk.s.ie.terminal_capability.sp8", FT_BOOLEAN, 8,
3825 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_SP8, NULL, HFILL
3828 { &hf_dect_nwk_s_ie_terminal_capability_sp9,
3829 { "SP9", "dect_nwk.s.ie.terminal_capability.sp9", FT_BOOLEAN, 8,
3830 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_SP9, NULL, HFILL
3833 { &hf_dect_nwk_s_ie_terminal_capability_sp10,
3834 { "SP10", "dect_nwk.s.ie.terminal_capability.sp10", FT_BOOLEAN, 8,
3835 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_SP10, NULL, HFILL
3838 { &hf_dect_nwk_s_ie_terminal_capability_sp11,
3839 { "SP11", "dect_nwk.s.ie.terminal_capability.sp11", FT_BOOLEAN, 8,
3840 TFS(&tfs_yes_no), DECT_NWK_S_IE_TERMINAL_CAPABILITY_SP11, NULL, HFILL
3843 /* Escape to proprietary */
3844 { &hf_dect_nwk_s_ie_escape_to_proprietary_discriminator_type,
3845 { "Discriminator type", "dect_nwk.s.ie.escape_to_proprietary.discriminator_type", FT_UINT8, BASE_HEX,
3846 VALS(dect_nwk_s_ie_escape_to_proprietary_discriminator_type_val), 0x7F, NULL, HFILL
3849 { &hf_dect_nwk_s_ie_escape_to_proprietary_discriminator,
3850 { "Discriminator", "dect_nwk.s.ie.escape_to_proprietary.discriminator", FT_UINT16, BASE_HEX,
3851 NULL, 0x0, NULL, HFILL
3854 /* Model identifier */
3855 { &hf_dect_nwk_s_ie_model_identifier_manic,
3856 { "MANIC", "dect_nwk.s.ie.model_identifier.manic", FT_BYTES, BASE_NONE,
3857 NULL, 0x0, NULL, HFILL
3860 { &hf_dect_nwk_s_ie_model_identifier_modic,
3861 { "MODIC", "dect_nwk.s.ie.model_identifier.modic", FT_UINT8, BASE_DEC,
3862 NULL, 0x0, NULL, HFILL
3865 { &hf_dect_nwk_s_ie_model_identifier_imeisv,
3866 { "EIMEISV", "dect_nwk.s.ie.model_identifier.imeisv", FT_BYTES, BASE_NONE,
3867 NULL, 0x0, NULL, HFILL
3870 /* Codec list */
3871 { &hf_dect_nwk_s_ie_codec_list_negotiation_indicator,
3872 { "Negotiation indicator", "dect_nwk.s.ie.codec_list.negotiation_indicator", FT_UINT8, BASE_HEX,
3873 VALS(dect_nwk_s_ie_codec_list_negotiation_indicator_type_val), 0x70, NULL, HFILL
3876 { &hf_dect_nwk_s_ie_codec_list_codec_identifier,
3877 { "Codec identifier", "dect_nwk.s.ie.codec_list.codec_identifier", FT_UINT8, BASE_HEX,
3878 VALS(dect_nwk_s_ie_codec_list_codec_identifier_type_val), 0x7F, NULL, HFILL
3881 { &hf_dect_nwk_s_ie_codec_list_mac_and_dlc_service,
3882 { "MAC and DLC service", "dect_nwk.s.ie.codec_list.mac_and_dlc_service", FT_UINT8, BASE_HEX,
3883 VALS(dect_nwk_s_ie_codec_list_mac_and_dlc_service_type_val), 0x0F, NULL, HFILL
3886 { &hf_dect_nwk_s_ie_codec_list_last_codec,
3887 { "Last codec", "dect_nwk.s.ie.codec_list.last_codec", FT_BOOLEAN, 8,
3888 TFS(&tfs_yes_no), 0x80, NULL, HFILL
3891 { &hf_dect_nwk_s_ie_codec_list_c_plane_routing,
3892 { "C-plane routing", "dect_nwk.s.ie.codec_list.c_plane_routing", FT_UINT8, BASE_HEX,
3893 VALS(dect_nwk_s_ie_codec_list_c_plane_routing_type_val), 0x70, NULL, HFILL
3896 { &hf_dect_nwk_s_ie_codec_list_slot_size,
3897 { "Slot size", "dect_nwk.s.ie.codec_list.slot_size", FT_UINT8, BASE_HEX,
3898 VALS(dect_nwk_s_ie_codec_list_slot_size_type_val), 0x0F, NULL, HFILL
3903 static int *ett[] = {
3904 &ett_dect_nwk,
3905 &ett_dect_nwk_s_ie_element,
3906 &ett_dect_nwk_s_ie_location_area_li_type
3909 /* Register protocol */
3910 proto_dect_nwk = proto_register_protocol("DECT NWK", "DECT-NWK", "dect_nwk");
3912 proto_register_subtree_array(ett, array_length(ett));
3913 proto_register_field_array(proto_dect_nwk, hf, array_length(hf));
3915 dect_nwk_handle = register_dissector("dect_nwk", dissect_dect_nwk, proto_dect_nwk);
3918 void proto_reg_handoff_dect_nwk(void)
3920 dissector_add_uint("dect_dlc.sapi", 0, dect_nwk_handle);
3921 dissector_add_uint("dect_dlc.sapi", 3, dect_nwk_handle);
3925 * Editor modelines - http://www.wireshark.org/tools/modelines.html
3927 * Local variables:
3928 * c-basic-offset: 8
3929 * tab-width: 8
3930 * indent-tabs-mode: t
3931 * End:
3933 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
3934 * :indentSize=8:tabSize=8:noTabs=false: