2 * WiMax MAC Management DL-MAP Message decoder
4 * Copyright (c) 2007 by Intel Corporation.
6 * Author: Mike Harvey <michael.harvey@intel.com>
8 * Wireshark - Network traffic analyzer
9 * By Gerald Combs <gerald@wireshark.org>
10 * Copyright 1999 Gerald Combs
12 * SPDX-License-Identifier: GPL-2.0-or-later
19 #include <epan/packet.h>
20 #include <epan/expert.h>
21 #include "wimax_mac.h"
23 #include "wimax_bits.h"
24 #include "wimax_utils.h"
25 #include "wimax_prefs.h"
27 void proto_register_mac_mgmt_msg_dlmap(void);
28 void proto_reg_handoff_mac_mgmt_msg_dlmap(void);
30 static dissector_handle_t dlmap_handle
;
32 #define MAC_MGMT_MSG_DLMAP 2
34 #define XBIT_HF(bits, hf) \
35 proto_tree_add_bits_item(tree, hf, tvb, bit, bits, ENC_BIG_ENDIAN); bit += bits;
37 #define XBIT_HF_VALUE(var, bits, hf) \
39 var = TVB_BIT_BITS(bit, tvb, bits); \
40 proto_tree_add_bits_item(tree, hf, tvb, bit, bits, ENC_BIG_ENDIAN); \
44 #define VBIT(var, bits, hf) \
46 var = TVB_BIT_BITS(bit, tvb, bits); \
47 proto_tree_add_uint(tree, hf, tvb, BITHI(bit,bits), var); \
51 #define VNIB(var, nibs, hf) \
53 var = TVB_NIB_NIBS(nib, tvb, nibs); \
54 proto_tree_add_uint(tree, hf, tvb, NIBHI(nib, nibs), var); \
58 int harq
; /* 1 if HARQ enabled (TODO) */
59 int fusc
; /* 1 if current zone permutation is FUSC or optional FUSC (TODO) */
60 int tusc
; /* 1 if current zone permutation is AMC, TUSC1 or TUSC2 (TODO) */
61 int ir_type
; /* reduced AAS map (TODO) */
64 int STC_Zone_Dedicated_Pilots
;
69 static int proto_mac_mgmt_msg_dlmap_decoder
;
72 static int ett_dlmap_ie
;
73 /* static int ett_dlmap_c_ie; */
74 static int ett_109x
; /* SUB-DL-UL-MAP */
75 static int ett_109x_dl
;
76 static int ett_109x_ul
;
77 static int ett_275_phy
;
117 /* static int ett_305_dl; */
120 #define DCD_DOWNLINK_BURST_PROFILE 1
121 #define DCD_BS_EIRP 2
122 #define DCD_FRAME_DURATION 3
123 #define DCD_PHY_TYPE 4
124 #define DCD_POWER_ADJUSTMENT 5
125 #define DCD_CHANNEL_NR 6
129 #define DCD_CHANNEL_SWITCH_FRAME_NR 10
130 #define DCD_FREQUENCY 12
132 #define DCD_FRAME_DURATION_CODE 14
133 #define DCD_FRAME_NR 15
134 #define DCD_SIZE_CQICH_ID 16
135 #define DCD_H_ARQ_ACK_DELAY 17
136 #define DCD_MAC_VERSION 148
137 #define DCD_RESTART_COUNT 154
139 #define DCD_BURST_FREQUENCY 1
140 #define DCD_BURST_FEC_CODE_TYPE 150
141 #define DCD_BURST_DIUC_EXIT_THRESHOLD 151
142 #define DCD_BURST_DIUC_ENTRY_THRESHOLD 152
143 #define DCD_BURST_TCS_ENABLE 153
145 #define DCD_TLV_T_541_TYPE_FUNCTION_ACTION 1
146 #define DCD_TLV_T542_TRIGGER_VALUE 2
147 #define DCD_TLV_T_543_TRIGGER_AVERAGING_DURATION 3
148 #define DCD_TLV_T_19_PERMUTATION_TYPE_FOR_BROADCAST_REGION_IN_HARQ_ZONE 19
149 #define DCD_TLV_T_20_MAXIMUM_RETRANSMISSION 20
150 #define DCD_TLV_T_21_DEFAULT_RSSI_AND_CINR_AVERAGING_PARAMETER 21
151 #define DCD_TLV_T_22_DL_AMC_ALLOCATED_PHYSICAL_BANDS_BITMAP 22
152 #define DCD_TLV_T_31_H_ADD_THRESHOLD 31
153 #define DCD_TLV_T_32_H_DELETE_THRESHOLD 32
154 #define DCD_TLV_T_33_ASR 33
155 #define DCD_TLV_T_34_DL_REGION_DEFINITION 34
156 #define DCD_TLV_T_35_PAGING_GROUP_ID 35
157 #define DCD_TLV_T_36_TUSC1_PERMUTATION_ACTIVE_SUBCHANNELS_BITMAP 36
158 #define DCD_TLV_T_37_TUSC2_PERMUTATION_ACTIVE_SUBCHANNELS_BITMAP 37
159 #define DCD_TLV_T_45_PAGING_INTERVAL_LENGTH 45
160 #define DCD_TLV_T_50_HO_TYPE_SUPPORT 50
161 #define DCD_TLV_T_51_HYSTERSIS_MARGIN 51
162 #define DCD_TLV_T_52_TIME_TO_TRIGGER_DURATION 52
163 #define DCD_TLV_T_54_TRIGGER 54
164 #define DCD_TLV_T_153_DOWNLINK_BURST_PROFILE_FOR_MULTIPLE_FEC_TYPES 153
166 #define DL_MAP_NCT_PMP 0
167 #define DL_MAP_NCT_DM 1
168 #define DL_MAP_NCT_PTP 2
172 static const value_string nct_msgs
[] =
174 { DL_MAP_NCT_PMP
, "PMP" },
175 { DL_MAP_NCT_PMP
, "DM" },
176 { DL_MAP_NCT_PMP
, "PTP" },
181 /* Repetition Coding Indications */
182 static const value_string rep_msgs
[] =
184 { 0, "No Repetition Coding" },
185 { 1, "Repetition Coding of 2 Used" },
186 { 2, "Repetition Coding of 4 Used" },
187 { 3, "Repetition Coding of 6 Used" },
191 /* DL Frame Prefix Coding Indications */
192 static const value_string boost_msgs
[] =
194 { 0, "Normal (not boosted)" },
205 /* OFDMA frame duration ms (Table 320)*/
206 static const value_string frame_duration
[] =
220 /* OFDMA frames per second (Table 320)*/
221 static const value_string frames_per_second
[] =
236 static int hf_dlmap_phy_fdur
;
237 static int hf_dlmap_phy_fdur_ms
;
238 static int hf_dlmap_phy_fdur_per_sec
;
239 static int hf_dlmap_phy_fnum
;
240 /* static int hf_dlmap_fch_expected; */
241 static int hf_dlmap_dcd
;
242 static int hf_dlmap_bsid
;
243 static int hf_dlmap_ofdma_sym
;
244 /* static int hf_dlmap_ie; */
245 static int hf_dlmap_ie_diuc
;
246 static int hf_dlmap_ie_reserved_extended2_duic
;
247 static int hf_dlmap_ie_reserved_extended_duic
;
248 static int hf_dlmap_ie_diuc_ext
;
249 static int hf_dlmap_ie_diuc_ext2
;
250 static int hf_dlmap_ie_length
;
251 static int hf_dlmap_ie_bitmap
;
252 static int hf_dlmap_ie_bitmap_cqi
;
253 static int hf_dlmap_ie_bitmap_pusc
;
254 static int hf_dlmap_ie_bitmap_opt_pusc
;
255 static int hf_dlmap_ie_bitmap_amc
;
256 static int hf_dlmap_ie_bitmap_aas
;
257 static int hf_dlmap_ie_bitmap_periodic_ranging
;
258 static int hf_dlmap_ie_bitmap_sounding
;
259 static int hf_dlmap_ie_bitmap_mimo
;
260 static int hf_dlmap_ie_ncid
;
261 static int hf_dlmap_ie_cid
;
262 static int hf_dlmap_ie_offsym
;
263 static int hf_dlmap_ie_offsub
;
264 static int hf_dlmap_ie_boosting
;
265 static int hf_dlmap_ie_numsym
;
266 static int hf_dlmap_ie_numsub
;
267 static int hf_dlmap_ie_rep
;
268 static int hf_dlmap_ie_offsym2
;
269 static int hf_dlmap_ie_offsub2
;
270 static int hf_dlmap_ie_boosting2
;
271 static int hf_dlmap_ie_numsym2
;
272 static int hf_dlmap_ie_numsub2
;
273 static int hf_dlmap_ie_rep2
;
275 /* static int hf_dlmap_xie_diuc; */
276 /* static int hf_dlmap_xie_len; */
278 static int hf_dlmapc_compr
;
279 static int hf_dlmapc_ulmap
;
280 static int hf_dlmapc_rsv
;
281 static int hf_dlmapc_len
;
282 /* static int hf_dlmapc_sync; */
283 static int hf_dlmapc_opid
;
284 static int hf_dlmapc_secid
;
285 static int hf_dlmapc_count
;
288 static int hf_109x_cmi
;
289 static int hf_109x_len
;
290 static int hf_109x_rcid
;
291 static int hf_109x_haoi
;
292 static int hf_109x_dl
;
293 static int hf_109x_ul
;
294 static int hf_109x_dlie
;
295 static int hf_109x_symofs
;
296 static int hf_109x_subofs
;
297 static int hf_109x_rsv
;
300 static int hf_308a_cmi
;
301 static int hf_308a_ulmap
;
302 static int hf_308a_type
;
303 static int hf_308a_mult
;
304 static int hf_308a_rsv
;
305 static int hf_mac_header_compress_dlmap_crc
;
306 static int hf_mac_header_compress_dlmap_crc_status
;
308 static int hf_crc16_status
;
309 static int hf_padding
;
310 static int hf_cid_mask
;
311 static int hf_reserved
;
313 /* Generated via "one time" script to help create filterable fields */
314 static int hf_dlmap_rcid_ie_cid
;
315 static int hf_dlmap_rcid_ie_prefix
;
316 static int hf_dlmap_rcid_ie_cid11
;
317 static int hf_dlmap_rcid_ie_cid7
;
318 static int hf_dlmap_rcid_ie_cid3
;
319 static int hf_dlmap_dedicated_dl_control_length
;
320 static int hf_dlmap_dedicated_dl_control_control_header
;
321 static int hf_dlmap_dedicated_dl_control_num_sdma_layers
;
322 static int hf_dlmap_dedicated_mimo_dl_control_length
;
323 static int hf_dlmap_dedicated_mimo_dl_control_control_header_mimo_control_info
;
324 static int hf_dlmap_dedicated_mimo_dl_control_control_header_cqi_control_info
;
325 static int hf_dlmap_dedicated_mimo_dl_control_control_header_closed_mimo_control_info
;
326 static int hf_dlmap_dedicated_mimo_dl_control_n_layer
;
327 static int hf_dlmap_dedicated_mimo_dl_control_matrix
;
328 static int hf_dlmap_dedicated_mimo_dl_control_num_beamformed_streams
;
329 static int hf_dlmap_dedicated_mimo_dl_control_period
;
330 static int hf_dlmap_dedicated_mimo_dl_control_frame_offset
;
331 static int hf_dlmap_dedicated_mimo_dl_control_duration
;
332 static int hf_dlmap_dedicated_mimo_dl_control_allocation_index
;
333 static int hf_dlmap_dedicated_mimo_dl_control_cqich_num
;
334 static int hf_dlmap_dedicated_mimo_dl_control_feedback_type
;
335 static int hf_dlmap_dedicated_mimo_dl_control_antenna_grouping_index
;
336 static int hf_dlmap_dedicated_mimo_dl_control_num_stream
;
337 static int hf_dlmap_dedicated_mimo_dl_control_antenna_selection_index
;
338 static int hf_dlmap_dedicated_mimo_dl_control_codebook_precoding_index
;
339 static int hf_dlmap_n_sub_burst_isi
;
340 static int hf_dlmap_harq_chase_n_ack_channel
;
341 static int hf_dlmap_harq_chase_duration
;
342 static int hf_dlmap_harq_chase_sub_burst_diuc_indicator
;
343 static int hf_dlmap_reserved_uint
;
344 static int hf_dlmap_harq_chase_diuc
;
345 static int hf_dlmap_harq_chase_repetition_coding_indication
;
346 static int hf_dlmap_harq_chase_acid
;
347 static int hf_dlmap_harq_chase_ai_sn
;
348 static int hf_dlmap_harq_chase_ack_disable
;
349 static int hf_dlmap_harq_chase_dedicated_dl_control_indicator
;
350 static int hf_dlmap_harq_chase_allocation_index
;
351 static int hf_dlmap_harq_chase_period
;
352 static int hf_dlmap_harq_chase_frame_offset
;
353 static int hf_dlmap_harq_ir_ctc_n_ack_channel
;
354 static int hf_dlmap_harq_ir_ctc_nep
;
355 static int hf_dlmap_harq_ir_ctc_nsch
;
356 static int hf_dlmap_harq_ir_ctc_spid
;
357 static int hf_dlmap_harq_ir_ctc_acid
;
358 static int hf_dlmap_harq_ir_ctc_ai_sn
;
359 static int hf_dlmap_harq_ir_ctc_ack_disable
;
360 static int hf_dlmap_harq_ir_ctc_dedicated_dl_control_indicator
;
361 static int hf_dlmap_harq_ir_ctc_duration
;
362 static int hf_dlmap_harq_ir_ctc_allocation_index
;
363 static int hf_dlmap_harq_ir_ctc_period
;
364 static int hf_dlmap_harq_ir_ctc_frame_offset
;
365 static int hf_dlmap_harq_ir_cc_n_ack_channel
;
366 static int hf_dlmap_harq_ir_cc_duration
;
367 static int hf_dlmap_harq_ir_cc_sub_burst_diuc_indicator
;
368 static int hf_dlmap_harq_ir_cc_diuc
;
369 static int hf_dlmap_harq_ir_cc_repetition_coding_indication
;
370 static int hf_dlmap_harq_ir_cc_acid
;
371 static int hf_dlmap_harq_ir_cc_ai_sn
;
372 static int hf_dlmap_harq_ir_cc_spid
;
373 static int hf_dlmap_harq_ir_cc_ack_disable
;
374 static int hf_dlmap_harq_ir_cc_dedicated_dl_control_indicator
;
375 static int hf_dlmap_harq_ir_cc_allocation_index
;
376 static int hf_dlmap_harq_ir_cc_period
;
377 static int hf_dlmap_harq_ir_cc_frame_offset
;
378 static int hf_dlmap_mimo_dl_chase_harq_n_ack_channel
;
379 static int hf_dlmap_mimo_dl_chase_harq_mu_indicator
;
380 static int hf_dlmap_mimo_dl_chase_harq_dedicated_mimo_dl_control_indicator
;
381 static int hf_dlmap_mimo_dl_chase_harq_ack_disable
;
382 static int hf_dlmap_mimo_dl_chase_harq_duration
;
383 static int hf_dlmap_mimo_dl_chase_harq_diuc
;
384 static int hf_dlmap_mimo_dl_chase_harq_repetition_coding_indication
;
385 static int hf_dlmap_mimo_dl_chase_harq_acid
;
386 static int hf_dlmap_mimo_dl_chase_harq_ai_sn
;
387 static int hf_dlmap_mimo_dl_ir_harq_n_ack_channel
;
388 static int hf_dlmap_mimo_dl_ir_harq_mu_indicator
;
389 static int hf_dlmap_mimo_dl_ir_harq_dedicated_mimo_dl_control_indicator
;
390 static int hf_dlmap_mimo_dl_ir_harq_ack_disable
;
391 static int hf_dlmap_mimo_dl_ir_harq_nsch
;
392 static int hf_dlmap_mimo_dl_ir_harq_nep
;
393 static int hf_dlmap_mimo_dl_ir_harq_spid
;
394 static int hf_dlmap_mimo_dl_ir_harq_acid
;
395 static int hf_dlmap_mimo_dl_ir_harq_ai_sn
;
396 static int hf_dlmap_mimo_dl_ir_harq_cc_n_ack_channel
;
397 static int hf_dlmap_mimo_dl_ir_harq_cc_mu_indicator
;
398 static int hf_dlmap_mimo_dl_ir_harq_cc_dedicated_mimo_dl_control_indicator
;
399 static int hf_dlmap_mimo_dl_ir_harq_cc_ack_disable
;
400 static int hf_dlmap_mimo_dl_ir_harq_cc_duration
;
401 static int hf_dlmap_mimo_dl_ir_harq_cc_diuc
;
402 static int hf_dlmap_mimo_dl_ir_harq_cc_repetition_coding_indication
;
403 static int hf_dlmap_mimo_dl_ir_harq_cc_acid
;
404 static int hf_dlmap_mimo_dl_ir_harq_cc_ai_sn
;
405 static int hf_dlmap_mimo_dl_ir_harq_cc_spid
;
406 static int hf_dlmap_mimo_dl_stc_harq_n_ack_channel
;
407 static int hf_dlmap_mimo_dl_stc_harq_tx_count
;
408 static int hf_dlmap_mimo_dl_stc_harq_duration
;
409 static int hf_dlmap_mimo_dl_stc_harq_sub_burst_offset_indication
;
410 static int hf_dlmap_mimo_dl_stc_harq_sub_burst_offset
;
411 static int hf_dlmap_mimo_dl_stc_harq_ack_disable
;
412 static int hf_dlmap_mimo_dl_stc_harq_dedicated_mimo_dl_control_indicator
;
413 static int hf_dlmap_mimo_dl_stc_harq_diuc
;
414 static int hf_dlmap_mimo_dl_stc_harq_repetition_coding_indication
;
415 static int hf_dlmap_mimo_dl_stc_harq_acid
;
416 static int hf_dlmap_mbs_map_extended_2_diuc
;
417 static int hf_dlmap_mbs_map_mbs_zone_identifier
;
418 static int hf_dlmap_mbs_map_macro_diversity_enhanced
;
419 static int hf_dlmap_mbs_map_permutation
;
420 static int hf_dlmap_mbs_map_dl_permbase
;
421 static int hf_dlmap_mbs_map_prbs_id
;
422 static int hf_dlmap_mbs_map_ofdma_symbol_offset
;
423 static int hf_dlmap_mbs_map_diuc_change_indication
;
424 static int hf_dlmap_mbs_map_boosting
;
425 static int hf_dlmap_mbs_map_diuc
;
426 static int hf_dlmap_mbs_map_num_subchannels
;
427 static int hf_dlmap_mbs_map_num_ofdma_symbols
;
428 static int hf_dlmap_mbs_map_repetition_coding_indication
;
429 static int hf_dlmap_mbs_map_cid
;
430 static int hf_dlmap_mbs_map_ofdma_symbols_offset
;
431 static int hf_dlmap_mbs_map_subchannel_offset
;
432 static int hf_dlmap_mbs_map_slc_3_indication
;
433 static int hf_dlmap_mbs_map_next_mbs_map_ie_frame_offset
;
434 static int hf_dlmap_skip_extended_2_diuc
;
435 static int hf_dlmap_skip_mode
;
436 static int hf_dlmap_harq_dl_map_extended_2_diuc
;
437 static int hf_dlmap_harq_dl_map_rcid_type
;
438 static int hf_dlmap_harq_dl_map_boosting
;
439 static int hf_dlmap_harq_dl_map_region_id_use_indicator
;
440 static int hf_dlmap_harq_dl_map_ofdma_symbol_offset
;
441 static int hf_dlmap_harq_dl_map_subchannel_offset
;
442 static int hf_dlmap_harq_dl_map_number_of_ofdma_symbols
;
443 static int hf_dlmap_harq_dl_map_number_of_subchannels
;
444 static int hf_dlmap_harq_dl_map_rectangular_sub_burst_indicator
;
445 static int hf_dlmap_harq_dl_map_region_id
;
446 static int hf_dlmap_harq_dl_map_mode
;
447 static int hf_dlmap_harq_dl_map_sub_burst_ie_length
;
448 static int hf_dlmap_harq_dl_map_reserved_mode
;
449 static int hf_dlmap_harq_ack_bitmap_data
;
450 static int hf_dlmap_enhanced_dl_map_extended_2_diuc
;
451 static int hf_dlmap_enhanced_dl_map_num_assignment
;
452 static int hf_dlmap_enhanced_dl_map_n_cid
;
453 static int hf_dlmap_enhanced_dl_map_cid
;
454 static int hf_dlmap_enhanced_dl_map_diuc
;
455 static int hf_dlmap_enhanced_dl_map_boosting
;
456 static int hf_dlmap_enhanced_dl_map_repetition_coding_indication
;
457 static int hf_dlmap_enhanced_dl_map_region_id
;
458 static int hf_dlmap_aas_sdma_dl_extended_2_diuc
;
459 static int hf_dlmap_aas_sdma_dl_rcid_type
;
460 static int hf_dlmap_aas_sdma_dl_num_burst_region
;
461 static int hf_dlmap_aas_sdma_dl_ofdma_symbol_offset
;
462 static int hf_dlmap_aas_sdma_dl_subchannel_offset
;
463 static int hf_dlmap_aas_sdma_dl_num_ofdma_triple_symbols
;
464 static int hf_dlmap_aas_sdma_dl_num_subchannels
;
465 static int hf_dlmap_aas_sdma_dl_number_of_users
;
466 static int hf_dlmap_aas_sdma_dl_encoding_mode
;
467 static int hf_dlmap_aas_sdma_dl_cqich_allocation
;
468 static int hf_dlmap_aas_sdma_dl_ackch_allocation
;
469 static int hf_dlmap_aas_sdma_dl_pilot_pattern_modifier
;
470 static int hf_dlmap_aas_sdma_dl_preamble_modifier_index
;
471 static int hf_dlmap_aas_sdma_dl_pilot_pattern
;
472 static int hf_dlmap_aas_sdma_dl_diuc
;
473 static int hf_dlmap_aas_sdma_dl_repetition_coding_indication
;
474 static int hf_dlmap_aas_sdma_dl_ack_ch_index
;
475 static int hf_dlmap_aas_sdma_dl_acid
;
476 static int hf_dlmap_aas_sdma_dl_ai_sn
;
477 static int hf_dlmap_aas_sdma_dl_nep
;
478 static int hf_dlmap_aas_sdma_dl_nsch
;
479 static int hf_dlmap_aas_sdma_dl_spid
;
480 static int hf_dlmap_aas_sdma_dl_allocation_index
;
481 static int hf_dlmap_aas_sdma_dl_period
;
482 static int hf_dlmap_aas_sdma_dl_frame_offset
;
483 static int hf_dlmap_aas_sdma_dl_duration
;
484 static int hf_dlmap_channel_measurement_channel_nr
;
485 static int hf_dlmap_channel_measurement_ofdma_symbol_offset
;
486 static int hf_dlmap_channel_measurement_cid
;
487 static int hf_dlmap_stc_zone_ofdma_symbol_offset
;
488 static int hf_dlmap_stc_zone_permutations
;
489 static int hf_dlmap_stc_zone_use_all_sc_indicator
;
490 static int hf_dlmap_stc_zone_stc
;
491 static int hf_dlmap_stc_zone_matrix_indicator
;
492 static int hf_dlmap_stc_zone_dl_permbase
;
493 static int hf_dlmap_stc_zone_prbs_id
;
494 static int hf_dlmap_stc_zone_amc_type
;
495 static int hf_dlmap_stc_zone_midamble_presence
;
496 static int hf_dlmap_stc_zone_midamble_boosting
;
497 static int hf_dlmap_stc_zone_2_3_antenna_select
;
498 static int hf_dlmap_stc_zone_dedicated_pilots
;
499 static int hf_dlmap_aas_dl_ofdma_symbol_offset
;
500 static int hf_dlmap_aas_dl_permutation
;
501 static int hf_dlmap_aas_dl_dl_permbase
;
502 static int hf_dlmap_aas_dl_downlink_preamble_config
;
503 static int hf_dlmap_aas_dl_preamble_type
;
504 static int hf_dlmap_aas_dl_prbs_id
;
505 static int hf_dlmap_aas_dl_diversity_map
;
506 static int hf_dlmap_data_location_another_bs_segment
;
507 static int hf_dlmap_data_location_another_bs_used_subchannels
;
508 static int hf_dlmap_data_location_another_bs_diuc
;
509 static int hf_dlmap_data_location_another_bs_frame_advance
;
510 static int hf_dlmap_data_location_another_bs_ofdma_symbol_offset
;
511 static int hf_dlmap_data_location_another_bs_subchannel_offset
;
512 static int hf_dlmap_data_location_another_bs_boosting
;
513 static int hf_dlmap_data_location_another_bs_preamble_index
;
514 static int hf_dlmap_data_location_another_bs_num_ofdma_symbols
;
515 static int hf_dlmap_data_location_another_bs_num_subchannels
;
516 static int hf_dlmap_data_location_another_bs_repetition_coding_indication
;
517 static int hf_dlmap_data_location_another_bs_cid
;
518 static int hf_dlmap_harq_map_pointer_diuc
;
519 static int hf_dlmap_harq_map_pointer_num_slots
;
520 static int hf_dlmap_harq_map_pointer_repetition_coding_indication
;
521 static int hf_dlmap_harq_map_pointer_map_version
;
522 static int hf_dlmap_harq_map_pointer_idle_users
;
523 static int hf_dlmap_harq_map_pointer_sleep_users
;
524 static int hf_dlmap_harq_map_pointer_cid_mask_length
;
525 static int hf_dlmap_phymod_dl_preamble_modifier_type
;
526 static int hf_dlmap_phymod_dl_preamble_frequency_shift_index
;
527 static int hf_dlmap_phymod_dl_preamble_time_shift_index
;
528 static int hf_dlmap_phymod_dl_pilot_pattern_modifier
;
529 static int hf_dlmap_phymod_dl_pilot_pattern_index
;
530 static int hf_dlmap_broadcast_ctrl_ptr_dcd_ucd_transmission_frame
;
531 static int hf_dlmap_broadcast_ctrl_ptr_skip_broadcast_system_update
;
532 static int hf_dlmap_broadcast_ctrl_ptr_broadcast_system_update_type
;
533 static int hf_dlmap_broadcast_ctrl_ptr_broadcast_system_update_transmission_frame
;
534 static int hf_dlmap_dl_pusc_burst_allocation_cid
;
535 static int hf_dlmap_dl_pusc_burst_allocation_diuc
;
536 static int hf_dlmap_dl_pusc_burst_allocation_segment
;
537 static int hf_dlmap_dl_pusc_burst_allocation_boosting
;
538 static int hf_dlmap_dl_pusc_burst_allocation_idcell
;
539 static int hf_dlmap_dl_pusc_burst_allocation_dl_permbase
;
540 static int hf_dlmap_dl_pusc_burst_allocation_prbs_id
;
541 static int hf_dlmap_dl_pusc_burst_allocation_repetition_coding_indication
;
542 static int hf_dlmap_dl_pusc_burst_allocation_used_subchannels
;
543 static int hf_dlmap_dl_pusc_burst_allocation_ofdma_symbol_offset
;
544 static int hf_dlmap_dl_pusc_burst_allocation_num_ofdma_symbols
;
545 static int hf_dlmap_dl_pusc_burst_allocation_subchannel_offset
;
546 static int hf_dlmap_dl_pusc_burst_allocation_num_subchannels
;
547 static int hf_dlmap_pusc_asca_alloc_diuc
;
548 static int hf_dlmap_pusc_asca_alloc_short_basic_cid
;
549 static int hf_dlmap_pusc_asca_alloc_ofdma_symbol_offset
;
550 static int hf_dlmap_pusc_asca_alloc_subchannel_offset
;
551 static int hf_dlmap_pusc_asca_alloc_num_ofdma_symbols
;
552 static int hf_dlmap_pusc_asca_alloc_num_symbols
;
553 static int hf_dlmap_pusc_asca_alloc_repetition_coding_information
;
554 static int hf_dlmap_pusc_asca_alloc_permutation_id
;
555 static int hf_dlmap_reduced_aas_num_ie
;
556 static int hf_dlmap_reduced_aas_periodicity
;
557 static int hf_dlmap_reduced_aas_cid_included
;
558 static int hf_dlmap_reduced_aas_dcd_count_included
;
559 static int hf_dlmap_reduced_aas_phy_modification_included
;
560 static int hf_dlmap_reduced_aas_cqich_control_indicator
;
561 static int hf_dlmap_reduced_aas_encoding_mode
;
562 static int hf_dlmap_reduced_aas_separate_mcs_enabled
;
563 static int hf_dlmap_reduced_aas_duration
;
564 static int hf_dlmap_reduced_aas_diuc
;
565 static int hf_dlmap_reduced_aas_repetition_coding_indication
;
566 static int hf_dlmap_reduced_aas_cid
;
567 static int hf_dlmap_reduced_aas_allocation_index
;
568 static int hf_dlmap_reduced_aas_report_period
;
569 static int hf_dlmap_reduced_aas_frame_offset
;
570 static int hf_dlmap_reduced_aas_report_duration
;
571 static int hf_dlmap_reduced_aas_cqi_measurement_type
;
572 static int hf_dlmap_reduced_aas_dcd_count
;
573 static int hf_dlmap_reduced_aas_preamble_select
;
574 static int hf_dlmap_reduced_aas_preamble_shift_index
;
575 static int hf_dlmap_reduced_aas_pilot_pattern_modifier
;
576 static int hf_dlmap_reduced_aas_pilot_pattern_index
;
577 static int hf_dlmap_reduced_aas_dl_frame_offset
;
578 static int hf_dlmap_reduced_aas_zone_symbol_offset
;
579 static int hf_dlmap_reduced_aas_ofdma_symbol_offset
;
580 static int hf_dlmap_reduced_aas_subchannel_offset
;
581 static int hf_dlmap_reduced_aas_num_ofdma_triple_symbol
;
582 static int hf_dlmap_reduced_aas_num_subchannels
;
583 static int hf_dlmap_reduced_aas_num_ofdma_symbols
;
584 static int hf_dlmap_reduced_aas_diuc_nep
;
585 static int hf_dlmap_reduced_aas_dl_harq_ack_bitmap
;
586 static int hf_dlmap_reduced_aas_ack_allocation_index
;
587 static int hf_dlmap_reduced_aas_acid
;
588 static int hf_dlmap_reduced_aas_ai_sn
;
589 static int hf_dlmap_reduced_aas_nsch
;
590 static int hf_dlmap_reduced_aas_spid
;
594 static expert_field ei_dlmap_not_implemented
;
595 static expert_field ei_crc16
;
596 static expert_field ei_mac_header_compress_dlmap_crc
;
597 static expert_field ei_mac_header_invalid_length
;
599 /* Copied and renamed from proto.c because global value_strings don't work for plugins */
600 static const value_string plugin_proto_checksum_vals
[] = {
601 { PROTO_CHECKSUM_E_BAD
, "Bad" },
602 { PROTO_CHECKSUM_E_GOOD
, "Good" },
603 { PROTO_CHECKSUM_E_UNVERIFIED
, "Unverified" },
604 { PROTO_CHECKSUM_E_NOT_PRESENT
, "Not present" },
609 /********************************************************************
610 * DL-MAP Miscellaneous IEs and TLVs
611 *******************************************************************/
613 int RCID_IE(proto_tree
*diuc_tree
, int offset
, int length
, tvbuff_t
*tvb
, int RCID_Type_lcl
)
615 /* RCID_IE 8.4.5.3 and 8.4.5.3.20.1 */
616 /* offset of IE in bits, length is variable */
618 proto_item
*ti
= NULL
;
619 proto_tree
*tree
= NULL
;
623 if (RCID_Type_lcl
== 0)
626 Prefix
= TVB_BIT_BIT(bit
, tvb
);
627 if (Prefix
== 1) length
= 12;
628 else if (RCID_Type_lcl
== 1) length
= 12;
629 else if (RCID_Type_lcl
== 2) length
= 8;
630 else if (RCID_Type_lcl
== 3) length
= 4;
633 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, BITHI(bit
, length
), ett_286j
, &ti
, "RCID_IE");
635 if (RCID_Type_lcl
== 0) {
636 XBIT_HF_VALUE(cid
, 16, hf_dlmap_rcid_ie_cid
);
638 XBIT_HF_VALUE(Prefix
, 1, hf_dlmap_rcid_ie_prefix
);
642 XBIT_HF_VALUE(cid
, 11, hf_dlmap_rcid_ie_cid11
);
644 if (RCID_Type_lcl
== 1) {
646 XBIT_HF_VALUE(cid
, 11, hf_dlmap_rcid_ie_cid11
);
647 } else if (RCID_Type_lcl
== 2) {
649 XBIT_HF_VALUE(cid
, 7, hf_dlmap_rcid_ie_cid7
);
650 } else if (RCID_Type_lcl
== 3) {
652 XBIT_HF_VALUE(cid
, 3, hf_dlmap_rcid_ie_cid3
);
657 proto_item_append_text(ti
, " (CID = %d)", cid
);
659 return length
; /* return length in bits */
662 /********************************************************************
663 * DL-MAP Extended-2 HARQ sub-burst IEs (8.4.5.3.21)
664 *******************************************************************/
666 static int Dedicated_DL_Control_IE(proto_tree
*diuc_tree
, int offset
, int length
, tvbuff_t
*tvb
)
669 /* offset of IE in nibbles, length is variable */
677 length
= TVB_NIB_NIBBLE(nib
, tvb
); /* length in nibbles */
679 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, NIBHI(nib
, length
+1), ett_286i
, NULL
, "Dedicated_DL_Control_IE");
681 VNIB(length
, 1, hf_dlmap_dedicated_dl_control_length
);
682 VNIB(nibble
, 1, hf_dlmap_dedicated_dl_control_control_header
);
684 if ((nibble
& 1) == 1) {
685 nibble
= TVB_NIB_NIBBLE(nib
, tvb
);
686 proto_tree_add_uint(tree
, hf_dlmap_dedicated_dl_control_num_sdma_layers
, tvb
, NIBHI(nib
,1), (nibble
>> 2) & 0x3);
688 if ((nib
*4)+2 < (offset
+length
)*4) {
689 len
= ((offset
+ length
- nib
) * 4) - 2;
690 proto_tree_add_bytes_format(tree
, hf_reserved
, tvb
, BITHI(nib
*4, len
), NULL
, "Reserved bits");
694 if (nib
< offset
+length
) {
695 len
= (offset
+ length
) - nib
;
696 proto_tree_add_bytes_format(tree
, hf_reserved
, tvb
, NIBHI(nib
,len
), NULL
, "Reserved bits");
702 static int Dedicated_MIMO_DL_Control_IE(proto_tree
*diuc_tree
, int offset
, int length _U_
, tvbuff_t
*tvb
)
704 /* offset of IE in bits, length is variable */
707 int mci
, cqi
, cmi
, matrix
= 0, pad
, CQICH_num
, mimo_mode
;
712 /* 8.4.5.3.21 table 286t */
713 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, BITHI(bit
, 1), ett_286t
, NULL
, "Dedicated MIMO DL Control IE");
715 XBIT_HF_VALUE(length
, 5, hf_dlmap_dedicated_mimo_dl_control_length
);
716 XBIT_HF_VALUE(mci
, 1, hf_dlmap_dedicated_mimo_dl_control_control_header_mimo_control_info
);
717 XBIT_HF_VALUE(cqi
, 1, hf_dlmap_dedicated_mimo_dl_control_control_header_cqi_control_info
);
718 XBIT_HF_VALUE(cmi
, 1, hf_dlmap_dedicated_mimo_dl_control_control_header_closed_mimo_control_info
);
719 XBIT_HF_VALUE(N_layer
, 2, hf_dlmap_dedicated_mimo_dl_control_n_layer
);
721 /* MIMO Control Info */
723 XBIT_HF_VALUE(matrix
, 2, hf_dlmap_dedicated_mimo_dl_control_matrix
);
724 if (STC_Zone_Dedicated_Pilots
== 1) {
725 XBIT_HF(2, hf_dlmap_dedicated_mimo_dl_control_num_beamformed_streams
);
729 /* CQICH Control Info */
731 XBIT_HF(3, hf_dlmap_dedicated_mimo_dl_control_period
);
732 XBIT_HF(3, hf_dlmap_dedicated_mimo_dl_control_frame_offset
);
733 XBIT_HF(4, hf_dlmap_dedicated_mimo_dl_control_duration
);
734 for (j
= 0; j
< N_layer
; j
++) {
735 XBIT_HF(6, hf_dlmap_dedicated_mimo_dl_control_allocation_index
);
737 XBIT_HF_VALUE(CQICH_num
, 2, hf_dlmap_dedicated_mimo_dl_control_cqich_num
);
738 for (j
= 0; j
< CQICH_num
; j
++) {
739 XBIT_HF(3, hf_dlmap_dedicated_mimo_dl_control_feedback_type
);
740 XBIT_HF(6, hf_dlmap_dedicated_mimo_dl_control_allocation_index
);
744 /* Closed MIMO Control Info */
749 mimo_mode
= STC_Zone_Matrix
;
751 if (mimo_mode
== 0 || mimo_mode
== 1) {
752 XBIT_HF(3, hf_dlmap_dedicated_mimo_dl_control_antenna_grouping_index
);
753 } else if (mimo_mode
== 2) {
754 XBIT_HF(2, hf_dlmap_dedicated_mimo_dl_control_num_stream
);
755 XBIT_HF(3, hf_dlmap_dedicated_mimo_dl_control_antenna_selection_index
);
756 } else if (mimo_mode
== 3) {
757 XBIT_HF(2, hf_dlmap_dedicated_mimo_dl_control_num_stream
);
758 XBIT_HF(6, hf_dlmap_dedicated_mimo_dl_control_codebook_precoding_index
);
762 /* padding to nibble */
763 pad
= BIT_PADDING(bit
,4);
765 proto_tree_add_bytes_format_value(tree
, hf_padding
, tvb
, BITHI(bit
,pad
), NULL
, "%d bits", pad
);
769 return (bit
- offset
);
772 static int DL_HARQ_Chase_sub_burst_IE(proto_tree
*diuc_tree
, int offset
, int length
, tvbuff_t
*tvb
)
774 /* 8.4.5.3.21 DL_HARQ_Chase_sub_burst_IE */
775 /* offset of IE in nibbles, length is variable */
778 int nsub
, ddci
, dur
, sbi
;
781 bit
= NIB_TO_BIT(offset
);
783 /* 8.4.5.3.21 table 286m */
784 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, BITHI(bit
, length
), ett_286m
, NULL
, "DL_HARQ_Chase_sub_burst_IE");
786 XBIT_HF_VALUE(nsub
, 4, hf_dlmap_n_sub_burst_isi
);
787 XBIT_HF(4, hf_dlmap_harq_chase_n_ack_channel
);
790 for (j
= 0; j
< nsub
; j
++) {
791 bit
+= RCID_IE(tree
, bit
, length
, tvb
, RCID_Type
);
792 XBIT_HF_VALUE(dur
, 10, hf_dlmap_harq_chase_duration
);
793 XBIT_HF_VALUE(sbi
, 1, hf_dlmap_harq_chase_sub_burst_diuc_indicator
);
794 XBIT_HF(1, hf_dlmap_reserved_uint
);
797 XBIT_HF(4, hf_dlmap_harq_chase_diuc
);
798 XBIT_HF(2, hf_dlmap_harq_chase_repetition_coding_indication
);
799 XBIT_HF(2, hf_dlmap_reserved_uint
);
802 XBIT_HF(4, hf_dlmap_harq_chase_acid
);
803 XBIT_HF(1, hf_dlmap_harq_chase_ai_sn
);
804 XBIT_HF(1, hf_dlmap_harq_chase_ack_disable
);
805 XBIT_HF_VALUE(ddci
, 2, hf_dlmap_harq_chase_dedicated_dl_control_indicator
);
807 if ((ddci
& 1) == 1) {
808 XBIT_HF_VALUE(dur
, 4, hf_dlmap_harq_chase_duration
);
810 XBIT_HF(6, hf_dlmap_harq_chase_allocation_index
);
811 XBIT_HF(3, hf_dlmap_harq_chase_period
);
812 XBIT_HF(3, hf_dlmap_harq_chase_frame_offset
);
816 if ((ddci
& 2) == 2) {
817 bit
+= Dedicated_DL_Control_IE(tree
, BIT_TO_NIB(bit
), length
, tvb
) * 4;
821 /* XBIT_HF(data, 4, "(DL HARQ Chase sub-burst IE)"); */
822 return (BIT_TO_NIB(bit
) - offset
);
825 static int DL_HARQ_IR_CTC_sub_burst_IE(proto_tree
*diuc_tree
, packet_info
*pinfo
, int offset
, int length
, tvbuff_t
*tvb
)
827 /* offset of IE in nibbles, length is variable */
832 uint32_t calculated_crc
;
834 bit
= NIB_TO_BIT(offset
);
836 /* 8.4.5.3.21 table 286n */
837 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, BITHI(bit
, 4), ett_286n
, NULL
, "DL HARQ IR CTC sub-burst IE");
839 XBIT_HF_VALUE(nsub
, 4, hf_dlmap_n_sub_burst_isi
);
840 XBIT_HF(4, hf_dlmap_harq_ir_ctc_n_ack_channel
);
843 for (j
= 0; j
< nsub
; j
++) {
844 bit
+= RCID_IE(tree
, bit
, length
, tvb
, RCID_Type
);
846 XBIT_HF(4, hf_dlmap_harq_ir_ctc_nep
);
847 XBIT_HF(4, hf_dlmap_harq_ir_ctc_nsch
);
848 XBIT_HF(2, hf_dlmap_harq_ir_ctc_spid
);
849 XBIT_HF(4, hf_dlmap_harq_ir_ctc_acid
);
850 XBIT_HF(1, hf_dlmap_harq_ir_ctc_ai_sn
);
851 XBIT_HF(1, hf_dlmap_harq_ir_ctc_ack_disable
);
852 XBIT_HF(2, hf_dlmap_reserved_uint
);
853 XBIT_HF_VALUE(ddci
, 2, hf_dlmap_harq_ir_ctc_dedicated_dl_control_indicator
);
855 if ((ddci
& 1) == 1) {
856 XBIT_HF_VALUE(dur
, 4, hf_dlmap_harq_ir_ctc_duration
);
859 XBIT_HF(6, hf_dlmap_harq_ir_ctc_allocation_index
);
860 XBIT_HF(3, hf_dlmap_harq_ir_ctc_period
);
861 XBIT_HF(3, hf_dlmap_harq_ir_ctc_frame_offset
);
864 if ((ddci
& 2) == 2) {
865 bit
+= Dedicated_DL_Control_IE(tree
, BIT_TO_NIB(bit
), length
, tvb
);
869 if (include_cor2_changes
)
871 /* CRC-16 is always appended */
872 calculated_crc
= wimax_mac_calc_crc16(tvb_get_ptr(tvb
, 0, BIT_TO_BYTE(bit
)), BIT_TO_BYTE(bit
));
873 proto_tree_add_checksum(tree
, tvb
, BIT_ADDR(bit
), hf_crc16
, hf_crc16_status
, &ei_crc16
, pinfo
, calculated_crc
,
874 ENC_BIG_ENDIAN
, PROTO_CHECKSUM_VERIFY
);
878 return (BIT_TO_NIB(bit
) - offset
);
881 static int DL_HARQ_IR_CC_sub_burst_IE(proto_tree
*diuc_tree
, packet_info
*pinfo
, int offset
, int length
, tvbuff_t
*tvb
)
883 /* offset of IE in nibbles, length is variable */
886 int nsub
, sbdi
, ddci
, dur
;
888 uint16_t calculated_crc
;
890 bit
= NIB_TO_BIT(offset
);
892 /* 8.4.5.3.21 table 286o */
893 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, BITHI(bit
, 4), ett_286o
, NULL
, "DL HARQ IR CC sub-burst IE");
895 XBIT_HF_VALUE(nsub
, 4, hf_dlmap_n_sub_burst_isi
);
896 XBIT_HF(4, hf_dlmap_harq_ir_cc_n_ack_channel
);
899 for (j
= 0; j
< nsub
; j
++) {
900 bit
+= RCID_IE(tree
, bit
, length
, tvb
, RCID_Type
) / 4;
902 XBIT_HF(10, hf_dlmap_harq_ir_cc_duration
);
903 XBIT_HF_VALUE(sbdi
, 1, hf_dlmap_harq_ir_cc_sub_burst_diuc_indicator
);
904 XBIT_HF(1, hf_dlmap_reserved_uint
);
907 XBIT_HF(4, hf_dlmap_harq_ir_cc_diuc
);
908 XBIT_HF(2, hf_dlmap_harq_ir_cc_repetition_coding_indication
);
909 XBIT_HF(2, hf_dlmap_reserved_uint
);
912 XBIT_HF(4, hf_dlmap_harq_ir_cc_acid
);
913 XBIT_HF(1, hf_dlmap_harq_ir_cc_ai_sn
);
914 XBIT_HF(2, hf_dlmap_harq_ir_cc_spid
);
915 XBIT_HF(1, hf_dlmap_harq_ir_cc_ack_disable
);
916 XBIT_HF_VALUE(ddci
, 2, hf_dlmap_harq_ir_cc_dedicated_dl_control_indicator
);
917 XBIT_HF(2, hf_dlmap_reserved_uint
);
920 XBIT_HF_VALUE(dur
, 4, hf_dlmap_harq_ir_cc_duration
);
923 XBIT_HF(6, hf_dlmap_harq_ir_cc_allocation_index
);
924 XBIT_HF(3, hf_dlmap_harq_ir_cc_period
);
925 XBIT_HF(3, hf_dlmap_harq_ir_cc_frame_offset
);
928 if ((ddci
& 2) == 2) {
929 bit
+= Dedicated_DL_Control_IE(tree
, BIT_TO_NIB(bit
), length
, tvb
);
933 if (include_cor2_changes
)
935 /* CRC-16 is always appended */
936 calculated_crc
= wimax_mac_calc_crc16(tvb_get_ptr(tvb
, 0, BIT_TO_BYTE(bit
)), BIT_TO_BYTE(bit
));
937 proto_tree_add_checksum(tree
, tvb
, BIT_ADDR(bit
), hf_crc16
, hf_crc16_status
, &ei_crc16
, pinfo
, calculated_crc
,
938 ENC_BIG_ENDIAN
, PROTO_CHECKSUM_VERIFY
);
942 return (BIT_TO_NIB(bit
) - offset
);
945 static int MIMO_DL_Chase_HARQ_sub_burst_IE(proto_tree
*diuc_tree
, packet_info
*pinfo
, int offset
, int length
, tvbuff_t
*tvb
)
947 /* offset of IE in nibbles, length is variable */
951 int nsub
, mui
, dci
, akd
;
953 uint16_t calculated_crc
;
955 bit
= NIB_TO_BIT(offset
);
957 /* 8.4.5.3.21 table 286p */
958 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, BITHI(bit
, 1), ett_286p
, NULL
, "MIMO DL Chase HARQ sub-burst IE");
960 XBIT_HF_VALUE(nsub
, 4, hf_dlmap_n_sub_burst_isi
);
961 XBIT_HF(6, hf_dlmap_mimo_dl_chase_harq_n_ack_channel
);
964 for (j
= 0; j
< nsub
; j
++) {
965 XBIT_HF_VALUE(mui
, 1, hf_dlmap_mimo_dl_chase_harq_mu_indicator
);
966 XBIT_HF_VALUE(dci
, 1, hf_dlmap_mimo_dl_chase_harq_dedicated_mimo_dl_control_indicator
);
967 XBIT_HF_VALUE(akd
, 1, hf_dlmap_mimo_dl_chase_harq_ack_disable
);
969 bit
+= RCID_IE(tree
, bit
, length
, tvb
, RCID_Type
);
972 bit
+= Dedicated_MIMO_DL_Control_IE(tree
, bit
, length
, tvb
);
974 XBIT_HF(10, hf_dlmap_mimo_dl_chase_harq_duration
);
975 for (i
= 0; i
< N_layer
; i
++) {
977 bit
+= RCID_IE(tree
, bit
, length
, tvb
, RCID_Type
);
979 XBIT_HF(4, hf_dlmap_mimo_dl_chase_harq_diuc
);
980 XBIT_HF(2, hf_dlmap_mimo_dl_chase_harq_repetition_coding_indication
);
982 XBIT_HF(4, hf_dlmap_mimo_dl_chase_harq_acid
);
983 XBIT_HF(1, hf_dlmap_mimo_dl_chase_harq_ai_sn
);
987 /* Padding to nibble */
988 data
= BIT_PADDING(bit
, 4);
990 proto_tree_add_bytes_format_value(tree
, hf_padding
, tvb
, BITHI(bit
,data
), NULL
, "%d bits", data
);
994 if (include_cor2_changes
)
996 /* CRC-16 is always appended */
997 calculated_crc
= wimax_mac_calc_crc16(tvb_get_ptr(tvb
, 0, BIT_TO_BYTE(bit
)), BIT_TO_BYTE(bit
));
998 proto_tree_add_checksum(tree
, tvb
, BIT_ADDR(bit
), hf_crc16
, hf_crc16_status
, &ei_crc16
, pinfo
, calculated_crc
,
999 ENC_BIG_ENDIAN
, PROTO_CHECKSUM_VERIFY
);
1003 return (BIT_TO_NIB(bit
) - offset
);
1006 static int MIMO_DL_IR_HARQ_sub_burst_IE(proto_tree
*diuc_tree
, packet_info
*pinfo
, int offset
, int length
, tvbuff_t
*tvb
)
1008 /* offset of IE in nibbles, length is variable */
1011 int nsub
, mui
, dci
, akd
;
1013 uint16_t calculated_crc
;
1015 bit
= NIB_TO_BIT(offset
);
1017 /* 8.4.5.3.21 table 286q */
1018 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, BITHI(bit
, 4), ett_286q
, NULL
, "MIMO DL IR HARQ sub-burst IE");
1020 XBIT_HF_VALUE(nsub
, 4, hf_dlmap_n_sub_burst_isi
);
1021 XBIT_HF(6, hf_dlmap_mimo_dl_ir_harq_n_ack_channel
);
1024 for (j
= 0; j
< nsub
; j
++) {
1025 XBIT_HF_VALUE(mui
, 1, hf_dlmap_mimo_dl_ir_harq_mu_indicator
);
1026 XBIT_HF_VALUE(dci
, 1, hf_dlmap_mimo_dl_ir_harq_dedicated_mimo_dl_control_indicator
);
1027 XBIT_HF_VALUE(akd
, 1, hf_dlmap_mimo_dl_ir_harq_ack_disable
);
1029 bit
+= RCID_IE(tree
, bit
, length
, tvb
, RCID_Type
);
1032 bit
+= Dedicated_MIMO_DL_Control_IE(tree
, bit
, length
, tvb
);
1034 XBIT_HF(4, hf_dlmap_mimo_dl_ir_harq_nsch
);
1035 for (i
= 0; i
< N_layer
; i
++) {
1037 bit
+= RCID_IE(tree
, bit
, length
, tvb
, RCID_Type
);
1039 XBIT_HF(4, hf_dlmap_mimo_dl_ir_harq_nep
);
1041 XBIT_HF(2, hf_dlmap_mimo_dl_ir_harq_spid
);
1042 XBIT_HF(4, hf_dlmap_mimo_dl_ir_harq_acid
);
1043 XBIT_HF(1, hf_dlmap_mimo_dl_ir_harq_ai_sn
);
1048 if (include_cor2_changes
)
1050 /* CRC-16 is always appended */
1051 calculated_crc
= wimax_mac_calc_crc16(tvb_get_ptr(tvb
, 0, BIT_TO_BYTE(bit
)), BIT_TO_BYTE(bit
));
1052 proto_tree_add_checksum(tree
, tvb
, BIT_ADDR(bit
), hf_crc16
, hf_crc16_status
, &ei_crc16
, pinfo
, calculated_crc
,
1053 ENC_BIG_ENDIAN
, PROTO_CHECKSUM_VERIFY
);
1057 return (BIT_TO_NIB(bit
) - offset
);
1060 static int MIMO_DL_IR_HARQ_for_CC_sub_burst_IE(proto_tree
*diuc_tree
, packet_info
*pinfo
, int offset
, int length
, tvbuff_t
*tvb
)
1062 /* offset of IE in nibbles, length is variable */
1065 int nsub
, mui
, dci
, akd
;
1067 uint16_t calculated_crc
;
1069 bit
= NIB_TO_BIT(offset
);
1071 /* 8.4.5.3.21 table 286r */
1072 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, BITHI(bit
, 1), ett_286r
, NULL
, "MIMO DL IR HARQ for CC sub-burst IE");
1074 XBIT_HF_VALUE(nsub
, 4, hf_dlmap_n_sub_burst_isi
);
1075 XBIT_HF(6, hf_dlmap_mimo_dl_ir_harq_cc_n_ack_channel
);
1078 for (j
= 0; j
< nsub
; j
++) {
1079 XBIT_HF_VALUE(mui
, 1, hf_dlmap_mimo_dl_ir_harq_cc_mu_indicator
);
1080 XBIT_HF_VALUE(dci
, 1, hf_dlmap_mimo_dl_ir_harq_cc_dedicated_mimo_dl_control_indicator
);
1081 XBIT_HF_VALUE(akd
, 1, hf_dlmap_mimo_dl_ir_harq_cc_ack_disable
);
1083 bit
+= RCID_IE(tree
, bit
, length
, tvb
, RCID_Type
);
1086 bit
+= Dedicated_MIMO_DL_Control_IE(tree
, bit
, length
, tvb
);
1088 XBIT_HF(10, hf_dlmap_mimo_dl_ir_harq_cc_duration
);
1089 for (i
= 0; i
< N_layer
; i
++) {
1091 bit
+= RCID_IE(tree
, bit
, length
, tvb
, RCID_Type
);
1093 XBIT_HF(4, hf_dlmap_mimo_dl_ir_harq_cc_diuc
);
1094 XBIT_HF(2, hf_dlmap_mimo_dl_ir_harq_cc_repetition_coding_indication
);
1096 XBIT_HF(4, hf_dlmap_mimo_dl_ir_harq_cc_acid
);
1097 XBIT_HF(1, hf_dlmap_mimo_dl_ir_harq_cc_ai_sn
);
1098 XBIT_HF(2, hf_dlmap_mimo_dl_ir_harq_cc_spid
);
1103 if (include_cor2_changes
)
1105 /* CRC-16 is always appended */
1106 calculated_crc
= wimax_mac_calc_crc16(tvb_get_ptr(tvb
, 0, BIT_TO_BYTE(bit
)), BIT_TO_BYTE(bit
));
1107 proto_tree_add_checksum(tree
, tvb
, BIT_ADDR(bit
), hf_crc16
, hf_crc16_status
, &ei_crc16
, pinfo
, calculated_crc
,
1108 ENC_BIG_ENDIAN
, PROTO_CHECKSUM_VERIFY
);
1112 return (BIT_TO_NIB(bit
) - offset
);
1115 static int MIMO_DL_STC_HARQ_sub_burst_IE(proto_tree
*diuc_tree
, packet_info
*pinfo
, int offset
, int length
, tvbuff_t
*tvb
)
1117 /* offset of IE in nibbles, length is variable */
1120 int nsub
, sbi
, txc
, akd
, dmci
;
1122 uint16_t calculated_crc
;
1124 bit
= NIB_TO_BIT(offset
);
1126 /* 8.4.5.3.21 table 286s */
1127 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, BITHI(bit
, 1), ett_286s
, NULL
, "MIMO DL STC HARQ sub-burst IE");
1129 XBIT_HF_VALUE(nsub
, 4, hf_dlmap_n_sub_burst_isi
);
1130 XBIT_HF(6, hf_dlmap_mimo_dl_stc_harq_n_ack_channel
);
1133 for (j
= 0; j
< nsub
; j
++) {
1134 XBIT_HF_VALUE(txc
, 2, hf_dlmap_mimo_dl_stc_harq_tx_count
);
1135 XBIT_HF(10, hf_dlmap_mimo_dl_stc_harq_duration
);
1136 XBIT_HF_VALUE(sbi
, 1, hf_dlmap_mimo_dl_stc_harq_sub_burst_offset_indication
);
1137 XBIT_HF(3, hf_dlmap_reserved_uint
);
1139 XBIT_HF(8, hf_dlmap_mimo_dl_stc_harq_sub_burst_offset
);
1141 bit
+= RCID_IE(tree
, bit
, length
, tvb
, RCID_Type
);
1142 XBIT_HF_VALUE(akd
, 1, hf_dlmap_mimo_dl_stc_harq_ack_disable
);
1144 XBIT_HF_VALUE(dmci
, 1, hf_dlmap_mimo_dl_stc_harq_dedicated_mimo_dl_control_indicator
);
1146 bit
+= Dedicated_MIMO_DL_Control_IE(tree
, bit
, length
, tvb
);
1148 XBIT_HF(4, hf_dlmap_mimo_dl_stc_harq_diuc
);
1149 XBIT_HF(2, hf_dlmap_mimo_dl_stc_harq_repetition_coding_indication
);
1152 XBIT_HF(4, hf_dlmap_mimo_dl_stc_harq_acid
);
1156 if (include_cor2_changes
)
1158 /* CRC-16 is always appended */
1159 calculated_crc
= wimax_mac_calc_crc16(tvb_get_ptr(tvb
, 0, BIT_TO_BYTE(bit
)), BIT_TO_BYTE(bit
));
1160 proto_tree_add_checksum(tree
, tvb
, BIT_ADDR(bit
), hf_crc16
, hf_crc16_status
, &ei_crc16
, pinfo
, calculated_crc
,
1161 ENC_BIG_ENDIAN
, PROTO_CHECKSUM_VERIFY
);
1165 return (BIT_TO_NIB(bit
) - offset
);
1168 /********************************************************************
1169 * DL-MAP Extended-2 IEs
1170 *******************************************************************/
1172 static int MBS_MAP_IE(proto_tree
*diuc_tree
, int offset
, int length
, tvbuff_t
*tvb
)
1174 /* DL-MAP Extended-2 IE = 0 */
1175 /* 8.4.5.3.12 MBS_MAP_IE */
1176 /* offset of TLV in nibbles, length of TLV in nibbles */
1182 bit
= NIB_TO_BIT(offset
);
1184 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, NIBHI(offset
, length
), ett_286a
, NULL
, "MBS_MAP_IE");
1186 XBIT_HF(4, hf_dlmap_mbs_map_extended_2_diuc
);
1187 VBIT(data
, 8, hf_dlmap_ie_length
);
1189 XBIT_HF(7, hf_dlmap_mbs_map_mbs_zone_identifier
);
1190 XBIT_HF_VALUE(mde
, 1, hf_dlmap_mbs_map_macro_diversity_enhanced
);
1193 XBIT_HF(2, hf_dlmap_mbs_map_permutation
);
1194 XBIT_HF(5, hf_dlmap_mbs_map_dl_permbase
);
1195 XBIT_HF(2, hf_dlmap_mbs_map_prbs_id
);
1196 XBIT_HF(7, hf_dlmap_mbs_map_ofdma_symbol_offset
);
1197 XBIT_HF_VALUE(dci
, 1, hf_dlmap_mbs_map_diuc_change_indication
);
1198 XBIT_HF(3, hf_dlmap_reserved_uint
);
1200 XBIT_HF(3, hf_dlmap_reserved_uint
);
1201 XBIT_HF(3, hf_dlmap_mbs_map_boosting
);
1202 XBIT_HF(4, hf_dlmap_mbs_map_diuc
);
1203 XBIT_HF(6, hf_dlmap_mbs_map_num_subchannels
);
1204 XBIT_HF(6, hf_dlmap_mbs_map_num_ofdma_symbols
);
1205 XBIT_HF(2, hf_dlmap_mbs_map_repetition_coding_indication
);
1208 XBIT_HF(4, hf_dlmap_mbs_map_diuc
);
1209 XBIT_HF(16, hf_dlmap_mbs_map_cid
);
1210 XBIT_HF(8, hf_dlmap_mbs_map_ofdma_symbols_offset
);
1211 XBIT_HF(6, hf_dlmap_mbs_map_subchannel_offset
);
1212 XBIT_HF(3, hf_dlmap_mbs_map_boosting
);
1213 XBIT_HF_VALUE(s3i
, 1, hf_dlmap_mbs_map_slc_3_indication
);
1214 XBIT_HF(6, hf_dlmap_mbs_map_num_ofdma_symbols
);
1215 XBIT_HF(6, hf_dlmap_mbs_map_num_subchannels
);
1216 XBIT_HF(2, hf_dlmap_mbs_map_repetition_coding_indication
);
1218 XBIT_HF(8, hf_dlmap_mbs_map_next_mbs_map_ie_frame_offset
);
1221 data
= BIT_PADDING(bit
, 4);
1223 proto_tree_add_bytes_format_value(tree
, hf_padding
, tvb
, BITHI(bit
,data
), NULL
, "%d bits", data
);
1226 return BIT_TO_NIB(bit
);
1229 static int HO_Anchor_Active_DL_MAP_IE(proto_tree
*diuc_tree
, packet_info
*pinfo
, int offset
, int length
, tvbuff_t
*tvb
)
1231 /* DL-MAP Extended-2 IE = 1 */
1232 /* 8.4.5.3.14 [2] HO_Anchor_Active_DL-MAP_IE TODO 1.1 */
1233 /* offset of TLV in nibbles, length of TLV in nibbles */
1240 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, NIBHI(offset
, length
), ett_286c
, NULL
, "HO_Anchor_Active_DL_MAP_IE");
1242 VNIB(data
, 1, hf_dlmap_ie_diuc_ext2
);
1243 VNIB(data
, 2, hf_dlmap_ie_length
);
1244 proto_tree_add_expert(diuc_tree
, pinfo
, &ei_dlmap_not_implemented
, tvb
, NIBHI(nib
, length
-3));
1248 static int HO_Active_Anchor_DL_MAP_IE(proto_tree
*diuc_tree
, packet_info
*pinfo
, int offset
, int length
, tvbuff_t
*tvb
)
1250 /* DL-MAP Extended-2 IE = 2 */
1251 /* 8.4.5.3.15 HO_Active_Anchor_DL_MAP_IE TODO 1.1 */
1252 /* offset of TLV in nibbles, length of TLV in nibbles */
1259 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, NIBHI(offset
, length
), ett_286d
, NULL
, "HO_Active_Anchor_DL_MAP_IE");
1261 VNIB(data
, 1, hf_dlmap_ie_diuc_ext2
);
1262 VNIB(data
, 2, hf_dlmap_ie_length
);
1263 proto_tree_add_expert(diuc_tree
, pinfo
, &ei_dlmap_not_implemented
, tvb
, NIBHI(nib
, length
-3));
1267 static int HO_CID_Translation_MAP_IE(proto_tree
*diuc_tree
, packet_info
*pinfo
, int offset
, int length
, tvbuff_t
*tvb
)
1269 /* DL-MAP Extended-2 IE = 3 */
1270 /* 8.4.5.3.16 HO_CID_Translation_MAP_IE TODO 1.1 */
1271 /* offset of TLV in nibbles, length of TLV in nibbles */
1278 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, NIBHI(offset
, length
), ett_286e
, NULL
, "CID_Translation_MAP_IE");
1280 VNIB(data
, 1, hf_dlmap_ie_diuc_ext2
);
1281 VNIB(data
, 2, hf_dlmap_ie_length
);
1282 proto_tree_add_expert(diuc_tree
, pinfo
, &ei_dlmap_not_implemented
, tvb
, NIBHI(nib
, length
-3));
1286 static int MIMO_in_another_BS_IE(proto_tree
*diuc_tree
, packet_info
*pinfo
, int offset
, int length
, tvbuff_t
*tvb
)
1288 /* DL-MAP Extended-2 IE = 4 */
1289 /* 8.4.5.3.17 [2] MIMO_in_another_BS_IE (not implemented)*/
1290 /* offset of TLV in nibbles, length of TLV in nibbles */
1297 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, NIBHI(offset
, length
), ett_286f
, NULL
, "MIMO_in_another_BS_IE");
1299 VNIB(data
, 1, hf_dlmap_ie_diuc_ext2
);
1300 VNIB(data
, 2, hf_dlmap_ie_length
);
1301 proto_tree_add_expert(diuc_tree
, pinfo
, &ei_dlmap_not_implemented
, tvb
, NIBHI(nib
, length
-3));
1305 static int Macro_MIMO_DL_Basic_IE(proto_tree
*diuc_tree
, packet_info
*pinfo
, int offset
, int length
, tvbuff_t
*tvb
)
1307 /* dl-map extended-2 ie = 5 */
1308 /* 8.4.5.3.18 [2] Macro-MIMO_DL_Basic_IE (not implemented) */
1309 /* offset of tlv in nibbles, length of tlv in nibbles */
1316 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, NIBHI(offset
, length
), ett_286g
, NULL
, "Macro_MIMO_DL_Basic_IE");
1318 VNIB(data
, 1, hf_dlmap_ie_diuc_ext2
);
1319 VNIB(data
, 2, hf_dlmap_ie_length
);
1320 proto_tree_add_expert(diuc_tree
, pinfo
, &ei_dlmap_not_implemented
, tvb
, NIBHI(nib
, length
-3));
1324 static int Skip_IE(proto_tree
*diuc_tree
, int offset
, int length
, tvbuff_t
*tvb
)
1326 /* DL-MAP Extended-2 IE = 6 */
1327 /* 8.4.5.3.20.2 Skip_IE */
1328 /* offset of TLV in nibbles, length of TLV in nibbles */
1333 bit
= NIB_TO_BIT(offset
);
1335 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, NIBHI(offset
, length
), ett_286k
, NULL
, "Skip_IE");
1337 XBIT_HF(4, hf_dlmap_skip_extended_2_diuc
);
1338 VBIT(data
, 8, hf_dlmap_ie_length
);
1340 XBIT_HF(1, hf_dlmap_skip_mode
);
1341 XBIT_HF(7, hf_dlmap_reserved_uint
);
1343 return BIT_TO_NIB(bit
);
1346 static int HARQ_DL_MAP_IE(proto_tree
*diuc_tree
, packet_info
*pinfo
, int offset
, int length
, tvbuff_t
*tvb
)
1348 /* DL-MAP Extended-2 IE = 7 */
1349 /* 8.4.5.3.21 [2] HARQ_DL_MAP_IE */
1350 /* offset of TLV in nibbles, length of TLV in nibbles */
1353 int len
, lastbit
, rui
, mode
, sub_len
, pad
;
1355 bit
= NIB_TO_BIT(offset
);
1357 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, NIBHI(offset
, length
), ett_286l
, NULL
, "HARQ_DL_MAP_IE");
1359 XBIT_HF(4, hf_dlmap_harq_dl_map_extended_2_diuc
);
1360 VBIT(len
, 2, hf_dlmap_ie_length
);
1362 XBIT_HF_VALUE(RCID_Type
, 2, hf_dlmap_harq_dl_map_rcid_type
);
1363 XBIT_HF(2, hf_dlmap_reserved_uint
);
1365 /* while data remains */
1366 length
= NIB_TO_BIT(length
);
1367 /* Subtract extra nibble to be sure to stop in time. */
1368 lastbit
= bit
+ BYTE_TO_BIT(len
) - 14 - 4;
1369 while (bit
< lastbit
) {
1370 XBIT_HF(3, hf_dlmap_harq_dl_map_boosting
);
1371 XBIT_HF_VALUE(rui
, 1, hf_dlmap_harq_dl_map_region_id_use_indicator
);
1374 XBIT_HF(8, hf_dlmap_harq_dl_map_ofdma_symbol_offset
);
1375 XBIT_HF(7, hf_dlmap_harq_dl_map_subchannel_offset
);
1376 XBIT_HF(7, hf_dlmap_harq_dl_map_number_of_ofdma_symbols
);
1377 XBIT_HF(7, hf_dlmap_harq_dl_map_number_of_subchannels
);
1378 if (include_cor2_changes
)
1380 XBIT_HF(1, hf_dlmap_harq_dl_map_rectangular_sub_burst_indicator
); /* Implemented: "Rectangular Sub-Burst Indicator" field added */
1381 XBIT_HF(2, hf_dlmap_reserved_uint
); /* and "Reserved" field resized from 3 bits to 2 bits */
1385 XBIT_HF(3, hf_dlmap_reserved_uint
);
1388 XBIT_HF(8, hf_dlmap_harq_dl_map_region_id
);
1390 XBIT_HF_VALUE(mode
, 4, hf_dlmap_harq_dl_map_mode
);
1391 XBIT_HF_VALUE(sub_len
, 8, hf_dlmap_harq_dl_map_sub_burst_ie_length
);
1394 /* length of these are variable, each returns length in nibbles */
1396 DL_HARQ_Chase_sub_burst_IE(tree
, BIT_TO_NIB(bit
), length
, tvb
);
1397 } else if (mode
== 1) {
1398 DL_HARQ_IR_CTC_sub_burst_IE(tree
, pinfo
, BIT_TO_NIB(bit
), length
, tvb
);
1399 } else if (mode
== 2) {
1400 DL_HARQ_IR_CC_sub_burst_IE(tree
, pinfo
, BIT_TO_NIB(bit
), length
, tvb
);
1401 } else if (mode
== 3) {
1402 MIMO_DL_Chase_HARQ_sub_burst_IE(tree
, pinfo
, BIT_TO_NIB(bit
), length
, tvb
);
1403 } else if (mode
== 4) {
1404 MIMO_DL_IR_HARQ_sub_burst_IE(tree
, pinfo
, BIT_TO_NIB(bit
), length
, tvb
);
1405 } else if (mode
== 5) {
1406 MIMO_DL_IR_HARQ_for_CC_sub_burst_IE(tree
, pinfo
, BIT_TO_NIB(bit
), length
, tvb
);
1407 } else if (mode
== 6) {
1408 MIMO_DL_STC_HARQ_sub_burst_IE(tree
, pinfo
, BIT_TO_NIB(bit
), length
, tvb
);
1410 proto_tree_add_bits_item(tree
, hf_dlmap_harq_dl_map_reserved_mode
, tvb
, bit
, 1, ENC_BIG_ENDIAN
);
1411 break; /* cannot continue */
1413 bit
+= NIB_TO_BIT(sub_len
);
1416 pad
= NIB_TO_BIT(offset
) + length
- bit
;
1418 proto_tree_add_bytes_format_value(tree
, hf_padding
, tvb
, BITHI(bit
,pad
), NULL
, "%d bits",pad
);
1422 return BIT_TO_NIB(bit
);
1425 static int HARQ_ACK_IE(proto_tree
*diuc_tree
, int offset
, int length
, tvbuff_t
*tvb
)
1427 /* DL-MAP Extended-2 IE = 8 */
1428 /* 8.4.5.3.22 HARQ_ACK IE */
1429 /* offset of TLV in nibbles, length of TLV in nibbles */
1436 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, NIBHI(offset
, length
), ett_286u
, NULL
, "HARQ_ACK_IE");
1438 VNIB(data
, 1, hf_dlmap_ie_diuc_ext2
);
1439 VNIB(data
, 2, hf_dlmap_ie_length
);
1441 proto_tree_add_item(diuc_tree
, hf_dlmap_harq_ack_bitmap_data
, tvb
, NIBHI(nib
,length
-3), ENC_NA
);
1446 static int Enhanced_DL_MAP_IE(proto_tree
*diuc_tree
, int offset
, int length
, tvbuff_t
*tvb
)
1448 /* DL-MAP Extended-2 IE = 9 */
1449 /* 8.4.5.3.23 Enhanced DL MAP IE */
1450 /* offset of TLV in nibbles, length of TLV in nibbles */
1457 bit
= NIB_TO_BIT(offset
);
1459 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, NIBHI(offset
, length
), ett_286v
, NULL
, "Enhanced_DL-MAP_IE");
1461 XBIT_HF(4, hf_dlmap_enhanced_dl_map_extended_2_diuc
);
1462 VBIT(data
, 8, hf_dlmap_ie_length
);
1464 XBIT_HF_VALUE(numass
, 4, hf_dlmap_enhanced_dl_map_num_assignment
);
1465 for (i
= 0; i
< numass
; i
++) {
1467 XBIT_HF_VALUE(n_cid
, 8, hf_dlmap_enhanced_dl_map_n_cid
);
1468 for (n
= 0; n
< n_cid
; n
++) {
1469 XBIT_HF(16, hf_dlmap_enhanced_dl_map_cid
);
1472 XBIT_HF(4, hf_dlmap_enhanced_dl_map_diuc
);
1473 XBIT_HF(3, hf_dlmap_enhanced_dl_map_boosting
);
1474 XBIT_HF(2, hf_dlmap_enhanced_dl_map_repetition_coding_indication
);
1475 XBIT_HF(8, hf_dlmap_enhanced_dl_map_region_id
);
1476 XBIT_HF(3, hf_dlmap_reserved_uint
);
1478 return BIT_TO_NIB(bit
);
1481 static int Closed_loop_MIMO_DL_Enhanced_IE(proto_tree
*diuc_tree
, packet_info
*pinfo
, int offset
, int length
, tvbuff_t
*tvb
)
1483 /* DL-MAP Extended-2 IE = 0xA */
1484 /* 8.4.5.3.24 Closed-loop MIMO DL Enhanced IE (not implemented) */
1485 /* offset of TLV in nibbles, length of TLV in nibbles */
1492 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, NIBHI(offset
, length
), ett_286w
, NULL
, "CL_MIMO_DL_Enhanced_IE");
1494 VNIB(data
, 1, hf_dlmap_ie_diuc_ext2
);
1495 VNIB(data
, 2, hf_dlmap_ie_length
);
1496 proto_tree_add_expert(diuc_tree
, pinfo
, &ei_dlmap_not_implemented
, tvb
, NIBHI(nib
, length
-3));
1500 static int AAS_SDMA_DL_IE(proto_tree
*diuc_tree
, int offset
, int length
, tvbuff_t
*tvb
)
1502 /* DL-MAP Extended-2 IE = 0xE */
1503 /* 8.4.5.3.26 AAS_SDMA_DL_IE */
1504 /* offset of TLV in nibbles, length of TLV in nibbles */
1508 int num_region
, num_users
, pilot_pattern
, encoding_mode
, ackch_alloc
, cqich_alloc
;
1509 int aas_preamble
= 1;
1510 int zone_permut
= 0; /* TODO */
1513 bit
= NIB_TO_BIT(offset
);
1515 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, NIBHI(offset
, length
), ett_286y
, NULL
, "AAS_SDMA_DL_IE");
1517 XBIT_HF(4, hf_dlmap_aas_sdma_dl_extended_2_diuc
);
1518 VBIT(data
, 8, hf_dlmap_ie_length
);
1520 XBIT_HF_VALUE(RCID_Type
, 2, hf_dlmap_aas_sdma_dl_rcid_type
);
1521 XBIT_HF_VALUE(num_region
, 4, hf_dlmap_aas_sdma_dl_num_burst_region
);
1522 XBIT_HF(2, hf_dlmap_reserved_uint
);
1523 for (i
= 0; i
< num_region
; i
++) {
1524 XBIT_HF(8, hf_dlmap_aas_sdma_dl_ofdma_symbol_offset
);
1525 if (zone_permut
== 0) {
1526 XBIT_HF(8, hf_dlmap_aas_sdma_dl_subchannel_offset
);
1527 XBIT_HF(5, hf_dlmap_aas_sdma_dl_num_ofdma_triple_symbols
);
1528 XBIT_HF(6, hf_dlmap_aas_sdma_dl_num_subchannels
);
1530 XBIT_HF(6, hf_dlmap_aas_sdma_dl_subchannel_offset
);
1531 XBIT_HF(7, hf_dlmap_aas_sdma_dl_num_ofdma_triple_symbols
);
1532 XBIT_HF(6, hf_dlmap_aas_sdma_dl_num_subchannels
);
1534 XBIT_HF_VALUE(num_users
, 3, hf_dlmap_aas_sdma_dl_number_of_users
);
1535 XBIT_HF(2, hf_dlmap_reserved_uint
);
1536 for (j
= 0; j
< num_users
; j
++) {
1537 bit
+= RCID_IE(tree
, bit
, length
, tvb
, RCID_Type
);
1538 XBIT_HF_VALUE(encoding_mode
, 2, hf_dlmap_aas_sdma_dl_encoding_mode
);
1539 XBIT_HF_VALUE(cqich_alloc
, 1, hf_dlmap_aas_sdma_dl_cqich_allocation
);
1540 XBIT_HF_VALUE(ackch_alloc
, 1, hf_dlmap_aas_sdma_dl_ackch_allocation
);
1541 XBIT_HF_VALUE(pilot_pattern
, 1, hf_dlmap_aas_sdma_dl_pilot_pattern_modifier
);
1543 XBIT_HF(4, hf_dlmap_aas_sdma_dl_preamble_modifier_index
);
1545 if (pilot_pattern
) {
1546 XBIT_HF(2, hf_dlmap_aas_sdma_dl_pilot_pattern
);
1547 XBIT_HF(1, hf_dlmap_reserved_uint
);
1549 XBIT_HF(3, hf_dlmap_reserved_uint
);
1551 if (encoding_mode
== 0x0) {
1552 XBIT_HF(4, hf_dlmap_aas_sdma_dl_diuc
);
1553 XBIT_HF(2, hf_dlmap_aas_sdma_dl_repetition_coding_indication
);
1554 XBIT_HF(2, hf_dlmap_reserved_uint
);
1556 if (encoding_mode
== 0x1) {
1558 XBIT_HF(5, hf_dlmap_aas_sdma_dl_ack_ch_index
);
1560 XBIT_HF(1, hf_dlmap_reserved_uint
);
1562 XBIT_HF(4, hf_dlmap_aas_sdma_dl_diuc
);
1563 XBIT_HF(2, hf_dlmap_aas_sdma_dl_repetition_coding_indication
);
1564 XBIT_HF(4, hf_dlmap_aas_sdma_dl_acid
);
1565 XBIT_HF(1, hf_dlmap_aas_sdma_dl_ai_sn
);
1567 if (encoding_mode
== 0x2) {
1569 XBIT_HF(5, hf_dlmap_aas_sdma_dl_ack_ch_index
);
1571 XBIT_HF(1, hf_dlmap_reserved_uint
);
1573 XBIT_HF(4, hf_dlmap_aas_sdma_dl_nep
);
1574 XBIT_HF(4, hf_dlmap_aas_sdma_dl_nsch
);
1575 XBIT_HF(2, hf_dlmap_aas_sdma_dl_spid
);
1576 XBIT_HF(4, hf_dlmap_aas_sdma_dl_acid
);
1577 XBIT_HF(1, hf_dlmap_aas_sdma_dl_ai_sn
);
1579 if (encoding_mode
== 0x3) {
1581 XBIT_HF(5, hf_dlmap_aas_sdma_dl_ack_ch_index
);
1582 XBIT_HF(2, hf_dlmap_reserved_uint
);
1584 XBIT_HF(3, hf_dlmap_reserved_uint
);
1586 XBIT_HF(4, hf_dlmap_aas_sdma_dl_diuc
);
1587 XBIT_HF(2, hf_dlmap_aas_sdma_dl_repetition_coding_indication
);
1588 XBIT_HF(2, hf_dlmap_aas_sdma_dl_spid
);
1589 XBIT_HF(4, hf_dlmap_aas_sdma_dl_acid
);
1590 XBIT_HF(1, hf_dlmap_aas_sdma_dl_ai_sn
);
1593 XBIT_HF(6, hf_dlmap_aas_sdma_dl_allocation_index
);
1594 XBIT_HF(3, hf_dlmap_aas_sdma_dl_period
);
1595 XBIT_HF(3, hf_dlmap_aas_sdma_dl_frame_offset
);
1596 XBIT_HF(4, hf_dlmap_aas_sdma_dl_duration
);
1600 data
= BIT_PADDING(bit
,4);
1601 /* Should this be an optional field? Or do we want it, even if it has a length of zero? */
1602 proto_tree_add_bytes_format_value(tree
, hf_padding
, tvb
, BITHI(bit
,data
), NULL
, "%d bits", data
);
1605 return BIT_TO_NIB(bit
);
1610 /********************************************************************
1611 * DL-MAP Extended IEs
1612 *******************************************************************/
1614 static int Channel_Measurement_IE(proto_tree
*diuc_tree
, int offset
, int length
, tvbuff_t
*tvb
)
1616 /* DL-MAP Extended IE = 0 */
1617 /* 8.4.5.3.5 [1] Channel_Measurement_IE */
1618 /* offset of TLV in nibbles, length of TLV in nibbles */
1625 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, NIBHI(offset
, length
), ett_280
, NULL
, "Channel_Measurement_IE");
1627 VNIB(data
, 1, hf_dlmap_ie_diuc_ext
);
1628 VNIB(data
, 1, hf_dlmap_ie_length
);
1630 VNIB(data
, 2, hf_dlmap_channel_measurement_channel_nr
);
1631 VNIB(data
, 2, hf_dlmap_channel_measurement_ofdma_symbol_offset
);
1632 VNIB(data
, 4, hf_dlmap_channel_measurement_cid
);
1636 static int STC_Zone_IE(proto_tree
*diuc_tree
, int offset
, int length
, tvbuff_t
*tvb
)
1638 /* DL-MAP Extended IE = 1 */
1639 /* 8.4.5.3.4 STC_Zone_IE */
1640 /* offset of TLV in nibbles, length of TLV in nibbles */
1641 /* set globals: STC_Zone_Dedicated_Pilots, STC_Zone_Matrix
1642 * used in 8.4.5.3.21.1 Dedicated MIMO Control IE 286t */
1647 bit
= NIB_TO_BIT(offset
);
1649 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, NIBHI(offset
, length
), ett_279
, NULL
, "STC_Zone_IE");
1651 VBIT(data
, 4, hf_dlmap_ie_diuc_ext
);
1652 VBIT(data
, 4, hf_dlmap_ie_length
);
1654 XBIT_HF(8, hf_dlmap_stc_zone_ofdma_symbol_offset
);
1655 XBIT_HF(2, hf_dlmap_stc_zone_permutations
);
1656 XBIT_HF(1, hf_dlmap_stc_zone_use_all_sc_indicator
);
1657 XBIT_HF(2, hf_dlmap_stc_zone_stc
);
1658 XBIT_HF_VALUE(STC_Zone_Matrix
, 2, hf_dlmap_stc_zone_matrix_indicator
);
1659 XBIT_HF(5, hf_dlmap_stc_zone_dl_permbase
);
1660 XBIT_HF(2, hf_dlmap_stc_zone_prbs_id
);
1661 XBIT_HF(2, hf_dlmap_stc_zone_amc_type
);
1662 XBIT_HF(1, hf_dlmap_stc_zone_midamble_presence
);
1663 XBIT_HF(1, hf_dlmap_stc_zone_midamble_boosting
);
1664 XBIT_HF(1, hf_dlmap_stc_zone_2_3_antenna_select
);
1665 XBIT_HF_VALUE(STC_Zone_Dedicated_Pilots
, 1, hf_dlmap_stc_zone_dedicated_pilots
);
1666 XBIT_HF(4, hf_dlmap_reserved_uint
);
1668 return BIT_TO_NIB(bit
);
1671 static int AAS_DL_IE(proto_tree
*diuc_tree
, int offset
, int length
, tvbuff_t
*tvb
)
1673 /* DL-MAP Extended IE = 2 */
1674 /* 8.4.5.3.3 AAS_DL_IE */
1675 /* offset of TLV in nibbles, length of TLV in nibbles */
1680 bit
= NIB_TO_BIT(offset
);
1682 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, NIBHI(offset
, length
), ett_278
, NULL
, "AAS_DL_IE");
1684 VBIT(data
, 4, hf_dlmap_ie_diuc_ext
);
1685 VBIT(data
, 4, hf_dlmap_ie_length
);
1687 XBIT_HF(8, hf_dlmap_aas_dl_ofdma_symbol_offset
);
1688 XBIT_HF(3, hf_dlmap_aas_dl_permutation
);
1689 XBIT_HF(6, hf_dlmap_aas_dl_dl_permbase
);
1690 XBIT_HF(2, hf_dlmap_aas_dl_downlink_preamble_config
);
1691 XBIT_HF(1, hf_dlmap_aas_dl_preamble_type
);
1692 XBIT_HF(2, hf_dlmap_aas_dl_prbs_id
);
1693 XBIT_HF(1, hf_dlmap_aas_dl_diversity_map
);
1694 XBIT_HF(1, hf_dlmap_reserved_uint
);
1696 return BIT_TO_NIB(bit
);
1699 static int Data_location_in_another_BS_IE(proto_tree
*diuc_tree
, int offset
, int length
, tvbuff_t
*tvb
)
1701 /* DL-MAP Extended IE = 3 */
1702 /* 8.4.5.3.6 Data_location_in_another_BS_IE */
1703 /* offset of TLV in nibbles, length of TLV in nibbles */
1708 bit
= NIB_TO_BIT(offset
);
1710 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, NIBHI(offset
, length
), ett_281
, NULL
, "Data location in another BS IE");
1712 VBIT(data
, 4, hf_dlmap_ie_diuc_ext
);
1713 VBIT(data
, 4, hf_dlmap_ie_length
);
1715 XBIT_HF(2, hf_dlmap_data_location_another_bs_segment
);
1716 XBIT_HF(6, hf_dlmap_data_location_another_bs_used_subchannels
);
1717 XBIT_HF(4, hf_dlmap_data_location_another_bs_diuc
);
1718 XBIT_HF(3, hf_dlmap_data_location_another_bs_frame_advance
);
1719 XBIT_HF(1, hf_dlmap_reserved_uint
);
1720 XBIT_HF(8, hf_dlmap_data_location_another_bs_ofdma_symbol_offset
);
1721 XBIT_HF(6, hf_dlmap_data_location_another_bs_subchannel_offset
);
1722 XBIT_HF(3, hf_dlmap_data_location_another_bs_boosting
);
1723 XBIT_HF(7, hf_dlmap_data_location_another_bs_preamble_index
);
1724 XBIT_HF(8, hf_dlmap_data_location_another_bs_num_ofdma_symbols
);
1725 XBIT_HF(6, hf_dlmap_data_location_another_bs_num_subchannels
);
1726 XBIT_HF(2, hf_dlmap_data_location_another_bs_repetition_coding_indication
);
1727 XBIT_HF(16, hf_dlmap_data_location_another_bs_cid
);
1729 return BIT_TO_NIB(bit
);
1732 static int CID_Switch_IE(proto_tree
*diuc_tree
, int offset
, int length
, tvbuff_t
*tvb
)
1734 /* DL-MAP Extended IE = 4 */
1735 /* 8.4.5.3.7 [1] CID_Switch_IE */
1736 /* offset of TLV in nibbles, length of TLV in nibbles */
1743 INC_CID
= INC_CID
? 0 : 1;
1745 tree
= proto_tree_add_subtree_format(diuc_tree
, tvb
, NIBHI(offset
, length
), ett_282
, NULL
, "CID_Switch_IE (INC_CID = %d)", INC_CID
);
1747 VNIB(data
, 1, hf_dlmap_ie_diuc_ext
);
1748 VNIB(data
, 1, hf_dlmap_ie_length
);
1753 static int MIMO_DL_Basic_IE(proto_tree
*diuc_tree
, packet_info
*pinfo
, int offset
, int length
, tvbuff_t
*tvb
)
1755 /* DL-MAP Extended IE = 5 */
1756 /* 8.4.5.3.8 MIMO_DL_Basic_IE (not implemented) */
1757 /* offset of TLV in nibbles, length of TLV in nibbles */
1764 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, NIBHI(offset
, length
), ett_283
, NULL
, "MIMO_DL_Basic_IE");
1766 VNIB(data
, 1, hf_dlmap_ie_diuc_ext2
);
1767 VNIB(data
, 2, hf_dlmap_ie_length
);
1768 proto_tree_add_expert(diuc_tree
, pinfo
, &ei_dlmap_not_implemented
, tvb
, NIBHI(nib
, length
-2));
1772 static int MIMO_DL_Enhanced_IE(proto_tree
*diuc_tree
, packet_info
*pinfo
, int offset
, int length
, tvbuff_t
*tvb
)
1774 /* DL-MAP Extended IE = 6 */
1775 /* 8.4.5.3.9 MIMO_DL_Enhanced_IE (not implemented) */
1776 /* offset of TLV in nibbles, length of TLV in nibbles */
1783 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, NIBHI(offset
, length
), ett_284
, NULL
, "MIMO_DL_Enhanced_IE");
1785 VNIB(data
, 1, hf_dlmap_ie_diuc_ext2
);
1786 VNIB(data
, 2, hf_dlmap_ie_length
);
1787 proto_tree_add_expert(diuc_tree
, pinfo
, &ei_dlmap_not_implemented
, tvb
, NIBHI(nib
, length
-2));
1791 static int HARQ_Map_Pointer_IE(proto_tree
*diuc_tree
, int offset
, int length
, tvbuff_t
*tvb
)
1793 /* DL-MAP Extended IE = 7 */
1794 /* 8.4.5.3.10 [2] HARQ_Map_Pointer_IE */
1795 /* offset of TLV in nibbles, length of TLV in nibbles */
1799 int length_in_bits
, map
, mask_len
;
1801 bit
= NIB_TO_BIT(offset
);
1803 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, NIBHI(offset
, length
), ett_285
, NULL
, "HARQ_Map_Pointer_IE");
1805 VBIT(data
, 4, hf_dlmap_ie_diuc_ext
);
1806 VBIT(data
, 4, hf_dlmap_ie_length
);
1808 length_in_bits
= NIB_TO_BIT(length
-1);
1809 while (bit
< length_in_bits
) {
1810 XBIT_HF(4, hf_dlmap_harq_map_pointer_diuc
);
1811 XBIT_HF(8, hf_dlmap_harq_map_pointer_num_slots
);
1812 XBIT_HF(2, hf_dlmap_harq_map_pointer_repetition_coding_indication
);
1813 XBIT_HF_VALUE(map
, 2, hf_dlmap_harq_map_pointer_map_version
);
1815 XBIT_HF(1, hf_dlmap_harq_map_pointer_idle_users
);
1816 XBIT_HF(1, hf_dlmap_harq_map_pointer_sleep_users
);
1817 XBIT_HF_VALUE(mask_len
, 2, hf_dlmap_harq_map_pointer_cid_mask_length
);
1818 if (mask_len
== 0) {
1820 proto_tree_add_bytes_format_value(diuc_tree
, hf_cid_mask
, tvb
, BITHI(bit
,12), NULL
, "12 bits");
1822 } else if (mask_len
== 1) {
1824 proto_tree_add_bytes_format_value(diuc_tree
, hf_cid_mask
, tvb
, BITHI(bit
,20), NULL
, "20 bits");
1826 } else if (mask_len
== 2) {
1828 proto_tree_add_bytes_format_value(diuc_tree
, hf_cid_mask
, tvb
, BITHI(bit
,36), NULL
, "36 bits");
1830 } else if (mask_len
== 3) {
1832 proto_tree_add_bytes_format_value(diuc_tree
, hf_cid_mask
, tvb
, BITHI(bit
,52), NULL
, "52 bits");
1837 return BIT_TO_NIB(bit
);
1840 static int PHYMOD_DL_IE(proto_tree
*diuc_tree
, int offset
, int length
, tvbuff_t
*tvb
)
1842 /* DL-MAP Extended IE = 8 */
1843 /* 8.4.5.3.11 PHYMOD_DL_IE */
1844 /* offset of TLV in nibbles, length of TLV in nibbles */
1850 bit
= NIB_TO_BIT(offset
);
1852 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, NIBHI(offset
, length
), ett_286
, NULL
, "PHYMOD_DL_IE");
1854 VBIT(data
, 4, hf_dlmap_ie_diuc_ext
);
1855 VBIT(data
, 4, hf_dlmap_ie_length
);
1857 XBIT_HF_VALUE(pmt
, 1, hf_dlmap_phymod_dl_preamble_modifier_type
);
1859 XBIT_HF(4, hf_dlmap_phymod_dl_preamble_frequency_shift_index
);
1861 XBIT_HF(4, hf_dlmap_phymod_dl_preamble_time_shift_index
);
1863 XBIT_HF(1, hf_dlmap_phymod_dl_pilot_pattern_modifier
);
1864 XBIT_HF(2, hf_dlmap_phymod_dl_pilot_pattern_index
);
1866 return BIT_TO_NIB(bit
);
1869 static int Broadcast_Control_Pointer_IE(proto_tree
*diuc_tree
, int offset
, int length
, tvbuff_t
*tvb
)
1871 /* DL-MAP Extended IE = 0xA */
1872 /* 8.4.5.3.25 Broadcast Control Pointer IE */
1873 /* offset of TLV in nibbles, length of TLV in nibbles */
1879 bit
= NIB_TO_BIT(offset
);
1881 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, NIBHI(offset
, length
), ett_286x
, NULL
, "Broadcast Control Pointer IE");
1883 VBIT(data
, 4, hf_dlmap_ie_diuc_ext
);
1884 VBIT(data
, 4, hf_dlmap_ie_length
);
1886 XBIT_HF(7, hf_dlmap_broadcast_ctrl_ptr_dcd_ucd_transmission_frame
);
1887 XBIT_HF_VALUE(skip
, 1, hf_dlmap_broadcast_ctrl_ptr_skip_broadcast_system_update
);
1889 XBIT_HF(1, hf_dlmap_broadcast_ctrl_ptr_broadcast_system_update_type
);
1890 XBIT_HF(7, hf_dlmap_broadcast_ctrl_ptr_broadcast_system_update_transmission_frame
);
1892 return BIT_TO_NIB(bit
);
1895 static int DL_PUSC_Burst_Allocation_in_Other_Segment_IE(proto_tree
*diuc_tree
, int offset
, int length
, tvbuff_t
*tvb
)
1897 /* DL-MAP Extended IE = 0xB */
1898 /* 8.4.5.3.13 DL PUSC Burst Allocation in Other Segment IE */
1899 /* offset of TLV in nibbles, length of TLV in nibbles */
1904 bit
= NIB_TO_BIT(offset
);
1906 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, NIBHI(offset
, length
), ett_286b
, NULL
, "DL_PUSC_Burst_Allocation_in_Other_Segment_IE");
1908 VBIT(data
, 4, hf_dlmap_ie_diuc_ext
);
1909 VBIT(data
, 4, hf_dlmap_ie_length
);
1911 XBIT_HF(16, hf_dlmap_dl_pusc_burst_allocation_cid
);
1912 XBIT_HF(4, hf_dlmap_dl_pusc_burst_allocation_diuc
);
1913 XBIT_HF(2, hf_dlmap_dl_pusc_burst_allocation_segment
);
1914 XBIT_HF(3, hf_dlmap_dl_pusc_burst_allocation_boosting
);
1915 XBIT_HF(5, hf_dlmap_dl_pusc_burst_allocation_idcell
);
1916 XBIT_HF(5, hf_dlmap_dl_pusc_burst_allocation_dl_permbase
);
1917 XBIT_HF(2, hf_dlmap_dl_pusc_burst_allocation_prbs_id
);
1918 XBIT_HF(2, hf_dlmap_dl_pusc_burst_allocation_repetition_coding_indication
);
1919 XBIT_HF(6, hf_dlmap_dl_pusc_burst_allocation_used_subchannels
);
1920 XBIT_HF(8, hf_dlmap_dl_pusc_burst_allocation_ofdma_symbol_offset
);
1921 XBIT_HF(1, hf_dlmap_reserved_uint
);
1922 XBIT_HF(7, hf_dlmap_dl_pusc_burst_allocation_num_ofdma_symbols
);
1923 XBIT_HF(6, hf_dlmap_dl_pusc_burst_allocation_subchannel_offset
);
1924 XBIT_HF(6, hf_dlmap_dl_pusc_burst_allocation_num_subchannels
);
1925 XBIT_HF(7, hf_dlmap_reserved_uint
);
1926 return BIT_TO_NIB(bit
);
1929 static int PUSC_ASCA_Alloc_IE(proto_tree
*diuc_tree
, int offset
, int length
, tvbuff_t
*tvb
)
1931 /* DL-MAP Extended IE = 0xC */
1932 /* 8.4.5.3.27 PUSC_ASCA_Alloc_IE */
1933 /* offset of TLV in nibbles, length of TLV in nibbles */
1938 bit
= NIB_TO_BIT(offset
);
1940 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, NIBHI(offset
, length
), ett_286z
, NULL
, "PUSC_ASCA_Alloc_IE");
1942 VBIT(data
, 4, hf_dlmap_ie_diuc_ext
);
1943 VBIT(data
, 4, hf_dlmap_ie_length
);
1944 XBIT_HF(4, hf_dlmap_pusc_asca_alloc_diuc
);
1945 XBIT_HF(12, hf_dlmap_pusc_asca_alloc_short_basic_cid
);
1946 XBIT_HF(8, hf_dlmap_pusc_asca_alloc_ofdma_symbol_offset
);
1947 XBIT_HF(6, hf_dlmap_pusc_asca_alloc_subchannel_offset
);
1948 XBIT_HF(7, hf_dlmap_pusc_asca_alloc_num_ofdma_symbols
);
1949 XBIT_HF(6, hf_dlmap_pusc_asca_alloc_num_symbols
);
1950 XBIT_HF(2, hf_dlmap_pusc_asca_alloc_repetition_coding_information
);
1951 XBIT_HF(4, hf_dlmap_pusc_asca_alloc_permutation_id
);
1952 XBIT_HF(7, hf_dlmap_reserved_uint
);
1954 return BIT_TO_NIB(bit
);
1957 static int UL_interference_and_noise_level_IE(proto_tree
*diuc_tree
, int offset
, int length
, tvbuff_t
*tvb
)
1959 /* DL-MAP Extended IE = 0xF */
1960 /* 8.4.5.3.19 UL_interference_and_noise_level_IE */
1961 /* offset of TLV in nibbles, length of TLV in nibbles */
1966 tree
= proto_tree_add_subtree(diuc_tree
, tvb
, NIBHI(offset
, length
), ett_286h
, NULL
, "UL_interference_and_noise_level_IE");
1968 VNIB(data
, 1, hf_dlmap_ie_diuc_ext
);
1969 VNIB(data
, 1, hf_dlmap_ie_length
);
1970 VNIB(bitmap
, 2, hf_dlmap_ie_bitmap
);
1972 if (bitmap
& 0x01) {
1973 VNIB(data
, 2, hf_dlmap_ie_bitmap_cqi
);
1975 if (bitmap
& 0x02) {
1976 VNIB(data
, 2, hf_dlmap_ie_bitmap_pusc
);
1978 if (bitmap
& 0x04) {
1979 VNIB(data
, 2, hf_dlmap_ie_bitmap_opt_pusc
);
1981 if (bitmap
& 0x08) {
1982 VNIB(data
, 2, hf_dlmap_ie_bitmap_amc
);
1984 if (bitmap
& 0x10) {
1985 VNIB(data
, 2, hf_dlmap_ie_bitmap_aas
);
1987 if (bitmap
& 0x20) {
1988 VNIB(data
, 2, hf_dlmap_ie_bitmap_periodic_ranging
);
1990 if (bitmap
& 0x40) {
1991 VNIB(data
, 2, hf_dlmap_ie_bitmap_sounding
);
1993 if (bitmap
& 0x80) {
1994 VNIB(data
, 2, hf_dlmap_ie_bitmap_mimo
);
2000 /********************************************************************
2002 *******************************************************************/
2004 static int dissect_dlmap_ie(proto_tree
*ie_tree
, packet_info
*pinfo
, int offset
, int length
, tvbuff_t
*tvb
)
2006 /* decode a single DL-MAP IE and return the
2007 * length of the IE in nibbles
2008 * offset = start of IE (nibbles)
2009 * length = total length of IE (nibbles) */
2010 proto_item
*ti
= NULL
;
2011 proto_tree
*tree
= NULL
;
2013 int nibble
= offset
;
2027 /* 8.4.5.3 DL-MAP IE format - table 275 */
2028 diuc
= TVB_NIB_NIBBLE(nibble
, tvb
);
2031 /* 8.4.5.3.2.2 [2] Extended-2 DIUC dependent IE table 277b */
2032 ext2_diuc
= TVB_NIB_NIBBLE(1+nibble
, tvb
);
2033 len
= TVB_NIB_BYTE(1+nibble
+1, tvb
);
2035 ti
= proto_tree_add_uint(ie_tree
, hf_dlmap_ie_diuc
, tvb
, NIBHI(nibble
, 1+3+len
*2), diuc
);
2036 proto_item_append_text(ti
, " (Extended-2)");
2037 tree
= proto_item_add_subtree(ti
, ett_277b
);
2040 len
= 3 + BYTE_TO_NIB(len
);
2042 /* table 277c [2] */
2046 /* 8.4.5.3.12 MBS_MAP_IE */
2047 nibble
= MBS_MAP_IE(tree
, nibble
, len
, tvb
);
2050 /* 8.4.5.3.14 HO_Anchor_Active_DL-MAP_IE */
2051 nibble
= HO_Anchor_Active_DL_MAP_IE(tree
, pinfo
, nibble
, len
, tvb
);
2054 /* 8.4.5.3.15 HO_Active_Anchor_DL_MAP_IE */
2055 nibble
= HO_Active_Anchor_DL_MAP_IE(tree
, pinfo
, nibble
, len
, tvb
);
2058 /* 8.4.5.3.16 HO_CID_Translation_MAP_IE */
2059 nibble
= HO_CID_Translation_MAP_IE(tree
, pinfo
, nibble
, len
, tvb
);
2062 /* 8.4.5.3.17 MIMO_in_another_BS_IE */
2063 nibble
= MIMO_in_another_BS_IE(tree
, pinfo
, nibble
, len
, tvb
);
2066 /* 8.4.5.3.18 Macro-MIMO_DL_Basic_IE */
2067 nibble
= Macro_MIMO_DL_Basic_IE(tree
, pinfo
, nibble
, len
, tvb
);
2070 /* 8.4.5.3.20.2 Skip_IE */
2071 nibble
= Skip_IE(tree
, nibble
, len
, tvb
);
2074 /* 8.4.5.3.21 HARQ_DL_MAP_IE */
2075 nibble
= HARQ_DL_MAP_IE(tree
, pinfo
, nibble
, len
, tvb
);
2078 /* 8.4.5.3.22 HARQ_ACK IE */
2079 nibble
= HARQ_ACK_IE(tree
, nibble
, len
, tvb
);
2082 /* 8.4.5.3.23 Enhanced DL MAP IE */
2083 nibble
= Enhanced_DL_MAP_IE(tree
, nibble
, len
, tvb
);
2086 /* 8.4.5.3.24 Closed-loop MIMO DL Enhanced IE */
2087 nibble
= Closed_loop_MIMO_DL_Enhanced_IE(tree
, pinfo
, nibble
, len
, tvb
);
2090 nibble
= MIMO_DL_Basic_IE(tree
, pinfo
, nibble
, len
, tvb
);
2093 nibble
= MIMO_DL_Enhanced_IE(tree
, pinfo
, nibble
, len
, tvb
);
2097 nibble
= AAS_SDMA_DL_IE(tree
, nibble
, len
, tvb
);
2101 proto_tree_add_bytes_format(tree
, hf_dlmap_ie_reserved_extended2_duic
, tvb
, NIBHI(nibble
,len
), NULL
, "(reserved Extended-2 DIUC: %d)", ext2_diuc
);
2107 else if (diuc
== 15)
2109 /* 8.4.5.3.2.1 [1] Extended DIUC dependent IE - table 277 */
2110 ext_diuc
= TVB_NIB_NIBBLE(1+nibble
, tvb
);
2111 len
= TVB_NIB_NIBBLE(1+nibble
+1, tvb
);
2113 ti
= proto_tree_add_uint(ie_tree
, hf_dlmap_ie_diuc
, tvb
, NIBHI(nibble
, 1+2+len
*2), diuc
);
2114 proto_item_append_text(ti
, " (Extended)");
2115 tree
= proto_item_add_subtree(ti
, ett_277
);
2118 len
= 2 + BYTE_TO_NIB(len
);
2120 /* TODO 8.4.5.3.27 PUSC_ASCA_IE -- unspecified ExtDIUC? */
2122 /* 8.4.5.3.2.1 table 277a */
2126 /* 8.4.5.3.? Channel_Measurement_IE */
2127 nibble
= Channel_Measurement_IE(tree
, nibble
, len
, tvb
);
2130 /* 8.4.5.3.4 STC_Zone_IE */
2131 nibble
= STC_Zone_IE(tree
, nibble
, len
, tvb
);
2134 /* 8.4.5.3.3 AAS_DL_IE */
2135 nibble
= AAS_DL_IE(tree
, nibble
, len
, tvb
);
2138 /* 8.4.5.3.6 Data_location_in_another_BS_IE */
2139 nibble
= Data_location_in_another_BS_IE(tree
, nibble
, len
, tvb
);
2142 /* 8.4.5.3.7 CID_Switch_IE */
2143 nibble
= CID_Switch_IE(tree
, nibble
, len
, tvb
);
2146 /* 8.4.5.3.10 HARQ_Map_Pointer_IE */
2147 nibble
= HARQ_Map_Pointer_IE(tree
, nibble
, len
, tvb
);
2150 /* 8.4.5.3.11 PHYMOD_DL_IE */
2151 nibble
= PHYMOD_DL_IE(tree
, nibble
, len
, tvb
);
2154 /* 8.4.5.3.25 Broadcast Control Pointer IE */
2155 nibble
= Broadcast_Control_Pointer_IE(tree
, nibble
, len
, tvb
);
2158 /* 8.4.5.3.13 DL PUSC Burst Allocation in Other Segment IE */
2159 nibble
= DL_PUSC_Burst_Allocation_in_Other_Segment_IE(tree
, nibble
, len
, tvb
);
2162 nibble
= PUSC_ASCA_Alloc_IE(tree
, nibble
, len
, tvb
);
2166 /* 8.4.5.3.19 UL_interference_and_noise_level_IE */
2167 nibble
= UL_interference_and_noise_level_IE(tree
, nibble
, len
, tvb
);
2171 proto_tree_add_bytes_format(tree
, hf_dlmap_ie_reserved_extended_duic
, tvb
, NIBHI(nibble
,len
), NULL
, "(reserved Extended DIUC: %d)", ext_diuc
);
2180 /*papr = 0; XX: not used ? */
2183 /* TODO: alt_format = 1 if (Permutation == 0x11) and (AMC type is 2x3 or 1x6) */
2185 /* precalculate IE len for correct highlighting */
2186 if (INC_CID
&& !sub_dl_ul_map
) {
2187 ie_len
+= 2 + (TVB_NIB_BYTE(nibble
+1, tvb
) * 4);
2191 ti
= proto_tree_add_uint(ie_tree
, hf_dlmap_ie_diuc
, tvb
, NIBHI(nibble
, ie_len
), diuc
);
2192 tree
= proto_item_add_subtree(ti
, ett_275_1
);
2196 /* 8.4.5.3.1 [1] Gap/PAPR Reduction */
2197 /*papr = 1; XX: not used ? */
2198 proto_item_append_text(ti
, " (Gap/PAPR Reduction)");
2204 n_cid
= TVB_NIB_BYTE(nibble
, tvb
);
2205 proto_tree_add_uint(tree
, hf_dlmap_ie_ncid
, tvb
, NIBHI(nibble
, 2), n_cid
);
2208 for (i
= 0; i
< n_cid
; i
++)
2210 if (sub_dl_ul_map
) {
2211 /* RCID_IE 8.4.5.3 and 8.4.5.3.20.1, only part of SUB-DL-UL-MAP */
2212 /* RCID_Type comes from 6.3.2.3.43.2 [2] Format_configuration_IE in Compact_DL-MAP_IE */
2213 nibble
+= RCID_IE(tree
, nibble
*4, length
, tvb
, RCID_Type
) / 4;
2215 data
= TVB_NIB_WORD(nibble
, tvb
);
2216 proto_tree_add_uint(tree
, hf_dlmap_ie_cid
, tvb
, NIBHI(nibble
, 4), data
);
2222 data
= TVB_NIB_LONG(nibble
, tvb
);
2224 proto_tree_add_uint(tree
, hf_dlmap_ie_offsym2
, tvb
, NIBHI(nibble
, 8), data
);
2225 proto_tree_add_uint(tree
, hf_dlmap_ie_offsub2
, tvb
, NIBHI(nibble
, 8), data
);
2226 proto_tree_add_uint(tree
, hf_dlmap_ie_boosting2
, tvb
, NIBHI(nibble
, 8), data
);
2227 proto_tree_add_uint(tree
, hf_dlmap_ie_numsym2
, tvb
, NIBHI(nibble
, 8), data
);
2228 proto_tree_add_uint(tree
, hf_dlmap_ie_numsub2
, tvb
, NIBHI(nibble
, 8), data
);
2229 proto_tree_add_uint(tree
, hf_dlmap_ie_rep2
, tvb
, NIBHI(nibble
, 8), data
);
2231 proto_tree_add_uint(tree
, hf_dlmap_ie_offsym
, tvb
, NIBHI(nibble
, 8), data
);
2232 proto_tree_add_uint(tree
, hf_dlmap_ie_offsub
, tvb
, NIBHI(nibble
, 8), data
);
2233 proto_tree_add_uint(tree
, hf_dlmap_ie_boosting
, tvb
, NIBHI(nibble
, 8), data
);
2234 proto_tree_add_uint(tree
, hf_dlmap_ie_numsym
, tvb
, NIBHI(nibble
, 8), data
);
2235 proto_tree_add_uint(tree
, hf_dlmap_ie_numsub
, tvb
, NIBHI(nibble
, 8), data
);
2236 proto_tree_add_uint(tree
, hf_dlmap_ie_rep
, tvb
, NIBHI(nibble
, 8), data
);
2241 /* length in nibbles */
2242 return (nibble
- offset
);
2246 static int dissect_mac_mgmt_msg_dlmap_decoder(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*base_tree
, void* data _U_
)
2248 /* 6.3.2.3.2 [2] DL-MAP table 16 */
2249 unsigned offset
= 0;
2250 int length
, nib
, pad
;
2251 proto_item
*ti
= NULL
;
2252 proto_tree
*dlmap_tree
= NULL
;
2253 proto_tree
*ie_tree
= NULL
;
2254 proto_tree
*phy_tree
= NULL
;
2255 int tvb_len
= tvb_reported_length(tvb
);
2260 ti
= proto_tree_add_protocol_format(base_tree
, proto_mac_mgmt_msg_dlmap_decoder
, tvb
, offset
, -1, "DL-MAP");
2261 dlmap_tree
= proto_item_add_subtree(ti
, ett_dlmap
);
2263 /* PHY Synchronization Field 8.4.5.1 */
2265 phy_tree
= proto_tree_add_subtree(dlmap_tree
, tvb
, offset
, 4, ett_275_phy
, NULL
, "Phy Synchronization Field");
2266 proto_tree_add_item(phy_tree
, hf_dlmap_phy_fdur_ms
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
2267 proto_tree_add_item(phy_tree
, hf_dlmap_phy_fdur_per_sec
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
2268 proto_tree_add_item(phy_tree
, hf_dlmap_phy_fdur
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
2270 proto_tree_add_item(phy_tree
, hf_dlmap_phy_fnum
, tvb
, offset
, 3, ENC_BIG_ENDIAN
);
2273 proto_tree_add_item(dlmap_tree
, hf_dlmap_dcd
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
2275 proto_tree_add_item(dlmap_tree
, hf_dlmap_bsid
, tvb
, offset
, 6, ENC_NA
);
2277 proto_tree_add_item(dlmap_tree
, hf_dlmap_ofdma_sym
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
2281 length
= tvb_len
- offset
; /* remaining length in bytes */
2282 ie_tree
= proto_tree_add_subtree_format(dlmap_tree
, tvb
, offset
, length
, ett_dlmap_ie
, NULL
, "DL-MAP IEs (%d bytes)", length
);
2284 /* length = BYTE_TO_NIB(length); */ /* convert length to nibbles */
2286 nib
= BYTE_TO_NIB(offset
);
2287 while (nib
< ((tvb_len
*2)-1)) {
2288 nib
+= dissect_dlmap_ie(ie_tree
, pinfo
, nib
, tvb_len
* 2, tvb
);
2290 pad
= NIB_PADDING(nib
);
2292 proto_tree_add_bytes_format(dlmap_tree
, hf_padding
, tvb
, NIBHI(nib
,1), NULL
, "Padding nibble");
2295 return tvb_captured_length(tvb
);
2298 int wimax_decode_dlmapc(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*base_tree
)
2300 /* 8.4.5.6.1 [2] Compressed DL-MAP */
2301 /* decode a compressed dl-map and return the length in bytes; */
2302 /* if there is a compressed ul-map, also decode that and include in the length */
2303 unsigned offset
= 0;
2304 proto_item
*ti
= NULL
;
2305 proto_item
*ti_phy
= NULL
;
2306 proto_item
*ti_dlmap_ies
= NULL
;
2307 proto_tree
*tree
= NULL
;
2308 proto_tree
*ie_tree
= NULL
;
2309 proto_tree
*phy_tree
= NULL
;
2311 unsigned length
, lennib
, pad
;
2312 unsigned mac_len
, dl_ie_count
;
2313 unsigned tvb_len
= tvb_reported_length(tvb
);
2315 uint32_t mac_crc
, calculated_crc
;
2317 /* update the info column */
2318 col_append_sep_str(pinfo
->cinfo
, COL_INFO
, NULL
, "Compressed DL-MAP");
2322 length
= tvb_get_ntohs(tvb
, offset
) & 0x07FF; /* compressed map length is 11 bits */
2324 lennib
= BYTE_TO_NIB(length
);
2326 ulmap_appended
= (tvb_get_uint8(tvb
, offset
) >> 4) & 1; /* UL MAP appended? */
2328 /* display MAC Compressed DL-MAP and create subtree */
2329 ti
= proto_tree_add_protocol_format(base_tree
, proto_mac_mgmt_msg_dlmap_decoder
, tvb
, offset
, length
, "Compressed DL-MAP (%u bytes)", length
);
2330 tree
= proto_item_add_subtree(ti
, ett_305
);
2332 /* decode dlmap fields */
2333 proto_tree_add_item(tree
, hf_dlmapc_compr
, tvb
, offset
, 2, ENC_BIG_ENDIAN
);
2334 proto_tree_add_item(tree
, hf_dlmapc_ulmap
, tvb
, offset
, 2, ENC_BIG_ENDIAN
);
2335 proto_tree_add_item(tree
, hf_dlmapc_rsv
, tvb
, offset
, 2, ENC_BIG_ENDIAN
);
2336 proto_tree_add_item(tree
, hf_dlmapc_len
, tvb
, offset
, 2, ENC_BIG_ENDIAN
);
2337 /* PHY Synchronization Field 8.4.5.1 */
2339 phy_tree
= proto_tree_add_subtree(tree
, tvb
, offset
+2, 4, ett_275_phy
, &ti_phy
, "Phy Synchronization Field");
2340 proto_tree_add_item(phy_tree
, hf_dlmap_phy_fdur_ms
, tvb
, offset
+2, 1, ENC_BIG_ENDIAN
);
2341 proto_tree_add_item(phy_tree
, hf_dlmap_phy_fdur_per_sec
, tvb
, offset
+2, 1, ENC_BIG_ENDIAN
);
2342 proto_tree_add_item(phy_tree
, hf_dlmap_phy_fnum
, tvb
, offset
+3, 3, ENC_BIG_ENDIAN
);
2344 proto_tree_add_item(tree
, hf_dlmap_dcd
, tvb
, offset
+6, 1, ENC_BIG_ENDIAN
);
2345 proto_tree_add_item(tree
, hf_dlmapc_opid
, tvb
, offset
+7, 1, ENC_BIG_ENDIAN
);
2346 proto_tree_add_item(tree
, hf_dlmapc_secid
, tvb
, offset
+8, 1, ENC_BIG_ENDIAN
);
2347 proto_tree_add_item(tree
, hf_dlmap_ofdma_sym
, tvb
, offset
+9, 1, ENC_BIG_ENDIAN
); /* 2005 */
2348 proto_tree_add_item(tree
, hf_dlmapc_count
, tvb
, offset
+10,1, ENC_BIG_ENDIAN
);
2349 dl_ie_count
= tvb_get_uint8(tvb
, offset
+ 10);
2351 nib
= BYTE_TO_NIB(offset
);
2354 length
-= 15; /* remaining length in bytes (11 bytes above + CRC at end) */
2356 ie_tree
= proto_tree_add_subtree_format(tree
, tvb
, offset
, length
, ett_dlmap_ie
, &ti_dlmap_ies
, "DL-MAP IEs (%d bytes)", length
);
2358 /* length = BYTE_TO_NIB(mac_len - (int)sizeof(mac_crc) - 1); */ /* convert length to nibbles */
2360 while (dl_ie_count
--) {
2361 nib
+= dissect_dlmap_ie(ie_tree
, pinfo
, nib
, tvb_len
* 2, tvb
);
2363 pad
= NIB_PADDING(nib
);
2365 proto_tree_add_bytes_format(tree
, hf_padding
, tvb
, NIBHI(nib
,1), NULL
, "Padding nibble");
2370 if (ulmap_appended
) {
2371 /* Replace the text of items to set the correct length in bytes.*/
2372 proto_item_set_text(ti
, "Compressed DL-MAP (%u bytes)", NIB_ADDR(nib
));
2373 proto_item_set_text(ti_dlmap_ies
, "DL-MAP IEs (%u bytes)",NIB_ADDR(nib
)- offset
);
2375 /* set the length of items */
2376 proto_item_set_end(ti_dlmap_ies
, tvb
, NIB_ADDR(nib
));
2377 proto_item_set_end(ti
, tvb
, NIB_ADDR(nib
));
2379 /* update the info column */
2380 col_append_sep_str(pinfo
->cinfo
, COL_INFO
, NULL
, "Compressed UL-MAP");
2382 /* subtract 8 from lennib (CRC) */
2383 wimax_decode_ulmapc(base_tree
, pinfo
, nib
, lennib
- 8, tvb
);
2386 /* CRC is always appended */
2387 /* check the length */
2388 if (mac_len
<= sizeof(mac_crc
))
2390 expert_add_info_format(pinfo
, ti
, &ei_mac_header_invalid_length
,
2391 "Invalid length: %d.", mac_len
);
2392 return sizeof(mac_crc
);
2394 else if (MIN(tvb_len
, tvb_reported_length(tvb
)) >= mac_len
)
2396 /* calculate the CRC */
2397 calculated_crc
= wimax_mac_calc_crc32(tvb_get_ptr(tvb
, 0, mac_len
- (int)sizeof(mac_crc
)), mac_len
- (int)sizeof(mac_crc
));
2398 proto_tree_add_checksum(base_tree
, tvb
, mac_len
- (int)sizeof(mac_crc
), hf_mac_header_compress_dlmap_crc
, hf_mac_header_compress_dlmap_crc_status
, &ei_mac_header_compress_dlmap_crc
,
2399 pinfo
, calculated_crc
, ENC_BIG_ENDIAN
, PROTO_CHECKSUM_VERIFY
);
2402 { /* display error message */
2403 proto_tree_add_protocol_format(base_tree
, proto_mac_mgmt_msg_dlmap_decoder
, tvb
, 0, tvb_len
, "CRC missing - the frame is too short (%u bytes)", tvb_len
);
2409 static int wimax_decode_sub_dl_ul_map(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*base_tree
)
2411 /* decode a SUB-DL-UL-MAP message 6.3.2.3.60 and return the length in bytes */
2412 /* first three bits are 0x7, which following a compressed DL map indicates this message */
2413 proto_tree
*tree
= NULL
;
2414 proto_tree
*ie_tree
= NULL
;
2415 proto_item
*generic_item
= NULL
;
2418 uint16_t calculated_crc
;
2420 int length
= tvb_reported_length(tvb
);
2422 int lennib
= BYTE_TO_NIB(length
);
2424 sub_dl_ul_map
= 1; /* set flag */
2426 tree
= proto_tree_add_subtree(base_tree
, tvb
, NIBHI(nib
,lennib
-nib
), ett_109x
, NULL
, "SUB-DL-UL-MAP");
2428 data
= TVB_NIB_WORD(nib
,tvb
);
2429 proto_tree_add_uint(tree
, hf_109x_cmi
, tvb
, NIBHI(nib
,4), data
);
2430 proto_tree_add_uint(tree
, hf_109x_len
, tvb
, NIBHI(nib
,4), data
);
2431 proto_tree_add_uint(tree
, hf_109x_rcid
, tvb
, NIBHI(nib
,4), data
);
2432 proto_tree_add_uint(tree
, hf_109x_haoi
, tvb
, NIBHI(nib
,4), data
);
2435 /* HARQ ACK offset indicator */
2437 data
= TVB_NIB_BYTE(nib
,tvb
);
2438 proto_tree_add_uint(tree
, hf_109x_dl
, tvb
, NIBHI(nib
,2), data
);
2440 data
= TVB_NIB_BYTE(nib
,tvb
);
2441 proto_tree_add_uint(tree
, hf_109x_ul
, tvb
, NIBHI(nib
,2), data
);
2445 numie
= TVB_NIB_BYTE(nib
,tvb
);
2446 proto_tree_add_uint(tree
, hf_109x_dlie
, tvb
, NIBHI(nib
,2), numie
);
2450 ie_tree
= proto_tree_add_subtree(tree
, tvb
, NIBHI(nib
,1), ett_109x_dl
, NULL
, "DL-MAP IEs");
2451 for (i
= 0; i
< numie
; i
++) {
2452 nib
+= dissect_dlmap_ie(ie_tree
, pinfo
, nib
, lennib
- nib
, tvb
);
2455 data
= TVB_NIB_BYTE(nib
,tvb
);
2456 proto_tree_add_uint(tree
, hf_109x_symofs
, tvb
, NIBHI(nib
,2), data
);
2458 data
= TVB_NIB_BYTE(nib
,tvb
);
2459 proto_tree_add_uint(tree
, hf_109x_subofs
, tvb
, NIBHI(nib
,2), data
);
2460 proto_tree_add_uint(tree
, hf_109x_rsv
, tvb
, NIBHI(nib
,2), data
);
2464 ie_tree
= proto_tree_add_subtree(tree
, tvb
, NIBHI(nib
,lennib
-nib
), ett_109x_ul
, NULL
, "UL-MAP IEs");
2465 for ( ; nib
< lennib
- 1; ) {
2466 nib
+= dissect_ulmap_ie(ie_tree
, nib
, lennib
- nib
, tvb
);
2471 proto_tree_add_bytes_format(tree
, hf_padding
, tvb
, NIBHI(nib
,1), NULL
, "Padding Nibble");
2475 /* CRC-16 is always appended */
2476 calculated_crc
= wimax_mac_calc_crc16(tvb_get_ptr(tvb
, 0, NIB_TO_BYTE(nib
)), NIB_TO_BYTE(nib
));
2477 proto_tree_add_checksum(tree
, tvb
, NIBHI(nib
,4), hf_crc16
, hf_crc16_status
, &ei_crc16
, pinfo
, calculated_crc
,
2478 ENC_BIG_ENDIAN
, PROTO_CHECKSUM_VERIFY
);
2481 sub_dl_ul_map
= 0; /* clear flag */
2487 int wimax_decode_dlmap_reduced_aas(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*base_tree
)
2489 /* 8.4.5.8.1 [2] Reduced AAS private DL-MAP */
2490 /* if there is an appended UL-MAP, also decode that */
2491 unsigned offset
= 0;
2492 proto_item
*ti
= NULL
;
2493 proto_tree
*tree
= NULL
;
2496 int tvb_len
= tvb_reported_length(tvb
);
2498 unsigned data
, pad
, mult
;
2501 uint16_t calculated_crc
;
2502 int smcs
,cidi
,dcdi
,phyi
,cqci
;
2506 /* display MAC Reduced_AAS_Private_DL-MAP and create subtree */
2507 ti
= proto_tree_add_protocol_format(base_tree
, proto_mac_mgmt_msg_dlmap_decoder
, tvb
, offset
, length
, "Reduced_AAS_Private_DL-MAP");
2508 tree
= proto_item_add_subtree(ti
, ett_308a
);
2510 VBIT(data
, 3, hf_308a_cmi
);
2511 VBIT(ulmap_appended
, 1, hf_308a_ulmap
);
2512 VBIT(data
, 2, hf_308a_type
);
2513 VBIT(mult
, 1, hf_308a_mult
);
2514 VBIT(data
, 1, hf_308a_rsv
);
2517 XBIT_HF_VALUE(numie
, 8, hf_dlmap_reduced_aas_num_ie
);
2520 for (i
= 0; i
< numie
; i
++) {
2521 XBIT_HF(2, hf_dlmap_reduced_aas_periodicity
);
2522 XBIT_HF_VALUE(cidi
, 1, hf_dlmap_reduced_aas_cid_included
);
2523 XBIT_HF_VALUE(dcdi
, 1, hf_dlmap_reduced_aas_dcd_count_included
);
2524 XBIT_HF_VALUE(phyi
, 1, hf_dlmap_reduced_aas_phy_modification_included
);
2525 XBIT_HF_VALUE(cqci
, 1, hf_dlmap_reduced_aas_cqich_control_indicator
);
2526 XBIT_HF(2, hf_dlmap_reduced_aas_encoding_mode
);
2527 XBIT_HF_VALUE(smcs
, 1, hf_dlmap_reduced_aas_separate_mcs_enabled
);
2530 XBIT_HF(10, hf_dlmap_reduced_aas_duration
);
2531 XBIT_HF(4, hf_dlmap_reduced_aas_diuc
);
2532 XBIT_HF(2, hf_dlmap_reduced_aas_repetition_coding_indication
);
2535 XBIT_HF(16, hf_dlmap_reduced_aas_cid
);
2538 XBIT_HF(6, hf_dlmap_reduced_aas_allocation_index
);
2539 XBIT_HF(3, hf_dlmap_reduced_aas_report_period
);
2540 XBIT_HF(3, hf_dlmap_reduced_aas_frame_offset
);
2541 XBIT_HF(4, hf_dlmap_reduced_aas_report_duration
);
2542 XBIT_HF(2, hf_dlmap_reduced_aas_cqi_measurement_type
);
2543 XBIT_HF(2, hf_dlmap_reserved_uint
);
2546 XBIT_HF(8, hf_dlmap_reduced_aas_dcd_count
);
2549 XBIT_HF(1, hf_dlmap_reduced_aas_preamble_select
);
2550 XBIT_HF(4, hf_dlmap_reduced_aas_preamble_shift_index
);
2551 XBIT_HF(1, hf_dlmap_reduced_aas_pilot_pattern_modifier
);
2552 XBIT_HF(2, hf_dlmap_reduced_aas_pilot_pattern_index
);
2554 XBIT_HF(3, hf_dlmap_reduced_aas_dl_frame_offset
);
2556 XBIT_HF(8, hf_dlmap_reduced_aas_zone_symbol_offset
);
2558 XBIT_HF(8, hf_dlmap_reduced_aas_ofdma_symbol_offset
);
2560 XBIT_HF(8, hf_dlmap_reduced_aas_subchannel_offset
);
2561 XBIT_HF(5, hf_dlmap_reduced_aas_num_ofdma_triple_symbol
);
2562 XBIT_HF(6, hf_dlmap_reduced_aas_num_subchannels
);
2564 XBIT_HF(6, hf_dlmap_reduced_aas_subchannel_offset
);
2565 XBIT_HF(7, hf_dlmap_reduced_aas_num_ofdma_symbols
);
2566 XBIT_HF(6, hf_dlmap_reduced_aas_num_subchannels
);
2568 XBIT_HF(4, hf_dlmap_reduced_aas_diuc_nep
);
2570 XBIT_HF(1, hf_dlmap_reduced_aas_dl_harq_ack_bitmap
);
2571 XBIT_HF(6, hf_dlmap_reduced_aas_ack_allocation_index
);
2572 XBIT_HF(4, hf_dlmap_reduced_aas_acid
);
2573 XBIT_HF(1, hf_dlmap_reduced_aas_ai_sn
);
2575 XBIT_HF(4, hf_dlmap_reduced_aas_nsch
);
2576 XBIT_HF(2, hf_dlmap_reduced_aas_spid
);
2577 XBIT_HF(2, hf_dlmap_reserved_uint
);
2580 XBIT_HF(2, hf_dlmap_reduced_aas_repetition_coding_indication
);
2581 if (ulmap_appended
) {
2582 /* offset and length are in bits */
2583 bit
+= wimax_decode_ulmap_reduced_aas(tree
, offset
, length
*8, tvb
);
2585 XBIT_HF(3, hf_dlmap_reserved_uint
);
2589 pad
= BIT_PADDING(bit
,8);
2591 proto_tree_add_bytes_format_value(tree
, hf_padding
, tvb
, BITHI(bit
,pad
), NULL
, "%d bits",pad
);
2595 /* CRC-16 is always appended */
2596 calculated_crc
= wimax_mac_calc_crc16(tvb_get_ptr(tvb
, 0, BIT_TO_BYTE(bit
)), BIT_TO_BYTE(bit
));
2597 proto_tree_add_checksum(tree
, tvb
, BIT_ADDR(bit
), hf_crc16
, hf_crc16_status
, &ei_crc16
, pinfo
, calculated_crc
,
2598 ENC_BIG_ENDIAN
, PROTO_CHECKSUM_VERIFY
);
2601 return BIT_TO_BYTE(bit
) - offset
;
2604 /* Register Wimax Mac Payload Protocol and Dissector */
2605 void proto_register_mac_mgmt_msg_dlmap(void)
2607 /* DL-MAP fields display */
2608 static hf_register_info hf
[] =
2613 "Base Station ID", "wmx.dlmap.bsid",
2614 FT_BYTES
, BASE_NONE
, NULL
, 0x0, NULL
, HFILL
2620 "DCD Count", "wmx.dlmap.dcd",
2621 FT_UINT8
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2626 &hf_dlmap_fch_expected
,
2628 "FCH Expected", "wmx.dlmap.fch_expected",
2629 FT_UINT16
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2635 "DL-MAP IE", "wmx.dlmap.ie",
2636 FT_UINT8
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2641 &hf_dlmap_ie_boosting
,
2643 "Boosting", "wmx.dlmap.ie.boosting",
2644 FT_UINT32
, BASE_DEC
, VALS(boost_msgs
), 0x00038000, NULL
, HFILL
2648 &hf_dlmap_ie_boosting2
,
2650 "Boosting", "wmx.dlmap.ie.boosting",
2651 FT_UINT32
, BASE_DEC
, VALS(boost_msgs
), 0x0000E000, NULL
, HFILL
2657 "CID", "wmx.dlmap.ie.cid",
2658 FT_UINT16
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2664 "DIUC", "wmx.dlmap.ie.diuc",
2665 FT_UINT8
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2669 &hf_dlmap_ie_diuc_ext
,
2671 "Extended DIUC", "wmx.dlmap.ie.ext_diuc",
2672 FT_UINT8
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2676 &hf_dlmap_ie_diuc_ext2
,
2678 "Extended-2 DIUC", "wmx.dlmap.ie.ext2_diuc",
2679 FT_UINT8
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2683 &hf_dlmap_ie_reserved_extended2_duic
,
2685 "Reserved Extended-2 DIUC", "wmx.dlmap.ie.ext2_diuc_reserved",
2686 FT_BYTES
, BASE_NONE
, NULL
, 0x0, NULL
, HFILL
2690 &hf_dlmap_ie_reserved_extended_duic
,
2692 "Reserved Extended DIUC", "wmx.dlmap.ie.ext_diuc_reserved",
2693 FT_BYTES
, BASE_NONE
, NULL
, 0x0, NULL
, HFILL
2697 &hf_dlmap_ie_length
,
2699 "Length", "wmx.dlmap.ie.length",
2700 FT_UINT8
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2704 &hf_dlmap_ie_bitmap
,
2706 "Bitmap", "wmx.dlmap.ie.bitmap",
2707 FT_UINT8
, BASE_HEX
, NULL
, 0x0, NULL
, HFILL
2711 &hf_dlmap_ie_bitmap_cqi
,
2713 "CQI/ACK/Periodic Ranging region NI", "wmx.dlmap.ie.bitmap.cqi",
2714 FT_UINT8
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2718 &hf_dlmap_ie_bitmap_pusc
,
2720 "PUSC region NI", "wmx.dlmap.ie.bitmap.pusc",
2721 FT_UINT8
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2725 &hf_dlmap_ie_bitmap_opt_pusc
,
2727 "Optional PUSC region NI", "wmx.dlmap.ie.bitmap.opt_pusc",
2728 FT_UINT8
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2732 &hf_dlmap_ie_bitmap_amc
,
2734 "AMC region NI", "wmx.dlmap.ie.bitmap.amc",
2735 FT_UINT8
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2739 &hf_dlmap_ie_bitmap_aas
,
2741 "AAS region NI", "wmx.dlmap.ie.bitmap.aas",
2742 FT_UINT8
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2746 &hf_dlmap_ie_bitmap_periodic_ranging
,
2748 "Periodic Ranging region NI", "wmx.dlmap.ie.bitmap.periodic_ranging",
2749 FT_UINT8
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2753 &hf_dlmap_ie_bitmap_sounding
,
2755 "Sounding region NI", "wmx.dlmap.ie.bitmap.sounding",
2756 FT_UINT8
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2760 &hf_dlmap_ie_bitmap_mimo
,
2762 "MIMO region NI", "wmx.dlmap.ie.bitmap.mimo",
2763 FT_UINT8
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2769 "N_CID", "wmx.dlmap.ie.ncid",
2770 FT_UINT8
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2774 &hf_dlmap_ie_numsub
,
2776 "Number of Subchannels", "wmx.dlmap.ie.numsub",
2777 FT_UINT32
, BASE_DEC
, NULL
, 0x000000FC, NULL
, HFILL
2781 &hf_dlmap_ie_numsym
,
2783 "Number of OFDMA Symbols", "wmx.dlmap.ie.numsym",
2784 FT_UINT32
, BASE_DEC
, NULL
, 0x00007F00, NULL
, HFILL
2788 &hf_dlmap_ie_numsub2
,
2790 "Number of Subchannels", "wmx.dlmap.ie.numsub",
2791 FT_UINT32
, BASE_DEC
, NULL
, 0x000000FC, NULL
, HFILL
2795 &hf_dlmap_ie_numsym2
,
2797 "Number of OFDMA Symbols", "wmx.dlmap.ie.numsym",
2798 FT_UINT32
, BASE_DEC
, NULL
, 0x00001F00, NULL
, HFILL
2802 &hf_dlmap_ie_offsub
,
2804 "Subchannel Offset", "wmx.dlmap.ie.offsub",
2805 FT_UINT32
, BASE_DEC
, NULL
, 0x00FC0000, NULL
, HFILL
2809 &hf_dlmap_ie_offsym
,
2811 "OFDMA Symbol Offset", "wmx.dlmap.ie.offsym",
2812 FT_UINT32
, BASE_DEC
, NULL
, 0xFF000000, NULL
, HFILL
2817 &hf_dlmap_ie_offsub2
,
2819 "Subchannel Offset", "wmx.dlmap.ie.offsub",
2820 FT_UINT32
, BASE_DEC
, NULL
, 0x00FF0000, NULL
, HFILL
2824 &hf_dlmap_ie_offsym2
,
2826 "OFDMA Symbol Offset", "wmx.dlmap.ie.offsym",
2827 FT_UINT32
, BASE_DEC
, NULL
, 0xFF000000, NULL
, HFILL
2833 "Repetition Coding Indication", "wmx.dlmap.ie.rep",
2834 FT_UINT32
, BASE_DEC
, VALS(rep_msgs
), 0x00000003, NULL
, HFILL
2840 "Repetition Coding Indication", "wmx.dlmap.ie.rep",
2841 FT_UINT32
, BASE_DEC
, VALS(rep_msgs
), 0x00000003, NULL
, HFILL
2845 &hf_dlmap_ofdma_sym
,
2847 "Num OFDMA Symbols", "wmx.dlmap.ofdma_sym",
2848 FT_UINT8
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2854 "Frame Duration Code", "wmx.dlmap.phy_fdur",
2855 FT_UINT8
, BASE_HEX
, NULL
, 0x00, NULL
, HFILL
2859 &hf_dlmap_phy_fdur_ms
,
2861 "Frame Duration", "wmx.dlmap.phy_fdur",
2862 FT_UINT8
, BASE_HEX
, VALS(frame_duration
), 0x00, NULL
, HFILL
2866 &hf_dlmap_phy_fdur_per_sec
,
2868 "Frames per second", "wmx.dlmap.phy_fdur",
2869 FT_UINT8
, BASE_HEX
, VALS(frames_per_second
), 0x00, NULL
, HFILL
2875 "Frame Number", "wmx.dlmap.phy_fnum",
2876 FT_UINT24
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2882 "Compressed map indicator", "wmx.dlmapc.compr",
2883 FT_UINT16
, BASE_DEC
, NULL
, 0xe000, NULL
, HFILL
2889 "DL IE Count", "wmx.dlmapc.count",
2890 FT_UINT8
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2896 "Map message length", "wmx.dlmapc.len",
2897 FT_UINT16
, BASE_DEC
, NULL
, 0x07FF, NULL
, HFILL
2903 "Operator ID", "wmx.dlmapc.opid",
2904 FT_UINT8
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2910 "Reserved", "wmx.dlmapc.rsv",
2911 FT_UINT16
, BASE_DEC
, NULL
, 0x0800, NULL
, HFILL
2917 "Sector ID", "wmx.dlmapc.secid",
2918 FT_UINT8
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2925 "PHY Synchronization Field", "wmx.dlmapc.sync",
2926 FT_UINT32
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2933 "UL-MAP appended", "wmx.dlmapc.ulmap",
2934 FT_UINT16
, BASE_DEC
, NULL
, 0x1000, NULL
, HFILL
2941 "Extended DIUC", "wmx.dlmapc.xie_diuc",
2942 FT_UINT8
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2948 "Length", "wmx.dlmapc.xie_len",
2949 FT_UINT8
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2956 "SUB-DL-UL-MAP map indicator", "wmx.dlul.cmi",
2957 FT_UINT16
, BASE_DEC
, NULL
, 0xE000, NULL
, HFILL
2963 "DL HARQ ACK offset", "wmx.dlul.dl",
2964 FT_UINT8
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2970 "DL IE Count", "wmx.dlul.dlie",
2971 FT_UINT8
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
2977 "HARQ ACK offset indicator", "wmx.dlul.haoi",
2978 FT_UINT16
, BASE_DEC
, NULL
, 0x0001, NULL
, HFILL
2984 "Map message length - The length is limited to 735 bytes at most", "wmx.dlul.len",
2985 FT_UINT16
, BASE_DEC
, NULL
, 0x1FF8, NULL
, HFILL
2991 "RCID_Type", "wmx.dlul.rcid",
2992 FT_UINT16
, BASE_DEC
, NULL
, 0x0006, NULL
, HFILL
2998 "Subchannel offset", "wmx.dlul.subofs",
2999 FT_UINT8
, BASE_DEC
, NULL
, 0xFE, NULL
, HFILL
3005 "OFDMA Symbol offset of subsequent sub-bursts "
3006 "in this Sub-DL-UL-MAP message with reference to "
3007 "the start of UL sub-frame.", "wmx.dlul.symofs",
3008 FT_UINT8
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
3014 "Reserved", "wmx.dlul.rsv",
3015 FT_UINT8
, BASE_DEC
, NULL
, 0x01, NULL
, HFILL
3021 "UL HARQ ACK offset", "wmx.dlul.ul",
3022 FT_UINT8
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
3029 "Compressed map indicator", "wmx.dlmap.reduced_aas_private.cmi",
3030 FT_UINT8
, BASE_DEC
, NULL
, 0xe0, NULL
, HFILL
3036 "Multiple IE", "wmx.dlmap.reduced_aas_private.mult",
3037 FT_UINT8
, BASE_DEC
, NULL
, 0x02, NULL
, HFILL
3043 "Reserved", "wmx.dlmap.reduced_aas_private.rsv",
3044 FT_UINT8
, BASE_DEC
, NULL
, 0x01, NULL
, HFILL
3050 "Compressed Map Type", "wmx.dlmap.reduced_aas_private.type",
3051 FT_UINT8
, BASE_DEC
, NULL
, 0x0d, NULL
, HFILL
3057 "UL-MAP appended", "wmx.dlmap.reduced_aas_private.ulmap",
3058 FT_UINT8
, BASE_DEC
, NULL
, 0x10, NULL
, HFILL
3062 &hf_mac_header_compress_dlmap_crc
,
3064 "CRC", "wmx.compress_dlmap_crc",
3065 FT_UINT32
, BASE_HEX
, NULL
, 0x0, NULL
, HFILL
3069 &hf_mac_header_compress_dlmap_crc_status
,
3071 "CRC Status", "wmx.compress_dlmap_crc.status",
3072 FT_UINT8
, BASE_NONE
, VALS(plugin_proto_checksum_vals
), 0x0, NULL
, HFILL
3078 "CRC-16", "wmx.dlmap.crc16",
3079 FT_UINT32
, BASE_HEX
, NULL
, 0x0, NULL
, HFILL
3085 "CRC-16 Status", "wmx.dlmap.crc16.status",
3086 FT_UINT8
, BASE_NONE
, VALS(plugin_proto_checksum_vals
), 0x0, NULL
, HFILL
3092 "Padding", "wmx.dlmap.padding",
3093 FT_BYTES
, BASE_NONE
, NULL
, 0x0, NULL
, HFILL
3099 "CID Mask", "wmx.dlmap.cid_mask",
3100 FT_BYTES
, BASE_NONE
, NULL
, 0x0, NULL
, HFILL
3106 "Reserved", "wmx.dlmap.reserved",
3107 FT_BYTES
, BASE_NONE
, NULL
, 0x0, NULL
, HFILL
3110 /* Generated via "one time" script to help create filterable fields */
3111 { &hf_dlmap_rcid_ie_cid
, { "CID", "wmx.dlmap.rcid_ie.cid", FT_UINT32
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3112 { &hf_dlmap_rcid_ie_prefix
, { "Prefix", "wmx.dlmap.rcid_ie.prefix", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3113 { &hf_dlmap_rcid_ie_cid11
, { "CID11", "wmx.dlmap.rcid_ie.cid11", FT_UINT32
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3114 { &hf_dlmap_rcid_ie_cid7
, { "CID7", "wmx.dlmap.rcid_ie.cid7", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3115 { &hf_dlmap_rcid_ie_cid3
, { "CID3", "wmx.dlmap.rcid_ie.cid3", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3116 { &hf_dlmap_dedicated_dl_control_length
, { "Length", "wmx.dlmap.dedicated_dl_control.length", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3117 { &hf_dlmap_dedicated_dl_control_control_header
, { "Control Header", "wmx.dlmap.dedicated_dl_control.control_header", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3118 { &hf_dlmap_dedicated_dl_control_num_sdma_layers
, { "Num SDMA Layers", "wmx.dlmap.dedicated_dl_control.num_sdma_layers", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3119 { &hf_dlmap_dedicated_mimo_dl_control_length
, { "Length (nibbles)", "wmx.dlmap.dedicated_mimo_dl_control.length", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3120 { &hf_dlmap_dedicated_mimo_dl_control_control_header_mimo_control_info
, { "Control Header (MIMO Control Info)", "wmx.dlmap.dedicated_mimo_dl_control.control_header_mimo_control_info", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3121 { &hf_dlmap_dedicated_mimo_dl_control_control_header_cqi_control_info
, { "Control Header (CQI Control Info)", "wmx.dlmap.dedicated_mimo_dl_control.control_header_cqi_control_info", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3122 { &hf_dlmap_dedicated_mimo_dl_control_control_header_closed_mimo_control_info
, { "Control Header (Closed MIMO Control Info)", "wmx.dlmap.dedicated_mimo_dl_control.control_header_closed_mimo_control_info", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3123 { &hf_dlmap_dedicated_mimo_dl_control_n_layer
, { "N_layer", "wmx.dlmap.dedicated_mimo_dl_control.n_layer", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3124 { &hf_dlmap_dedicated_mimo_dl_control_matrix
, { "Matrix", "wmx.dlmap.dedicated_mimo_dl_control.matrix", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3125 { &hf_dlmap_dedicated_mimo_dl_control_num_beamformed_streams
, { "Num_Beamformed_Streams", "wmx.dlmap.dedicated_mimo_dl_control.num_beamformed_streams", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3126 { &hf_dlmap_dedicated_mimo_dl_control_period
, { "Period", "wmx.dlmap.dedicated_mimo_dl_control.period", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3127 { &hf_dlmap_dedicated_mimo_dl_control_frame_offset
, { "Frame Offset", "wmx.dlmap.dedicated_mimo_dl_control.frame_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3128 { &hf_dlmap_dedicated_mimo_dl_control_duration
, { "Duration", "wmx.dlmap.dedicated_mimo_dl_control.duration", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3129 { &hf_dlmap_dedicated_mimo_dl_control_allocation_index
, { "Allocation Index", "wmx.dlmap.dedicated_mimo_dl_control.allocation_index", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3130 { &hf_dlmap_dedicated_mimo_dl_control_cqich_num
, { "CQICH_Num", "wmx.dlmap.dedicated_mimo_dl_control.cqich_num", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3131 { &hf_dlmap_dedicated_mimo_dl_control_feedback_type
, { "Feedback type", "wmx.dlmap.dedicated_mimo_dl_control.feedback_type", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3132 { &hf_dlmap_dedicated_mimo_dl_control_antenna_grouping_index
, { "Antenna Grouping Index", "wmx.dlmap.dedicated_mimo_dl_control.antenna_grouping_index", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3133 { &hf_dlmap_dedicated_mimo_dl_control_num_stream
, { "Num_stream", "wmx.dlmap.dedicated_mimo_dl_control.num_stream", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3134 { &hf_dlmap_dedicated_mimo_dl_control_antenna_selection_index
, { "Antenna Selection Index", "wmx.dlmap.dedicated_mimo_dl_control.antenna_selection_index", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3135 { &hf_dlmap_dedicated_mimo_dl_control_codebook_precoding_index
, { "Codebook Precoding Index", "wmx.dlmap.dedicated_mimo_dl_control.codebook_precoding_index", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3136 { &hf_dlmap_n_sub_burst_isi
, { "N sub burst[ISI]", "wmx.dlmap.n_sub_burst_isi", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3137 { &hf_dlmap_harq_chase_n_ack_channel
, { "N ACK channel", "wmx.dlmap.harq_chase.n_ack_channel", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3138 { &hf_dlmap_harq_chase_duration
, { "Duration", "wmx.dlmap.harq_chase.duration", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3139 { &hf_dlmap_harq_chase_sub_burst_diuc_indicator
, { "Sub-Burst DIUC Indicator", "wmx.dlmap.harq_chase.sub_burst_diuc_indicator", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3140 { &hf_dlmap_reserved_uint
, { "Reserved", "wmx.dlmap.reserved.uint", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3141 { &hf_dlmap_harq_chase_diuc
, { "DIUC", "wmx.dlmap.harq_chase.diuc", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3142 { &hf_dlmap_harq_chase_repetition_coding_indication
, { "Repetition Coding Indication", "wmx.dlmap.harq_chase.repetition_coding_indication", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3143 { &hf_dlmap_harq_chase_acid
, { "ACID", "wmx.dlmap.harq_chase.acid", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3144 { &hf_dlmap_harq_chase_ai_sn
, { "AI_SN", "wmx.dlmap.harq_chase.ai_sn", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3145 { &hf_dlmap_harq_chase_ack_disable
, { "ACK disable", "wmx.dlmap.harq_chase.ack_disable", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3146 { &hf_dlmap_harq_chase_dedicated_dl_control_indicator
, { "Dedicated DL Control Indicator", "wmx.dlmap.harq_chase.dedicated_dl_control_indicator", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3147 { &hf_dlmap_harq_chase_allocation_index
, { "Allocation Index", "wmx.dlmap.harq_chase.allocation_index", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3148 { &hf_dlmap_harq_chase_period
, { "Period (p)", "wmx.dlmap.harq_chase.period", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3149 { &hf_dlmap_harq_chase_frame_offset
, { "Frame offset", "wmx.dlmap.harq_chase.frame_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3150 { &hf_dlmap_harq_ir_ctc_n_ack_channel
, { "N ACK channel", "wmx.dlmap.harq_ir_ctc.n_ack_channel", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3151 { &hf_dlmap_harq_ir_ctc_nep
, { "N(EP)", "wmx.dlmap.harq_ir_ctc.n_ep", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3152 { &hf_dlmap_harq_ir_ctc_nsch
, { "N(SCH)", "wmx.dlmap.harq_ir_ctc.n_sch", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3153 { &hf_dlmap_harq_ir_ctc_spid
, { "SPID", "wmx.dlmap.harq_ir_ctc.spid", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3154 { &hf_dlmap_harq_ir_ctc_acid
, { "ACID", "wmx.dlmap.harq_ir_ctc.acid", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3155 { &hf_dlmap_harq_ir_ctc_ai_sn
, { "AI_SN", "wmx.dlmap.harq_ir_ctc.ai_sn", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3156 { &hf_dlmap_harq_ir_ctc_ack_disable
, { "ACK disable", "wmx.dlmap.harq_ir_ctc.ack_disable", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3157 { &hf_dlmap_harq_ir_ctc_dedicated_dl_control_indicator
, { "Dedicated DL Control Indicator", "wmx.dlmap.harq_ir_ctc.dedicated_dl_control_indicator", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3158 { &hf_dlmap_harq_ir_ctc_duration
, { "Duration (d)", "wmx.dlmap.harq_ir_ctc.duration", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3159 { &hf_dlmap_harq_ir_ctc_allocation_index
, { "Allocation Index", "wmx.dlmap.harq_ir_ctc.allocation_index", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3160 { &hf_dlmap_harq_ir_ctc_period
, { "Period (p)", "wmx.dlmap.harq_ir_ctc.period", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3161 { &hf_dlmap_harq_ir_ctc_frame_offset
, { "Frame offset", "wmx.dlmap.harq_ir_ctc.frame_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3162 { &hf_dlmap_harq_ir_cc_n_ack_channel
, { "N ACK channel", "wmx.dlmap.harq_ir_cc.n_ack_channel", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3163 { &hf_dlmap_harq_ir_cc_duration
, { "Duration", "wmx.dlmap.harq_ir_cc.duration", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3164 { &hf_dlmap_harq_ir_cc_sub_burst_diuc_indicator
, { "Sub-Burst DIUC Indicator", "wmx.dlmap.harq_ir_cc.sub_burst_diuc_indicator", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3165 { &hf_dlmap_harq_ir_cc_diuc
, { "DIUC", "wmx.dlmap.harq_ir_cc.diuc", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3166 { &hf_dlmap_harq_ir_cc_repetition_coding_indication
, { "Repetition Coding Indication", "wmx.dlmap.harq_ir_cc.repetition_coding_indication", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3167 { &hf_dlmap_harq_ir_cc_acid
, { "ACID", "wmx.dlmap.harq_ir_cc.acid", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3168 { &hf_dlmap_harq_ir_cc_ai_sn
, { "AI_SN", "wmx.dlmap.harq_ir_cc.ai_sn", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3169 { &hf_dlmap_harq_ir_cc_spid
, { "SPID", "wmx.dlmap.harq_ir_cc.spid", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3170 { &hf_dlmap_harq_ir_cc_ack_disable
, { "ACK disable", "wmx.dlmap.harq_ir_cc.ack_disable", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3171 { &hf_dlmap_harq_ir_cc_dedicated_dl_control_indicator
, { "Dedicated DL Control Indicator", "wmx.dlmap.harq_ir_cc.dedicated_dl_control_indicator", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3172 { &hf_dlmap_harq_ir_cc_allocation_index
, { "Allocation Index", "wmx.dlmap.harq_ir_cc.allocation_index", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3173 { &hf_dlmap_harq_ir_cc_period
, { "Period (p)", "wmx.dlmap.harq_ir_cc.period", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3174 { &hf_dlmap_harq_ir_cc_frame_offset
, { "Frame offset", "wmx.dlmap.harq_ir_cc.frame_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3175 { &hf_dlmap_mimo_dl_chase_harq_n_ack_channel
, { "N ACK channel", "wmx.dlmap.mimo_dl_chase_harq.n_ack_channel", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3176 { &hf_dlmap_mimo_dl_chase_harq_mu_indicator
, { "MU Indicator", "wmx.dlmap.mimo_dl_chase_harq.mu_indicator", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3177 { &hf_dlmap_mimo_dl_chase_harq_dedicated_mimo_dl_control_indicator
, { "Dedicated MIMO DL Control Indicator", "wmx.dlmap.mimo_dl_chase_harq.dedicated_mimo_dl_control_indicator", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3178 { &hf_dlmap_mimo_dl_chase_harq_ack_disable
, { "ACK Disable", "wmx.dlmap.mimo_dl_chase_harq.ack_disable", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3179 { &hf_dlmap_mimo_dl_chase_harq_duration
, { "Duration", "wmx.dlmap.mimo_dl_chase_harq.duration", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3180 { &hf_dlmap_mimo_dl_chase_harq_diuc
, { "DIUC", "wmx.dlmap.mimo_dl_chase_harq.diuc", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3181 { &hf_dlmap_mimo_dl_chase_harq_repetition_coding_indication
, { "Repetition Coding Indication", "wmx.dlmap.mimo_dl_chase_harq.repetition_coding_indication", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3182 { &hf_dlmap_mimo_dl_chase_harq_acid
, { "ACID", "wmx.dlmap.mimo_dl_chase_harq.acid", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3183 { &hf_dlmap_mimo_dl_chase_harq_ai_sn
, { "AI_SN", "wmx.dlmap.mimo_dl_chase_harq.ai_sn", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3184 { &hf_dlmap_mimo_dl_ir_harq_n_ack_channel
, { "N ACK channel", "wmx.dlmap.mimo_dl_ir_harq.n_ack_channel", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3185 { &hf_dlmap_mimo_dl_ir_harq_mu_indicator
, { "MU Indicator", "wmx.dlmap.mimo_dl_ir_harq.mu_indicator", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3186 { &hf_dlmap_mimo_dl_ir_harq_dedicated_mimo_dl_control_indicator
, { "Dedicated MIMO DL Control Indicator", "wmx.dlmap.mimo_dl_ir_harq.dedicated_mimo_dl_control_indicator", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3187 { &hf_dlmap_mimo_dl_ir_harq_ack_disable
, { "ACK Disable", "wmx.dlmap.mimo_dl_ir_harq.ack_disable", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3188 { &hf_dlmap_mimo_dl_ir_harq_nsch
, { "N(SCH)", "wmx.dlmap.mimo_dl_ir_harq.n_sch", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3189 { &hf_dlmap_mimo_dl_ir_harq_nep
, { "N(EP)", "wmx.dlmap.mimo_dl_ir_harq.n_ep", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3190 { &hf_dlmap_mimo_dl_ir_harq_spid
, { "SPID", "wmx.dlmap.mimo_dl_ir_harq.spid", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3191 { &hf_dlmap_mimo_dl_ir_harq_acid
, { "ACID", "wmx.dlmap.mimo_dl_ir_harq.acid", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3192 { &hf_dlmap_mimo_dl_ir_harq_ai_sn
, { "AI_SN", "wmx.dlmap.mimo_dl_ir_harq.ai_sn", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3193 { &hf_dlmap_mimo_dl_ir_harq_cc_n_ack_channel
, { "N ACK channel", "wmx.dlmap.mimo_dl_ir_harq_cc.n_ack_channel", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3194 { &hf_dlmap_mimo_dl_ir_harq_cc_mu_indicator
, { "MU Indicator", "wmx.dlmap.mimo_dl_ir_harq_cc.mu_indicator", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3195 { &hf_dlmap_mimo_dl_ir_harq_cc_dedicated_mimo_dl_control_indicator
, { "Dedicated MIMO DL Control Indicator", "wmx.dlmap.mimo_dl_ir_harq_cc.dedicated_mimo_dl_control_indicator", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3196 { &hf_dlmap_mimo_dl_ir_harq_cc_ack_disable
, { "ACK Disable", "wmx.dlmap.mimo_dl_ir_harq_cc.ack_disable", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3197 { &hf_dlmap_mimo_dl_ir_harq_cc_duration
, { "Duration", "wmx.dlmap.mimo_dl_ir_harq_cc.duration", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3198 { &hf_dlmap_mimo_dl_ir_harq_cc_diuc
, { "DIUC", "wmx.dlmap.mimo_dl_ir_harq_cc.diuc", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3199 { &hf_dlmap_mimo_dl_ir_harq_cc_repetition_coding_indication
, { "Repetition Coding Indication", "wmx.dlmap.mimo_dl_ir_harq_cc.repetition_coding_indication", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3200 { &hf_dlmap_mimo_dl_ir_harq_cc_acid
, { "ACID", "wmx.dlmap.mimo_dl_ir_harq_cc.acid", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3201 { &hf_dlmap_mimo_dl_ir_harq_cc_ai_sn
, { "AI_SN", "wmx.dlmap.mimo_dl_ir_harq_cc.ai_sn", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3202 { &hf_dlmap_mimo_dl_ir_harq_cc_spid
, { "SPID", "wmx.dlmap.mimo_dl_ir_harq_cc.spid", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3203 { &hf_dlmap_mimo_dl_stc_harq_n_ack_channel
, { "N ACK channel", "wmx.dlmap.mimo_dl_stc_harq.n_ack_channel", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3204 { &hf_dlmap_mimo_dl_stc_harq_tx_count
, { "TX Count", "wmx.dlmap.mimo_dl_stc_harq.tx_count", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3205 { &hf_dlmap_mimo_dl_stc_harq_duration
, { "Duration", "wmx.dlmap.mimo_dl_stc_harq.duration", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3206 { &hf_dlmap_mimo_dl_stc_harq_sub_burst_offset_indication
, { "Sub-burst offset indication", "wmx.dlmap.mimo_dl_stc_harq.sub_burst_offset_indication", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3207 { &hf_dlmap_mimo_dl_stc_harq_sub_burst_offset
, { "Sub-burst offset", "wmx.dlmap.mimo_dl_stc_harq.sub_burst_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3208 { &hf_dlmap_mimo_dl_stc_harq_ack_disable
, { "ACK Disable", "wmx.dlmap.mimo_dl_stc_harq.ack_disable", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3209 { &hf_dlmap_mimo_dl_stc_harq_dedicated_mimo_dl_control_indicator
, { "Dedicated MIMO DL Control Indicator", "wmx.dlmap.mimo_dl_stc_harq.dedicated_mimo_dl_control_indicator", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3210 { &hf_dlmap_mimo_dl_stc_harq_diuc
, { "DIUC", "wmx.dlmap.mimo_dl_stc_harq.diuc", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3211 { &hf_dlmap_mimo_dl_stc_harq_repetition_coding_indication
, { "Repetition coding Indication", "wmx.dlmap.mimo_dl_stc_harq.repetition_coding_indication", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3212 { &hf_dlmap_mimo_dl_stc_harq_acid
, { "ACID", "wmx.dlmap.mimo_dl_stc_harq.acid", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3213 { &hf_dlmap_mbs_map_extended_2_diuc
, { "Extended-2 DIUC", "wmx.dlmap.mbs_map.extended_2_diuc", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3214 { &hf_dlmap_mbs_map_mbs_zone_identifier
, { "MBS Zone identifier", "wmx.dlmap.mbs_map.mbs_zone_identifier", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3215 { &hf_dlmap_mbs_map_macro_diversity_enhanced
, { "Macro diversity enhanced", "wmx.dlmap.mbs_map.macro_diversity_enhanced", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3216 { &hf_dlmap_mbs_map_permutation
, { "Permutation", "wmx.dlmap.mbs_map.permutation", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3217 { &hf_dlmap_mbs_map_dl_permbase
, { "DL_PermBase", "wmx.dlmap.mbs_map.dl_permbase", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3218 { &hf_dlmap_mbs_map_prbs_id
, { "PRBS_ID", "wmx.dlmap.mbs_map.prbs_id", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3219 { &hf_dlmap_mbs_map_ofdma_symbol_offset
, { "OFDMA_Symbol_Offset", "wmx.dlmap.mbs_map.ofdma_symbol_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3220 { &hf_dlmap_mbs_map_diuc_change_indication
, { "DIUC_change_indication", "wmx.dlmap.mbs_map.diuc_change_indication", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3221 { &hf_dlmap_mbs_map_boosting
, { "Boosting", "wmx.dlmap.mbs_map.boosting", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3222 { &hf_dlmap_mbs_map_diuc
, { "DIUC", "wmx.dlmap.mbs_map.diuc", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3223 { &hf_dlmap_mbs_map_num_subchannels
, { "No. Subchannels", "wmx.dlmap.mbs_map.num_subchannels", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3224 { &hf_dlmap_mbs_map_num_ofdma_symbols
, { "No. OFDMA Symbols", "wmx.dlmap.mbs_map.num_ofdma_symbols", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3225 { &hf_dlmap_mbs_map_repetition_coding_indication
, { "Repetition Coding Indication", "wmx.dlmap.mbs_map.repetition_coding_indication", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3226 { &hf_dlmap_mbs_map_cid
, { "CID", "wmx.dlmap.mbs_map.cid", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3227 { &hf_dlmap_mbs_map_ofdma_symbols_offset
, { "OFDMA Symbols Offset", "wmx.dlmap.mbs_map.ofdma_symbols_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3228 { &hf_dlmap_mbs_map_subchannel_offset
, { "Subchannel offset", "wmx.dlmap.mbs_map.subchannel_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3229 { &hf_dlmap_mbs_map_slc_3_indication
, { "SLC_3_indication", "wmx.dlmap.mbs_map.slc_3_indication", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3230 { &hf_dlmap_mbs_map_next_mbs_map_ie_frame_offset
, { "Next MBS_MAP_IE frame offset", "wmx.dlmap.mbs_map.next_mbs_map_ie_frame_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3231 { &hf_dlmap_skip_extended_2_diuc
, { "Extended-2 DIUC", "wmx.dlmap.skip.extended_2_diuc", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3232 { &hf_dlmap_skip_mode
, { "Mode", "wmx.dlmap.skip.mode", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3233 { &hf_dlmap_harq_dl_map_extended_2_diuc
, { "Extended-2 DIUC", "wmx.dlmap.harq_dl_map.extended_2_diuc", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3234 { &hf_dlmap_harq_dl_map_rcid_type
, { "RCID_Type", "wmx.dlmap.harq_dl_map.rcid_type", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3235 { &hf_dlmap_harq_dl_map_boosting
, { "Boosting", "wmx.dlmap.harq_dl_map.boosting", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3236 { &hf_dlmap_harq_dl_map_region_id_use_indicator
, { "Region_ID use indicator", "wmx.dlmap.harq_dl_map.region_id_use_indicator", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3237 { &hf_dlmap_harq_dl_map_ofdma_symbol_offset
, { "OFDMA symbol offset", "wmx.dlmap.harq_dl_map.ofdma_symbol_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3238 { &hf_dlmap_harq_dl_map_subchannel_offset
, { "Subchannel offset", "wmx.dlmap.harq_dl_map.subchannel_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3239 { &hf_dlmap_harq_dl_map_number_of_ofdma_symbols
, { "Number of OFDMA symbols", "wmx.dlmap.harq_dl_map.number_of_ofdma_symbols", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3240 { &hf_dlmap_harq_dl_map_number_of_subchannels
, { "Number of subchannels", "wmx.dlmap.harq_dl_map.number_of_subchannels", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3241 { &hf_dlmap_harq_dl_map_rectangular_sub_burst_indicator
, { "Rectangular Sub-Burst Indicator", "wmx.dlmap.harq_dl_map.rectangular_sub_burst_indicator", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3242 { &hf_dlmap_harq_dl_map_region_id
, { "Region_ID", "wmx.dlmap.harq_dl_map.region_id", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3243 { &hf_dlmap_harq_dl_map_mode
, { "Mode", "wmx.dlmap.harq_dl_map.mode", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3244 { &hf_dlmap_harq_dl_map_sub_burst_ie_length
, { "Sub-burst IE Length", "wmx.dlmap.harq_dl_map.sub_burst_ie_length", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3245 { &hf_dlmap_harq_dl_map_reserved_mode
, { "Reserved Mode", "wmx.dlmap.harq_dl_map.reserved_mode", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3246 { &hf_dlmap_harq_ack_bitmap_data
, { "Bitmap data", "wmx.dlmap.harq_ack.bitmap_data", FT_BYTES
, BASE_NONE
, NULL
, 0x00, NULL
, HFILL
}},
3247 { &hf_dlmap_enhanced_dl_map_extended_2_diuc
, { "Extended-2 DIUC", "wmx.dlmap.enhanced_dl_map.extended_2_diuc", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3248 { &hf_dlmap_enhanced_dl_map_num_assignment
, { "Num_Assignment", "wmx.dlmap.enhanced_dl_map.num_assignment", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3249 { &hf_dlmap_enhanced_dl_map_n_cid
, { "N_CID", "wmx.dlmap.enhanced_dl_map.n_cid", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3250 { &hf_dlmap_enhanced_dl_map_cid
, { "CID", "wmx.dlmap.enhanced_dl_map.cid", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3251 { &hf_dlmap_enhanced_dl_map_diuc
, { "DIUC", "wmx.dlmap.enhanced_dl_map.diuc", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3252 { &hf_dlmap_enhanced_dl_map_boosting
, { "Boosting", "wmx.dlmap.enhanced_dl_map.boosting", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3253 { &hf_dlmap_enhanced_dl_map_repetition_coding_indication
, { "Repetition Coding Indication", "wmx.dlmap.enhanced_dl_map.repetition_coding_indication", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3254 { &hf_dlmap_enhanced_dl_map_region_id
, { "Region_ID", "wmx.dlmap.enhanced_dl_map.region_id", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3255 { &hf_dlmap_aas_sdma_dl_extended_2_diuc
, { "Extended-2 DIUC", "wmx.dlmap.aas_sdma_dl.extended_2_diuc", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3256 { &hf_dlmap_aas_sdma_dl_rcid_type
, { "RCID_Type", "wmx.dlmap.aas_sdma_dl.rcid_type", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3257 { &hf_dlmap_aas_sdma_dl_num_burst_region
, { "Num_Burst_Region", "wmx.dlmap.aas_sdma_dl.num_burst_region", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3258 { &hf_dlmap_aas_sdma_dl_ofdma_symbol_offset
, { "OFDMA Symbol Offset", "wmx.dlmap.aas_sdma_dl.ofdma_symbol_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3259 { &hf_dlmap_aas_sdma_dl_subchannel_offset
, { "Subchannel offset", "wmx.dlmap.aas_sdma_dl.subchannel_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3260 { &hf_dlmap_aas_sdma_dl_num_ofdma_triple_symbols
, { "No. OFDMA triple symbols", "wmx.dlmap.aas_sdma_dl.num_ofdma_triple_symbols", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3261 { &hf_dlmap_aas_sdma_dl_num_subchannels
, { "No. subchannels", "wmx.dlmap.aas_sdma_dl.num_subchannels", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3262 { &hf_dlmap_aas_sdma_dl_number_of_users
, { "Number of Users", "wmx.dlmap.aas_sdma_dl.number_of_users", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3263 { &hf_dlmap_aas_sdma_dl_encoding_mode
, { "Encoding Mode", "wmx.dlmap.aas_sdma_dl.encoding_mode", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3264 { &hf_dlmap_aas_sdma_dl_cqich_allocation
, { "CQICH Allocation", "wmx.dlmap.aas_sdma_dl.cqich_allocation", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3265 { &hf_dlmap_aas_sdma_dl_ackch_allocation
, { "ACKCH Allocation", "wmx.dlmap.aas_sdma_dl.ackch_allocation", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3266 { &hf_dlmap_aas_sdma_dl_pilot_pattern_modifier
, { "Pilot Pattern Modifier", "wmx.dlmap.aas_sdma_dl.pilot_pattern_modifier", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3267 { &hf_dlmap_aas_sdma_dl_preamble_modifier_index
, { "Preamble Modifier Index", "wmx.dlmap.aas_sdma_dl.preamble_modifier_index", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3268 { &hf_dlmap_aas_sdma_dl_pilot_pattern
, { "Pilot Pattern", "wmx.dlmap.aas_sdma_dl.pilot_pattern", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3269 { &hf_dlmap_aas_sdma_dl_diuc
, { "DIUC", "wmx.dlmap.aas_sdma_dl.diuc", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3270 { &hf_dlmap_aas_sdma_dl_repetition_coding_indication
, { "Repetition Coding Indication", "wmx.dlmap.aas_sdma_dl.repetition_coding_indication", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3271 { &hf_dlmap_aas_sdma_dl_ack_ch_index
, { "ACK CH Index", "wmx.dlmap.aas_sdma_dl.ack_ch_index", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3272 { &hf_dlmap_aas_sdma_dl_acid
, { "ACID", "wmx.dlmap.aas_sdma_dl.acid", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3273 { &hf_dlmap_aas_sdma_dl_ai_sn
, { "AI_SN", "wmx.dlmap.aas_sdma_dl.ai_sn", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3274 { &hf_dlmap_aas_sdma_dl_nep
, { "N(EP)", "wmx.dlmap.aas_sdma_dl.n_ep", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3275 { &hf_dlmap_aas_sdma_dl_nsch
, { "N(SCH)", "wmx.dlmap.aas_sdma_dl.n_sch", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3276 { &hf_dlmap_aas_sdma_dl_spid
, { "SPID", "wmx.dlmap.aas_sdma_dl.spid", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3277 { &hf_dlmap_aas_sdma_dl_allocation_index
, { "Allocation Index", "wmx.dlmap.aas_sdma_dl.allocation_index", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3278 { &hf_dlmap_aas_sdma_dl_period
, { "Period (p)", "wmx.dlmap.aas_sdma_dl.period", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3279 { &hf_dlmap_aas_sdma_dl_frame_offset
, { "Frame offset", "wmx.dlmap.aas_sdma_dl.frame_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3280 { &hf_dlmap_aas_sdma_dl_duration
, { "Duration (d)", "wmx.dlmap.aas_sdma_dl.duration", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3281 { &hf_dlmap_channel_measurement_channel_nr
, { "Channel Nr", "wmx.dlmap.channel_measurement.channel_nr", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3282 { &hf_dlmap_channel_measurement_ofdma_symbol_offset
, { "OFDMA Symbol Offset", "wmx.dlmap.channel_measurement.ofdma_symbol_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3283 { &hf_dlmap_channel_measurement_cid
, { "CID", "wmx.dlmap.channel_measurement.cid", FT_UINT32
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3284 { &hf_dlmap_stc_zone_ofdma_symbol_offset
, { "OFDMA Symbol Offset", "wmx.dlmap.stc_zone.ofdma_symbol_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3285 { &hf_dlmap_stc_zone_permutations
, { "Permutations", "wmx.dlmap.stc_zone.permutations", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3286 { &hf_dlmap_stc_zone_use_all_sc_indicator
, { "Use All SC indicator", "wmx.dlmap.stc_zone.use_all_sc_indicator", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3287 { &hf_dlmap_stc_zone_stc
, { "STC", "wmx.dlmap.stc_zone.stc", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3288 { &hf_dlmap_stc_zone_matrix_indicator
, { "Matrix indicator", "wmx.dlmap.stc_zone.matrix_indicator", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3289 { &hf_dlmap_stc_zone_dl_permbase
, { "DL_PermBase", "wmx.dlmap.stc_zone.dl_permbase", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3290 { &hf_dlmap_stc_zone_prbs_id
, { "PRBS_ID", "wmx.dlmap.stc_zone.prbs_id", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3291 { &hf_dlmap_stc_zone_amc_type
, { "AMC type", "wmx.dlmap.stc_zone.amc_type", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3292 { &hf_dlmap_stc_zone_midamble_presence
, { "Midamble Presence", "wmx.dlmap.stc_zone.midamble_presence", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3293 { &hf_dlmap_stc_zone_midamble_boosting
, { "Midamble Boosting", "wmx.dlmap.stc_zone.midamble_boosting", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3294 { &hf_dlmap_stc_zone_2_3_antenna_select
, { "2/3 antenna select", "wmx.dlmap.stc_zone.2_3_antenna_select", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3295 { &hf_dlmap_stc_zone_dedicated_pilots
, { "Dedicated Pilots", "wmx.dlmap.stc_zone.dedicated_pilots", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3296 { &hf_dlmap_aas_dl_ofdma_symbol_offset
, { "OFDMA Symbol Offset", "wmx.dlmap.aas_dl.ofdma_symbol_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3297 { &hf_dlmap_aas_dl_permutation
, { "Permutation", "wmx.dlmap.aas_dl.permutation", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3298 { &hf_dlmap_aas_dl_dl_permbase
, { "DL_PermBase", "wmx.dlmap.aas_dl.dl_permbase", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3299 { &hf_dlmap_aas_dl_downlink_preamble_config
, { "Downlink_preamble_config", "wmx.dlmap.aas_dl.downlink_preamble_config", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3300 { &hf_dlmap_aas_dl_preamble_type
, { "Preamble type", "wmx.dlmap.aas_dl.preamble_type", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3301 { &hf_dlmap_aas_dl_prbs_id
, { "PRBS_ID", "wmx.dlmap.aas_dl.prbs_id", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3302 { &hf_dlmap_aas_dl_diversity_map
, { "Diversity Map", "wmx.dlmap.aas_dl.diversity_map", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3303 { &hf_dlmap_data_location_another_bs_segment
, { "Segment", "wmx.dlmap.data_location_another_bs.segment", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3304 { &hf_dlmap_data_location_another_bs_used_subchannels
, { "Used subchannels", "wmx.dlmap.data_location_another_bs.used_subchannels", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3305 { &hf_dlmap_data_location_another_bs_diuc
, { "DIUC", "wmx.dlmap.data_location_another_bs.diuc", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3306 { &hf_dlmap_data_location_another_bs_frame_advance
, { "Frame Advance", "wmx.dlmap.data_location_another_bs.frame_advance", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3307 { &hf_dlmap_data_location_another_bs_ofdma_symbol_offset
, { "OFDMA Symbol Offset", "wmx.dlmap.data_location_another_bs.ofdma_symbol_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3308 { &hf_dlmap_data_location_another_bs_subchannel_offset
, { "Subchannel Offset", "wmx.dlmap.data_location_another_bs.subchannel_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3309 { &hf_dlmap_data_location_another_bs_boosting
, { "Boosting", "wmx.dlmap.data_location_another_bs.boosting", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3310 { &hf_dlmap_data_location_another_bs_preamble_index
, { "Preamble Index", "wmx.dlmap.data_location_another_bs.preamble_index", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3311 { &hf_dlmap_data_location_another_bs_num_ofdma_symbols
, { "No. OFDMA Symbols", "wmx.dlmap.data_location_another_bs.num_ofdma_symbols", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3312 { &hf_dlmap_data_location_another_bs_num_subchannels
, { "No. Subchannels", "wmx.dlmap.data_location_another_bs.num_subchannels", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3313 { &hf_dlmap_data_location_another_bs_repetition_coding_indication
, { "Repetition Coding Indication", "wmx.dlmap.data_location_another_bs.repetition_coding_indication", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3314 { &hf_dlmap_data_location_another_bs_cid
, { "CID", "wmx.dlmap.data_location_another_bs.cid", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3315 { &hf_dlmap_harq_map_pointer_diuc
, { "DIUC", "wmx.dlmap.harq_map_pointer.diuc", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3316 { &hf_dlmap_harq_map_pointer_num_slots
, { "No. Slots", "wmx.dlmap.harq_map_pointer.num_slots", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3317 { &hf_dlmap_harq_map_pointer_repetition_coding_indication
, { "Repetition Coding Indication", "wmx.dlmap.harq_map_pointer.repetition_coding_indication", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3318 { &hf_dlmap_harq_map_pointer_map_version
, { "Map Version", "wmx.dlmap.harq_map_pointer.map_version", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3319 { &hf_dlmap_harq_map_pointer_idle_users
, { "Idle users", "wmx.dlmap.harq_map_pointer.idle_users", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3320 { &hf_dlmap_harq_map_pointer_sleep_users
, { "Sleep users", "wmx.dlmap.harq_map_pointer.sleep_users", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3321 { &hf_dlmap_harq_map_pointer_cid_mask_length
, { "CID Mask Length", "wmx.dlmap.harq_map_pointer.cid_mask_length", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3322 { &hf_dlmap_phymod_dl_preamble_modifier_type
, { "Preamble Modifier Type", "wmx.dlmap.phymod_dl.preamble_modifier_type", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3323 { &hf_dlmap_phymod_dl_preamble_frequency_shift_index
, { "Preamble frequency shift index", "wmx.dlmap.phymod_dl.preamble_frequency_shift_index", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3324 { &hf_dlmap_phymod_dl_preamble_time_shift_index
, { "Preamble Time Shift Index", "wmx.dlmap.phymod_dl.preamble_time_shift_index", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3325 { &hf_dlmap_phymod_dl_pilot_pattern_modifier
, { "Pilot Pattern Modifier", "wmx.dlmap.phymod_dl.pilot_pattern_modifier", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3326 { &hf_dlmap_phymod_dl_pilot_pattern_index
, { "Pilot Pattern Index", "wmx.dlmap.phymod_dl.pilot_pattern_index", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3327 { &hf_dlmap_broadcast_ctrl_ptr_dcd_ucd_transmission_frame
, { "DCD_UCD Transmission Frame", "wmx.dlmap.broadcast_ctrl_ptr.dcd_ucd_transmission_frame", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3328 { &hf_dlmap_broadcast_ctrl_ptr_skip_broadcast_system_update
, { "Skip Broadcast_System_Update", "wmx.dlmap.broadcast_ctrl_ptr.skip_broadcast_system_update", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3329 { &hf_dlmap_broadcast_ctrl_ptr_broadcast_system_update_type
, { "Broadcast_System_Update_Type", "wmx.dlmap.broadcast_ctrl_ptr.broadcast_system_update_type", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3330 { &hf_dlmap_broadcast_ctrl_ptr_broadcast_system_update_transmission_frame
, { "Broadcast_System_Update_Transmission_Frame", "wmx.dlmap.broadcast_ctrl_ptr.broadcast_system_update_transmission_frame", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3331 { &hf_dlmap_dl_pusc_burst_allocation_cid
, { "CID", "wmx.dlmap.dl_pusc_burst_allocation.cid", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3332 { &hf_dlmap_dl_pusc_burst_allocation_diuc
, { "DIUC", "wmx.dlmap.dl_pusc_burst_allocation.diuc", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3333 { &hf_dlmap_dl_pusc_burst_allocation_segment
, { "Segment", "wmx.dlmap.dl_pusc_burst_allocation.segment", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3334 { &hf_dlmap_dl_pusc_burst_allocation_boosting
, { "Boosting", "wmx.dlmap.dl_pusc_burst_allocation.boosting", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3335 { &hf_dlmap_dl_pusc_burst_allocation_idcell
, { "IDcell", "wmx.dlmap.dl_pusc_burst_allocation.idcell", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3336 { &hf_dlmap_dl_pusc_burst_allocation_dl_permbase
, { "DL_PermBase", "wmx.dlmap.dl_pusc_burst_allocation.dl_permbase", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3337 { &hf_dlmap_dl_pusc_burst_allocation_prbs_id
, { "PRBS_ID", "wmx.dlmap.dl_pusc_burst_allocation.prbs_id", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3338 { &hf_dlmap_dl_pusc_burst_allocation_repetition_coding_indication
, { "Repetition coding indication", "wmx.dlmap.dl_pusc_burst_allocation.repetition_coding_indication", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3339 { &hf_dlmap_dl_pusc_burst_allocation_used_subchannels
, { "Used Subchannels", "wmx.dlmap.dl_pusc_burst_allocation.used_subchannels", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3340 { &hf_dlmap_dl_pusc_burst_allocation_ofdma_symbol_offset
, { "OFDMA symbol offset", "wmx.dlmap.dl_pusc_burst_allocation.ofdma_symbol_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3341 { &hf_dlmap_dl_pusc_burst_allocation_num_ofdma_symbols
, { "# OFDMA symbols", "wmx.dlmap.dl_pusc_burst_allocation.num_ofdma_symbols", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3342 { &hf_dlmap_dl_pusc_burst_allocation_subchannel_offset
, { "Subchannel offset", "wmx.dlmap.dl_pusc_burst_allocation.subchannel_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3343 { &hf_dlmap_dl_pusc_burst_allocation_num_subchannels
, { "# subchannels", "wmx.dlmap.dl_pusc_burst_allocation.num_subchannels", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3344 { &hf_dlmap_pusc_asca_alloc_diuc
, { "DIUC", "wmx.dlmap.pusc_asca_alloc.diuc", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3345 { &hf_dlmap_pusc_asca_alloc_short_basic_cid
, { "Short Basic CID", "wmx.dlmap.pusc_asca_alloc.short_basic_cid", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3346 { &hf_dlmap_pusc_asca_alloc_ofdma_symbol_offset
, { "OFDMA Symbol offset", "wmx.dlmap.pusc_asca_alloc.ofdma_symbol_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3347 { &hf_dlmap_pusc_asca_alloc_subchannel_offset
, { "Subchannel offset", "wmx.dlmap.pusc_asca_alloc.subchannel_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3348 { &hf_dlmap_pusc_asca_alloc_num_ofdma_symbols
, { "# OFDMA Symbols", "wmx.dlmap.pusc_asca_alloc.num_ofdma_symbols", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3349 { &hf_dlmap_pusc_asca_alloc_num_symbols
, { "# Symbols", "wmx.dlmap.pusc_asca_alloc.num_symbols", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3350 { &hf_dlmap_pusc_asca_alloc_repetition_coding_information
, { "Repetition Coding Information", "wmx.dlmap.pusc_asca_alloc.repetition_coding_information", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3351 { &hf_dlmap_pusc_asca_alloc_permutation_id
, { "Permutation ID", "wmx.dlmap.pusc_asca_alloc.permutation_id", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3352 { &hf_dlmap_reduced_aas_num_ie
, { "NUM IE", "wmx.dlmap.reduced_aas.num_ie", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3353 { &hf_dlmap_reduced_aas_periodicity
, { "Periodicity", "wmx.dlmap.reduced_aas.periodicity", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3354 { &hf_dlmap_reduced_aas_cid_included
, { "CID Included", "wmx.dlmap.reduced_aas.cid_included", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3355 { &hf_dlmap_reduced_aas_dcd_count_included
, { "DCD Count Included", "wmx.dlmap.reduced_aas.dcd_count_included", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3356 { &hf_dlmap_reduced_aas_phy_modification_included
, { "PHY modification included", "wmx.dlmap.reduced_aas.phy_modification_included", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3357 { &hf_dlmap_reduced_aas_cqich_control_indicator
, { "CQICH control indicator", "wmx.dlmap.reduced_aas.cqich_control_indicator", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3358 { &hf_dlmap_reduced_aas_encoding_mode
, { "Encoding Mode", "wmx.dlmap.reduced_aas.encoding_mode", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3359 { &hf_dlmap_reduced_aas_separate_mcs_enabled
, { "Separate MCS Enabled", "wmx.dlmap.reduced_aas.separate_mcs_enabled", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3360 { &hf_dlmap_reduced_aas_duration
, { "Duration", "wmx.dlmap.reduced_aas.duration", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3361 { &hf_dlmap_reduced_aas_diuc
, { "DIUC", "wmx.dlmap.reduced_aas.diuc", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3362 { &hf_dlmap_reduced_aas_repetition_coding_indication
, { "Repetition Coding Indication", "wmx.dlmap.reduced_aas.repetition_coding_indication", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3363 { &hf_dlmap_reduced_aas_cid
, { "CID", "wmx.dlmap.reduced_aas.cid", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3364 { &hf_dlmap_reduced_aas_allocation_index
, { "Allocation Index", "wmx.dlmap.reduced_aas.allocation_index", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3365 { &hf_dlmap_reduced_aas_report_period
, { "Report Period", "wmx.dlmap.reduced_aas.report_period", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3366 { &hf_dlmap_reduced_aas_frame_offset
, { "Frame Offset", "wmx.dlmap.reduced_aas.frame_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3367 { &hf_dlmap_reduced_aas_report_duration
, { "Report Duration", "wmx.dlmap.reduced_aas.report_duration", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3368 { &hf_dlmap_reduced_aas_cqi_measurement_type
, { "CQI Measurement Type", "wmx.dlmap.reduced_aas.cqi_measurement_type", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3369 { &hf_dlmap_reduced_aas_dcd_count
, { "DCD Count", "wmx.dlmap.reduced_aas.dcd_count", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3370 { &hf_dlmap_reduced_aas_preamble_select
, { "Preamble Select", "wmx.dlmap.reduced_aas.preamble_select", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3371 { &hf_dlmap_reduced_aas_preamble_shift_index
, { "Preamble Shift Index", "wmx.dlmap.reduced_aas.preamble_shift_index", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3372 { &hf_dlmap_reduced_aas_pilot_pattern_modifier
, { "Pilot Pattern Modifier", "wmx.dlmap.reduced_aas.pilot_pattern_modifier", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3373 { &hf_dlmap_reduced_aas_pilot_pattern_index
, { "Pilot Pattern Index", "wmx.dlmap.reduced_aas.pilot_pattern_index", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3374 { &hf_dlmap_reduced_aas_dl_frame_offset
, { "DL Frame Offset", "wmx.dlmap.reduced_aas.dl_frame_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3375 { &hf_dlmap_reduced_aas_zone_symbol_offset
, { "Zone Symbol Offset", "wmx.dlmap.reduced_aas.zone_symbol_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3376 { &hf_dlmap_reduced_aas_ofdma_symbol_offset
, { "OFDMA Symbol Offset", "wmx.dlmap.reduced_aas.ofdma_symbol_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3377 { &hf_dlmap_reduced_aas_subchannel_offset
, { "Subchannel Offset", "wmx.dlmap.reduced_aas.subchannel_offset", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3378 { &hf_dlmap_reduced_aas_num_ofdma_triple_symbol
, { "No. OFDMA triple symbol", "wmx.dlmap.reduced_aas.num_ofdma_triple_symbol", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3379 { &hf_dlmap_reduced_aas_num_subchannels
, { "No. subchannels", "wmx.dlmap.reduced_aas.num_subchannels", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3380 { &hf_dlmap_reduced_aas_num_ofdma_symbols
, { "No. OFDMA symbols", "wmx.dlmap.reduced_aas.num_ofdma_symbols", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3381 { &hf_dlmap_reduced_aas_diuc_nep
, { "DIUC/N(EP)", "wmx.dlmap.reduced_aas.diuc_nep", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3382 { &hf_dlmap_reduced_aas_dl_harq_ack_bitmap
, { "DL HARQ ACK bitmap", "wmx.dlmap.reduced_aas.dl_harq_ack_bitmap", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3383 { &hf_dlmap_reduced_aas_ack_allocation_index
, { "ACK Allocation Index", "wmx.dlmap.reduced_aas.ack_allocation_index", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3384 { &hf_dlmap_reduced_aas_acid
, { "ACID", "wmx.dlmap.reduced_aas.acid", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3385 { &hf_dlmap_reduced_aas_ai_sn
, { "AI_SN", "wmx.dlmap.reduced_aas.ai_sn", FT_UINT8
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3386 { &hf_dlmap_reduced_aas_nsch
, { "N(SCH)", "wmx.dlmap.reduced_aas.nsch", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3387 { &hf_dlmap_reduced_aas_spid
, { "SPID", "wmx.dlmap.reduced_aas.spid", FT_UINT16
, BASE_DEC
, NULL
, 0x00, NULL
, HFILL
}},
3390 /* Setup protocol subtree array */
3395 /* &ett_dlmap_c_ie, */
3443 static ei_register_info ei
[] = {
3444 { &ei_dlmap_not_implemented
, { "wmx.dlmap.not_implemented", PI_UNDECODED
, PI_WARN
, "Not implemented", EXPFILL
}},
3445 { &ei_crc16
, { "wmx.dlmap.bad_checksum", PI_CHECKSUM
, PI_ERROR
, "Bad checksum", EXPFILL
}},
3446 { &ei_mac_header_compress_dlmap_crc
, { "wmx.compress_dlmap.bad_checksum", PI_CHECKSUM
, PI_ERROR
, "Bad checksum", EXPFILL
}},
3447 { &ei_mac_header_invalid_length
, { "wmx.compress_dlmap.invalid_length", PI_MALFORMED
, PI_ERROR
, "Invalid length", EXPFILL
}},
3450 expert_module_t
* expert_mac_mgmt_msg_dlmap
;
3452 proto_mac_mgmt_msg_dlmap_decoder
= proto_register_protocol (
3453 "WiMax DLMAP Messages", /* name */
3454 "WiMax DLMAP", /* short name */
3455 "wmx.dlmap" /* abbrev */
3458 proto_register_field_array(proto_mac_mgmt_msg_dlmap_decoder
, hf
, array_length(hf
));
3459 proto_register_subtree_array(ett
, array_length(ett
));
3460 expert_mac_mgmt_msg_dlmap
= expert_register_protocol(proto_mac_mgmt_msg_dlmap_decoder
);
3461 expert_register_field_array(expert_mac_mgmt_msg_dlmap
, ei
, array_length(ei
));
3462 dlmap_handle
= register_dissector("mac_mgmt_msg_dlmap_handler", dissect_mac_mgmt_msg_dlmap_decoder
, proto_mac_mgmt_msg_dlmap_decoder
);
3465 void proto_reg_handoff_mac_mgmt_msg_dlmap(void)
3467 dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_DL_MAP
, dlmap_handle
);
3471 * Editor modelines - https://www.wireshark.org/tools/modelines.html
3476 * indent-tabs-mode: t
3479 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
3480 * :indentSize=8:tabSize=8:noTabs=false: