diff options
-rw-r--r-- | AUTHORS | 4 | ||||
-rw-r--r-- | plugins/wimaxasncp/packet-wimaxasncp.c | 507 | ||||
-rw-r--r-- | plugins/wimaxasncp/wimaxasncp_dict.h | 16 | ||||
-rw-r--r-- | plugins/wimaxasncp/wimaxasncp_dict.l | 10 | ||||
-rw-r--r-- | wimaxasncp/dictionary.dtd | 1 | ||||
-rw-r--r-- | wimaxasncp/dictionary.xml | 1926 |
6 files changed, 1544 insertions, 920 deletions
@@ -3188,6 +3188,10 @@ Gerhard Gappmeier <gerhard.gappmeier [AT] ascolab.com> { OPCUA dissector plugin } +David Katz <dkatz [AT] airspan.com> { + Support for versioning in the WiMAX ASN CP dissector +} + and by: Pavel Roskin <proski [AT] gnu.org> diff --git a/plugins/wimaxasncp/packet-wimaxasncp.c b/plugins/wimaxasncp/packet-wimaxasncp.c index 73faad1134..7281ee2b72 100644 --- a/plugins/wimaxasncp/packet-wimaxasncp.c +++ b/plugins/wimaxasncp/packet-wimaxasncp.c @@ -134,7 +134,7 @@ wimaxasncp_build_dict_t wimaxasncp_build_dict; static wimaxasncp_dict_tlv_t wimaxasncp_tlv_not_found = { - 0, "Unknown", NULL, WIMAXASNCP_TLV_UNKNOWN, + 0, "Unknown", NULL, WIMAXASNCP_TLV_UNKNOWN, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, NULL, NULL, NULL }; @@ -176,195 +176,303 @@ static const value_string wimaxasncp_op_id_vals[] = #define WIMAXASNCP_FT_QOS 1 #define WIMAXASNCP_FT_HO_CONTROL 2 #define WIMAXASNCP_FT_DATA_PATH_CONTROL 3 -#define WIMAXASNCP_FT_CONTEXT_DELIVERY 4 +#define WIMAXASNCP_FT_CONTEXT_TRANSFER 4 #define WIMAXASNCP_FT_R3_MOBILITY 5 #define WIMAXASNCP_FT_PAGING 6 #define WIMAXASNCP_FT_RRM 7 #define WIMAXASNCP_FT_AUTHENTICATION 8 #define WIMAXASNCP_FT_MS_STATE 9 #define WIMAXASNCP_FT_REAUTHENTICATION 10 -#define WIMAXASNCP_FT_SESSION 11 /* Nokia recommended value */ +/* since NWG R1 V1.2.0 */ +#define WIMAXASNCP_FT_IM_OPERATIONS 10 +/* since NWG R1 V1.2.1 */ +#define WIMAXASNCP_FT_ACCOUNTING 11 /* ------------------------------------------------------------------------- */ -static const value_string wimaxasncp_function_type_vals[] = +/* struct to hold a value_string tuple, per version */ +typedef struct _ver_value_string { - { WIMAXASNCP_FT_QOS, "QoS"}, - { WIMAXASNCP_FT_HO_CONTROL, "HO Control"}, - { WIMAXASNCP_FT_DATA_PATH_CONTROL, "Data Path Control"}, - { WIMAXASNCP_FT_CONTEXT_DELIVERY, "Context Delivery"}, - { WIMAXASNCP_FT_R3_MOBILITY, "R3 Mobility"}, - { WIMAXASNCP_FT_PAGING, "Paging"}, - { WIMAXASNCP_FT_RRM, "RRM"}, - { WIMAXASNCP_FT_AUTHENTICATION, "Authentication"}, - { WIMAXASNCP_FT_MS_STATE, "MS State"}, - { WIMAXASNCP_FT_REAUTHENTICATION, "Re-Authentication"}, - { WIMAXASNCP_FT_SESSION, "Session"}, - { 0, NULL} + guint32 since; + value_string vs; +} ver_value_string; + +static const ver_value_string wimaxasncp_function_type_vals[] = +{ + {0, { WIMAXASNCP_FT_QOS, "QoS"}}, + {0, { WIMAXASNCP_FT_HO_CONTROL, "HO Control"}}, + {0, { WIMAXASNCP_FT_DATA_PATH_CONTROL, "Data Path Control"}}, + {0, { WIMAXASNCP_FT_CONTEXT_TRANSFER, "Context Transfer"}}, + {0, { WIMAXASNCP_FT_R3_MOBILITY, "R3 Mobility"}}, + {0, { WIMAXASNCP_FT_PAGING, "Paging"}}, + {0, { WIMAXASNCP_FT_RRM, "RRM"}}, + {0, { WIMAXASNCP_FT_AUTHENTICATION, "Authentication Relay"}}, + {0, { WIMAXASNCP_FT_MS_STATE, "MS State"}}, + {0, { WIMAXASNCP_FT_REAUTHENTICATION, "Re-Authentication"}}, + {WIMAXASNCP_NWGVER_R10_V120, {WIMAXASNCP_FT_IM_OPERATIONS, "IM Operations"}}, + {WIMAXASNCP_NWGVER_R10_V121, { WIMAXASNCP_FT_ACCOUNTING, "Accounting"}}, + {0, { 0, NULL}} }; /* ------------------------------------------------------------------------- */ -static const value_string wimaxasncp_qos_msg_vals[] = +static const ver_value_string wimaxasncp_qos_msg_vals[] = { - { 1, "RR_Req"}, - { 2, "RR_Rsp"}, - { 3, "RR_Ack"}, - { 0, NULL} + {0,{ 1, "RR_Req"}}, + {0,{ 2, "RR_Rsp"}}, + {0,{ 3, "RR_Ack"}}, + {0,{ 0, NULL}} }; /* ------------------------------------------------------------------------- */ -static const value_string wimaxasncp_ho_control_msg_vals[] = +static const ver_value_string wimaxasncp_ho_control_msg_vals[] = { - { 1, "HO_Req"}, - { 2, "HO_Rsp"}, - { 3, "HO_Ack"}, - { 4, "HO_Cnf"}, - { 5, "HO_Complete"}, - { 6, "HO_Directive"}, - { 7, "HO_Directive_Rsp"}, - /* TODO: Add others */ - { 0, NULL} + {0, { 1, "HO_Ack"}}, + {0, { 2, "HO_Complete"}}, + {0, { 3, "HO_Cnf"}}, + {0, { 4, "HO_Req"}}, + {0, { 5, "HO_Rsp"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 1, "HO_Req"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 2, "HO_Rsp"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 3, "HO_Ack"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 4, "HO_Cnf"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 5, "HO_Complete"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 6, "HO_Directive"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 7, "HO_Directive_Rsp"}}, + {0, { 0, NULL}} }; /* ------------------------------------------------------------------------- */ -static const value_string wimaxasncp_data_path_control_msg_vals[] = +static const ver_value_string wimaxasncp_data_path_control_msg_vals[] = { - { 1, "Path_Dereg_Req"}, - { 2, "Path_Dereg_Rsp"}, - { 3, "Path_Dereg_Ack"}, - { 4, "Path_Modification_Req"}, - { 5, "Path_Modification_Rsp"}, - { 6, "Path_Modification_Ack"}, - { 7, "Path_Prereg_Req"}, - { 8, "Path_Prereg_Rsp"}, - { 9, "Path_Prereg_Ack"}, - { 10, "Path_Reg_Req"}, - { 11, "Path_Reg_Rsp"}, - { 12, "Path_Reg_Ack"}, - { 13, "IM_Exit_State_Ind"}, - { 14, "IM_Exit_State_Ind_Ack"}, - { 0, NULL} + {0, { 1, "Path_Dereg_Ack"}}, + {0, { 2, "Path_Dereg_Req"}}, + {0, { 3, "Path_Dereg_Rsp"}}, + {0, { 4, "Path_Modification_Ack"}}, + {0, { 5, "Path_Modification_Req"}}, + {0, { 6, "Path_Modification_Rsp"}}, + {0, { 7, "Path_Prereg_Ack"}}, + {0, { 8, "Path_Prereg_Req"}}, + {0, { 9, "Path_Prereg_Rsp"}}, + {0, { 10, "Path_Reg_Ack"}}, + {0, { 11, "Path_Reg_Req"}}, + {0, { 12, "Path_Reg_Rsp"}}, + {0, { 13, "MS_Attachment_Req"}}, + {0, { 14, "MS_Attachment_Rsp"}}, + {0, { 15, "MS_Attachment_Ack"}}, + {0, { 16, "Key_Change_Directive"}}, + {0, { 0, NULL}} +}; +static const ver_value_string wimaxasncp_data_path_control_msg_vals_r1v120[] = +{ + {WIMAXASNCP_NWGVER_R10_V120, { 1, "Path_Dereg_Req"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 2, "Path_Dereg_Rsp"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 3, "Path_Dereg_Ack"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 4, "Path_Modification_Req"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 5, "Path_Modification_Rsp"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 6, "Path_Modification_Ack"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 7, "Path_Prereg_Req"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 8, "Path_Prereg_Rsp"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 9, "Path_Prereg_Ack"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 10, "Path_Reg_Req"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 11, "Path_Reg_Rsp"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 12, "Path_Reg_Ack"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 13, "Obsolete"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 14, "Obsolete"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 15, "Obsolete"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 16, "Obsolete"}}, + {0, { 0, NULL}} }; /* ------------------------------------------------------------------------- */ -static const value_string wimaxasncp_context_delivery_msg_vals[] = +static const ver_value_string wimaxasncp_context_transfer_msg_vals[] = { - { 1, "Context_Req"}, - { 2, "Context_Rpt"}, - { 3, "Context_Ack"}, - { 4, "CMAC_Key_Count_Update"}, - { 5, "CMAC_Key_Count_Update_ACK"}, - { 0, NULL} + {0, { 1, "Context_Rpt"}}, + {0, { 2, "Context_Req"}}, + {0, { 3, "Context_Ack"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 1, "Context_Req"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 2, "Context_Rpt"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 4, "CMAC_Key_Count_Update"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 5, "CMAC_Key_Count_Update_ACK"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 6, "CMAC_Key_Count_Req"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 7, "CMAC_Key_Count_Rsp"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 8, "Prepaid Request"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 9, "Prepaid Notify"}}, + {WIMAXASNCP_NWGVER_R10_V121, { 6, "VOID"}}, + {WIMAXASNCP_NWGVER_R10_V121, { 7, "VOID"}}, + {WIMAXASNCP_NWGVER_R10_V121, { 0, NULL}} }; /* ------------------------------------------------------------------------- */ -static const value_string wimaxasncp_r3_mobility_msg_vals[] = +static const ver_value_string wimaxasncp_r3_mobility_msg_vals[] = { - { 1, "Anchor_DPF_HO_Req"}, - { 2, "Anchor_DPF_HO_Trigger"}, - { 3, "Anchor_DPF_HO_Rsp"}, - { 4, "Anchor_DPF_Relocate_Req"}, - { 5, "FA_Register_Req"}, - { 6, "FA_Register_Rsp"}, - { 7, "Anchor_DPF_Relocate_Rsp"}, - { 8, "FA_Revoke_Req"}, - { 9, "FA_Revoke_Rsp"}, - { 0, NULL} + {0, { 1, "Anchor_DPF_HO_Req"}}, + {0, { 2, "Anchor_DPF_HO_Trigger"}}, + {0, { 3, "Anchor_DPF_HO_Rsp"}}, + {0, { 4, "Anchor_DPF_Relocate_Req"}}, + {0, { 5, "FA_Register_Req"}}, + {0, { 6, "FA_Register_Rsp"}}, + {0, { 7, "Anchor_DPF_Relocate_Rsp"}}, + {0, { 8, "FA_Revoke_Req"}}, + {0, { 9, "FA_Revoke_Rsp"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 5, "Anchor_DPF_Relocate_Rsp"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 6, "FA_Register_Req"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 7, "FA_Register_Rsp"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 10, "Anchor_DPF_Release_Req"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 11, "Relocation_Ready_Req"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 12, "Relocation_Ready_Rsp"}}, + {0, { 0, NULL}} }; /* ------------------------------------------------------------------------- */ -static const value_string wimaxasncp_paging_msg_vals[] = +static const ver_value_string wimaxasncp_paging_msg_vals[] = { - { 1, "Paging_Announce"}, - { 2, "Delete_MS_Entry_Req"}, - { 5, "Delete_MS_Entry_Rsp"}, - { 0, NULL} + {0, { 1, "Initiate_Paging_Req"}}, + {0, { 2, "Initiate_Paging_Rsp"}}, + {0, { 3, "LU_Cnf"}}, + {0, { 4, "LU_Req"}}, + {0, { 5, "LU_Rsp"}}, + {0, { 6, "Paging_Announce"}}, + {0, { 7, "CMAC_Key_Count_Req"}}, + {0, { 8, "CMAC_Key_Count_Rsp"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 1, "Paging_Announce"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 2, "Delete_MS_Entry_Req"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 3, "PC_Relocation_Ind"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 4, "PC_Relocation_Ack"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 5, "Obsolete"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 6, "Obsolete"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 7, "Obsolete"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 8, "Obsolete"}}, + {0, { 0, NULL}} }; /* ------------------------------------------------------------------------- */ -static const value_string wimaxasncp_rrm_msg_vals[] = +static const ver_value_string wimaxasncp_rrm_msg_vals[] = { - { 1, "R6 PHY_Parameters_Req"}, - { 2, "R6 PHY_Parameters_Rpt"}, - { 3, "R4/R6 Spare_Capacity_Req"}, - { 4, "R4/R6 Spare_Capacity_Rpt"}, - { 5, "R6 Neighbor_BS_Resource_Status_Update"}, - { 6, "R4/R6 Radio_Config_Update_Req"}, - { 7, "R4/R6 Radio_Config_Update_Rpt"}, - { 8, "R4/R6 Radio_Config_Update_Ack"}, - { 0, NULL} + {0, { 1, "R6 PHY_Parameters_Req"}}, + {0, { 2, "R6 PHY_Parameters_Rpt"}}, + {0, { 3, "R4/R6 Spare_Capacity_Req"}}, + {0, { 4, "R4/R6 Spare_Capacity_Rpt"}}, + {0, { 5, "R6 Neighbor_BS_Resource_Status_Update"}}, + {0, { 6, "R4/R6 Radio_Config_Update_Req"}}, + {0, { 7, "R4/R6 Radio_Config_Update_Rpt"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 8, "R4/R6 Radio_Config_Update_Ack"}}, + {0, { 0, NULL}} }; /* ------------------------------------------------------------------------- */ -static const value_string wimaxasncp_authentication_msg_vals[] = +static const ver_value_string wimaxasncp_authentication_msg_vals[] = { - { 1, "AR_EAP_Start"}, - { 2, "AR_EAP_Transfer"}, - { 3, "Bulk_Interim_Update"}, - { 4, "Bulk_Interim_Update_Ack"}, - { 0, NULL} + {0, { 1, "AR_Authenticated_Eap_Start"}}, + {0, { 2, "AR_Authenticated_EAP_Transfer"}}, + {0, { 3, "AR_Eap_Start"}}, + {0, { 4, "AR_EAP_Transfer"}}, + {0, { 5, "AR_EAP_Complete"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 1, "AR_EAP_Start"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 2, "AR_EAP_Transfer"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 3, "Bulk_Interim_Update"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 4, "Bulk_Interim_Update_Ack"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 5, "Obsolete"}}, + {0, { 0, NULL}} }; /* ------------------------------------------------------------------------- */ -static const value_string wimaxasncp_ms_state_msg_vals[] = +static const ver_value_string wimaxasncp_ms_state_msg_vals[] = { - { 1, "MS_PreAttachment_Req"}, - { 2, "MS_PreAttachment_Rsp"}, - { 3, "MS_PreAttachment_Ack"}, - { 4, "MS_Attachment_Req"}, - { 5, "MS_Attachment_Rsp"}, - { 6, "MS_Attachment_Ack"}, - { 7, "Key_Change_Directive"}, - { 8, "Key_Change_Cnf"}, - { 9, "Key_Change_Ack"}, - { 0, NULL} + {0, { 1, "IM_Entry_State_Change_Req"}}, + {0, { 2, "IM_Entry_State_Change_Rsp"}}, + {0, { 3, "IM_Exit_State_Change_Req"}}, + {0, { 4, "IM_Exit_State_Change_Rsp"}}, + {0, { 5, "NW_ReEntry_State_Change_Directive"}}, + {0, { 6, "MS_PreAttachment_Req"}}, + {0, { 7, "MS_PreAttachment_Rsp"}}, + {0, { 8, "MS_PreAttachment_Ack"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 1, "MS_PreAttachment_Req"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 2, "MS_PreAttachment_Rsp"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 3, "MS_PreAttachment_Ack"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 4, "MS_Attachment_Req"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 5, "MS_Attachment_Rsp"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 6, "MS_Attachment_Ack"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 7, "Key_Change_Directive"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 8, "Key_Change_Cnf"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 9, "Key_Change_Ack"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 10, "Relocation_Conplete_Req"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 11, "Relocation_Conplete_Rsp"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 12, "Relocation_Conplete_Ack"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 13, "Relocation_Notify"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 14, "Relocation_Req"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 15, "Relocation_Rsp"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 16, "NetExit_MS_State_Change_Req"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 17, "NetExit_MS_State_Change_Rsp"}}, + {0, { 0, NULL}} }; /* ------------------------------------------------------------------------- */ -static const value_string wimaxasncp_reauthentication_msg_vals[] = +/* note - function type 10-im_operation, was once used for re-authrntication */ +static const ver_value_string wimaxasncp_im_operations_msg_vals[] = { -/* IM */ - { 1, "IM_Entry_State_Change_Req"}, - { 2, "IM_Entry_State_Change_Rsp"}, - { 3, "IM_Entry_State_Change_Ack"}, - { 4, "IM_Exit_State_Change_Req"}, - { 5, "IM_Exit_State_Change_Rsp"}, - { 6, "Initiate_Paging_Req"}, - { 7, "Initiate_Paging_Rsp"}, - { 8, "LU_Req"}, - { 9, "LU_Rsp"}, - { 10, "LU_Cnf"}, - { 0, NULL} + {0, { 1, "AR_EAP_Start"}}, + {0, { 2, "Key_Change_Directive"}}, + {0, { 3, "Key_Change_Cnf"}}, + {0, { 4, "Relocation_Cnf"}}, + {0, { 5, "Relocation_Confirm_Ack"}}, + {0, { 6, "Relocation_Notify"}}, + {0, { 7, "Relocation_Notify_Ack"}}, + {0, { 8, "Relocation_Req"}}, + {0, { 9, "Relocation_Rsp"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 1, "IM_Entry_State_Change_Req"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 2, "IM_Entry_State_Change_Rsp"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 3, "IM_Entry_State_Change_Ack"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 4, "IM_Exit_State_Change_Req"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 5, "IM_Exit_State_Change_Rsp"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 6, "Initiate_Paging_Req"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 7, "Initiate_Paging_Rsp"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 8, "LU_Req"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 9, "LU_Rsp"}}, + {WIMAXASNCP_NWGVER_R10_V120, { 10, "LU_Cnf"}}, + {0, { 0, NULL}} }; /* ------------------------------------------------------------------------- */ -static const value_string wimaxasncp_session_msg_vals[] = +static const ver_value_string wimaxasncp_accounting_msg_vals_r1v121[] = { - { 1, "Session_Release_Req"}, /* Nokia recommended value */ - { 2, "Session_Release_Rsp"}, /* Nokia recommended value */ - { 3, "Session_Release_Ack"}, /* Nokia recommended value */ - { 4, "Session_Failure_Rpt"}, /* Nokia recommended value */ - { 5, "Session_Failure_Rsp"}, /* Nokia recommended value */ - { 0, NULL} + {WIMAXASNCP_NWGVER_R10_V121, { 1, "Hot_lining_Req"}}, + {WIMAXASNCP_NWGVER_R10_V121, { 2, "Hot_lining_Rsp"}}, + {0, { 0, NULL}} }; +/* ------------------------------------------------------------------------- */ + +/* supported NWG versions */ +static const enum_val_t wimaxasncp_nwg_versions[] = { + { "Release 1.0, Version 1.0.0" , "R1.0 v1.0.0" , WIMAXASNCP_NWGVER_R10_V100 }, + { "Release 1.0, Version 1.2.0" , "R1.0 v1.2.0" , WIMAXASNCP_NWGVER_R10_V120 }, + { "Release 1.0, Version 1.2.1" , "R1.0 v1.2.1" , WIMAXASNCP_NWGVER_R10_V121 }, + { NULL, NULL, 0 } +}; + +/* ------------------------------------------------------------------------- */ + +/* NWG version */ +#define WIMAXASNCP_DEF_NWGVER WIMAXASNCP_NWGVER_R10_V121 +static guint global_wimaxasncp_nwg_ver = WIMAXASNCP_DEF_NWGVER; + /* ========================================================================= */ typedef struct { guint8 function_type; - const value_string *vals; + const ver_value_string *vals; } wimaxasncp_func_msg_t; /* ------------------------------------------------------------------------ */ @@ -374,14 +482,14 @@ static const wimaxasncp_func_msg_t wimaxasncp_func_to_msg_vals_map[] = { WIMAXASNCP_FT_QOS, wimaxasncp_qos_msg_vals }, { WIMAXASNCP_FT_HO_CONTROL, wimaxasncp_ho_control_msg_vals }, { WIMAXASNCP_FT_DATA_PATH_CONTROL, wimaxasncp_data_path_control_msg_vals }, - { WIMAXASNCP_FT_CONTEXT_DELIVERY, wimaxasncp_context_delivery_msg_vals }, + { WIMAXASNCP_FT_CONTEXT_TRANSFER, wimaxasncp_context_transfer_msg_vals }, { WIMAXASNCP_FT_R3_MOBILITY, wimaxasncp_r3_mobility_msg_vals }, { WIMAXASNCP_FT_PAGING, wimaxasncp_paging_msg_vals }, { WIMAXASNCP_FT_RRM, wimaxasncp_rrm_msg_vals }, { WIMAXASNCP_FT_AUTHENTICATION, wimaxasncp_authentication_msg_vals }, { WIMAXASNCP_FT_MS_STATE, wimaxasncp_ms_state_msg_vals }, - { WIMAXASNCP_FT_REAUTHENTICATION, wimaxasncp_reauthentication_msg_vals }, - { WIMAXASNCP_FT_SESSION, wimaxasncp_session_msg_vals } + { WIMAXASNCP_FT_IM_OPERATIONS, wimaxasncp_im_operations_msg_vals }, + { WIMAXASNCP_FT_ACCOUNTING, wimaxasncp_accounting_msg_vals_r1v121 } }; /* ========================================================================= */ @@ -389,6 +497,8 @@ static const wimaxasncp_func_msg_t wimaxasncp_func_to_msg_vals_map[] = static const wimaxasncp_dict_tlv_t *wimaxasncp_get_tlv_info( guint16 type) { + wimaxasncp_dict_tlv_t *res = NULL; + if (wimaxasncp_dict) { wimaxasncp_dict_tlv_t *tlv; @@ -397,17 +507,25 @@ static const wimaxasncp_dict_tlv_t *wimaxasncp_get_tlv_info( { if (tlv->type == type) { - return tlv; + /* if the TLV is defined for current NWG version */ + if (tlv->since<= global_wimaxasncp_nwg_ver) + { + /* if the current TLV is newer then last found TLV, save it */ + if(!res || (tlv->since > res->since)) + { + res = tlv; + } + } } } } - if (debug_enabled) + if (debug_enabled && !res) { g_print("fix-me: unknown TLV type: %u\n", type); } - return &wimaxasncp_tlv_not_found; + return res? res:&wimaxasncp_tlv_not_found; } /* ========================================================================= */ @@ -440,7 +558,7 @@ static const value_string wimaxasncp_decode_type_vals[] = { WIMAXASNCP_TLV_ETHER, "WIMAXASNCP_TLV_ETHER"}, { WIMAXASNCP_TLV_ASCII_STRING, "WIMAXASNCP_TLV_ASCII_STRING"}, { WIMAXASNCP_TLV_FLAG0, "WIMAXASNCP_TLV_FLAG0"}, - { WIMAXASNCP_TLV_BITFLAGS8, "WIMAXASNCP_TLV_BITFLAGS8"}, + { WIMAXASNCP_TLV_BITFLAGS8, "WIMAXASNCP_TLV_BITFLAGS8"}, { WIMAXASNCP_TLV_BITFLAGS16, "WIMAXASNCP_TLV_BITFLAGS16"}, { WIMAXASNCP_TLV_BITFLAGS32, "WIMAXASNCP_TLV_BITFLAGS32"}, { WIMAXASNCP_TLV_ID, "WIMAXASNCP_TLV_ID"}, @@ -566,7 +684,7 @@ static void wimaxasncp_proto_tree_add_ether_value( tvb, offset, length, p, "Value: %s (%s)", ether_name, ether_str); - + proto_item_append_text( tlv_item, " - %s (%s)", ether_name, ether_str); @@ -787,7 +905,7 @@ static void wimaxasncp_dissect_tlv_value( if (value & mask) { const gchar *s; - + s = wimaxasncp_get_enum_name(tlv_info, value & mask); proto_tree_add_uint_format( @@ -798,9 +916,9 @@ static void wimaxasncp_dissect_tlv_value( } } } - + return; - } + } case WIMAXASNCP_TLV_BITFLAGS16: { if (length != 2) @@ -959,7 +1077,7 @@ static void wimaxasncp_dissect_tlv_value( const gchar *format1; const gchar *format2; const guint8 *p = tvb_get_ptr(tvb, offset, length); - const gchar *s = + const gchar *s = bytestring_to_str(p, MIN(length, max_show_bytes), 0); if (length <= max_show_bytes) @@ -1140,7 +1258,7 @@ static void wimaxasncp_dissect_tlv_value( { const gchar *format; const guint8 *p = tvb_get_ptr(tvb, offset, length); - const gchar *s = + const gchar *s = bytestring_to_str(p, MIN(length, max_show_bytes), 0); if (length <= max_show_bytes) @@ -1151,7 +1269,7 @@ static void wimaxasncp_dissect_tlv_value( { format = "Value: %s %s..."; } - + proto_tree_add_bytes_format( tree, tlv_info->hf_value, tvb, offset, length, p, @@ -1660,7 +1778,7 @@ static void wimaxasncp_dissect_tlv_value( const gchar *format1; const gchar *format2; const guint8 *p = tvb_get_ptr(tvb, offset, length); - const gchar *s = + const gchar *s = bytestring_to_str(p, MIN(length, max_show_bytes), 0); if (length <= max_show_bytes) @@ -2001,6 +2119,31 @@ static guint dissect_wimaxasncp_backend( /* ========================================================================= */ + +static const gchar* +match_ver_value_string( + const guint32 val, + const ver_value_string* const strings, + const guint32 max_ver) +{ + const ver_value_string* vvs; + const ver_value_string* res = NULL; + + /* loop on the levels, from max to 0 */ + for(vvs=strings; vvs->vs.strptr; vvs++) + { + if((vvs->vs.value == val) && (vvs->since <= max_ver)) + { + if(!res || vvs->since > res->since) + { + res = vvs; + } + } + } + + return res? res->vs.strptr : NULL; +} + static void register_wimaxasncp_fields(const char*); @@ -2022,6 +2165,7 @@ dissect_wimaxasncp( guint8 ui8; guint8 function_type; + const gchar *function_type_name; proto_item *function_type_item; guint16 length; @@ -2181,20 +2325,30 @@ dissect_wimaxasncp( function_type = tvb_get_guint8(tvb, offset); - function_type_item = proto_tree_add_item( - wimaxasncp_tree, hf_wimaxasncp_function_type, - tvb, offset, 1, FALSE); + function_type_name = match_ver_value_string(function_type, + wimaxasncp_function_type_vals, + global_wimaxasncp_nwg_ver); - /* Add expert item if not matched */ - if (strcmp(val_to_str(function_type, - wimaxasncp_function_type_vals, - unknown), - unknown) == 0) + if( function_type_name ) + { + /* add the item to the tree */ + function_type_item = proto_tree_add_uint_format( + wimaxasncp_tree, hf_wimaxasncp_function_type, + tvb, offset, 1, function_type, + "%s (%u)", function_type_name, function_type); + } + else { - expert_add_info_format(pinfo, function_type_item, - PI_UNDECODED, PI_WARN, - "Unknown function type (%u)", - function_type); + /* if not matched, add the item and append expert item */ + function_type_item = proto_tree_add_uint_format( + wimaxasncp_tree, hf_wimaxasncp_function_type, + tvb, offset, 1, function_type, + "Unknown (%u)", function_type); + + expert_add_info_format(pinfo, function_type_item, + PI_UNDECODED, PI_WARN, + "Unknown function type (%u)", + function_type); } offset += 1; @@ -2237,7 +2391,11 @@ dissect_wimaxasncp( * -------------------------------------------------------------------- */ - message_name = p ? val_to_str(0x1f & ui8, p->vals, unknown) : unknown; + message_name = p ? match_ver_value_string(0x1f & ui8, p->vals, global_wimaxasncp_nwg_ver) : unknown; + if(message_name == NULL) + { + message_name = unknown; + } item = proto_tree_add_uint_format( wimaxasncp_tree, hf_wimaxasncp_op_id, @@ -2326,9 +2484,9 @@ static char *alnumerize( char *w = name; /* write pointer */ char c; - for ( ; (c = *r); ++r) + for ( ; (c = *r); ++r) { - if (isalnum((unsigned char)c) || c == '_' || c == '.') + if (isalnum((unsigned char)c) || c == '_' || c == '.') { /* These characters are fine - copy them */ *(w++) = c; @@ -2369,7 +2527,7 @@ static void add_reg_info( int display, const char *blurb) { - hf_register_info hf = { + hf_register_info hf = { hf_ptr, { name, abbrev, type, display, NULL, 0x0, blurb, HFILL } }; g_array_append_val(wimaxasncp_build_dict.hf, hf); @@ -2474,7 +2632,7 @@ static void add_tlv_reg_info( add_reg_info( &tlv->hf_value, name, abbrev, FT_STRING, BASE_NONE, blurb); break; - + case WIMAXASNCP_TLV_BITFLAGS8: add_reg_info( &tlv->hf_value, name, abbrev, FT_UINT8, BASE_HEX, blurb); @@ -2584,7 +2742,7 @@ static void add_tlv_reg_info( blurb = g_strdup_printf("value component for type=%u", tlv->type); name = "Protocol"; - + abbrev = alnumerize( g_strdup_printf("wimaxasncp.tlv.%s.value.protocol", tlv->name)); @@ -2754,7 +2912,7 @@ register_wimaxasncp_fields(const char* unused _U_) "wimaxasncp.function_type", FT_UINT8, BASE_DEC, - VALS(wimaxasncp_function_type_vals), + NULL, 0x0, NULL, HFILL @@ -2793,7 +2951,7 @@ register_wimaxasncp_fields(const char* unused _U_) "wimaxasncp.qos_msg", FT_UINT8, BASE_HEX, - VALS(wimaxasncp_qos_msg_vals), + NULL, 0x1F, NULL, HFILL @@ -2806,7 +2964,7 @@ register_wimaxasncp_fields(const char* unused _U_) "wimaxasncp.ho_control_msg", FT_UINT8, BASE_HEX, - VALS(wimaxasncp_ho_control_msg_vals), + NULL, 0x1F, NULL, HFILL @@ -2819,7 +2977,7 @@ register_wimaxasncp_fields(const char* unused _U_) "wimaxasncp.data_path_control_msg", FT_UINT8, BASE_HEX, - VALS(wimaxasncp_data_path_control_msg_vals), + NULL, 0x1F, NULL, HFILL @@ -2832,7 +2990,7 @@ register_wimaxasncp_fields(const char* unused _U_) "wimaxasncp.context_delivery_msg", FT_UINT8, BASE_HEX, - VALS(wimaxasncp_context_delivery_msg_vals), + NULL, 0x1F, NULL, HFILL @@ -2845,7 +3003,7 @@ register_wimaxasncp_fields(const char* unused _U_) "wimaxasncp.r3_mobility_msg", FT_UINT8, BASE_HEX, - VALS(wimaxasncp_r3_mobility_msg_vals), + NULL, 0x1F, NULL, HFILL @@ -2858,7 +3016,7 @@ register_wimaxasncp_fields(const char* unused _U_) "wimaxasncp.paging_msg", FT_UINT8, BASE_HEX, - VALS(wimaxasncp_paging_msg_vals), + NULL, 0x1F, NULL, HFILL @@ -2871,7 +3029,7 @@ register_wimaxasncp_fields(const char* unused _U_) "wimaxasncp.rrm_msg", FT_UINT8, BASE_HEX, - VALS(wimaxasncp_rrm_msg_vals), + NULL, 0x1F, NULL, HFILL @@ -2884,7 +3042,7 @@ register_wimaxasncp_fields(const char* unused _U_) "wimaxasncp.authentication_msg", FT_UINT8, BASE_HEX, - VALS(wimaxasncp_authentication_msg_vals), + NULL, 0x1F, NULL, HFILL @@ -2897,7 +3055,7 @@ register_wimaxasncp_fields(const char* unused _U_) "wimaxasncp.ms_state_msg", FT_UINT8, BASE_HEX, - VALS(wimaxasncp_ms_state_msg_vals), + NULL, 0x1F, NULL, HFILL @@ -2910,7 +3068,7 @@ register_wimaxasncp_fields(const char* unused _U_) "wimaxasncp.reauthentication_msg", FT_UINT8, BASE_HEX, - VALS(wimaxasncp_reauthentication_msg_vals), + NULL, 0x1F, NULL, HFILL @@ -2923,7 +3081,7 @@ register_wimaxasncp_fields(const char* unused _U_) "wimaxasncp.session_msg", FT_UINT8, BASE_HEX, - VALS(wimaxasncp_session_msg_vals), + NULL, 0x1F, NULL, HFILL @@ -3058,7 +3216,7 @@ register_wimaxasncp_fields(const char* unused _U_) NULL, HFILL } - }, + }, { &hf_wimaxasncp_tlv_value_bitflags16, { @@ -3122,7 +3280,7 @@ register_wimaxasncp_fields(const char* unused _U_) &ett_wimaxasncp, &ett_wimaxasncp_flags, &ett_wimaxasncp_tlv, - &ett_wimaxasncp_tlv_value_bitflags8, + &ett_wimaxasncp_tlv_value_bitflags8, &ett_wimaxasncp_tlv_value_bitflags16, &ett_wimaxasncp_tlv_value_bitflags32, &ett_wimaxasncp_tlv_protocol_list, @@ -3145,7 +3303,7 @@ register_wimaxasncp_fields(const char* unused _U_) "%s" G_DIR_SEPARATOR_S "wimaxasncp", get_datafile_dir()); - wimaxasncp_dict = + wimaxasncp_dict = wimaxasncp_dict_scan(dir, "dictionary.xml", debug_parser, &dict_error); if (dict_error) @@ -3164,13 +3322,13 @@ register_wimaxasncp_fields(const char* unused _U_) * ------------------------------------------------------------------------ */ - wimaxasncp_build_dict.hf = + wimaxasncp_build_dict.hf = g_array_new(FALSE, TRUE, sizeof(hf_register_info)); g_array_append_vals( wimaxasncp_build_dict.hf, hf_base, array_length(hf_base)); - wimaxasncp_build_dict.ett = + wimaxasncp_build_dict.ett = g_array_new(FALSE, TRUE, sizeof(gint*)); g_array_append_vals( @@ -3261,7 +3419,7 @@ register_wimaxasncp_fields(const char* unused _U_) * used */ proto_register_field_array( proto_wimaxasncp, - (hf_register_info*)wimaxasncp_build_dict.hf->data, + (hf_register_info*)wimaxasncp_build_dict.hf->data, wimaxasncp_build_dict.hf->len); proto_register_subtree_array( @@ -3322,12 +3480,21 @@ proto_register_wimaxasncp(void) &debug_enabled); prefs_register_uint_preference( - wimaxasncp_module, + wimaxasncp_module, "udp.wimax_port", "UDP Port for WiMAX ASN Control Plane Protocol", "Set UDP port for WiMAX ASN Control Plane Protocol", 10, &global_wimaxasncp_udp_port); + prefs_register_enum_preference( + wimaxasncp_module, + "nwg_version", + "NWG Version", + "Version of the NWG that the R6 protocol complies with", + &global_wimaxasncp_nwg_ver, + wimaxasncp_nwg_versions, + FALSE); + proto_register_prefix("wimaxasncp", register_wimaxasncp_fields); } diff --git a/plugins/wimaxasncp/wimaxasncp_dict.h b/plugins/wimaxasncp/wimaxasncp_dict.h index 054cfe9336..9cd1b96f3e 100644 --- a/plugins/wimaxasncp/wimaxasncp_dict.h +++ b/plugins/wimaxasncp/wimaxasncp_dict.h @@ -26,6 +26,15 @@ #define _WIMAXASNCP_DICT_H_ /* ------------------------------------------------------------------------- + * NWG versions + * ------------------------------------------------------------------------- */ + +#define WIMAXASNCP_NWGVER_R10_V100 0 +#define WIMAXASNCP_NWGVER_R10_V120 1 +#define WIMAXASNCP_NWGVER_R10_V121 2 +#define WIMAXASNCP_NWGVER_NUM 3 + +/* ------------------------------------------------------------------------- * decode types * ------------------------------------------------------------------------- */ @@ -41,7 +50,7 @@ enum WIMAXASNCP_TLV_ETHER, WIMAXASNCP_TLV_ASCII_STRING, WIMAXASNCP_TLV_FLAG0, - WIMAXASNCP_TLV_BITFLAGS8, + WIMAXASNCP_TLV_BITFLAGS8, WIMAXASNCP_TLV_BITFLAGS16, WIMAXASNCP_TLV_BITFLAGS32, WIMAXASNCP_TLV_ID, @@ -67,7 +76,7 @@ enum struct _wimaxasncp_dict_namecode_t { gchar *name; unsigned code; - struct _wimaxasncp_dict_namecode_t *next; + struct _wimaxasncp_dict_namecode_t *next; }; typedef struct _wimaxasncp_dict_namecode_t wimaxasncp_dict_enum_t; @@ -77,6 +86,7 @@ typedef struct _wimaxasncp_dict_tlv_t { gchar *name; gchar *description; gint decoder; + guint since; int hf_root; int hf_value; int hf_ipv4; @@ -110,7 +120,7 @@ extern void wimaxasncp_dict_print( FILE *fh, wimaxasncp_dict_t *d); extern wimaxasncp_dict_t *wimaxasncp_dict_scan( - const gchar *system_directory, const gchar *filename, int dbg, + const gchar *system_directory, const gchar *filename, int dbg, gchar **error); extern void wimaxasncp_dict_free( diff --git a/plugins/wimaxasncp/wimaxasncp_dict.l b/plugins/wimaxasncp/wimaxasncp_dict.l index 40e68b7e72..1a81a823f8 100644 --- a/plugins/wimaxasncp/wimaxasncp_dict.l +++ b/plugins/wimaxasncp/wimaxasncp_dict.l @@ -172,6 +172,7 @@ code_attr code=\042 typename_attr type-name=\042 description_attr description=\042 decoder_attr decoder=\042 +since_attr since=\042 %S LOADING LOADING_COMMENT LOADING_XMLPI ENTITY GET_SYSTEM GET_FILE END_ENTITY @@ -386,6 +387,7 @@ decoder_attr decoder=\042 tlv->name = NULL; tlv->description = NULL; tlv->decoder = 0; + tlv->since = 0; tlv->hf_root = -1; tlv->hf_value = -1; tlv->hf_ipv4 = -1; @@ -412,6 +414,7 @@ decoder_attr decoder=\042 <TLV_ATTRS>{description_attr} { ATTR_STR(tlv->description); } <TLV_ATTRS>{type_attr} { ATTR_UINT16(tlv->type); } <TLV_ATTRS>{decoder_attr} { ATTR_DECODER(tlv->decoder); } +<TLV_ATTRS>{since_attr} { ATTR_UINT(tlv->since); } <TLV_ATTRS>{stop} { BEGIN IN_TLV; } <TLV_ATTRS>{stop_end} { BEGIN IN_DICT; } @@ -482,7 +485,7 @@ static const value_string wimaxasncp_decode_type_vals[] = { WIMAXASNCP_TLV_ETHER, "WIMAXASNCP_TLV_ETHER"}, { WIMAXASNCP_TLV_ASCII_STRING, "WIMAXASNCP_TLV_ASCII_STRING"}, { WIMAXASNCP_TLV_FLAG0, "WIMAXASNCP_TLV_FLAG0"}, - { WIMAXASNCP_TLV_BITFLAGS8, "WIMAXASNCP_TLV_BITFLAGS8"}, + { WIMAXASNCP_TLV_BITFLAGS8, "WIMAXASNCP_TLV_BITFLAGS8"}, { WIMAXASNCP_TLV_BITFLAGS16, "WIMAXASNCP_TLV_BITFLAGS16"}, { WIMAXASNCP_TLV_BITFLAGS32, "WIMAXASNCP_TLV_BITFLAGS32"}, { WIMAXASNCP_TLV_ID, "WIMAXASNCP_TLV_ID"}, @@ -710,14 +713,15 @@ void wimaxasncp_dict_print(FILE *fh, wimaxasncp_dict_t *d) { for (tlv = d->tlvs; tlv; tlv = tlv->next) { wimaxasncp_dict_enum_t *e; - fprintf(fh,"TLV: %s[%u] %s[%d] %s\n", + fprintf(fh,"TLV: %s[%u] %s[%d] %s (since %u)\n", tlv->name ? tlv->name : "-", tlv->type, val_to_str(tlv->decoder, wimaxasncp_decode_type_vals, "Unknown"), tlv->decoder, - tlv->description ? tlv->description : ""); + tlv->description ? tlv->description : "", + tlv->since); for (e = tlv->enums; e; e = e->next) { fprintf(fh,"\tEnum: %s[%u]\n", diff --git a/wimaxasncp/dictionary.dtd b/wimaxasncp/dictionary.dtd index 97adff9c31..08dc3c7910 100644 --- a/wimaxasncp/dictionary.dtd +++ b/wimaxasncp/dictionary.dtd @@ -9,6 +9,7 @@ name CDATA #REQUIRED type CDATA #REQUIRED decoder CDATA #IMPLIED + since CDATA #IMPLIED > <!ELEMENT enum EMPTY> diff --git a/wimaxasncp/dictionary.xml b/wimaxasncp/dictionary.xml index 2c5dbdb96d..3b1ec624b2 100644 --- a/wimaxasncp/dictionary.xml +++ b/wimaxasncp/dictionary.xml @@ -4,6 +4,12 @@ <!DOCTYPE dictionary SYSTEM "dictionary.dtd"> +<!-- WiMax ASN R6 message disection specification. --> +<!-- Supports following NWG versions: --> +<!-- 0 - NWG R1.0 V1.0.0 --> +<!-- 1 - NWG R1.0 V1.2.0 --> +<!-- 2 - NWG R1.0 V1.2.1 --> + <dictionary> <!-- ****************************************************************** --> @@ -44,13 +50,16 @@ <enum name="Resume traffic" code="0x0003"/> - <enum name="MS shall be put to Idle state" + <enum name="Reserved (was: MS terminate current normal operations with BS)" code="0x0004"/> - <enum name="Initial authentication Failure" + <enum name="MS shall be put into idle mode" + code="0x0005"/> + + <enum name="Initial Authentication Failure" code="0xFFFE"/> - <enum name="MS shall be put to RES-CMD by BS" + <enum name="MS shall be sent the RES-CMD by the BS" code="0xFFFF"/> </tlv> @@ -86,7 +95,13 @@ <tlv name="AK Lifetime" type="8" - decoder="WIMAXASNCP_TLV_DEC32"> + decoder="WIMAXASNCP_TLV_DEC16"> + </tlv> + + <tlv name="AK Lifetime" + type="8" + decoder="WIMAXASNCP_TLV_DEC32" + since="1"> </tlv> <!-- ****************************************************************** --> @@ -130,10 +145,10 @@ type="14" decoder="WIMAXASNCP_TLV_ENUM8"> - <enum name="accept" + <enum name="Accept" code="0x00"/> - <enum name="refuse" + <enum name="Refuse" code="0x01"/> </tlv> @@ -146,20 +161,26 @@ <!-- ****************************************************************** --> + <tlv name="Anchor Authenticator ID" + type="16" + decoder="WIMAXASNCP_TLV_ID"> + </tlv> + <tlv name="FA Revoke Reason" type="16" - decoder="WIMAXASNCP_TLV_ENUM8"> - - <enum name="DHCP Release" + decoder="WIMAXASNCP_TLV_ENUM8" + since="1"> + + <enum name="DHCP Release" code="0x00"/> - <enum name="DHCP Expiary" - code="0x01"/> - - <enum name="FA Initiated Release" + <enum name="DHCP expiry" + code="0x01"/> + + <enum name="FA initiated release" code="0x02"/> - <enum name="HA Initiated Release" + <enum name="HA initiated release" code="0x03"/> </tlv> @@ -192,40 +213,76 @@ <!-- ****************************************************************** --> + <tlv name=" Auth-IND" + type="20" + decoder="WIMAXASNCP_TLV_DEC8"> + </tlv> + <tlv name="RRQ" type="20" - decoder="WIMAXASNCP_TLV_BYTES"> + decoder="WIMAXASNCP_TLV_BYTES" + since="1"> </tlv> <!-- ****************************************************************** --> <tlv name="Authorization Policy" type="21" - decoder="WIMAXASNCP_TLV_BITFLAGS8"> + decoder="WIMAXASNCP_TLV_BITFLAGS16"> <enum name="RSA authorization" - code="WIMAXASNCP_BIT8(7)"/> + code="WIMAXASNCP_BIT16(15)"/> <enum name="EAP authorization" - code="WIMAXASNCP_BIT8(6)"/> + code="WIMAXASNCP_BIT16(14)"/> <enum name="Authenticated-EAP authorization" - code="WIMAXASNCP_BIT8(5)"/> + code="WIMAXASNCP_BIT16(13)"/> <enum name="HMAC supported" + code="WIMAXASNCP_BIT16(12)"/> + + <enum name="CMAC supported" + code="WIMAXASNCP_BIT16(11)"/> + + <enum name="64-bit Short-HMAC" + code="WIMAXASNCP_BIT16(10)"/> + + <enum name="80-bit Short-HMAC" + code="WIMAXASNCP_BIT16(9)"/> + + <enum name="96-bit Short-HMAC" + code="WIMAXASNCP_BIT16(8)"/> + </tlv> + + <tlv name="Authorization Policy" + type="21" + decoder="WIMAXASNCP_TLV_BITFLAGS8" + since="1"> + + <enum name="RSA-based authorization at the initial network entry" + code="WIMAXASNCP_BIT8(7)"/> + + <enum name="EAP-based authorization at the initial network entry" + code="WIMAXASNCP_BIT8(6)"/> + + <enum name="Authenticated EAP-based authorization at the initial network entry" + code="WIMAXASNCP_BIT8(5)"/> + + <enum name="Reserved (was: HMAC supported)" code="WIMAXASNCP_BIT8(4)"/> - <enum name="RSA Authentication at Re-entry" + <enum name="RSA-based authorization at reentry" code="WIMAXASNCP_BIT8(3)"/> - <enum name="EAP Authentication at Re-entry" + <enum name="EAP-based authorization at reentry" code="WIMAXASNCP_BIT8(2)"/> <enum name="Authenticated EAP-based authorization at reentry" code="WIMAXASNCP_BIT8(1)"/> - + <enum name="Reserved" - code="WIMAXASNCP_BIT8(0)"/> + code="WIMAXASNCP_BIT8(0)"/> </tlv> <!-- ****************************************************************** --> @@ -286,36 +343,84 @@ <!-- ****************************************************************** --> + <tlv name="Classification Rule" + type="30" + decoder="WIMAXASNCP_TLV_COMPOUND"> + </tlv> + <tlv name="Classification Rule Index" type="30" - decoder="WIMAXASNCP_TLV_DEC16"> + decoder="WIMAXASNCP_TLV_DEC16" + since="1"> </tlv> <!-- ****************************************************************** --> - <tlv name="Classifier Action" + <tlv name="Classification Rule Action" type="31" decoder="WIMAXASNCP_TLV_ENUM8"> - <enum name="Add Classifier" + <enum name="Add Classification Rule" code="0"/> - <enum name="Replace Classifier" + <enum name="Replace Classification Rule" code="1"/> - <enum name="Delete Classifier" + <enum name="Delete Classification Rule" code="2"/> </tlv> <!-- ****************************************************************** --> - <tlv name="Classifier Rule Priority" + <tlv name="Classification Rule Priority" type="32" decoder="WIMAXASNCP_TLV_DEC8"> </tlv> <!-- ****************************************************************** --> + <tlv name="Classifier Type" + type="33" + decoder="WIMAXASNCP_TLV_ENUM8"> + + <enum name="IP TOS/DSCP Range and Mask" + code="1"/> + <enum name="Protocol" + code="2"/> + <enum name="IP Source Address and Mask" + code="3"/> + <enum name="IP Destination Address and Mask" + code="4"/> + <enum name="Protocol Source Port Range" + code="5"/> + <enum name="Protocol Destination Port Range" + code="6"/> + <enum name="IEEE 802.3/Ethernet Destination MAC address" + code="7"/> + <enum name="IEEE 802.3/Ethernet Source MAC address" + code="8"/> + <enum name="Ethertype/IEEE 802.2 SAP" + code="9"/> + <enum name="IEEE 802.1D User_Priority" + code="10"/> + <enum name="IEEE 802.1Q VLAN_ID" + code="11"/> + </tlv> + + <tlv name="Authentication Indication" + type="33" + decoder="WIMAXASNCP_TLV_ENUM8" + since="1"> + + <enum name="No Authentication Information" + code="0x00"/> + + <enum name="Authentication Information present" + code="0x01"/> + </tlv> + + <!-- ****************************************************************** --> + <tlv name="CMAC_KEY_COUNT" type="34" decoder="WIMAXASNCP_TLV_DEC16"> @@ -338,49 +443,52 @@ <tlv name="Context Purpose Indicator" type="36" - decoder="WIMAXASNCP_TLV_ENUM32"> + decoder="WIMAXASNCP_TLV_BITFLAGS32"> <enum name="MS AK Context" code="WIMAXASNCP_BIT32(0)"/> - <enum name="MS MAC Context" + <enum name="Reserved (was: MS Network Context)" code="WIMAXASNCP_BIT32(1)"/> - <enum name="MS Authorization Context" + <enum name="MS MAC Context" code="WIMAXASNCP_BIT32(2)"/> - <enum name="Anchor MM Context" + <enum name="MS Authorization Context" code="WIMAXASNCP_BIT32(3)"/> - <enum name="Accounting context" + <enum name="Anchor MM Context" code="WIMAXASNCP_BIT32(4)"/> - <enum name="MS Security History" + <enum name="Accounting context" code="WIMAXASNCP_BIT32(5)"/> - <enum name="SA Context" + <enum name="MS Security History" code="WIMAXASNCP_BIT32(6)"/> - <enum name="MN-FA key context" + <enum name="SA Context" code="WIMAXASNCP_BIT32(7)"/> - <enum name="FA-HA key context" + <enum name="MN-FA key context" code="WIMAXASNCP_BIT32(8)"/> - <enum name="DHCP-Relay-Info" + <enum name="FA-HA key context" code="WIMAXASNCP_BIT32(9)"/> - <enum name="Security Context Delivery" + <enum name="DHCP-Relay-Info" code="WIMAXASNCP_BIT32(10)"/> - <enum name="MIP6 handover successful" + <enum name="Security Context Delivery" code="WIMAXASNCP_BIT32(11)"/> - <enum name="Online Accounting context" + <enum name="MIP6 handover successful" code="WIMAXASNCP_BIT32(12)"/> - <enum name="Offline Accounting context" + <enum name="Online Accounting context" code="WIMAXASNCP_BIT32(13)"/> + + <enum name="Offline Accounting context" + code="WIMAXASNCP_BIT32(14)"/> </tlv> <!-- ****************************************************************** --> @@ -430,7 +538,7 @@ type="39" decoder="WIMAXASNCP_TLV_ENUM8"> - <enum name="All CS types" + <enum name="All CS Types" code="0x00"/> <enum name="Packet, IPv4" @@ -470,6 +578,13 @@ <!-- ****************************************************************** --> + <tlv name="Data Integrity Info" + type="41" + decoder="WIMAXASNCP_TLV_TBD"> + </tlv> + + <!-- ****************************************************************** --> + <tlv name="Data Path Encapsulation Type" type="42" decoder="WIMAXASNCP_TLV_ENUM8"> @@ -535,21 +650,49 @@ <tlv name="DCD/UCD Configuration Change Count" type="48" - decoder="WIMAXASNCP_TLV_TBD"> + decoder="WIMAXASNCP_TLV_BITFLAGS8"> </tlv> <!-- ****************************************************************** --> <tlv name="DCD Setting" type="49" - decoder="WIMAXASNCP_TLV_TBD"> + decoder="WIMAXASNCP_TLV_COMPOUND"> </tlv> <!-- ****************************************************************** --> + <tlv name="Device Authentication Indicator" + type="50" + decoder="WIMAXASNCP_TLV_ENUM8"> + + <enum name="Reserved" + code="0"/> + <enum name="Certificate-based device authentication has been successfully performed (MS MAC address is verified)" + code="1"/> + <enum name="Device authentication has been successfully performed" + code="2"/> + </tlv> + <tlv name="OFDMA Parameter Set" type="50" - decoder="WIMAXASNCP_TLV_HEX8"> + decoder="WIMAXASNCP_TLV_BITFLAGS8" + since="1"> + + <enum name="support OFDMA PHY parameter set A" + code="0"/> + + <enum name="support OFDMA PHY parameter set B" + code="1"/> + + <enum name="HARQ parameters set" + code="2"/> + + <enum name="support OFDMA MAC parameters set A" + code="5"/> + + <enum name="support OFDMA MAC parameters set B" + code="6"/> </tlv> <!-- ****************************************************************** --> @@ -584,7 +727,7 @@ <tlv name="DHCP Relay Address" type="55" - decoder="WIMAXASNCP_TLV_ID"> + decoder="WIMAXASNCP_TLV_IP_ADDRESS"> </tlv> <!-- ****************************************************************** --> @@ -598,7 +741,7 @@ <tlv name="DHCP Server Address" type="57" - decoder="WIMAXASNCP_TLV_ID"> + decoder="WIMAXASNCP_TLV_IP_ADDRESS"> </tlv> <!-- ****************************************************************** --> @@ -644,6 +787,13 @@ <!-- ****************************************************************** --> + <tlv name="EIK" + type="63" + decoder="WIMAXASNCP_TLV_BYTES"> + </tlv> + + <!-- ****************************************************************** --> + <tlv name="ERT-VR Data Delivery Service" type="64" decoder="WIMAXASNCP_TLV_COMPOUND"> @@ -651,9 +801,20 @@ <!-- ****************************************************************** --> + <tlv name="Exit IDLE Mode Operation Indication" + type="65" + decoder="WIMAXASNCP_TLV_ENUM8"> + + <enum name="No" + code="0"/> + <enum name="Yes" + code="1"/> + </tlv> + <tlv name="PPAC" type="65" - decoder="WIMAXASNCP_TLV_COMPOUND"> + decoder="WIMAXASNCP_TLV_COMPOUND" + since="1"> </tlv> <!-- ****************************************************************** --> @@ -686,10 +847,10 @@ <enum name="Unspecified Error" code="0"/> - <enum name="Protocol Version not understood" + <enum name="Incompatible Version Number" code="1"/> - <enum name="Unrecognised Function Type" + <enum name="Invalid Function Type" code="2"/> <enum name="Invalid Message Type" @@ -710,27 +871,6 @@ <enum name="Invalid Message Header" code="8"/> - <enum name="Invalid OP ID" - code="9"/> - - <enum name="Destination Identifier missing or erroneous" - code="10"/> - - <enum name="Source Identifier TLV missing or erroneous" - code="11"/> - - <enum name="Message type unknown or inopportune" - code="12"/> - - <enum name="Unresolved error" - code="13"/> - - <enum name="Unspecific Message Header Failure" - code="14"/> - - <enum name="Unspecific Message Header Failure" - code="15"/> - <enum name="Invalid message format" code="16"/> @@ -743,90 +883,9 @@ <enum name="Unsupported Options" code="19"/> - <enum name="TLV Unknown" - code="20"/> - - <enum name="TLV Unexpected" - code="21"/> - - <enum name="TLV parsing error" - code="22"/> - - <enum name="Unspecific General Message Body Failure" - code="23"/> - - <enum name="Unspecific General Message Body Failure" - code="24"/> - - <enum name="Unspecific General Message Body Failure" - code="25"/> - - <enum name="Unspecific General Message Body Failure" - code="26"/> - - <enum name="Unspecific General Message Body Failure" - code="27"/> - - <enum name="Unspecific General Message Body Failure" - code="28"/> - - <enum name="Unspecific General Message Body Failure" - code="29"/> - - <enum name="Unspecific General Message Body Failure" - code="30"/> - - <enum name="Unspecific General Message Body Failure" - code="31"/> - <enum name="Timer expired without response" code="32"/> - <enum name="BSID out of service" - code="33"/> - - <enum name="Unknown BSID" - code="34"/> - - <enum name="BSID Unreachable" - code="35"/> - - <enum name="Unspecific Message Generic Failure" - code="36"/> - - <enum name="Unspecific Message Generic Failure" - code="37"/> - - <enum name="Unspecific Message Generic Failure" - code="38"/> - - <enum name="Unspecific Message Generic Failure" - code="39"/> - - <enum name="Unspecific Message Generic Failure" - code="40"/> - - <enum name="Unspecific Message Generic Failure" - code="41"/> - - <enum name="Unspecific Message Generic Failure" - code="42"/> - - <enum name="Unspecific Message Generic Failure" - code="43"/> - - <enum name="Unspecific Message Generic Failure" - code="44"/> - - <enum name="Unspecific Message Generic Failure" - code="45"/> - - <enum name="Unspecific Message Generic Failure" - code="46"/> - - <enum name="Unspecific Message Generic Failure" - code="47"/> - <enum name="Requested Context Unavailable" code="48"/> @@ -844,36 +903,11 @@ <enum name="Authenticator relocated" code="53"/> - - <enum name="Does not support periodic reporting of RRM messages" - code="54"/> - - <enum name="Location Update Failure" - code="55"/> - - <enum name="Idle Mode Authorization Failure" - code="56"/> - - <enum name="Target BS doesnt support this HO Type" - code="57"/> - - <enum name="Insufficient Target BS airlink resource" - code="58"/> - - <enum name="Target BS CPU overload" - code="59"/> - - <enum name="Unspecific Message-specific Failure" - code="60"/> - - <enum name="Unspecific Message-specific Failure" - code="61"/> - </tlv> <!-- ****************************************************************** --> - <tlv name="Target FA IP Address" + <tlv name="FA IP Address" type="70" decoder="WIMAXASNCP_TLV_ID"> </tlv> @@ -895,14 +929,14 @@ <tlv name="Full DCD Setting" type="72" - decoder="WIMAXASNCP_TLV_TBD"> + decoder="WIMAXASNCP_TLV_COMPOUND"> </tlv> <!-- ****************************************************************** --> <tlv name="Full UCD Setting" type="73" - decoder="WIMAXASNCP_TLV_TBD"> + decoder="WIMAXASNCP_TLV_COMPOUND"> </tlv> <!-- ****************************************************************** --> @@ -958,14 +992,14 @@ type="79" decoder="WIMAXASNCP_TLV_ENUM32"> - <enum name="HHO" - code="0"/> + <enum name="Hard Handoff (HHO)" + code="0x00000000"/> - <enum name="FBSS" - code="1"/> + <enum name="Fast Base Station Switching (FBSS)" + code="0x00000001"/> - <enum name="MDHO" - code="2"/> + <enum name="Macro Diversity Handoff (MDHO)" + code="0x00000002"/> </tlv> <!-- ****************************************************************** --> @@ -979,7 +1013,30 @@ <tlv name="IDLE Mode Retain Info" type="81" - decoder="WIMAXASNCP_TLV_HEX8"> + decoder="WIMAXASNCP_TLV_BITFLAGS8"> + <enum name="Retain MS service and operational information associated with SBC-REQ/RSP messages." + code="WIMAXASNCP_BIT8(0)"/> + + <enum name="Retain MS service and operational information associated with PKM-REQ/RSP messages." + code="WIMAXASNCP_BIT8(1)"/> + + <enum name="Retain MS service and operational information associated with REG-REQ/RSP messages." + code="WIMAXASNCP_BIT8(2)"/> + + <enum name="Retain MS service and operational information associated with Network Address." + code="WIMAXASNCP_BIT8(3)"/> + + <enum name="Retain MS service and operational information associated with Time of Day." + code="WIMAXASNCP_BIT8(4)"/> + + <enum name="Retain MS service and operational information associated with TFTP messages." + code="WIMAXASNCP_BIT8(5)"/> + + <enum name="Retain MS service and operation information associated with Full service." + code="WIMAXASNCP_BIT8(6)"/> + + <enum name="Consider Paging Preference of each Service Flow in resource retention." + code="WIMAXASNCP_BIT8(7)"/> </tlv> <!-- ****************************************************************** --> @@ -1007,7 +1064,7 @@ <tlv name="IP TOS/DSCP Range and Mask" type="85" - decoder="WIMAXASNCP_TLV_TBD"> + decoder="WIMAXASNCP_TLV_BYTES"> </tlv> <!-- ****************************************************************** --> @@ -1038,37 +1095,51 @@ <enum name="Accept" code="0"/> + + <enum name="Refuse" + code="1"/> </tlv> <!-- ****************************************************************** --> - <tlv name="Available Client" + <tlv name="Location Update Success/Failure Indication" type="89" - decoder="WIMAXASNCP_TLV_ENUM32"> + decoder="WIMAXASNCP_TLV_ENUM8"> + + <enum name="Success" + code="0"/> + <enum name="Failure" + code="1"/> + </tlv> + + <tlv name="Available In Client" + type="89" + decoder="WIMAXASNCP_TLV_ENUM32" + since="1"> <enum name="Reserved" code="0"/> <enum name="Volume metering supported" - code="1"/> + code="0x00000001"/> <enum name="Duration metering supported" - code="2"/> + code="0x00000002"/> <enum name="Resource metering supported" - code="4"/> + code="0x00000004"/> <enum name="Pools supported" - code="8"/> + code="0x00000008"/> <enum name="Rating groups supported" - code="16"/> + code="0x00000010"/> <enum name="Multi-Services supported" - code="32"/> + code="0x00000020"/> <enum name="Tariff Switch supported" - code="64"/> + code="0x00000040"/> </tlv> <!-- ****************************************************************** --> @@ -1167,9 +1238,15 @@ <!-- ****************************************************************** --> + <tlv name="MIP4 Security Info" + type="97" + decoder="WIMAXASNCP_TLV_COMPOUND"> + </tlv> + <tlv name="RRP" type="97" - decoder="WIMAXASNCP_TLV_BYTES"> + decoder="WIMAXASNCP_TLV_BYTES" + since="1"> </tlv> <!-- ****************************************************************** --> @@ -1195,9 +1272,9 @@ <!-- ****************************************************************** --> - <tlv name="Target Care-of Address" + <tlv name="MS FA Context" type="101" - decoder="WIMAXASNCP_TLV_IP_ADDRESS"> + decoder="WIMAXASNCP_TLV_COMPOUND"> </tlv> <!-- ****************************************************************** --> @@ -1239,6 +1316,26 @@ <!-- ****************************************************************** --> + <tlv name="MS Networking Context" + type="106" + decoder="WIMAXASNCP_TLV_COMPOUND"> + </tlv> + + <tlv name="Obsolete" + type="106" + decoder="WIMAXASNCP_TLV_UNKNOWN" + since="2"> + </tlv> + + <!-- ****************************************************************** --> + + <tlv name="MS Security Context" + type="107" + decoder="WIMAXASNCP_TLV_COMPOUND"> + </tlv> + + <!-- ****************************************************************** --> + <tlv name="MS Security History" type="108" decoder="WIMAXASNCP_TLV_COMPOUND"> @@ -1280,7 +1377,7 @@ <!-- ****************************************************************** --> - <tlv name="Old Anchor PCID" + <tlv name="Old Anchor PC ID" type="113" decoder="WIMAXASNCP_TLV_ID"> </tlv> @@ -1324,7 +1421,7 @@ <tlv name="Paging Cycle" type="118" - decoder="WIMAXASNCP_TLV_TBD"> + decoder="WIMAXASNCP_TLV_DEC16"> </tlv> <!-- ****************************************************************** --> @@ -1345,7 +1442,13 @@ <tlv name="Paging Start/Stop" type="121" - decoder="WIMAXASNCP_TLV_HEX8"> + decoder="WIMAXASNCP_TLV_ENUM8"> + + <enum name="Stop" + code="0"/> + + <enum name="Start" + code="1"/> </tlv> <!-- ****************************************************************** --> @@ -1357,7 +1460,7 @@ <!-- ****************************************************************** --> - <tlv name="Paging Group ID" + <tlv name="PGID - Paging Group ID" type="123" decoder="WIMAXASNCP_TLV_HEX16"> </tlv> @@ -1431,9 +1534,25 @@ <!-- ****************************************************************** --> + <tlv name="PKM Context" + type="131" + decoder="WIMAXASNCP_TLV_ENUM8"> + + <enum name="PKM Capabilities defined in the MTG Profile" + code="0"/> + </tlv> + <tlv name="PPAQ" type="131" - decoder="WIMAXASNCP_TLV_COMPOUND"> + decoder="WIMAXASNCP_TLV_COMPOUND" + since="1"> + </tlv> + + <!-- ****************************************************************** --> + + <tlv name="PMIP4 Client Location" + type="132" + decoder="WIMAXASNCP_TLV_IPV4_ADDRESS"> </tlv> <!-- ****************************************************************** --> @@ -1450,20 +1569,33 @@ decoder="WIMAXASNCP_TLV_ENUM8"> <enum name="EAP Transfer" - code="12"/> - + code="18"/> <enum name="Authenticated EAP Transfer" code="19"/> - <enum name="EAP Complete" code="29"/> </tlv> + <tlv name="PKM2 Message Code" + type="134" + decoder="WIMAXASNCP_TLV_ENUM8" + since="1"> + + <enum name="EAP Transfer" + code="18"/> + </tlv> + <!-- ****************************************************************** --> + <tlv name="PMK2 SN" + type="135" + decoder="WIMAXASNCP_TLV_DEC8"> + </tlv> + <tlv name="Paging Interval Length" type="135" - decoder="WIMAXASNCP_TLV_Dec16"> + decoder="WIMAXASNCP_TLV_DEC16" + since="1"> </tlv> <!-- ****************************************************************** --> @@ -1517,9 +1649,40 @@ <!-- ****************************************************************** --> + <tlv name="Reduced Resources Code" + type="143" + decoder="WIMAXASNCP_TLV_DEC8"> + </tlv> + + <tlv name="MTG Profile" + type="143" + decoder="WIMAXASNCP_TLV_ENUM8" + since="1"> + + <enum name="REG handshake related capabilities defined in the MTG Profile" + code="0"/> + </tlv> + + <tlv name="Obsolete" + type="143" + decoder="WIMAXASNCP_TLV_UNKNOWN" + since="2"> + </tlv> + + <!-- ****************************************************************** --> + <tlv name="REG Context" type="144" - decoder="WIMAXASNCP_TLV_COMPOUND"> + decoder="WIMAXASNCP_TLV_ENUM8"> + + <enum name="REG handshake related capabilities defined in the MTG Profile" + code="0"/> + </tlv> + + <tlv name="REG Context" + type="144" + decoder="WIMAXASNCP_TLV_COMPOUND" + since="1"> </tlv> <!-- ****************************************************************** --> @@ -1531,7 +1694,7 @@ <enum name="Initial Network Entry" code="0"/> - <enum name="HO" + <enum name="Handoff" code="1"/> <enum name="In-Service Data Path Establishment" @@ -1545,9 +1708,6 @@ <enum name="Idle Mode Exit" code="5"/> - - <enum name="Anchor DPF Relocation" - code="6"/> </tlv> <!-- ****************************************************************** --> @@ -1559,23 +1719,41 @@ <!-- ****************************************************************** --> - <tlv name="Registeration Lifetime" + <tlv name="Relocation Destination ID" type="147" - decoder="WIMAXASNCP_TLV_DEC16"> + decoder="WIMAXASNCP_TLV_ID"> + </tlv> + + <tlv name="Registration Lifetime" + type="147" + decoder="WIMAXASNCP_TLV_DEC16" + since="1"> </tlv> <!-- ****************************************************************** --> + <tlv name="Relocation Response" + type="148" + decoder="WIMAXASNCP_TLV_ENUM8"> + + <enum name="Accept" + code="0"/> + + <enum name="Refuse" + code="1"/> + </tlv> + <tlv name="Quota Identifier" type="148" - decoder="WIMAXASNCP_TLV_HEX32"> + decoder="WIMAXASNCP_TLV_BYTES" + since="1"> </tlv> <!-- ****************************************************************** --> - <tlv name="Relocation Success Indication" + <tlv name="Relocation Success Indicator" type="149" - decoder="WIMAXASNCP_TLV_TBD"> + decoder="WIMAXASNCP_TLV_ENUM8"> <enum name="Accept" code="0"/> @@ -1666,10 +1844,10 @@ decoder="WIMAXASNCP_TLV_ENUM8"> <enum name="not allowed - Paging Reference is zero" - code="1"/> + code="0x00"/> <enum name="not allowed - no such SF" - code="2"/> + code="0x01"/> </tlv> <!-- ****************************************************************** --> @@ -1681,10 +1859,10 @@ <enum name="Success" code="0"/> - <enum name="Failure No resources" + <enum name="Failure - No resources" code="1"/> - <enum name="Failure Not supported" + <enum name="Failure - Not supported" code="2"/> <enum name="Partial Response" @@ -1798,23 +1976,57 @@ <!-- ****************************************************************** --> + <tlv name="R3 Operation Status" + type="167" + decoder="WIMAXASNCP_TLV_ENUM16"> + + <enum name="Success" + code="0x0"/> + + <enum name="Failure" + code="0x1"/> + + <enum name="Pending" + code="0x2"/> + + <enum name="Reserved" + code="0x3"/> + + </tlv> + <tlv name="Volume Quota" type="167" - decoder="WIMAXASNCP_TLV_DEC32"> + decoder="WIMAXASNCP_TLV_DEC32" + since="1"> </tlv> <!-- ****************************************************************** --> + <tlv name="R3 Release Reason" + type="168" + decoder="WIMAXASNCP_TLV_ENUM8"> + + <enum name="MS power down" + code="0x0"/> + </tlv> + <tlv name="Volume Threshold" type="168" - decoder="WIMAXASNCP_TLV_DEC32"> + decoder="WIMAXASNCP_TLV_DEC32" + since="1"> </tlv> <!-- ****************************************************************** --> <tlv name="SAID" type="169" - decoder="WIMAXASNCP_TLV_HEX16"> + decoder="WIMAXASNCP_TLV_HEX32"> + </tlv> + + <tlv name="SAID" + type="169" + decoder="WIMAXASNCP_TLV_HEX16" + since="1"> </tlv> <!-- ****************************************************************** --> @@ -1826,6 +2038,13 @@ <!-- ****************************************************************** --> + <tlv name="SA Index" + type="171" + decoder="WIMAXASNCP_TLV_HEX32"> + </tlv> + + <!-- ****************************************************************** --> + <tlv name="SA Service Type" type="172" decoder="WIMAXASNCP_TLV_ENUM8"> @@ -1860,7 +2079,13 @@ <tlv name="SBC Context" type="174" - decoder="WIMAXASNCP_TLV_COMPOUND"> + decoder="WIMAXASNCP_TLV_HEX8"> + </tlv> + + <tlv name="SBC Context" + type="174" + decoder="WIMAXASNCP_TLV_COMPOUND" + since="1"> </tlv> <!-- ****************************************************************** --> @@ -1881,7 +2106,13 @@ <tlv name="SDU Size" type="177" - decoder="WIMAXASNCP_TLV_DEC16"> + decoder="WIMAXASNCP_TLV_DEC8"> + </tlv> + + <tlv name="SDU Size" + type="177" + decoder="WIMAXASNCP_TLV_DEC16" + since="1"> </tlv> <!-- ****************************************************************** --> @@ -1911,10 +2142,10 @@ type="181" decoder="WIMAXASNCP_TLV_ENUM8"> - <enum name="Service authorized" + <enum name="service authorized" code="0"/> - <enum name="Service not authorized" + <enum name="service not authorized" code="1"/> </tlv> @@ -1933,6 +2164,41 @@ <!-- ****************************************************************** --> + <tlv name="SF Classification" + type="183" + decoder="WIMAXASNCP_TLV_ENUM8"> + + <enum name="SF classification not supported" + code="0"/> + <enum name="SF classification supported" + code="1"/> + </tlv> + + <tlv name="SBC Capability Profile" + type="183" + decoder="WIMAXASNCP_TLV_BITFLAGS8" + since="1"> + + <enum name="Support OFDMA PHY parameter set A" + code="WIMAXASNCP_BIT8(7)"/> + <enum name="Support OFDMA PHY parameter set B" + code="WIMAXASNCP_BIT8(6)"/> + <enum name="HARQ set" + code="WIMAXASNCP_BIT8(5)"/> + <enum name="HARQ set" + code="WIMAXASNCP_BIT8(4)"/> + <enum name="HARQ set" + code="WIMAXASNCP_BIT8(3)"/> + </tlv> + + <tlv name="Obsolete" + type="183" + decoder="WIMAXASNCP_TLV_UNKNOWN" + since="2"> + </tlv> + + <!-- ****************************************************************** --> + <tlv name="SFID" type="184" decoder="WIMAXASNCP_TLV_HEX32"> @@ -2063,27 +2329,27 @@ type="202" decoder="WIMAXASNCP_TLV_ASCII_STRING"> </tlv> - - <!-- ****************************************************************** --> + + <!-- ****************************************************************** --> <tlv name="BS HO RSP Code" type="203" decoder="WIMAXASNCP_TLV_ENUM8"> - - <enum name="Void" - code="0x00"/> - - <enum name="Target BS doesnot support this HO Type" - code="0x01"/> - - <enum name="Target BS air link resource is not enough" - code="0x02"/> - - <enum name="Target BS CPU overload" - code="0x03"/> - + + <enum name="success" + code="0"/> + + <enum name="Target BS doesn't support this HO Type" + code="1"/> + + <enum name="Target BS's air link resource is not enough" + code="2"/> + + <enum name="Target BS's CPU overload" + code="3"/> + <enum name="Target BS rejects for other reasons" - code="0x04"/> + code="4"/> </tlv> <!-- ****************************************************************** --> @@ -2092,204 +2358,364 @@ type="204" decoder="WIMAXASNCP_TLV_COMPOUND"> </tlv> - - <!-- ****************************************************************** --> + + <!-- ****************************************************************** --> <tlv name="HO ID" type="205" decoder="WIMAXASNCP_TLV_HEX8"> </tlv> - + <!-- ****************************************************************** --> <tlv name="Combined Resource Indicator" type="206" - decoder="WIMAXASNCP_TLV_COMPOUND"> + decoder="WIMAXASNCP_TLV_BYTES"> </tlv> - - <!-- ****************************************************************** --> + + <!-- ****************************************************************** --> <tlv name="Media Flow Description in SDP Format" type="228" decoder="WIMAXASNCP_TLV_BYTES"> </tlv> - - <!-- ****************************************************************** --> + + <!-- ****************************************************************** --> + + <tlv name="Service Class Name" + type="229" + decoder="WIMAXASNCP_TLV_STRING"> + </tlv> + + <!-- ****************************************************************** --> + + <tlv name="Traffic Priority/QoS Priority" + type="231" + decoder="WIMAXASNCP_TLV_DEC8"> + </tlv> + + <!-- ****************************************************************** --> + + <tlv name="Maximum Sustained Traffic Rate" + type="232" + decoder="WIMAXASNCP_TLV_DEC32"> + </tlv> + + <tlv name="Obsolete" + type="232" + decoder="WIMAXASNCP_TLV_UNKNOWN" + since="2"> + </tlv> + + <!-- ****************************************************************** --> + + <tlv name="Minimum Reserved Traffic Rate" + type="233" + decoder="WIMAXASNCP_TLV_DEC32"> + </tlv> + + <tlv name="Obsolete" + type="233" + decoder="WIMAXASNCP_TLV_UNKNOWN" + since="2"> + </tlv> + + <!-- ****************************************************************** --> + + <tlv name="Maximum Traffic Burst" + type="234" + decoder="WIMAXASNCP_TLV_DEC32"> + </tlv> + + <tlv name="Obsolete" + type="234" + decoder="WIMAXASNCP_TLV_UNKNOWN" + since="2"> + </tlv> + + <!-- ****************************************************************** --> + + <tlv name="Tolerated Jitter" + type="235" + decoder="WIMAXASNCP_TLV_DEC32"> + </tlv> + + <tlv name="Obsolete" + type="235" + decoder="WIMAXASNCP_TLV_UNKNOWN" + since="2"> + </tlv> + + <!-- ****************************************************************** --> + + <tlv name="R3 Maximum Latency" + type="236" + decoder="WIMAXASNCP_TLV_DEC32"> + </tlv> + + <!-- ****************************************************************** --> <tlv name="Reduced Resources Code" type="237" decoder="WIMAXASNCP_TLV_FLAG0"> </tlv> - - <!-- ****************************************************************** --> + + <!-- ****************************************************************** --> + + <tlv name="Unsolicited Grant Interval" + type="239" + decoder="WIMAXASNCP_TLV_DEC16"> + </tlv> + + <!-- ****************************************************************** --> <tlv name="Accounting Session/Flow Volume Counts" type="244" decoder="WIMAXASNCP_TLV_COMPOUND"> </tlv> - - <!-- ****************************************************************** --> + + <!-- ****************************************************************** --> <tlv name="Accounting Number of Bulk Sessions/Flows" type="245" decoder="WIMAXASNCP_TLV_DEC8"> </tlv> - - <!-- ****************************************************************** --> + + <!-- ****************************************************************** --> <tlv name="Accounting Bulk Session/Flow" type="246" decoder="WIMAXASNCP_TLV_COMPOUND"> </tlv> - - <!-- ****************************************************************** --> + + <!-- ****************************************************************** --> + + <tlv name="Interim Update Interval" + type="248" + decoder="WIMAXASNCP_TLV_DEC16"> + </tlv> + + <!-- ****************************************************************** --> <tlv name="Cumulative Uplink Octets" type="249" decoder="WIMAXASNCP_TLV_BYTES"> </tlv> - - <!-- ****************************************************************** --> - + + <!-- ****************************************************************** --> + <tlv name="Cumulative Downlink Octets" type="250" decoder="WIMAXASNCP_TLV_BYTES"> </tlv> - + <!-- ****************************************************************** --> - + <tlv name="Cumulative Uplink Packets" type="251" decoder="WIMAXASNCP_TLV_BYTES"> </tlv> - - <!-- ****************************************************************** --> - + + <!-- ****************************************************************** --> + <tlv name="Cumulative Downlink Packets" type="252" decoder="WIMAXASNCP_TLV_BYTES"> </tlv> - - <!-- ****************************************************************** --> - + + <!-- ****************************************************************** --> + + <tlv name="Time of Day Tariff Switch" + type="253" + decoder="WIMAXASNCP_TLV_COMPOUND"> + </tlv> + + <!-- ****************************************************************** --> + + <tlv name="Time of Day Tariff Switch Time" + type="254" + decoder="WIMAXASNCP_TLV_HEX16"> + </tlv> + + <!-- ****************************************************************** --> + + <tlv name="Time of Day Tariff Switch Offset" + type="255" + decoder="WIMAXASNCP_TLV_DEC32"> + </tlv> + + <!-- ****************************************************************** --> + <tlv name="Uplink Octets at Tariff Switch" type="257" decoder="WIMAXASNCP_TLV_BYTES"> </tlv> - - <!-- ****************************************************************** --> - + + <!-- ****************************************************************** --> + <tlv name="Downlink Octets at Tariff Switch" type="258" decoder="WIMAXASNCP_TLV_BYTES"> </tlv> - - <!-- ****************************************************************** --> - + + <!-- ****************************************************************** --> + <tlv name="Uplink Packets at Tariff Switch" type="259" decoder="WIMAXASNCP_TLV_BYTES"> </tlv> - - <!-- ****************************************************************** --> - + + <!-- ****************************************************************** --> + <tlv name="Downlink Packets at Tariff Switch" type="260" decoder="WIMAXASNCP_TLV_BYTES"> </tlv> - - <!-- ****************************************************************** --> - + + <!-- ****************************************************************** --> + + <tlv name="Vendor Specific TLV" + type="261" + decoder="WIMAXASNCP_TLV_VENDOR_SPECIFIC"> + </tlv> + + <!-- ****************************************************************** --> + <tlv name="Paging Preference" type="262" decoder="WIMAXASNCP_TLV_HEX8"> </tlv> - + + <!-- ****************************************************************** --> + + <tlv name="Idle Mode Authorization Indication" + type="263" + decoder="WIMAXASNCP_TLV_ENUM8"> + + <enum name="Success" + code="0"/> + + <enum name="Failure" + code="1"/> + </tlv> + <!-- ****************************************************************** --> <tlv name="Accounting IP Address" type="264" decoder="WIMAXASNCP_TLV_IP_ADDRESS"> </tlv> - - <!-- ****************************************************************** --> + + <!-- ****************************************************************** --> <tlv name="Data Delivery Trigger" type="265" decoder="WIMAXASNCP_TLV_ENUM8"> - + <enum name="No trigger" code="0x00"/> - + <enum name="Triggers immediate delivery of data for the specified Service Flow" - code="0x01"/> + code="0x01"/> </tlv> - + <!-- ****************************************************************** --> <tlv name="MIP4 Security Info" type="266" decoder="WIMAXASNCP_TLV_COMPOUND"> </tlv> - + <!-- ****************************************************************** --> <tlv name="MN-FA Key Lifetime" type="267" decoder="WIMAXASNCP_TLV_DEC32"> </tlv> - + <!-- ****************************************************************** --> <tlv name="Idle Mode Timeout" type="268" decoder="WIMAXASNCP_TLV_DEC16"> </tlv> - + <!-- ****************************************************************** --> <tlv name="Classification Result" type="269" decoder="WIMAXASNCP_TLV_ENUM8"> - + <enum name="None" code="0x00"/> <enum name="Discard packet" - code="0x01"/> + code="0x01"/> </tlv> - + <!-- ****************************************************************** --> <tlv name="Network assisted HO Supported" type="270" decoder="WIMAXASNCP_TLV_ENUM8"> - + <enum name="Network Assisted HO not supported" code="0x00"/> <enum name="Network Assisted HO supported" - code="0x01"/> + code="0x01"/> </tlv> - + + <!-- ****************************************************************** --> + + <tlv name="Destination Identifier" + type="271" + decoder="WIMAXASNCP_TLV_ID"> + </tlv> + + <!-- ****************************************************************** --> + + <tlv name="Source Identifier" + type="272" + decoder="WIMAXASNCP_TLV_ID"> + </tlv> + + <!-- ****************************************************************** --> + + <tlv name="Ungraceful Network Exit Indication" + type="274" + decoder="WIMAXASNCP_TLV_ENUM8"> + + <enum name="Ungraceful Network Exit No Reason" + code="0x00"/> + <enum name="AAA initiated Ungraceful Network Exit" + code="0x01"/> + <enum name="Authenticator initiated Ungraceful Network Exit" + code="0x02"/> + <enum name="Ungraceful Network Exit by MIP session termination" + code="0x03"/> + <enum name="PC initiated Ungraceful Network Exit" + code="0x04"/> + </tlv> + <!-- ****************************************************************** --> <tlv name="Duration Quota" type="275" decoder="WIMAXASNCP_TLV_DEC32"> </tlv> - + <!-- ****************************************************************** --> <tlv name="Duration Threshold" type="276" decoder="WIMAXASNCP_TLV_DEC32"> - </tlv> - + </tlv> + <!-- ****************************************************************** --> <tlv name="Resource Quota" type="277" decoder="WIMAXASNCP_TLV_DEC32"> - </tlv> + </tlv> <!-- ****************************************************************** --> @@ -2297,18 +2723,18 @@ type="278" decoder="WIMAXASNCP_TLV_DEC32"> </tlv> - + <!-- ****************************************************************** --> - + <tlv name="Update Reason" type="279" decoder="WIMAXASNCP_TLV_ENUM8"> - - + + <enum name="Pre-initialization" code="0x01"/> <enum name="Initial-Request" - code="0x02"/> + code="0x02"/> <enum name="Threshold Reached" code="0x03"/> <enum name="Quota Reached" @@ -2316,672 +2742,684 @@ <enum name="TITSU Approaching" code="0x05"/> <enum name="Remote Forced Disconnect" - code="0x06"/> + code="0x06"/> <enum name="Client Service Termination" code="0x07"/> <enum name="Access Service Terminatedt" - code="0x08"/> + code="0x08"/> <enum name="Service not established" code="0x09"/> <enum name="One-time Charging" - code="0x0A"/> + code="0x0A"/> </tlv> - - <!-- ****************************************************************** --> - + + <!-- ****************************************************************** --> + <tlv name="Service-ID" type="280" decoder="WIMAXASNCP_TLV_BYTES"> - </tlv> - - <!-- ****************************************************************** --> - + </tlv> + + <tlv name="Service-ID / R3 Media Flow Description in SDP format" + type="280" + decoder="WIMAXASNCP_TLV_BYTES" + since="2"> + </tlv> + + <!-- ****************************************************************** --> + <tlv name="Rating-Group-ID" type="281" decoder="WIMAXASNCP_TLV_DEC32"> - </tlv> - - <!-- ****************************************************************** --> - + </tlv> + + <tlv name="Rating-Group-ID / VolumeUsed" + type="281" + decoder="WIMAXASNCP_TLV_DEC32" + since="2"> + </tlv> + + <!-- ****************************************************************** --> + <tlv name="Termination Action" type="282" decoder="WIMAXASNCP_TLV_ENUM8"> - + <enum name="Terminate" code="0x01"/> <enum name="Request more quota" - code="0x02"/> + code="0x02"/> <enum name="Redirect/Filter" code="0x03"/> - </tlv> - - <!-- ****************************************************************** --> - + </tlv> + + <tlv name="Termination Action / Time Stamp" + type="282" + decoder="WIMAXASNCP_TLV_DEC32" + since="2"> + </tlv> + + <!-- ****************************************************************** --> + <tlv name="Pool-ID" type="283" decoder="WIMAXASNCP_TLV_DEC32"> - </tlv> - - <!-- ****************************************************************** --> - + </tlv> + + <tlv name="Pool-ID / State / Accounting Bulk Session/Flow Volume Counts" + type="283" + decoder="WIMAXASNCP_TLV_DEC32" + since="2"> + </tlv> + + <!-- ****************************************************************** --> + <tlv name="Pool-Multiplier" type="284" decoder="WIMAXASNCP_TLV_DEC32"> </tlv> - + + <tlv name="Pool-Multiplier / Offline Accounting Context" + type="284" + decoder="WIMAXASNCP_TLV_DEC32" + since="2"> + </tlv> + <!-- ****************************************************************** --> <tlv name="Prepaid Server" type="285" decoder="WIMAXASNCP_TLV_IP_ADDRESS"> </tlv> - - <!-- ****************************************************************** --> - - <tlv name="Number of UL Transport CIDs Support" - type="288" - decoder="WIMAXASNCP_TLV_DEC16"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="Number of DL Transport CIDs Support" - type="289" - decoder="WIMAXASNCP_TLV_DEC16"> - </tlv> - - <!-- ****************************************************************** --> - + + <tlv name="Prepaid Server / R3 Acct Session Time" + type="285" + decoder="WIMAXASNCP_TLV_IP_ADDRESS" + since="2"> + </tlv> + + <!-- ****************************************************************** --> + + <tlv name="R3 Active Time" + type="286" + decoder="WIMAXASNCP_TLV_DEC32" + since="2"> + </tlv> + + <!-- ****************************************************************** --> + + <tlv name="Interim Update Interval Remaining" + type="287" + decoder="WIMAXASNCP_TLV_DEC32" + since="2"> + </tlv> + + <!-- ****************************************************************** --> + + <tlv name="Number of UL Transport CIDs Support" + type="288" + decoder="WIMAXASNCP_TLV_DEC16" + since="2"> + </tlv> + + <!-- ****************************************************************** --> + + <tlv name="Number of DL Transport CIDs Support" + type="289" + decoder="WIMAXASNCP_TLV_DEC16" + since="2"> + </tlv> + + <!-- ****************************************************************** --> + <tlv name="Classification/PHS Options and SDU Encapsulation Support Type" - type="290" - decoder="WIMAXASNCP_TLV_BYTES"> - </tlv> - + type="290" + decoder="WIMAXASNCP_TLV_BYTES" + since="2"> + </tlv> + <!-- ****************************************************************** --> - + <tlv name="Maximum Number of Classifier" - type="291" - decoder="WIMAXASNCP_TLV_DEC16"> - </tlv> - + type="291" + decoder="WIMAXASNCP_TLV_DEC16" + since="2"> + </tlv> + <!-- ****************************************************************** --> - - <tlv name="PHS Support" - type="292" - decoder="WIMAXASNCP_TLV_DEC8"> + + <tlv name="PHS Support" + type="292" + decoder="WIMAXASNCP_TLV_DEC8" + since="2"> </tlv> - + <!-- ****************************************************************** --> - - <tlv name="ARQ Support" - type="293" - decoder="WIMAXASNCP_TLV_DEC8"> + + <tlv name="ARQ Support" + type="293" + decoder="WIMAXASNCP_TLV_DEC8" + since="2"> </tlv> - + <!-- ****************************************************************** --> - - <tlv name="DSx Flow Control" - type="294" - decoder="WIMAXASNCP_TLV_DEC8"> + + <tlv name="DSx Flow Control" + type="294" + decoder="WIMAXASNCP_TLV_DEC8" + since="2"> </tlv> - - <!-- ****************************************************************** --> - - <tlv name="Total Number of Provisioned Service Flows" - type="295" - decoder="WIMAXASNCP_TLV_DEC8"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="Maximum MAC Data per Frame Support" - type="296" - decoder="WIMAXASNCP_TLV_COMPOUND"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="Maximum amount of MAC Level Data per DL Frame" - type="297" - decoder="WIMAXASNCP_TLV_DEC16"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="Maximum amount of MAC Level Data per UL Frame" - type="298" - decoder="WIMAXASNCP_TLV_DEC16"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="Packing Support" - type="299" - decoder="WIMAXASNCP_TLV_DEC8"> - </tlv> - - <!-- ****************************************************************** --> - <tlv name="MAC ertPS Support" - type="300" - decoder="WIMAXASNCP_TLV_DEC8"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="Maximum Number of Bursts Transmitted Concurrently to the MS" - type="301" - decoder="WIMAXASNCP_TLV_DEC8"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="HO Supported" - type="302" - decoder="WIMAXASNCP_TLV_HEX8"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="HO Process Optimization MS Timer" - type="303" - decoder="WIMAXASNCP_TLV_DEC8"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="Mobility Features Supported" - type="304" - decoder="WIMAXASNCP_TLV_HEX8"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="Sleep Mode Recovery Time" - type="305" - decoder="WIMAXASNCP_TLV_DEC8"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="ARQ Ack Type" - type="307" - decoder="WIMAXASNCP_TLV_HEX8"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="MS HO Connections Parameters Proc Time" - type="308" - decoder="WIMAXASNCP_TLV_DEC8"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="MS HO TEK Proc Time" - type="309" - decoder="WIMAXASNCP_TLV_DEC8"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="MAC Header and Extended Sub-Header Support" - type="310" - decoder="WIMAXASNCP_TLV_BYTES"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="System Resource Retain Timer" - type="311" - decoder="WIMAXASNCP_TLV_DEC16"> - </tlv> - - <!-- ****************************************************************** --> - <tlv name="MS Handover Retransmission Timer" - type="312" - decoder="WIMAXASNCP_TLV_DEC8"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="Handover Indication Readiness Timer" - type="313" - decoder="WIMAXASNCP_TLV_DEC8"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="BS Switching Timer" - type="314" - decoder="WIMAXASNCP_TLV_HEX8"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="Power Saving Class Capability" - type="315" - decoder="WIMAXASNCP_TLV_HEX16"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="Subscriber Transition Gaps" - type="316" - decoder="WIMAXASNCP_TLV_HEX16"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="Maximum Transmit Power" - type="317" - decoder="WIMAXASNCP_TLV_HEX32"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="Capabilities for Construction and Transmission of MAC PDUs" - type="318" - decoder="WIMAXASNCP_TLV_HEX8"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="PKM Flow Control" - type="319" - decoder="WIMAXASNCP_TLV_DEC8"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="Maximum Number of Supported Security Associations" - type="320" - decoder="WIMAXASNCP_TLV_DEC8"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="Security Negotiation Parameters" - type="321" - decoder="WIMAXASNCP_TLV_COMPOUND"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="MAC Mode" - type="323" - decoder="WIMAXASNCP_TLV_HEX8"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="PN Window Size" - type="324" - decoder="WIMAXASNCP_TLV_DEC16"> - </tlv> - - <!-- ****************************************************************** --> - - <tlv name="Extended Subheader Capability" - type="325" - decoder="WIMAXASNCP_TLV_HEX8"> - </tlv> <!-- ****************************************************************** --> - <tlv name="HO Trigger Metric Support" - type="326" - decoder="WIMAXASNCP_TLV_HEX8"> + <tlv name="Total Number of Provisioned Service Flows" + type="295" + decoder="WIMAXASNCP_TLV_DEC8" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="Current Transmit Power" - type="327" - decoder="WIMAXASNCP_TLV_DEC8"> + <tlv name="Maximum MAC Data per Frame Support" + type="296" + decoder="WIMAXASNCP_TLV_COMPOUND" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="OFDMA SS FFT Sizes" - type="328" - decoder="WIMAXASNCP_TLV_HEX8"> + <tlv name="Maximum amount of MAC Level Data per DL Frame" + type="297" + decoder="WIMAXASNCP_TLV_DEC16" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="OFDMA SS demodulator" - type="329" - decoder="WIMAXASNCP_TLV_BYTES"> + <tlv name="Maximum amount of MAC Level Data per UL Frame" + type="298" + decoder="WIMAXASNCP_TLV_DEC16" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="OFDMA SS modulator" - type="330" - decoder="WIMAXASNCP_TLV_HEX8"> + <tlv name="Packing Support" + type="299" + decoder="WIMAXASNCP_TLV_DEC8" + since="2"> </tlv> <!-- ****************************************************************** --> + <tlv name="MAC ertPS Support" + type="300" + decoder="WIMAXASNCP_TLV_DEC8" + since="2"> + </tlv> - <tlv name="The number of UL HARQ Channel" - type="331" - decoder="WIMAXASNCP_TLV_DEC8"> + <!-- ****************************************************************** --> + + <tlv name="Maximum Number of Bursts Transmitted Concurrently to the MS" + type="301" + decoder="WIMAXASNCP_TLV_DEC8" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="OFDMA SS Permutation support" - type="332" - decoder="WIMAXASNCP_TLV_DEC8"> + <tlv name="HO Supported" + type="302" + decoder="WIMAXASNCP_TLV_HEX8" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="OFDMA SS CINR Measurement Capability" - type="333" - decoder="WIMAXASNCP_TLV_HEX8"> + <tlv name="HO Process Optimization MS Timer" + type="303" + decoder="WIMAXASNCP_TLV_DEC8" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="The number of DL HARQ Channels" - type="334" - decoder="WIMAXASNCP_TLV_DEC8"> + <tlv name="Mobility Features Supported" + type="304" + decoder="WIMAXASNCP_TLV_HEX8" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="HARQ Chase Combining and CC-IR Buffer Capability" - type="335" - decoder="WIMAXASNCP_TLV_HEX16"> + <tlv name="Sleep Mode Recovery Time" + type="305" + decoder="WIMAXASNCP_TLV_DEC8" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="OFDMA SS Uplink Power Control Support" - type="336" - decoder="WIMAXASNCP_TLV_HEX8"> + <tlv name="ARQ Ack Type" + type="307" + decoder="WIMAXASNCP_TLV_HEX8" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="OFDMA SS Uplink Power Control Scheme Switching Delay" - type="337" - decoder="WIMAXASNCP_TLV_DEC8"> + <tlv name="MS HO Connections Parameters Proc Time" + type="308" + decoder="WIMAXASNCP_TLV_DEC8" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="OFDMA MAP Capability" - type="338" - decoder="WIMAXASNCP_TLV_HEX8"> + <tlv name="MS HO TEK Proc Time" + type="309" + decoder="WIMAXASNCP_TLV_DEC8" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="Uplink Control Channel Support" - type="339" - decoder="WIMAXASNCP_TLV_HEX8"> + <tlv name="MAC Header and Extended Sub-Header Support" + type="310" + decoder="WIMAXASNCP_TLV_BYTES" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="OFDMA MS CSIT Capability" - type="340" - decoder="WIMAXASNCP_TLV_HEX16"> + <tlv name="System Resource Retain Timer" + type="311" + decoder="WIMAXASNCP_TLV_DEC16" + since="2"> </tlv> <!-- ****************************************************************** --> + <tlv name="MS Handover Retransmission Timer" + type="312" + decoder="WIMAXASNCP_TLV_DEC8" + since="2"> + </tlv> - <tlv name="Maximum Number of Burst per Frame Capability in HARQ" - type="341" - decoder="WIMAXASNCP_TLV_DEC8"> + <!-- ****************************************************************** --> + + <tlv name="Handover Indication Readiness Timer" + type="313" + decoder="WIMAXASNCP_TLV_DEC8" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="OFDMA SS demodulator for MIMO Support" - type="342" - decoder="WIMAXASNCP_TLV_BYTES"> + <tlv name="BS Switching Timer" + type="314" + decoder="WIMAXASNCP_TLV_HEX8" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="OFDMA SS modulator for MIMO Support" - type="343" - decoder="WIMAXASNCP_TLV_HEX16"> + <tlv name="Power Saving Class Capability" + type="315" + decoder="WIMAXASNCP_TLV_HEX16" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="ARQ Context" - type="344" - decoder="WIMAXASNCP_TLV_COMPOUND"> + <tlv name="Subscriber Transition Gaps" + type="316" + decoder="WIMAXASNCP_TLV_HEX16" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="ARQ Enable" - type="345" - decoder="WIMAXASNCP_TLV_ENUM8"> - - <enum name="ARQ Not Requested/Accepted" - code="0"/> + <tlv name="Maximum Transmit Power" + type="317" + decoder="WIMAXASNCP_TLV_HEX32" + since="2"> + </tlv> - <enum name="ARQ Requested/Accepted" - code="1"/> + <!-- ****************************************************************** --> + + <tlv name="Capabilities for Construction and Transmission of MAC PDUs" + type="318" + decoder="WIMAXASNCP_TLV_HEX8" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="ARQ WINDOW SIZE" - type="346" - decoder="WIMAXASNCP_TLV_DEC16"> + <tlv name="PKM Flow Control" + type="319" + decoder="WIMAXASNCP_TLV_DEC8" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="ARQ_RETRY_TIMEOUT-Transmitter Delay" - type="347" - decoder="WIMAXASNCP_TLV_DEC16"> + <tlv name="Maximum Number of Supported Security Associations" + type="320" + decoder="WIMAXASNCP_TLV_DEC8" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="ARQ_RETRY_TIMEOUT-Receiver Delay" - type="348" - decoder="WIMAXASNCP_TLV_DEC16"> + <tlv name="Security Negotiation Parameters" + type="321" + decoder="WIMAXASNCP_TLV_COMPOUND" + since="2"> </tlv> + <!-- ****************************************************************** --> + + <tlv name="Authorization Policy" + type="322" + decoder="WIMAXASNCP_TLV_BITFLAGS8" + since="2"> + + <enum name="RSA-based authorization at the initial network entry" + code="WIMAXASNCP_BIT8(7)"/> + + <enum name="EAP-based authorization at the initial network entry" + code="WIMAXASNCP_BIT8(6)"/> + + <enum name="Authenticated EAP-based authorization at the initial network entry" + code="WIMAXASNCP_BIT8(5)"/> + + <enum name="Reserved (was: HMAC supported)" + code="WIMAXASNCP_BIT8(4)"/> + + <enum name="RSA-based authorization at reentry" + code="WIMAXASNCP_BIT8(3)"/> + + <enum name="EAP-based authorization at reentry" + code="WIMAXASNCP_BIT8(2)"/> + + <enum name="Authenticated EAP-based authorization at reentry" + code="WIMAXASNCP_BIT8(1)"/> + + <enum name="Reserved" + code="WIMAXASNCP_BIT8(0)"/> + + </tlv> <!-- ****************************************************************** --> - <tlv name="ARQ_BLOCK_LIFETIME" - type="349" - decoder="WIMAXASNCP_TLV_DEC16"> + <tlv name="MAC Mode" + type="323" + decoder="WIMAXASNCP_TLV_HEX8" + since="2"> </tlv> + <!-- ****************************************************************** --> + + <tlv name="PN Window Size" + type="324" + decoder="WIMAXASNCP_TLV_DEC16" + since="2"> + </tlv> <!-- ****************************************************************** --> - <tlv name="ARQ_SYNC_LOSS_TIMEOUT" - type="350" - decoder="WIMAXASNCP_TLV_DEC16"> + <tlv name="Extended Subheader Capability" + type="325" + decoder="WIMAXASNCP_TLV_HEX8" + since="2"> + </tlv> + + <!-- ****************************************************************** --> + + <tlv name="HO Trigger Metric Support" + type="326" + decoder="WIMAXASNCP_TLV_HEX8" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="ARQ_DELIVER_IN_ORDER" - type="351" - decoder="WIMAXASNCP_TLV_HEX8"> + <tlv name="Current Transmit Power" + type="327" + decoder="WIMAXASNCP_TLV_DEC8" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="ARQ_RX_PURGE_TIMEOUT" - type="352" - decoder="WIMAXASNCP_TLV_DEC16"> + <tlv name="OFDMA SS FFT Sizes" + type="328" + decoder="WIMAXASNCP_TLV_HEX8" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="ARQ_BLOCK_SIZE" - type="353" - decoder="WIMAXASNCP_TLV_DEC16"> + <tlv name="OFDMA SS demodulator" + type="329" + decoder="WIMAXASNCP_TLV_BYTES" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="RECEIVER_ARQ_ACK_PROCESSING TIME" - type="354" - decoder="WIMAXASNCP_TLV_HEX8"> + <tlv name="OFDMA SS modulator" + type="330" + decoder="WIMAXASNCP_TLV_HEX8" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="State" - type="355" - decoder="WIMAXASNCP_TLV_BYTES"> + <tlv name="The number of UL HARQ Channel" + type="331" + decoder="WIMAXASNCP_TLV_DEC8" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="R3 Media Flow Description in SDP format" - type="356" - decoder="WIMAXASNCP_TLV_BYTES"> + <tlv name="OFDMA SS Permutation support" + type="332" + decoder="WIMAXASNCP_TLV_DEC8" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="VolumeUsed" - type="357" - decoder="WIMAXASNCP_TLV_DEC32"> + <tlv name="OFDMA SS CINR Measurement Capability" + type="333" + decoder="WIMAXASNCP_TLV_HEX8" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="Time Stamp" - type="358" - decoder="WIMAXASNCP_TLV_DEC32"> + <tlv name="The number of DL HARQ Channels" + type="334" + decoder="WIMAXASNCP_TLV_DEC8" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="Accounting Bulk Session Flow Volume Counts" - type="359" - decoder="WIMAXASNCP_TLV_COMPOUND"> + <tlv name="HARQ Chase Combining and CC-IR Buffer Capability" + type="335" + decoder="WIMAXASNCP_TLV_HEX16" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="Offline Accounting Context" - type="360" - decoder="WIMAXASNCP_TLV_COMPOUND"> + <tlv name="OFDMA SS Uplink Power Control Support" + type="336" + decoder="WIMAXASNCP_TLV_HEX8" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="HO Authorization policy support" - type="367" - decoder="WIMAXASNCP_TLV_ENUM8"> - - <enum name="RSA authorization" - code="0x00"/> + <tlv name="OFDMA SS Uplink Power Control Scheme Switching Delay" + type="337" + decoder="WIMAXASNCP_TLV_DEC8" + since="2"> + </tlv> - <enum name="EAP authorization" - code="0x01"/> - - <enum name="HMAC supported" - code="0x08"/> + <!-- ****************************************************************** --> - <enum name="CMAC supported" - code="0x10"/> - - <enum name="64-bit Short-HMAC" - code="0x20"/> + <tlv name="OFDMA MAP Capability" + type="338" + decoder="WIMAXASNCP_TLV_HEX8" + since="2"> + </tlv> - <enum name="MS in Idle Mode" - code="1"/> - - <enum name="80-bit Short-HMAC" - code="0x40"/> + <!-- ****************************************************************** --> - <enum name="96-bit Short-HMAC" - code="0x80"/> + <tlv name="Uplink Control Channel Support" + type="339" + decoder="WIMAXASNCP_TLV_HEX8" + since="2"> + </tlv> + + <!-- ****************************************************************** --> + <tlv name="OFDMA MS CSIT Capability" + type="340" + decoder="WIMAXASNCP_TLV_HEX16" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="NSP ID" - type="368" - decoder="WIMAXASNCP_TLV_BYTES"> + <tlv name="Maximum Number of Burst per Frame Capability in HARQ" + type="341" + decoder="WIMAXASNCP_TLV_DEC8" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="Idle Mode Exit Indicator" - type="369" - decoder="WIMAXASNCP_TLV_ENUM8"> - - <enum name="Idle Mode Exit" - code="0"/> + <tlv name="OFDMA SS demodulator for MIMO Support" + type="342" + decoder="WIMAXASNCP_TLV_BYTES" + since="2"> + </tlv> - <enum name="MS in Idle Mode" - code="1"/> + <!-- ****************************************************************** --> + + <tlv name="OFDMA SS modulator for MIMO Support" + type="343" + decoder="WIMAXASNCP_TLV_HEX16" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="FA Security Infop" - type="372" - decoder="WIMAXASNCP_TLV_COMPOUND"> + <tlv name="ARQ Context" + type="344" + decoder="WIMAXASNCP_TLV_COMPOUND" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="Control Plane Indicator" - type="1136" - decoder="WIMAXASNCP_TLV_ENUM8"> + <tlv name="ARQ Enable" + type="345" + decoder="WIMAXASNCP_TLV_ENUM8" + since="2"> - <enum name="Success" + <enum name="ARQ Not Requested/Accepted" code="0"/> - <enum name="Failure" + <enum name="ARQ Requested/Accepted" code="1"/> + </tlv> <!-- ****************************************************************** --> - <tlv name="IM Auth Indication" - type="1228" - decoder="WIMAXASNCP_TLV_ENUM8"> + <tlv name="ARQ WINDOW SIZE" + type="346" + decoder="WIMAXASNCP_TLV_DEC16" + since="2"> + </tlv> - <enum name="Success" - code="0"/> + <!-- ****************************************************************** --> - <enum name="Failure" - code="1"/> + <tlv name="ARQ_RETRY_TIMEOUT-Transmitter Delay" + type="347" + decoder="WIMAXASNCP_TLV_DEC16" + since="2"> </tlv> <!-- ****************************************************************** --> - <tlv name="Source Identifier" - type="0xff01" - decoder="WIMAXASNCP_TLV_ID"> + <tlv name="ARQ_RETRY_TIMEOUT-Receiver Delay" + type="348" + decoder="WIMAXASNCP_TLV_DEC16" + since="2"> </tlv> + <!-- ****************************************************************** --> - <tlv name="Destination Identifier" - type="0xff02" - decoder="WIMAXASNCP_TLV_ID"> + <tlv name="ARQ_BLOCK_LIFETIME" + type="349" + decoder="WIMAXASNCP_TLV_DEC16" + since="2"> </tlv> + <!-- ****************************************************************** --> - <tlv name="Vendor Specific" + <tlv name="ARQ_SYNC_LOSS_TIMEOUT" + type="350" + decoder="WIMAXASNCP_TLV_DEC16" + since="2"> + </tlv> + + <!-- ****************************************************************** --> + + <tlv name="ARQ_DELIVER_IN_ORDER" + type="351" + decoder="WIMAXASNCP_TLV_HEX8" + since="2"> + </tlv> + + <!-- ****************************************************************** --> + + <tlv name="ARQ_RX_PURGE_TIMEOUT" + type="352" + decoder="WIMAXASNCP_TLV_DEC16" + since="2"> + </tlv> + + <!-- ****************************************************************** --> + + <tlv name="ARQ_BLOCK_SIZE" + type="353" + decoder="WIMAXASNCP_TLV_DEC16" + since="2"> + </tlv> + + <!-- ****************************************************************** --> + + <tlv name="RECEIVER_ARQ_ACK_PROCESSING TIME" + type="354" + decoder="WIMAXASNCP_TLV_HEX8" + since="2"> + </tlv> + + <!-- ****************************************************************** --> + + <tlv name="Vendor Specific Information Field" type="0xffff" decoder="WIMAXASNCP_TLV_VENDOR_SPECIFIC"> </tlv> + </dictionary> + |