📄 plugins-wimax-wimax_mac.h
字号:
plugins/wimax/wimax_mac.h - Google Code Search这是 Google 取自
http://anonsvn.wireshark.org/wireshark/trunk 的 plugins/wimax/wimax_mac.h
缓存副本
Google 和网页作者无关,不对网页的内容负责。
http://anonsvn.wireshark.org/wireshark/trunk/plugins/wimax/
AUTHORS
COPYING
ChangeLog
Makefile.am
Makefile.common
Makefile.nmake
README.wimax
crc.c
crc.h
crc_data.c
mac_hd_generic_decoder.c
mac_hd_type1_decoder.c
mac_hd_type2_decoder.c
mac_mgmt_msg_decoder.c
moduleinfo.h
moduleinfo.nmake
msg_aas_beam.c
msg_aas_fbck.c
msg_arq.c
msg_clk_cmp.c
msg_dcd.c
msg_dlmap.c
msg_dreg.c
msg_dsa.c
msg_dsc.c
msg_dsd.c
msg_dsx_rvd.c
msg_fpc.c
msg_pkm.c
msg_pmc.c
msg_prc_lt_ctrl.c
msg_reg_req.c
msg_reg_rsp.c
msg_rep.c
msg_res_cmd.c
msg_rng_req.c
msg_rng_rsp.c
msg_sbc.c
msg_ucd.c
msg_ulmap.c
packet-wmx.c
plugin.rc.in
wimax_bits.h
wimax_cdma_code_decoder.c
wimax_compact_dlmap_ie_decoder.c
wimax_compact_ulmap_ie_decoder.c
wimax_fch_decoder.c
wimax_ffb_decoder.c
wimax_hack_decoder.c
wimax_harq_map_decoder.c
wimax_mac.h
wimax_pdu_decoder.c
wimax_phy_attributes_decoder.c
wimax_tlv.c
wimax_tlv.h
wimax_utils.c
wimax_utils.h
/* wimax_mac.h
* WiMax MAC Definitions
*
* Copyright (c) 2007 by Intel Corporation.
*
* Author: Lu Pan <lu.pan@intel.com>
*
* $Id$
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1999 Gerald Combs
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef WIMAX_MAC_H
#define WIMAX_MAC_H
#define IP_HEADER_BYTE 0x45
/* WiMax MAC Header/Subheader Sizes */
#define WIMAX_MAC_HEADER_SIZE 6
#define WIMAX_MAC_SUBHEADER_MESH_SIZE 2
#define WIMAX_MAC_SUBHEADER_FAST_FEEDBACK_SIZE 1
#define WIMAX_MAC_SUBHEADER_GRANT_MGMT_SIZE 2
#define WIMAX_MAC_SUBHEADER_FRAG_SIZE(x) (((x) & (WIMAX_MAC_TYPE_EXTENDED | WIMAX_MAC_TYPE_ARQ)) ? 3 : 2)
#define WIMAX_MAC_SUBHEADER_PACK_SIZE(x) (((x) & (WIMAX_MAC_TYPE_EXTENDED | WIMAX_MAC_TYPE_ARQ)) ? 3 : 2)
#define WIMAX_MAC_HEADER_GENERIC 0
#define WIMAX_MAC_CID_PADDING 0xFFFE
/* wimax mac arq */
#define ARQ_CUMULATIVE_ACK_ENTRY 1
#define ARQ_CUMULATIVE_ACK_BLOCK_SEQ 3
#define ARQ_ACK_MAP_SIZE 2
/* WiMax MAC Header Sub-types (Table 6) */
#define WIMAX_MAC_TYPE_MESH (1 << 5)
#define WIMAX_MAC_TYPE_ARQ (1 << 4)
#define WIMAX_MAC_TYPE_EXTENDED (1 << 3)
#define WIMAX_MAC_TYPE_FRAGMENTATION (1 << 2)
#define WIMAX_MAC_TYPE_PACKING (1 << 1)
#define WIMAX_MAC_TYPE_FAST_FEEDBACK (1 << 0)
#define WIMAX_MAC_TYPE_GRANT_MGMT (1 << 0)
/* wimax mac management messages (Table 14) */
#define MAC_MGMT_MSG_UCD 0
#define MAC_MGMT_MSG_DCD 1
#define MAC_MGMT_MSG_DL_MAP 2
#define MAC_MGMT_MSG_UL_MAP 3
#define MAC_MGMT_MSG_RNG_REQ 4
#define MAC_MGMT_MSG_RNG_RSP 5
#define MAC_MGMT_MSG_REG_REQ 6
#define MAC_MGMT_MSG_REG_RSP 7
#define MAC_MGMT_MSG_PKM_REQ 9
#define MAC_MGMT_MSG_PKM_RSP 10
#define MAC_MGMT_MSG_DSA_REQ 11
#define MAC_MGMT_MSG_DSA_RSP 12
#define MAC_MGMT_MSG_DSA_ACK 13
#define MAC_MGMT_MSG_DSC_REQ 14
#define MAC_MGMT_MSG_DSC_RSP 15
#define MAC_MGMT_MSG_DSC_ACK 16
#define MAC_MGMT_MSG_DSD_REQ 17
#define MAC_MGMT_MSG_DSD_RSP 18
#define MAC_MGMT_MSG_MCA_REQ 21
#define MAC_MGMT_MSG_MCA_RSP 22
#define MAC_MGMT_MSG_DBPC_REQ 23
#define MAC_MGMT_MSG_DBPC_RSP 24
#define MAC_MGMT_MSG_RES_CMD 25
#define MAC_MGMT_MSG_SBC_REQ 26
#define MAC_MGMT_MSG_SBC_RSP 27
#define MAC_MGMT_MSG_CLK_CMP 28
#define MAC_MGMT_MSG_DREG_CMD 29
#define MAC_MGMT_MSG_DSX_RVD 30
#define MAC_MGMT_MSG_TFTP_CPLT 31
#define MAC_MGMT_MSG_TFTP_RSP 32
#define MAC_MGMT_MSG_ARQ_FEEDBACK 33
#define MAC_MGMT_MSG_ARQ_DISCARD 34
#define MAC_MGMT_MSG_ARQ_RESET 35
#define MAC_MGMT_MSG_REP_REQ 36
#define MAC_MGMT_MSG_REP_RSP 37
#define MAC_MGMT_MSG_FPC 38
#define MAC_MGMT_MSG_MSH_NCFG 39
#define MAC_MGMT_MSG_MSH_NENT 40
#define MAC_MGMT_MSG_MSH_DSCH 41
#define MAC_MGMT_MSG_MSH_CSCH 42
#define MAC_MGMT_MSG_MSH_CSCF 43
#define MAC_MGMT_MSG_AAS_FBCK_REQ 44
#define MAC_MGMT_MSG_AAS_FBCK_RSP 45
#define MAC_MGMT_MSG_AAS_BEAM_SELECT 46
#define MAC_MGMT_MSG_AAS_BEAM_REQ 47
#define MAC_MGMT_MSG_AAS_BEAM_RSP 48
#define MAC_MGMT_MSG_DREG_REQ 49
#define MAC_MGMT_MSG_MOB_SLP_REQ 50
#define MAC_MGMT_MSG_MOB_SLP_RSP 51
#define MAC_MGMT_MSG_MOB_TRF_IND 52
#define MAC_MGMT_MSG_MOB_NBR_ADV 53
#define MAC_MGMT_MSG_MOB_SCN_REQ 54
#define MAC_MGMT_MSG_MOB_SCN_RSP 55
#define MAC_MGMT_MSG_MOB_BSHO_REQ 56
#define MAC_MGMT_MSG_MOB_MSHO_REQ 57
#define MAC_MGMT_MSG_MOB_BSHO_RSP 58
#define MAC_MGMT_MSG_MOB_HO_IND 59
#define MAC_MGMT_MSG_MOB_SCN_REP 60
#define MAC_MGMT_MSG_MOB_PAG_ADV 61
#define MAC_MGMT_MSG_MBS_MAP 62
#define MAC_MGMT_MSG_PMC_REQ 63
#define MAC_MGMT_MSG_PMC_RSP 64
#define MAC_MGMT_MSG_PRC_LT_CTRL 65
#define MAC_MGMT_MSG_MOB_ASC_REP 66
#define MAC_MGMT_MSG_TYPE_MAX 67
/* DL-MAP types (Table 276) */
#define DL_MAP_EXTENDED_2_DIUC 14
#define DL_MAP_EXTENDED_IE 15
/* DL-MAP Extended UIUC Code (table 277a) */
#define DL_MAP_AAS_IE 2
#define DL_MAP_EXTENDED_CID_SWITCH_IE 4
#define DL_MAP_HARQ_IE 7
/* DL-MAP Extended-2 UIUC Code (table 277c) */
#define DL_MAP_EXTENDED_2_HARQ 7
/* UL-MAP types (Table 288) */
#define UL_MAP_FAST_FEEDBACK_CHANNEL 0
#define UL_MAP_CDMA_BR_RANGING_IE 12
#define UL_MAP_PAPR_RECUCTION_ALLOC_SAFETY_ZONE 13
#define UL_MAP_CDMA_ALLOCATION_IE 14
#define UL_MAP_EXTENDED_IE 15
/* UL-MAP Extended UIUC Code (table 290a) */
#define UL_MAP_CQICH_ALLOCATION_IE 3
/* DCD types (Table 358)*/
#define DCD_DOWNLINK_BURST_PROFILE 1
#define DCD_BS_EIRP 2
#define DCD_FRAME_DURATION 3
#define DCD_PHY_TYPE 4
#define DCD_POWER_ADJUSTMENT 5
#define DCD_CHANNEL_NR 6
#define DCD_TTG 7
#define DCD_RTG 8
#define DCD_RSS 9
#define DCD_EIRXP 9
#define DCD_CHANNEL_SWITCH_FRAME_NR 10
#define DCD_FREQUENCY 12
#define DCD_BS_ID 13
#define DCD_FRAME_DURATION_CODE 14
#define DCD_FRAME_NR 15
#define DCD_SIZE_CQICH_ID 16
#define DCD_H_ARQ_ACK_DELAY 17
#define DCD_MAC_VERSION 148
#define DCD_RESTART_COUNT 154
#define DCD_BURST_FREQUENCY 1
#define DCD_BURST_FEC_CODE_TYPE 150
#define DCD_BURST_DIUC_EXIT_THRESHOLD 151
#define DCD_BURST_DIUC_ENTRY_THRESHOLD 152
#define DCD_BURST_TCS_ENABLE 153
//#define DCD_MAXIMUM_RETRANSMISSION 20
/* TLV types */
#define DCD_TLV_T_19_PERMUTATION_TYPE_FOR_BROADCAST_REGION_IN_HARQ_ZONE 19
#define DCD_TLV_T_20_MAXIMUM_RETRANSMISSION 20
#define DCD_TLV_T_21_DEFAULT_RSSI_AND_CINR_AVERAGING_PARAMETER 21
#define DCD_TLV_T_22_DL_AMC_ALLOCATED_PHYSICAL_BANDS_BITMAP 22
#define DCD_TLV_T_34_DL_REGION_DEFINITION 34
#define DCD_TLV_T_50_HO_TYPE_SUPPORT 50
#define DCD_TLV_T_31_H_ADD_THRESHOLD 31
#define DCD_TLV_T_32_H_DELETE_THRESHOLD 32
#define DCD_TLV_T_33_ASR 33
#define DCD_TLV_T_34_DL_REGION_DEFINITION 34
#define DCD_TLV_T_35_PAGING_GROUP_ID 35
#define DCD_TLV_T_36_TUSC1_PERMUTATION_ACTIVE_SUBCHANNELS_BITMAP 36
#define DCD_TLV_T_37_TUSC2_PERMUTATION_ACTIVE_SUBCHANNELS_BITMAP 37
#define DCD_TLV_T_51_HYSTERSIS_MARGIN 51
#define DCD_TLV_T_52_TIME_TO_TRIGGER_DURATION 52
#define DCD_TLV_T_54_TRIGGER 54
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -