⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 r64_message_ie.h

📁 wimax bs模拟器
💻 H
📖 第 1 页 / 共 4 页
字号:
            "    PHSF
            "    PHSV
            */
    struct {
    	BYTE phsiPresent:1;
		BYTE phsmPresent:1;
		BYTE phssPresent:1;
		BYTE phsfPresent:1;
		BYTE phsvPresent:1;
    }present;
    R64_PHSI_S phsi;
    R64_PHSM_S phsm;
    R64_PHSS_S phss;
    R64_PHSF_S phsf;
    R64_PHSV_S phsv;
}R64_PHS_CONTEXT_S;



typedef struct _R64_DATA_PATH_INFO_
{
            /*type:47, len:variable bytes,value:N/A , comments:Compound TLV consisting of the following TLVs
            "    Data Path type
            "    Data Path ID
            */
    struct 
    {
		BYTE dpIdPresent:1;
        BYTE dpTypePresent:1;
    }present;
    R64_DATA_PATH_ID_S dpId;
    R64_DATA_PATH_TYPE_S dpType;
}R64_DATA_PATH_INFO_S;

typedef struct _R64_PAGING_INFO_
{
                /*type:, len: bytes,value: , comments:Compound TLV consisting of the following TLVs
                "     Paging Cycle
                "    Paging Offset
                "    Paging Group ID (PGID)
                "    Paging Start / Stop
                "    Location Update Success / Failure Indication
                "    Idle Mode Retain Info
                "    Paging Start / Stop
                "    Power Down Indicator
                */
    struct
    {
        BYTE pagingCyclePresent:1;
        BYTE pagingOffsetPresent:1;
        BYTE pagingGroupIdPresent:1;
	BYTE pcIdPresent:1;
        BYTE anchorPcIdPresent:1;
        BYTE luIndicatorPresent:1;
        BYTE pagingCycleRequestPresent:1;
        BYTE retainInfoPresent:1;
        BYTE pagingActionPresent:1;
        BYTE powerdownIndicatorPresent:1;
        BYTE luStatusPresent:1;
    }present;            
    R64_PAGING_CYCLE_S pagingCycle;
    R64_PAGING_OFFSET_S pagingOffset;
    R64_PAGING_GROUP_ID_S pagingGroupId;
    R64_PAGING_CONTROLLER_ID_S pcId;
    R64_ANCHOR_PC_ID_S anchorPcId;
    R64_LU_INDICATOR_S luIndicator;    
    R64_PAGING_CYCLE_REQUEST_S pagingCycleRequest;
    R64_IDLE_MODE_RETAIN_INFO_S retainInfo;
    R64_PAGING_ACTION_S pagingAction;
    R64_POWERDOWN_INDICATOR_S powerdownIndicator;
    R64_LU_STATUS_S luStatus;
}R64_PAGING_INFO_S;


typedef struct _R64_BE_DATA_DELIVERY_SERVICE_
{
            /*type:33, len: variable bytes,value: N/A , comments:Compound TLV consisting of the following TLVs
            "    Traffic Priority.
            "    Request/transmission policy.
            */
    struct
    {
    	BYTE maxSustainedRatePresent:1;
    	BYTE traficPriorityPresent:1;
	BYTE policyPresent:1;
    }present;
    R64_MAXIMAM_SUSTAINED_TRAFIC_RATE_S maxSustainedRate;
    R64_TRAFIC_PRIORITY_S traficPriority;
    R64_REQUEST_TRANSMISSION_POLICY_TYPE_OF_DATA_DELIVERY_SERVICE_S policy;
}R64_BE_DATA_DELIVERY_SERVICE_S;

typedef struct _R64_UGS_DELIVERY_SERVICE_
{
            /*type:38, len:variable bytes,value: N/A , comments:Compound TLV consisting of the following TLVs
            "    Minimum reserved traffic rate.
            "    Maximum latency.
            "    Tolerated jitter.
            "    SDU size.
            "    Request/transmission policy.
            */
    struct 
    {
        BYTE minReservedRatePresent:1;
        BYTE maxLatencyPresent:1;
        BYTE toleratedJitterPresent:1;
        BYTE sduSizePresent:1;
        BYTE transmissionPolicyPresent:1;
    }present;
    R64_MINIMAM_RESERVED_TRAFIC_RATE_S minReservedRate;
    R64_MAXIMAM_LATENCY_S maxLatency;
    R64_TOLERATED_JITTER_S toleratedJitter;/*not present means maximam*/
    R64_SDU_SIZE_S sduSize; /*not present means variable*/
    R64_REQUEST_TRANSMISSION_POLICY_TYPE_OF_DATA_DELIVERY_SERVICE_S transmissionPolicy;/*not present means 0*/
}R64_UGS_DELIVERY_SERVICE_S;

typedef struct _R64_ERTVR_DELIVERY_SERVICE_
{
            /*type:41, len:variable bytes,value:N/A , comments:Compound TLV consisting of the following TLVs
            "    Minimum reserved traffic rate.
            "    Maximum latency.
            "    Tolerated jitter
            "    Unsolicited Grant Interval
            "    Traffic Priority.
            "    Maximum sustained traffic rate.
            "    Request/transmission policy.
            "    Maximum traffic burst.
            */
    struct 
    {
        BYTE minReservedRatePresent:1;
        BYTE maxLatencyPresent:1;
        BYTE toleratedJitterPresent:1;
        BYTE grantIntervalPresent:1;
        BYTE traficPriorityPresent:1;
        BYTE maxSustainedTraficRatePresent:1;
        BYTE transmissionPolicyPresent:1;
        BYTE maxTraficBurstPresent:1;
    }present;
    R64_MINIMAM_RESERVED_TRAFIC_RATE_S minReservedRate;
    R64_MAXIMAM_LATENCY_S maxLatency;
    R64_TOLERATED_JITTER_S toleratedJitter;/*not present means maximam*/
    R64_UNSOLICITED_GRANT_INTERVAL_S grantInterval;
    R64_TRAFIC_PRIORITY_S traficPriority;/*if present means 0*/
    R64_MAXIMAM_SUSTAINED_TRAFIC_RATE_S maxSustainedTraficRate;
    R64_REQUEST_TRANSMISSION_POLICY_TYPE_OF_DATA_DELIVERY_SERVICE_S transmissionPolicy;/*not present means 0*/
    R64_MAXIMAM_TRAFIC_BURST_S maxTraficBurst;
}R64_ERTVR_DELIVERY_SERVICE_S;


typedef struct _R64_QOS_INFO_RESOURCE_DESCRIPTOR_
{
                /*type:30, len: variable bytes,value: N/A, comments:Compound TLV consisting of the following TLVs
                "    BE Data Delivery Service  
                "    UGS Data Delivery Service
                "    ERT-VR Data Delivery Service
                "    Service flow scheduling type / Media flow type
                "    Reduced Resources Code
                */
    struct
    {
        BYTE beServicePresent:1;
        BYTE ugsServicePresent:1;
        BYTE ertvrServicePresent:1;
        BYTE serviceFlowTypePresent:1;
        BYTE reducedSourceCodePresent:1;
    }present;
    R64_BE_DATA_DELIVERY_SERVICE_S beService;
    R64_UGS_DELIVERY_SERVICE_S ugsService;
    R64_ERTVR_DELIVERY_SERVICE_S ertvrService;
    R64_SERVICE_FLOW_TYPE_S serviceFlowType;
    R64_REDUCED_SOURCE_CODE_S  reducedSourceCode;
}R64_QOS_INFO_RESOURCE_DESCRIPTOR_S;


typedef struct _R64_TOS_ID_
{
	BYTE id;/*type:170, len:1 bytes,value:see R64_TOS_ID_E , comments:ID of TOS (Tier of Service).*/
}R64_TOS_ID_S;

