diff options
Diffstat (limited to 'plugins/wimax/msg_ucd.c')
-rw-r--r-- | plugins/wimax/msg_ucd.c | 770 |
1 files changed, 385 insertions, 385 deletions
diff --git a/plugins/wimax/msg_ucd.c b/plugins/wimax/msg_ucd.c index a1b4829423..c83447471c 100644 --- a/plugins/wimax/msg_ucd.c +++ b/plugins/wimax/msg_ucd.c @@ -214,458 +214,458 @@ static const value_string vals_yes_no_str[] = {0, NULL} }; -/* UCD display */ -static hf_register_info hf[] = +/* Register Wimax Mac Payload Protocol and Dissector */ +void proto_register_mac_mgmt_msg_ucd(void) { + /* UCD display */ + static hf_register_info hf[] = { - &hf_ucd_message_type, { - "MAC Management Message Type", "wmx.macmgtmsgtype.ucd", - FT_UINT8, BASE_DEC, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_188_allow_aas_beam_select_message, + &hf_ucd_message_type, + { + "MAC Management Message Type", "wmx.macmgtmsgtype.ucd", + FT_UINT8, BASE_DEC, NULL, 0, "", HFILL + } + }, { - "Allow AAS Beam Select Message", "wmx.ucd.allow_aas_beam_select_message", - FT_INT8, BASE_DEC, VALS(vals_yes_no_str), 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_159_band_amc_allocation_threshold, + &hf_ucd_tlv_t_188_allow_aas_beam_select_message, + { + "Allow AAS Beam Select Message", "wmx.ucd.allow_aas_beam_select_message", + FT_INT8, BASE_DEC, VALS(vals_yes_no_str), 0, "", HFILL + } + }, { - "Band AMC Allocation Threshold ", "wmx.ucd.band_amc.allocation_threshold", - FT_UINT8, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_161_band_amc_allocation_timer, + &hf_ucd_tlv_t_159_band_amc_allocation_threshold, + { + "Band AMC Allocation Threshold ", "wmx.ucd.band_amc.allocation_threshold", + FT_UINT8, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "Band AMC Allocation Timer", "wmx.ucd.band_amc.allocation_timer", - FT_UINT8, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_160_band_amc_release_threshold, + &hf_ucd_tlv_t_161_band_amc_allocation_timer, + { + "Band AMC Allocation Timer", "wmx.ucd.band_amc.allocation_timer", + FT_UINT8, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "Band AMC Release Threshold", "wmx.ucd.band_amc.release_threshold", - FT_UINT8, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_162_band_amc_release_timer, + &hf_ucd_tlv_t_160_band_amc_release_threshold, + { + "Band AMC Release Threshold", "wmx.ucd.band_amc.release_threshold", + FT_UINT8, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "Band AMC Release Timer", "wmx.ucd.band_amc.release_timer", - FT_UINT8, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_164_band_amc_retry_timer, + &hf_ucd_tlv_t_162_band_amc_release_timer, + { + "Band AMC Release Timer", "wmx.ucd.band_amc.release_timer", + FT_UINT8, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "Band AMC Retry Timer", "wmx.ucd.band_amc.retry_timer", - FT_UINT8, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_163_band_status_report_max_period, + &hf_ucd_tlv_t_164_band_amc_retry_timer, + { + "Band AMC Retry Timer", "wmx.ucd.band_amc.retry_timer", + FT_UINT8, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "Band Status Report MAC Period", "wmx.ucd.band_status.report_max_period", - FT_UINT8, BASE_DEC, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_152_bandwidth_request_codes, + &hf_ucd_tlv_t_163_band_status_report_max_period, + { + "Band Status Report MAC Period", "wmx.ucd.band_status.report_max_period", + FT_UINT8, BASE_DEC, NULL, 0, "", HFILL + } + }, { - "Bandwidth Request Codes", "wmx.ucd.bandwidth_request", - FT_UINT8, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_burst_fec, + &hf_ucd_tlv_t_152_bandwidth_request_codes, + { + "Bandwidth Request Codes", "wmx.ucd.bandwidth_request", + FT_UINT8, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "FEC Code Type", "wmx.ucd.burst.fec", - FT_UINT8, BASE_HEX, VALS(vals_dcd_burst_fec), 0, "", HFILL - } - }, - { - &hf_ucd_burst_ranging_data_ratio, + &hf_ucd_burst_fec, + { + "FEC Code Type", "wmx.ucd.burst.fec", + FT_UINT8, BASE_HEX, VALS(vals_dcd_burst_fec), 0, "", HFILL + } + }, { - "Ranging Data Ratio", "wmx.ucd.burst.ranging_data_ratio", - FT_UINT8, BASE_DEC, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_ul_burst_reserved, + &hf_ucd_burst_ranging_data_ratio, + { + "Ranging Data Ratio", "wmx.ucd.burst.ranging_data_ratio", + FT_UINT8, BASE_DEC, NULL, 0, "", HFILL + } + }, { - "Reserved", "wmx.ucd.burst.reserved", - FT_UINT8, BASE_HEX, NULL, 0xF0, "", HFILL - } - }, - { - &hf_ucd_ul_burst_uiuc, + &hf_ucd_ul_burst_reserved, + { + "Reserved", "wmx.ucd.burst.reserved", + FT_UINT8, BASE_HEX, NULL, 0xF0, "", HFILL + } + }, { - "UIUC", "wmx.ucd.burst.uiuc", - FT_UINT8, BASE_DEC, NULL, 0x0F, "", HFILL - } - }, + &hf_ucd_ul_burst_uiuc, + { + "UIUC", "wmx.ucd.burst.uiuc", + FT_UINT8, BASE_DEC, NULL, 0x0F, "", HFILL + } + }, #if 0 - { - &hf_ucd_burst_power_boost, - {"Focused Contention Power Boost", "wmx.ucd.burst.power_boost", FT_UINT8, BASE_HEX, NULL, 0, "", HFILL} - }, - { - &hf_ucd_burst_tcs_enable, - {"TCS", "wmx.ucd.burst.tcs", FT_UINT8, BASE_DEC, VALS(vals_dcd_burst_tcs), 0, "", HFILL} - }, -#endif - { - &hf_ucd_bw_req_size, { - "Bandwidth Request Opportunity Size", "wmx.ucd.bw_req_size", - FT_UINT16, BASE_DEC, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_172_cqich_band_amc_transition_delay, + &hf_ucd_burst_power_boost, + {"Focused Contention Power Boost", "wmx.ucd.burst.power_boost", FT_UINT8, BASE_HEX, NULL, 0, "", HFILL} + }, { - "CQICH Band AMC-Transition Delay", "wmx.ucd.cqich_band_amc_transition_delay", - FT_UINT8, BASE_DEC, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_freq, + &hf_ucd_burst_tcs_enable, + {"TCS", "wmx.ucd.burst.tcs", FT_UINT8, BASE_DEC, VALS(vals_dcd_burst_tcs), 0, "", HFILL} + }, +#endif { - "Frequency", "wmx.ucd.frequency", - FT_UINT32, BASE_DEC, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_194_handover_ranging_codes, + &hf_ucd_bw_req_size, + { + "Bandwidth Request Opportunity Size", "wmx.ucd.bw_req_size", + FT_UINT16, BASE_DEC, NULL, 0, "", HFILL + } + }, { - "Handover Ranging Codes", "wmx.ucd.handover_ranging_codes", - FT_INT8, BASE_DEC, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_171_harq_ack_delay_dl_burst, + &hf_ucd_tlv_t_172_cqich_band_amc_transition_delay, + { + "CQICH Band AMC-Transition Delay", "wmx.ucd.cqich_band_amc_transition_delay", + FT_UINT8, BASE_DEC, NULL, 0, "", HFILL + } + }, { - "HARQ ACK Delay for DL Burst", "wmx.ucd.harq_ack_delay_dl_burst", - FT_UINT8, BASE_DEC, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_150_initial_ranging_codes, + &hf_ucd_freq, + { + "Frequency", "wmx.ucd.frequency", + FT_UINT32, BASE_DEC, NULL, 0, "", HFILL + } + }, { - "Initial Ranging Codes", "wmx.ucd.initial_ranging_codes", - FT_UINT8, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_195_initial_ranging_interval, + &hf_ucd_tlv_t_194_handover_ranging_codes, + { + "Handover Ranging Codes", "wmx.ucd.handover_ranging_codes", + FT_INT8, BASE_DEC, NULL, 0, "", HFILL + } + }, { - "Number of Frames Between Initial Ranging Interval Allocation", "wmx.ucd.initial_ranging_interval", - FT_INT8, BASE_DEC, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_invalid_tlv, + &hf_ucd_tlv_t_171_harq_ack_delay_dl_burst, + { + "HARQ ACK Delay for DL Burst", "wmx.ucd.harq_ack_delay_dl_burst", + FT_UINT8, BASE_DEC, NULL, 0, "", HFILL + } + }, { - "Invalid TLV", "wmx.ucd.invalid_tlv", - FT_BYTES, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_187_lower_bound_aas_preamble, + &hf_ucd_tlv_t_150_initial_ranging_codes, + { + "Initial Ranging Codes", "wmx.ucd.initial_ranging_codes", + FT_UINT8, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "Lower Bound AAS Preamble (in units of 0.25 dB)", "wmx.ucd.lower_bound_aas_preamble", - FT_INT8, BASE_DEC, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_192_min_level_power_offset_adjustment, + &hf_ucd_tlv_t_195_initial_ranging_interval, + { + "Number of Frames Between Initial Ranging Interval Allocation", "wmx.ucd.initial_ranging_interval", + FT_INT8, BASE_DEC, NULL, 0, "", HFILL + } + }, { - "Minimum Level of Power Offset Adjustment (in units of 0.1 dB)", "wmx.ucd.min_level_power_offset_adjustment", - FT_INT8, BASE_DEC, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_193_max_level_power_offset_adjustment, + &hf_ucd_invalid_tlv, + { + "Invalid TLV", "wmx.ucd.invalid_tlv", + FT_BYTES, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "Maximum Level of Power Offset Adjustment (in units of 0.1 dB)", "wmx.ucd.max_level_power_offset_adjustment", - FT_INT8, BASE_DEC, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_174_maximum_retransmission, + &hf_ucd_tlv_t_187_lower_bound_aas_preamble, + { + "Lower Bound AAS Preamble (in units of 0.25 dB)", "wmx.ucd.lower_bound_aas_preamble", + FT_INT8, BASE_DEC, NULL, 0, "", HFILL + } + }, { - "Maximum Number of Retransmission in UL-HARQ", "wmx.ucd.max_number_of_retransmission_in_ul_harq", - FT_UINT8, BASE_DEC, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_191_ms_specific_down_power_addjustment_step, + &hf_ucd_tlv_t_192_min_level_power_offset_adjustment, + { + "Minimum Level of Power Offset Adjustment (in units of 0.1 dB)", "wmx.ucd.min_level_power_offset_adjustment", + FT_INT8, BASE_DEC, NULL, 0, "", HFILL + } + }, { - "MS-specific Down Power Offset Adjustment Step (in units of 0.01 dB)", "wmx.ucd.ms_specific_down_power_offset_adjustment_step", - FT_UINT8, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_190_ms_specific_up_power_addjustment_step, + &hf_ucd_tlv_t_193_max_level_power_offset_adjustment, + { + "Maximum Level of Power Offset Adjustment (in units of 0.1 dB)", "wmx.ucd.max_level_power_offset_adjustment", + FT_INT8, BASE_DEC, NULL, 0, "", HFILL + } + }, { - "MS-specific Up Power Offset Adjustment Step (in units of 0.01 dB)", "wmx.ucd.ms_specific_up_power_offset_adjustment_step", - FT_UINT8, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_197_normalized_cn_channel_sounding, + &hf_ucd_tlv_t_174_maximum_retransmission, + { + "Maximum Number of Retransmission in UL-HARQ", "wmx.ucd.max_number_of_retransmission_in_ul_harq", + FT_UINT8, BASE_DEC, NULL, 0, "", HFILL + } + }, { - "Normalized C/N for Channel Sounding", "wmx.ucd.normalized_cn.channel_sounding", - FT_UINT8, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_177_normalized_cn_override2, + &hf_ucd_tlv_t_191_ms_specific_down_power_addjustment_step, + { + "MS-specific Down Power Offset Adjustment Step (in units of 0.01 dB)", "wmx.ucd.ms_specific_down_power_offset_adjustment_step", + FT_UINT8, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "Normalized C/N Override 2", "wmx.ucd.normalized_cn.override_2", - FT_STRING, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_177_normalized_cn_override2_first_line, + &hf_ucd_tlv_t_190_ms_specific_up_power_addjustment_step, + { + "MS-specific Up Power Offset Adjustment Step (in units of 0.01 dB)", "wmx.ucd.ms_specific_up_power_offset_adjustment_step", + FT_UINT8, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "Normalized C/N Value", "wmx.ucd.normalized_cn.override_first_line", - FT_UINT8, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_177_normalized_cn_override2_list, + &hf_ucd_tlv_t_197_normalized_cn_channel_sounding, + { + "Normalized C/N for Channel Sounding", "wmx.ucd.normalized_cn.channel_sounding", + FT_UINT8, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "Normalized C/N Value List", "wmx.ucd.normalized_cn.override_list", - FT_STRING, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_158_optional_permutation_ul_allocated_subchannels_bitmap, + &hf_ucd_tlv_t_177_normalized_cn_override2, + { + "Normalized C/N Override 2", "wmx.ucd.normalized_cn.override_2", + FT_STRING, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "Optional permutation UL allocated subchannels bitmap ", "wmx.ucd.optional_permutation_ul_allocated_subchannels_bitmap", - FT_BYTES, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_151_periodic_ranging_codes, + &hf_ucd_tlv_t_177_normalized_cn_override2_first_line, + { + "Normalized C/N Value", "wmx.ucd.normalized_cn.override_first_line", + FT_UINT8, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "Periodic Ranging Codes", "wmx.ucd.periodic_ranging_codes", - FT_UINT8, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_156_permutation_base, + &hf_ucd_tlv_t_177_normalized_cn_override2_list, + { + "Normalized C/N Value List", "wmx.ucd.normalized_cn.override_list", + FT_STRING, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "Permutation Base", "wmx.ucd.permutation_base", - FT_UINT8, BASE_DEC, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_ranging_req_size, + &hf_ucd_tlv_t_158_optional_permutation_ul_allocated_subchannels_bitmap, + { + "Optional permutation UL allocated subchannels bitmap ", "wmx.ucd.optional_permutation_ul_allocated_subchannels_bitmap", + FT_BYTES, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "Ranging Request Opportunity Size", "wmx.ucd.ranging_req_size", - FT_UINT16, BASE_DEC, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_res_timeout, + &hf_ucd_tlv_t_151_periodic_ranging_codes, + { + "Periodic Ranging Codes", "wmx.ucd.periodic_ranging_codes", + FT_UINT8, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "Contention-based Reservation Timeout", "wmx.ucd.res_timeout", - FT_UINT8, BASE_DEC, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_170_safety_channel_retry_timer, + &hf_ucd_tlv_t_156_permutation_base, + { + "Permutation Base", "wmx.ucd.permutation_base", + FT_UINT8, BASE_DEC, NULL, 0, "", HFILL + } + }, { - "Safety Channel Release Timer", "wmx.ucd.safety_channel_release_timer", - FT_UINT8, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_176_size_of_cqich_id_field, + &hf_ucd_ranging_req_size, + { + "Ranging Request Opportunity Size", "wmx.ucd.ranging_req_size", + FT_UINT16, BASE_DEC, NULL, 0, "", HFILL + } + }, { - "Size of CQICH_ID Field", "wmx.ucd.size_of_cqich_id_field", - FT_UINT8, BASE_DEC, VALS(vals_ucd_cqich_size), 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_155_start_of_ranging_codes_group, + &hf_ucd_res_timeout, + { + "Contention-based Reservation Timeout", "wmx.ucd.res_timeout", + FT_UINT8, BASE_DEC, NULL, 0, "", HFILL + } + }, { - "Start of Ranging Codes Group", "wmx.ucd.start_of_ranging_codes_group", - FT_UINT8, BASE_DEC, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_ul_allocated_subchannles_bitmap, + &hf_ucd_tlv_t_170_safety_channel_retry_timer, + { + "Safety Channel Release Timer", "wmx.ucd.safety_channel_release_timer", + FT_UINT8, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "UL Allocated Subchannels Bitmap", "wmx.ucd.subchan.bitmap", - FT_BYTES, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_subchan_codes, + &hf_ucd_tlv_t_176_size_of_cqich_id_field, + { + "Size of CQICH_ID Field", "wmx.ucd.size_of_cqich_id_field", + FT_UINT8, BASE_DEC, VALS(vals_ucd_cqich_size), 0, "", HFILL + } + }, { - "Periodic Ranging Codes", "wmx.ucd.subchan.codes", - FT_UINT8, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_subchan_params_num_chan, + &hf_ucd_tlv_t_155_start_of_ranging_codes_group, + { + "Start of Ranging Codes Group", "wmx.ucd.start_of_ranging_codes_group", + FT_UINT8, BASE_DEC, NULL, 0, "", HFILL + } + }, + { + &hf_ucd_ul_allocated_subchannles_bitmap, + { + "UL Allocated Subchannels Bitmap", "wmx.ucd.subchan.bitmap", + FT_BYTES, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "Number of Subchannels", "wmx.ucd.subchan.num_chan", - FT_UINT8, BASE_DEC, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_subchan_params_num_sym, + &hf_ucd_subchan_codes, + { + "Periodic Ranging Codes", "wmx.ucd.subchan.codes", + FT_UINT8, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "Number of OFDMA Symbols", "wmx.ucd.subchan.num_sym", - FT_UINT8, BASE_DEC, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_196_tx_power_report, + &hf_ucd_subchan_params_num_chan, + { + "Number of Subchannels", "wmx.ucd.subchan.num_chan", + FT_UINT8, BASE_DEC, NULL, 0, "", HFILL + } + }, { - "Tx Power Report", "wmx.ucd.tx_power_report", - FT_UINT24, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_196_tx_power_report_a_p_avg, + &hf_ucd_subchan_params_num_sym, + { + "Number of OFDMA Symbols", "wmx.ucd.subchan.num_sym", + FT_UINT8, BASE_DEC, NULL, 0, "", HFILL + } + }, { - "A p_avg (in multiples of 1/16)", "wmx.ucd.tx_power_report.a_p_avg", - FT_UINT8, BASE_DEC, NULL, 0xF0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_196_tx_power_report_a_p_avg_icqch, + &hf_ucd_tlv_t_196_tx_power_report, + { + "Tx Power Report", "wmx.ucd.tx_power_report", + FT_UINT24, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "A p_avg (in multiples of 1/16) when ICQCH is allocated", "wmx.ucd.tx_power_report.a_p_avg_icqch", - FT_UINT8, BASE_DEC, NULL, 0x0F, "", HFILL - } - }, - { - &hf_ucd_tlv_t_196_tx_power_report_interval, + &hf_ucd_tlv_t_196_tx_power_report_a_p_avg, + { + "A p_avg (in multiples of 1/16)", "wmx.ucd.tx_power_report.a_p_avg", + FT_UINT8, BASE_DEC, NULL, 0xF0, "", HFILL + } + }, { - "Interval (expressed as power of 2)", "wmx.ucd.tx_power_report.interval", - FT_UINT8, BASE_DEC, NULL, 0x0F, "", HFILL - } - }, - { - &hf_ucd_tlv_t_196_tx_power_report_interval_icqch, + &hf_ucd_tlv_t_196_tx_power_report_a_p_avg_icqch, + { + "A p_avg (in multiples of 1/16) when ICQCH is allocated", "wmx.ucd.tx_power_report.a_p_avg_icqch", + FT_UINT8, BASE_DEC, NULL, 0x0F, "", HFILL + } + }, { - "Interval When ICQCH is Allocated (expressed as power of 2)", "wmx.ucd.tx_power_report.interval_icqch", - FT_UINT8, BASE_DEC, NULL, 0xF0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_196_tx_power_report_threshold, + &hf_ucd_tlv_t_196_tx_power_report_interval, + { + "Interval (expressed as power of 2)", "wmx.ucd.tx_power_report.interval", + FT_UINT8, BASE_DEC, NULL, 0x0F, "", HFILL + } + }, { - "Threshold", "wmx.ucd.tx_power_report.threshold", - FT_UINT8, BASE_DEC, NULL, 0xF0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_196_tx_power_report_threshold_icqch, + &hf_ucd_tlv_t_196_tx_power_report_interval_icqch, + { + "Interval When ICQCH is Allocated (expressed as power of 2)", "wmx.ucd.tx_power_report.interval_icqch", + FT_UINT8, BASE_DEC, NULL, 0xF0, "", HFILL + } + }, { - "Threshold When ICQCH is Allocated to SS (in dB)", "wmx.ucd.tx_power_report.threshold_icqch", - FT_UINT8, BASE_DEC, NULL, 0x0F, "", HFILL - } - }, - { - &hf_ucd_unknown_type, + &hf_ucd_tlv_t_196_tx_power_report_threshold, + { + "Threshold", "wmx.ucd.tx_power_report.threshold", + FT_UINT8, BASE_DEC, NULL, 0xF0, "", HFILL + } + }, { - "Unknown UCD Type", "wmx.ucd.unknown_tlv_type", - FT_BYTES, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_202_uplink_burst_profile_for_multiple_fec_types, + &hf_ucd_tlv_t_196_tx_power_report_threshold_icqch, + { + "Threshold When ICQCH is Allocated to SS (in dB)", "wmx.ucd.tx_power_report.threshold_icqch", + FT_UINT8, BASE_DEC, NULL, 0x0F, "", HFILL + } + }, { - "Uplink Burst Profile for Multiple FEC Types", "wmx.ucd.uplink_burst_profile.multiple_fec_types", - FT_UINT8, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_203_ul_pusc_subchannel_rotation, + &hf_ucd_unknown_type, + { + "Unknown UCD Type", "wmx.ucd.unknown_tlv_type", + FT_BYTES, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "Uplink PUSC Subchannel Rotation", "wmx.ucd.uplink_burst_profile.ul_pusc_subchannel_rotation", - FT_UINT8, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_205_relative_power_offset_ul_harq_burst, + &hf_ucd_tlv_t_202_uplink_burst_profile_for_multiple_fec_types, + { + "Uplink Burst Profile for Multiple FEC Types", "wmx.ucd.uplink_burst_profile.multiple_fec_types", + FT_UINT8, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "Relative Power Offset UL HARQ Burst", "wmx.ucd.uplink_burst_profile.relative_power_offset_ul_harq_burst", - FT_UINT8, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_206_relative_power_offset_ul_burst_containing_mac_mgmt_msg, + &hf_ucd_tlv_t_203_ul_pusc_subchannel_rotation, + { + "Uplink PUSC Subchannel Rotation", "wmx.ucd.uplink_burst_profile.ul_pusc_subchannel_rotation", + FT_UINT8, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "Relative Power Offset UL Burst Containing MAC Mgmt Msg", "wmx.ucd.uplink_burst_profile.relative_power_offset_ul_burst_mac_mgmt_msg", - FT_UINT8, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_207_ul_initial_transmit_timing, + &hf_ucd_tlv_t_205_relative_power_offset_ul_harq_burst, + { + "Relative Power Offset UL HARQ Burst", "wmx.ucd.uplink_burst_profile.relative_power_offset_ul_harq_burst", + FT_UINT8, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "UL Initial Transmit Timing", "wmx.ucd.uplink_burst_profile.ul_initial_transmit_timing", - FT_UINT8, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_210_fast_feedback_region, + &hf_ucd_tlv_t_206_relative_power_offset_ul_burst_containing_mac_mgmt_msg, + { + "Relative Power Offset UL Burst Containing MAC Mgmt Msg", "wmx.ucd.uplink_burst_profile.relative_power_offset_ul_burst_mac_mgmt_msg", + FT_UINT8, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "Fast Feedback Region", "wmx.ucd.uplink_burst_profile.fast_feedback_region", - FT_BYTES, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_211_harq_ack_region, + &hf_ucd_tlv_t_207_ul_initial_transmit_timing, + { + "UL Initial Transmit Timing", "wmx.ucd.uplink_burst_profile.ul_initial_transmit_timing", + FT_UINT8, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "HARQ ACK Region", "wmx.ucd.uplink_burst_profile.harq_ack_region", - FT_BYTES, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_212_ranging_region, + &hf_ucd_tlv_t_210_fast_feedback_region, + { + "Fast Feedback Region", "wmx.ucd.uplink_burst_profile.fast_feedback_region", + FT_BYTES, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "Ranging Region", "wmx.ucd.uplink_burst_profile.ranging_region", - FT_BYTES, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_213_sounding_region, + &hf_ucd_tlv_t_211_harq_ack_region, + { + "HARQ ACK Region", "wmx.ucd.uplink_burst_profile.harq_ack_region", + FT_BYTES, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "Sounding Region", "wmx.ucd.uplink_burst_profile.sounding_region", - FT_BYTES, BASE_HEX, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_186_upper_bound_aas_preamble, + &hf_ucd_tlv_t_212_ranging_region, + { + "Ranging Region", "wmx.ucd.uplink_burst_profile.ranging_region", + FT_BYTES, BASE_HEX, NULL, 0, "", HFILL + } + }, { - "Upper Bound AAS Preamble (in units of 0.25 dB)", "wmx.ucd.upper_bound_aas_preamble", - FT_INT8, BASE_DEC, NULL, 0, "", HFILL - } - }, - { - &hf_ucd_tlv_t_189_use_cqich_indication_flag, + &hf_ucd_tlv_t_213_sounding_region, + { + "Sounding Region", "wmx.ucd.uplink_burst_profile.sounding_region", + FT_BYTES, BASE_HEX, NULL, 0, "", HFILL + } + }, + { + &hf_ucd_tlv_t_186_upper_bound_aas_preamble, + { + "Upper Bound AAS Preamble (in units of 0.25 dB)", "wmx.ucd.upper_bound_aas_preamble", + FT_INT8, BASE_DEC, NULL, 0, "", HFILL + } + }, { - "Use CQICH Indication Flag", "wmx.ucd.use_cqich_indication_flag", - FT_UINT8, BASE_HEX, NULL, 0, "", HFILL + &hf_ucd_tlv_t_189_use_cqich_indication_flag, + { + "Use CQICH Indication Flag", "wmx.ucd.use_cqich_indication_flag", + FT_UINT8, BASE_HEX, NULL, 0, "", HFILL + } } - } -}; + }; -/* Register Wimax Mac Payload Protocol and Dissector */ -void proto_register_mac_mgmt_msg_ucd(void) -{ if (proto_mac_mgmt_msg_ucd_decoder == -1) { proto_mac_mgmt_msg_ucd_decoder = proto_mac_mgmt_msg_dcd_decoder; |