typedef struct _R64_SF_INFO_
{
            /*type:58, len:variable bytes,value:N/A , comments:Compound TLV consisting of the following TLVs
            "    SFID
            "    SF direction
            "    Correlation ID
            "    Reservation action
            "    Reservation result
            "    QoS Info / Resource description
            "    Packet classification rules
            "    Data Path Info
            "    PHS Context
            "    PHS Rule Action
            */
    struct 
    {
        BYTE sfIdPresent:1;
        BYTE directionPresent:1;
        BYTE correlationIdPresent:1;    
        BYTE tosIdPresent:1;
        BYTE reservationActionPresent:1;
        BYTE reservationResultPresent:1;
        BYTE saDescriptorPresent:1;
        BYTE tekContextPresent:1;
        BYTE classificationRulePresent:1;
        BYTE classifierActionPresent:1;
        BYTE datapathInfoPresent:1;
        BYTE phsContextPresent:1;
        BYTE phsRuleActionPresent:1;
        BYTE qosInfoResourceDescriptorPresent:1;
        BYTE causeCodePresent:1;
    }present;
    R64_SFID_S sfId;        
    R64_SF_DIRECTION_S direction;
    R64_CORRELATION_ID_S correlationId;
    R64_TOS_ID_S tosId;
    R64_RESERVATION_ACTION_S reservationAction;
    R64_RESERVATION_RESULT_S reservationResult;
    R64_SA_DESCRIPTOR_S saDescriptor;
    R64_TEK_CONTEXT_S  tekContext;
    R64_PACKET_CLASSIFICATION_RULE_S classificationRule;
    R64_CLASSIFIER_ACTION_S classifierAction;
    R64_DATA_PATH_INFO_S datapathInfo;
    R64_PHS_CONTEXT_S phsContext;
    R64_PHS_RULE_ACTION_S phsRuleAction;    
    R64_QOS_INFO_RESOURCE_DESCRIPTOR_S qosInfoResourceDescriptor;
    R64_CAUSE_CODE_S causeCode;
}R64_SF_INFO_S;

typedef struct _R64_MS_INFO_
{
                         /*type: 22, len:variable  bytes,value:N/A ,comments:Compound TLV consisting of the following TLVs
                        "    MSID
                        "    MS NAI
                        "    Anchor GW Info
                        "    SF Info
                        "    AK context
                        */
    struct 
    {
    	BYTE msIdPresent:1;
        BYTE sfInfoPresent:1;        
        BYTE dpInfoPresent:1;
        BYTE gwInfoPresent:1;
        BYTE anchorAuthIdPresent:1;
        BYTE akContextPresent:1;
        BYTE saDescriptorPresent:1;
        BYTE regCtxtPresent:1;
        BYTE sbcCtxtPresent:1;
        BYTE pkmCtxtPresent:1;
        BYTE msNaiPresent:1;  
        BYTE tekContextPresent:1;
    }present;
    R64_MS_ID_S msId;        
    BYTE sfInfoNum;
    BYTE dpInfoNum;
    BYTE saDescriptorNum;
    R64_SF_INFO_S sfInfo[R64_MAX_SF_NUM_PER_SS];
    R64_DATA_PATH_INFO_S dpInfo[R64_MAX_SF_NUM_PER_SS];
    R64_ANCHOR_AUTHENTICATOR_ID_S anchorAuthId;                
    R64_ANCHOR_GW_INFO_S gwInfo;
    R64_AK_CONTEXT_S akContext;
    R64_SA_DESCRIPTOR_S saDescriptor[R64_MAX_SA_DESCRIPTOR_NUM];
    R64_REG_CONTEXT_S regCtxt;
    R64_SBC_CONTEXT_S sbcCtxt;
    R64_PKM_CONTEXT_S pkmCtxt;
    R64_MS_NAI_S msNai;
    R64_TEK_CONTEXT_S  tekContext;
}R64_MS_INFO_S;


typedef struct _R64_BS_INFO_
{
            /*type:59, len:variable bytes,value:N/A , comments:Compound TLV consisting of the following TLVs
            "    BS ID
            "    Target/Serving identifier*/
    struct
    {
    	BYTE bsIdPresent:1;
    	BYTE targetServingIndPresent:1;
        BYTE relativeDelayPresent:1;
        BYTE dlPhyQualityPresent:1;
        BYTE ulPhyQualityPresent:1;
		BYTE hoIdPresent:1;
		BYTE servingLevelPredictionPresent:1;
		BYTE preambleSubchannelIndexPresent:1;
		BYTE hoOptimicationPresent:1;
		BYTE hoPolicySupportPresent:1;
		BYTE hoPolicyInidicatorPresent:1;
		BYTE actionTimePresent:1;
		BYTE resourceRetainTypePresent:1;
		BYTE resourceRetainTimePresent:1;
		BYTE causeCodePresent:1;
	}present;
	R64_BS_ID_S bsId;
	R64_TARGET_SERVING_INDICATOR_S targetServingInd;
	R64_RELATIVE_DELAY_S relativeDelay;/*only for targetServingInd*/
	R64_DL_PHY_QUALITY_INFO_S dlPhyQuality;
	R64_UL_PHY_QUALITY_INFO_S ulPhyQuality;
	R64_HO_ID_S hoId;
	R64_SERVICE_LEVEL_PREDICTION_S servingLevelPrediction;
	R64_PREAMBLE_INDEX_SUBCHANNEL_INDEX_S preambleSubchannelIndex;
	R64_HO_PROCESS_OPTIMIZATION_S hoOptimication;
	R64_HO_AUTHORIZATION_POLICY_SUPPORT_S hoPolicySupport;
	R64_HO_AUTHORIZATION_POLICY_INDICATOR_S hoPolicyInidicator;
	R64_ACTION_TIME_S actionTime;
	R64_RESOURCE_RETAIN_TYPE_S resourceRetainType;
	R64_RESOURCE_RETAIN_TIME_S resourceRetainTime;
	R64_CAUSE_CODE_S causeCode;
}R64_BS_INFO_S;
typedef struct _R64_AUTH_COMPLETE_
{
            /*type:62, len:variable bytes,value:N/A , comments:Compound TLV consisting of the following TLVs
            "    Auth result
            "    EAP message
            "    PKMv2 message code
            */
    struct{
    	BYTE authResultPresent:1;
    	BYTE pkmv2MsgCodePresent:1;
    }present;
    R64_AUTH_RESULT_S authResult;
    R64_PKMV2_MESSAGE_CODE_S pkmv2MsgCode;
}R64_AUTH_COMPLETE_S;

typedef struct _R64_HO_OPERATION_MODE_
{
            /*type:153, len:1 bytes,value:0: Recommended HO request.1: Mandatory HO request. , comments:*/
    BYTE mode;
}R64_HO_OPERATION_MODE_S;


typedef enum _R64_INIT_PAGING_RSP_CODE{
    R64_INIT_PAGEING_RSP_CODE_PAGING_OK = 0,
    R64_INIT_PAGEING_RSP_CODE_PAGING_REF_0 = 1,
    R64_INIT_PAGEING_RSP_CODE_NO_SUCH_SF = 2
}R64_INIT_PAGING_RSP_CODE_E;

typedef struct _R64_INIT_PAGING_RSP_CODE_S{
    R64_INIT_PAGING_RSP_CODE_E code;
}R64_INIT_PAGING_RSP_CODE_S;

typedef struct _R64_ACCT_INFO{
    DWORD ulVolumeGiga;
    DWORD ulVolumeBytes;

    DWORD dlVolumeGiga;
    DWORD dlVolumeBytes;

    DWORD ulPacketNum;
    DWORD dlPacketNum;
}R64_ACCT_INFO_S;

#endif  /*end of _R64_MESSAGE_IE_H_*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -