aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bssgp.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-03-18 20:26:47 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-03-18 20:26:47 +0000
commit94f330030de8410b5f28798ad12da48a9944ab36 (patch)
tree71cc02064eac3f36fd4234990f9e2f3a588c4a2c /epan/dissectors/packet-bssgp.c
parent434aae5245f83f69bf3eb49ad34966c442117385 (diff)
use enum values instead of hardcoded values
(as suggested by Sylvain Munaut in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8487) svn path=/trunk/; revision=48397
Diffstat (limited to 'epan/dissectors/packet-bssgp.c')
-rw-r--r--epan/dissectors/packet-bssgp.c306
1 files changed, 153 insertions, 153 deletions
diff --git a/epan/dissectors/packet-bssgp.c b/epan/dissectors/packet-bssgp.c
index 62824f0136..2d0511e06c 100644
--- a/epan/dissectors/packet-bssgp.c
+++ b/epan/dissectors/packet-bssgp.c
@@ -3322,159 +3322,6 @@ de_bssgp_unconfim_send_state_var(tvbuff_t *tvb, proto_tree *tree, packet_info *p
return 2;
}
-const value_string bssgp_elem_strings[] = {
- { 0x00, "Alignment Octets" }, /* 11.3.1 Alignment octets */
- { 0x01, "Bmax default MS" }, /* 11.3.2 Bmax default MS */
- { 0x02, "BSS Area Indication" }, /* 11.3.3 BSS Area Indication */
- { 0x03, "Bucket Leak Rate (R)" }, /* 11.3.4 Bucket Leak Rate (R) */
- { 0x04, "BVCI (BSSGP Virtual Connection Identifier)" }, /* 11.3.6 BVCI (BSSGP Virtual Connection Identifier) */
- { 0x05, "BVC Bucket size" }, /* 11.3.5 BVC Bucket Size */
- { 0x06, "BVC Measurement" }, /* 11.3.7 BVC Measurement */
- { 0x07, "Cause" }, /* 11.3.8 Cause */
- { 0x08, "Cell Identifier" }, /* 11.3.9 Cell Identifier */
- { 0x09, "Channel needed" }, /* 11.3.10 Channel needed */
- { 0x0a, "DRX Parameters" }, /* 11.3.11 DRX Parameters */
- { 0x0b, "eMLPP-Priority" }, /* 11.3.12 eMLPP-Priority */
- { 0x0c, "Flush Action" }, /* 11.3.13 Flush Action */
- { 0x0d, "IMSI" }, /* 11.3.14 IMSI */
- { 0x0e, "LLC-PDU" }, /* 11.3.15 LLC-PDU */
- { 0x0f, "LLC Frames Discarded" }, /* 11.3.16 LLC Frames Discarded */
- { 0x10, "Location Area" }, /* 11.3.17 Location Area */
- { 0x11, "Mobile Id" }, /* 11.3.20 Mobile Id */
- { 0x12, "MS Bucket Size" }, /* 11.3.21 MS Bucket Size */
- { 0x13, "MS Radio Access Capability" }, /* 11.3.22 MS Radio Access Capability GSM_A_PDU_TYPE_GM, DE_MS_RAD_ACC_CAP */
- { 0x14, "OMC Id" }, /* 11.3.23 OMC Id */
- { 0x15, "PDU In Error" }, /* 11.3.24 PDU In Error */
- { 0x16, "PDU Lifetime" }, /* 11.3.25 PDU Lifetime */
- { 0x17, "Priority" }, /* 11.3.27 Priority */
- { 0x18, "QoS Profile" }, /* 11.3.28 QoS Profile */
- { 0x19, "Radio Cause" }, /* 11.3.29 Radio Cause */
- { 0x1a, "RA-Cap-UPD-Cause" }, /* 11.3.30 RA-Cap-UPD-Cause */
- { 0x1b, "Routeing Area" }, /* 11.3.31 Routeing Area */
- { 0x1c, "R_default_MS" }, /* 11.3.32 R_default_MS */
- { 0x1d, "Suspend Reference Number" }, /* 11.3.33 Suspend Reference Number */
- { 0x1e, "Tag" }, /* 11.3.34 Tag */
- { 0x1f, "Temporary logical link Identity (TLLI)" }, /* 11.3.35 Temporary logical link Identity (TLLI) GSM_A_PDU_TYPE_RR, DE_RR_TLLI*/
- { 0x20, "Temporary Mobile Subscriber Identity (TMSI)" }, /* 11.3.36 Temporary Mobile Subscriber Identity (TMSI)GSM_A_PDU_TYPE_RR, DE_RR_TMSI_PTMSI */
- { 0x21, "Trace Reference" }, /* 11.3.37 Trace Reference */
- { 0x22, "Trace Type" }, /* 11.3.38 Trace Type */
- { 0x23, "Transaction Id" }, /* 11.3.39 Transaction Id */
- { 0x24, "Trigger Id" }, /* 11.3.40 Trigger Id */
- { 0x25, "Number of octets affected" }, /* 11.3.41 Number of octets affected */
- { 0x26, "LSA Identifier List" }, /* 11.3.18 LSA Identifier List */
- { 0x27, "LSA Information" }, /* 11.3.19 LSA Information */
- { 0x28, "Packet Flow Identifier (PFI)" }, /* 11.3.42 Packet Flow Identifier (PFI) GSM_A_PDU_TYPE_GM, DE_PACKET_FLOW_ID*/
- /* 11.3.42a (void) */
- { 0x29, "GPRS Timer" }, /* 11.3.44 GPRS Timer */
- { 0x2a, "Aggregate BSS QoS Profile" }, /* 11.3.43 Aggregate BSS QoS Profile GSM_A_PDU_TYPE_GM, DE_QOS*/
- { 0x2b, "Feature Bitmap" }, /* 11.3.45 Feature Bitmap */
- { 0x2c, "Bucket Full Ratio" }, /* 11.3.46 Bucket Full Ratio */
- { 0x2d, "Service UTRAN CCO" }, /* 11.3.47 Service UTRAN CCO */
- { 0x2e, "NSEI (Network Service Entity Identifier)" }, /* 11.3.48 NSEI (Network Service Entity Identifier) */
- { 0x2f, "RRLP APDU" }, /* 11.3.49 RRLP APDU */
- /* 11.3.50 LCS QoS BSSGP_IEI_LCS_QOS, GSM_PDU_TYPE_BSSMAP_LE, DE_BMAPLE_LCSQOS*/
- /* 11.3.51 LCS Client Type BSSGP_IEI_LCS_CLIENT_TYPE, GSM_PDU_TYPE_BSSMAP_LE, DE_BMAPLE_LCS_CLIENT_TYPE*/
- /* 11.3.52 Requested GPS Assistance Data BSSGP_IEI_REQUESTED_GPS_ASSISTANCE_DATA, GSM_PDU_TYPE_BSSMAP_LE, DE_BMAPLE_REQ_GPS_ASSIST_D*/
- /* 11.3.53 Location Type 0x7c, GSM_PDU_TYPE_BSSMAP_LE, DE_BMAPLE_GANSS_LOC_TYPE*/
- /* 11.3.54 Location Estimate BSSGP_IEI_LOCATION_ESTIMATE, GSM_A_PDU_TYPE_BSSMAP, BE_LOC_EST*/
- /* 11.3.55 Positioning Data 0x7d, GSM_PDU_TYPE_BSSMAP_LE, DE_BMAPLE_POS_DATA*/
- /* 11.3.56 Deciphering Keys BSSGP_IEI_DECIPHERING_KEYS, GSM_PDU_TYPE_BSSMAP_LE, DE_BMAPLE_DECIPH_KEYS */
- /* 11.3.57 LCS Priority BSSGP_IEI_LCS_PRIORITY, GSM_A_PDU_TYPE_BSSMAP, BE_LCS_PRIO;*/
- /* 11.3.58 LCS Cause BSSGP_IEI_LCS_CAUSE, GSM_PDU_TYPE_BSSMAP_LE, DE_BMAPLE_LCS_CAUSE */
- /* 11.3.59 LCS Capability 0x49 , GSM_A_PDU_TYPE_GM, DE_PS_LCS_CAP*/
- { 0x30, "RRLP Flags" }, /* 11.3.60 RRLP Flags */
- { 0x31, "RIM Application Identity" }, /* 11.3.61 RIM Application Identity */
- { 0x32, "RIM Sequence Number" }, /* 11.3.62 RIM Sequence Number */
- /* 11.3.62a RIM Container */
- /* 11.3.62a.0 General */
- { 0x33, "RAN-INFORMATION-REQUEST RIM Container" }, /* 11.3.62a.1 RAN-INFORMATION-REQUEST RIM Container */
- { 0x34, "RAN-INFORMATION RIM Container" }, /* 11.3.62a.2 RAN-INFORMATION RIM Container */
- { 0x35, "RAN-INFORMATION-ACK RIM Container" }, /* 11.3.62a.3 RAN-INFORMATION-ACK RIM Container */
- { 0x36, "RAN-INFORMATION-ERROR RIM Container" }, /* 11.3.62a.4 RAN-INFORMATION-ERROR RIM Container */
- { 0x37, "RAN-INFORMATION-APPLICATION-ERROR RIM Container" }, /* 11.3.62a.5 RAN-INFORMATION-APPLICATION-ERROR RIM Container */
- /* 11.3.63 Application Container */
- { 0x38, "RAN-INFORMATION-REQUEST Application Container" }, /* 11.3.63.1 RAN-INFORMATION-REQUEST Application Container */
- /* 11.3.63.1.0 General */
- /* 11.3.63.1.1 RAN-INFORMATION-REQUEST Application Container for the NACC Application */
- /* 11.3.63.1.2 RAN-INFORMATION-REQUEST Application Container for the SI3 Application */
- /* 11.3.63.1.3 RAN-INFORMATION-REQUEST Application Container for the MBMS data channel Application */
- /* 11.3.63.1.4 RAN-INFORMATION-REQUEST Application Container for the SON Transfer Application */
- { 0x39, "RAN-INFORMATION Application Container Unit" }, /* 11.3.63.2 RAN-INFORMATION Application Container Unit */
- /* 11.3.63.2.0 General */
- /* 11.3.63.2.1 RAN-INFORMATION Application Container for the NACC Application */
- /* 11.3.63.2.2 RAN-INFORMATION Application Container for the SI3 Application */
- /* 11.3.63.2.3 RAN-INFORMATION Application Container for the MBMS data channel Application */
- /* 11.3.63.2.4 RAN-INFORMATION Application Container for the SON Transfer Application */
- { 0x3a, "Application Error Container" }, /* 11.3.64 Application Error Container */
- /* 11.3.64.1 Application Error Container layout for the NACC application */
- /* 11.3.64.2 Application Error Container for the SI3 application */
- /* 11.3.64.3 Application Error Container for the MBMS data channel application */
- /* 11.3.64.4 Application Error Container for the SON Transfer Application */
- { 0x3b, "RIM PDU Indications" }, /* 11.3.65 RIM PDU Indications */
- /* 11.3.65.0 General */
- /* 11.3.65.1 RAN-INFORMATION-REQUEST RIM PDU Indications */
- /* 11.3.65.2 RAN-INFORMATION RIM PDU Indications */
- /* 11.3.65.3 RAN-INFORMATION-APPLICATION-ERROR RIM PDU Indications */
- /* 11.3.66 (void) */
- { 0x3c, "RIM Protocol Version Number" }, /* 11.3.67 RIM Protocol Version Number */
- { 0x3d, "PFC Flow Control parameters" }, /* 11.3.68 PFC Flow Control parameters */
- /* 0x53, SGSAP_PDU_TYPE, DE_SGSAP_GLOBAL_CN_ID */ /* 11.3.69 Global CN-Id */
- { 0x3e, "RIM Routing Information" }, /* 11.3.70 RIM Routing Information */
- { 0x3f, "MBMS Session Identity" }, /* 11.3.71 MBMS Session Identity */
- { 0x40, "MBMS Session Duration" }, /* 11.3.72 MBMS Session Duration */
- { 0x41, "MBMS Service Area Identity List" }, /* 11.3.73 MBMS Service Area Identity List */
- { 0x42, "MBMS Response" }, /* 11.3.74 MBMS Response */
- { 0x43, "MBMS Routing Area List" }, /* 11.3.75 MBMS Routing Area List */
- { 0x44, "MBMS Session Information" }, /* 11.3.76 MBMS Session Information */
- { 0x45, "TMGI" }, /* 11.3.77 TMGI (Temporary Mobile Group Identity) */
- { 0x46, "MBMS Stop Cause" }, /* 11.3.78 MBMS Stop Cause */
- { 0x47, "Source BSS to Target BSS Transparent Container" }, /* 11.3.79 Source BSS to Target BSS Transparent Container */
- { 0x48, "Target BSS to Source BSS Transparent Container" }, /* 11.3.80 Target BSS to Source BSS Transparent Container */
- /* 11.3.81 NAS container for PS Handover */
- { 0x49, "PFCs to be set-up list" }, /* 11.3.82 PFCs to be set-up list */
- { 0x4a, "List of set-up PFCs" }, /* 11.3.83 List of set-up PFCs */
- { 0x4b, "Extended Feature Bitmap" }, /* 11.3.84 Extended Feature Bitmap */
- { 0x4c, "Source to Target Transparent Container" }, /* 11.3.85 Source to Target Transparent Container */
- { 0x4d, "Target to Source Transparent Container" }, /* 11.3.86 Target to Source Transparent Container */
- { 0x4e, "RNC Identifier" }, /* 11.3.87 RNC Identifier */
- { 0x4f, "Page Mode" }, /* 11.3.88 Page Mode */
- { 0x50, "Container ID" }, /* 11.3.89 Container ID */
- { 0x51, "Global TFI" }, /* 11.3.90 Global TFI */
- /* 11.3.91 IMEI */
- { 0x52, "Time to MBMS Data Transfer" }, /* 11.3.92 Time to MBMS Data Transfer */
- { 0x53, "MBMS Session Repetition Number" }, /* 11.3.93 MBMS Session Repetition Number */
- { 0x54, "Inter RAT Handover Info" }, /* 11.3.94 Inter RAT Handover Info */
- { 0x55, "PS Handover Command" }, /* 11.3.95 PS Handover Command */
- { 0x56, "PS Handover Indications" }, /* 11.3.95a PS Handover Indications */
- { 0x57, "SI/PSI Container" }, /* 11.3.95b SI/PSI Container */
- { 0x58, "Active PFCs List" }, /* 11.3.95c Active PFCs List */
- { 0x59, "Velocity Data" }, /* 11.3.96 Velocity Data */
- { 0x5a, "DTM Handover Command" }, /* 11.3.97 DTM Handover Command */
- { 0x5b, "PS Handover Indications" }, /* 11.3.98 CS Indication */
- /* 11.3.99 Requested GANSS Assistance Data 0x7b, GSM_A_PDU_TYPE_BSSMAP, BE_GANSS_ASS_DTA*/
- /* 11.3.100 GANSS Location Type 0x7c, GSM_A_PDU_TYPE_BSSMAP, BE_GANSS_LOC_TYP*/
- /* 11.3.101 GANSS Positioning Data ENC_BIG_ENDIAN);*/
- { 0x5c, "Flow Control Granularity" }, /* 11.3.102 Flow Control Granularity */
- { 0x5d, "eNB Identifier" }, /* 11.3.103 eNB Identifier */
- { 0x5e, "E-UTRAN Inter RAT Handover Info" }, /* 11.3.104 E-UTRAN Inter RAT Handover Info */
- { 0x5f, "Subscriber Profile ID for RAT/Frequency priority" }, /* 11.3.105 Subscriber Profile ID for RAT/Frequency priority */
- { 0x60, "Request for Inter-RAT Handover Info" }, /* 11.3.106 Request for Inter-RAT Handover Info */
- { 0x61, "Reliable Inter-RAT Handover Info" }, /* 11.3.107 Reliable Inter-RAT Handover Info */
- { 0x62, "Son transfer application identity" }, /* 11.3.108 SON Transfer Application Identity */
- { 0x63, "CSG Identifier" }, /* 11.3.109 CSG Identifier */
- /* 11.3.110 Tracking Area Code */
- { 0x64, "Redirect Attempt Flag"}, /* 11.3.111 Redirect Attempt Flag */
- { 0x65, "Redirection Indication"}, /* 11.3.112 Redirection Indication */
- { 0x66, "Redirection Completed"}, /* 11.3.113 Redirection Completed */
- { 0x67, "Unconfirmed Send State Variable"}, /* 11.3.114 Unconfirmed send state variable */
-
- { 0, NULL }
-};
-
-#define NUM_BSSGP_ELEM (sizeof(bssgp_elem_strings)/sizeof(value_string))
-gint ett_bssgp_elem[NUM_BSSGP_ELEM];
-
-
typedef enum
{
DE_BSSGP_ALIGNMENT_OCTETS, /* 11.3.1 0x00 Alignment octets */
@@ -3589,6 +3436,159 @@ typedef enum
}
bssgp_elem_idx_t;
+const value_string bssgp_elem_strings[] = {
+ { DE_BSSGP_ALIGNMENT_OCTETS, "Alignment Octets" }, /* 11.3.1 Alignment octets */
+ { DE_BSSGP_BMAX_DEFAULT_MS, "Bmax default MS" }, /* 11.3.2 Bmax default MS */
+ { DE_BSSGP_BSS_AREA_IND, "BSS Area Indication" }, /* 11.3.3 BSS Area Indication */
+ { DE_BSSGP_BUCKET_LEAK_RATE, "Bucket Leak Rate (R)" }, /* 11.3.4 Bucket Leak Rate (R) */
+ { DE_BSSGP_BVCI, "BVCI (BSSGP Virtual Connection Identifier)" }, /* 11.3.6 BVCI (BSSGP Virtual Connection Identifier) */
+ { DE_BSSGP_BVC_BUCKET_SIZE, "BVC Bucket size" }, /* 11.3.5 BVC Bucket Size */
+ { DE_BSSGP_BVC_MEAS, "BVC Measurement" }, /* 11.3.7 BVC Measurement */
+ { DE_BSSGP_CAUSE, "Cause" }, /* 11.3.8 Cause */
+ { DE_BSSGP_CELL_ID, "Cell Identifier" }, /* 11.3.9 Cell Identifier */
+ { DE_BSSGP_CHLN_NEEDED, "Channel needed" }, /* 11.3.10 Channel needed */
+ { DE_BBSGP_DRX_PARAM, "DRX Parameters" }, /* 11.3.11 DRX Parameters */
+ { DE_BBSGP_EMLPP_PRIO, "eMLPP-Priority" }, /* 11.3.12 eMLPP-Priority */
+ { DE_BSSGP_FLUSH_ACTION, "Flush Action" }, /* 11.3.13 Flush Action */
+ { DE_BSSGP_IMSI, "IMSI" }, /* 11.3.14 IMSI */
+ { DE_BSSGP_LLC_PDU, "LLC-PDU" }, /* 11.3.15 LLC-PDU */
+ { DE_BSSGP_LLC_FRAMES_DISC, "LLC Frames Discarded" }, /* 11.3.16 LLC Frames Discarded */
+ { DE_BSSGP_LAI, "Location Area" }, /* 11.3.17 Location Area */
+ { DE_BSSGP_MID, "Mobile Id" }, /* 11.3.20 Mobile Id */
+ { DE_BSSGP_MS_BUCKET_SIZE, "MS Bucket Size" }, /* 11.3.21 MS Bucket Size */
+ { DE_BSSGP_MS_RAD_ACC_CAP, "MS Radio Access Capability" }, /* 11.3.22 MS Radio Access Capability GSM_A_PDU_TYPE_GM, DE_MS_RAD_ACC_CAP */
+ { DE_BSSGP_OMC_ID, "OMC Id" }, /* 11.3.23 OMC Id */
+ { DE_BSSGP_PDU_IN_ERROR, "PDU In Error" }, /* 11.3.24 PDU In Error */
+ { DE_BSSGP_PDU_LIFETIME, "PDU Lifetime" }, /* 11.3.25 PDU Lifetime */
+ { DE_BSSP_PRIORITY, "Priority" }, /* 11.3.27 Priority */
+ { DE_BSSGP_QOS_PROFILE, "QoS Profile" }, /* 11.3.28 QoS Profile */
+ { DE_BSSGP_RA_CAUSE, "Radio Cause" }, /* 11.3.29 Radio Cause */
+ { DE_BSSGP_RA_CAP_UPD_CAUSE, "RA-Cap-UPD-Cause" }, /* 11.3.30 RA-Cap-UPD-Cause */
+ { DE_BSSGP_RAI, "Routeing Area" }, /* 11.3.31 Routeing Area */
+ { DE_BSSGP_R_DEFAULT_MS, "R_default_MS" }, /* 11.3.32 R_default_MS */
+ { DE_BBSGP_SUSPEND_REF_NO, "Suspend Reference Number" }, /* 11.3.33 Suspend Reference Number */
+ { DE_BSSGP_TAG, "Tag" }, /* 11.3.34 Tag */
+ { DE_BSSGP_TLLI, "Temporary logical link Identity (TLLI)" }, /* 11.3.35 Temporary logical link Identity (TLLI) GSM_A_PDU_TYPE_RR, DE_RR_TLLI*/
+ { DE_BSSGP_TMSI_PTMSI, "Temporary Mobile Subscriber Identity (TMSI)" }, /* 11.3.36 Temporary Mobile Subscriber Identity (TMSI)GSM_A_PDU_TYPE_RR, DE_RR_TMSI_PTMSI */
+ { DE_BSSGP_TRACE_REF, "Trace Reference" }, /* 11.3.37 Trace Reference */
+ { DE_BSSGP_TRACE_TYPE, "Trace Type" }, /* 11.3.38 Trace Type */
+ { DE_BSSGP_TRANSACTION_ID, "Transaction Id" }, /* 11.3.39 Transaction Id */
+ { DE_BSSGP_TRIGGER_ID, "Trigger Id" }, /* 11.3.40 Trigger Id */
+ { DE_BSSGP_NO_OF_OCT_AFFECTED, "Number of octets affected" }, /* 11.3.41 Number of octets affected */
+ { DE_BSSGP_LSA_ID_LIST, "LSA Identifier List" }, /* 11.3.18 LSA Identifier List */
+ { DE_BSSGP_LSA_INFO, "LSA Information" }, /* 11.3.19 LSA Information */
+ { DE_BSSGP_ACKET_FLOW_ID, "Packet Flow Identifier (PFI)" }, /* 11.3.42 Packet Flow Identifier (PFI) GSM_A_PDU_TYPE_GM, DE_PACKET_FLOW_ID*/
+ /* 11.3.42a (void) */
+ { DE_BSSGP_GPRS_TIMER, "GPRS Timer" }, /* 11.3.44 GPRS Timer */
+ { DE_BSSGP_QOS, "Aggregate BSS QoS Profile" }, /* 11.3.43 Aggregate BSS QoS Profile GSM_A_PDU_TYPE_GM, DE_QOS*/
+ { DE_BSSGP_FEATURE_BITMAP, "Feature Bitmap" }, /* 11.3.45 Feature Bitmap */
+ { DE_BSSGP_BUCKET_FULL_RATIO, "Bucket Full Ratio" }, /* 11.3.46 Bucket Full Ratio */
+ { DE_BSSGP_SERV_UTRAN_CCO, "Service UTRAN CCO" }, /* 11.3.47 Service UTRAN CCO */
+ { DE_BSSGP_NSEI, "NSEI (Network Service Entity Identifier)" }, /* 11.3.48 NSEI (Network Service Entity Identifier) */
+ { DE_BSSGP_RRLP_APDU, "RRLP APDU" }, /* 11.3.49 RRLP APDU */
+ /* 11.3.50 LCS QoS BSSGP_IEI_LCS_QOS, GSM_PDU_TYPE_BSSMAP_LE, DE_BMAPLE_LCSQOS*/
+ /* 11.3.51 LCS Client Type BSSGP_IEI_LCS_CLIENT_TYPE, GSM_PDU_TYPE_BSSMAP_LE, DE_BMAPLE_LCS_CLIENT_TYPE*/
+ /* 11.3.52 Requested GPS Assistance Data BSSGP_IEI_REQUESTED_GPS_ASSISTANCE_DATA, GSM_PDU_TYPE_BSSMAP_LE, DE_BMAPLE_REQ_GPS_ASSIST_D*/
+ /* 11.3.53 Location Type 0x7c, GSM_PDU_TYPE_BSSMAP_LE, DE_BMAPLE_GANSS_LOC_TYPE*/
+ /* 11.3.54 Location Estimate BSSGP_IEI_LOCATION_ESTIMATE, GSM_A_PDU_TYPE_BSSMAP, BE_LOC_EST*/
+ /* 11.3.55 Positioning Data 0x7d, GSM_PDU_TYPE_BSSMAP_LE, DE_BMAPLE_POS_DATA*/
+ /* 11.3.56 Deciphering Keys BSSGP_IEI_DECIPHERING_KEYS, GSM_PDU_TYPE_BSSMAP_LE, DE_BMAPLE_DECIPH_KEYS */
+ /* 11.3.57 LCS Priority BSSGP_IEI_LCS_PRIORITY, GSM_A_PDU_TYPE_BSSMAP, BE_LCS_PRIO;*/
+ /* 11.3.58 LCS Cause BSSGP_IEI_LCS_CAUSE, GSM_PDU_TYPE_BSSMAP_LE, DE_BMAPLE_LCS_CAUSE */
+ /* 11.3.59 LCS Capability 0x49 , GSM_A_PDU_TYPE_GM, DE_PS_LCS_CAP*/
+ { DE_BSSGP_RRLP_FLAGS, "RRLP Flags" }, /* 11.3.60 RRLP Flags */
+ { DE_BSSGP_RIM_APP_ID, "RIM Application Identity" }, /* 11.3.61 RIM Application Identity */
+ { DE_BSSGP_RIM_SEQ_NO, "RIM Sequence Number" }, /* 11.3.62 RIM Sequence Number */
+ /* 11.3.62a RIM Container */
+ /* 11.3.62a.0 General */
+ { DE_BSSGP_RAN_INF_REQUEST_RIM_CONT, "RAN-INFORMATION-REQUEST RIM Container" }, /* 11.3.62a.1 RAN-INFORMATION-REQUEST RIM Container */
+ { DE_BSSGP_RAN_INF_RIM_CONT, "RAN-INFORMATION RIM Container" }, /* 11.3.62a.2 RAN-INFORMATION RIM Container */
+ { DE_BSSGP_RAN_INFORMATION_ACK_RIM_CONT, "RAN-INFORMATION-ACK RIM Container" }, /* 11.3.62a.3 RAN-INFORMATION-ACK RIM Container */
+ { DE_BSSGP_RAN_INFORMATION_ERROR_RIM_CONT, "RAN-INFORMATION-ERROR RIM Container" }, /* 11.3.62a.4 RAN-INFORMATION-ERROR RIM Container */
+ { DE_BSSGP_RAN_INF_APP_ERROR_RIM_CONT, "RAN-INFORMATION-APPLICATION-ERROR RIM Container" }, /* 11.3.62a.5 RAN-INFORMATION-APPLICATION-ERROR RIM Container */
+ /* 11.3.63 Application Container */
+ { DE_BSSGP_RAN_INFORMATION_REQUEST_APP_CONT, "RAN-INFORMATION-REQUEST Application Container" }, /* 11.3.63.1 RAN-INFORMATION-REQUEST Application Container */
+ /* 11.3.63.1.0 General */
+ /* 11.3.63.1.1 RAN-INFORMATION-REQUEST Application Container for the NACC Application */
+ /* 11.3.63.1.2 RAN-INFORMATION-REQUEST Application Container for the SI3 Application */
+ /* 11.3.63.1.3 RAN-INFORMATION-REQUEST Application Container for the MBMS data channel Application */
+ /* 11.3.63.1.4 RAN-INFORMATION-REQUEST Application Container for the SON Transfer Application */
+ { DE_BSSGP_RAN_INFORMATION_APP_CONT_UNIT, "RAN-INFORMATION Application Container Unit" }, /* 11.3.63.2 RAN-INFORMATION Application Container Unit */
+ /* 11.3.63.2.0 General */
+ /* 11.3.63.2.1 RAN-INFORMATION Application Container for the NACC Application */
+ /* 11.3.63.2.2 RAN-INFORMATION Application Container for the SI3 Application */
+ /* 11.3.63.2.3 RAN-INFORMATION Application Container for the MBMS data channel Application */
+ /* 11.3.63.2.4 RAN-INFORMATION Application Container for the SON Transfer Application */
+ { DE_BSSGP_RAN_APP_ERROR_CONT, "Application Error Container" }, /* 11.3.64 Application Error Container */
+ /* 11.3.64.1 Application Error Container layout for the NACC application */
+ /* 11.3.64.2 Application Error Container for the SI3 application */
+ /* 11.3.64.3 Application Error Container for the MBMS data channel application */
+ /* 11.3.64.4 Application Error Container for the SON Transfer Application */
+ { DE_BSSGP_RIM_PDU_INDICATIONS, "RIM PDU Indications" }, /* 11.3.65 RIM PDU Indications */
+ /* 11.3.65.0 General */
+ /* 11.3.65.1 RAN-INFORMATION-REQUEST RIM PDU Indications */
+ /* 11.3.65.2 RAN-INFORMATION RIM PDU Indications */
+ /* 11.3.65.3 RAN-INFORMATION-APPLICATION-ERROR RIM PDU Indications */
+ /* 11.3.66 (void) */
+ { DE_BSSGP_RIM_PROTO_VER_NO, "RIM Protocol Version Number" }, /* 11.3.67 RIM Protocol Version Number */
+ { DE_BSSGP_PFC_FLOW_CTRL, "PFC Flow Control parameters" }, /* 11.3.68 PFC Flow Control parameters */
+ /* 0x53, SGSAP_PDU_TYPE, DE_SGSAP_GLOBAL_CN_ID */ /* 11.3.69 Global CN-Id */
+ { DE_BSSGP_RIM_ROUTING_INF, "RIM Routing Information" }, /* 11.3.70 RIM Routing Information */
+ { DE_BSSGP_MBMS_SESSION_ID, "MBMS Session Identity" }, /* 11.3.71 MBMS Session Identity */
+ { DE_BSSGP_MBMS_SESSION_DUR, "MBMS Session Duration" }, /* 11.3.72 MBMS Session Duration */
+ { DE_BSSGP_MBMS_SAI_LIST, "MBMS Service Area Identity List" }, /* 11.3.73 MBMS Service Area Identity List */
+ { DE_BSSGP_MBMS_RESPONSE, "MBMS Response" }, /* 11.3.74 MBMS Response */
+ { DE_BSSGP_MBMS_RA_LIST, "MBMS Routing Area List" }, /* 11.3.75 MBMS Routing Area List */
+ { DE_BSSGP_MBMS_SESSION_INF, "MBMS Session Information" }, /* 11.3.76 MBMS Session Information */
+ { DE_BSSGP_TMGI, "TMGI" }, /* 11.3.77 TMGI (Temporary Mobile Group Identity) */
+ { DE_BSSGP_MBMS_STOP_CAUSE, "MBMS Stop Cause" }, /* 11.3.78 MBMS Stop Cause */
+ { DE_BSSGP_SOURCE_BSS_TO_TARGET_BSS_TRANSP_CONT, "Source BSS to Target BSS Transparent Container" }, /* 11.3.79 Source BSS to Target BSS Transparent Container */
+ { DE_BSSGP_TARGET_BSS_TO_SOURCE_BSS_TRANSP_CONT, "Target BSS to Source BSS Transparent Container" }, /* 11.3.80 Target BSS to Source BSS Transparent Container */
+ /* 11.3.81 NAS container for PS Handover */
+ { DE_BSSGP_PFCS_TO_BE_SET_UP_LIST, "PFCs to be set-up list" }, /* 11.3.82 PFCs to be set-up list */
+ { DE_BSSGP_LIST_OF_SETUP_PFCS, "List of set-up PFCs" }, /* 11.3.83 List of set-up PFCs */
+ { DE_BSSGP_EXT_FEATURE_BITMAP, "Extended Feature Bitmap" }, /* 11.3.84 Extended Feature Bitmap */
+ { DE_BSSGP_SRC_TO_TRG_TRANSP_CONT, "Source to Target Transparent Container" }, /* 11.3.85 Source to Target Transparent Container */
+ { DE_BSSGP_TRG_TO_SRC_TRANSP_CONT, "Target to Source Transparent Container" }, /* 11.3.86 Target to Source Transparent Container */
+ { BE_BSSGP_RNC_ID, "RNC Identifier" }, /* 11.3.87 RNC Identifier */
+ { DE_BSSGP_PAGE_MODE, "Page Mode" }, /* 11.3.88 Page Mode */
+ { DE_BSSGP_CONTAINER_ID, "Container ID" }, /* 11.3.89 Container ID */
+ { DE_BSSGP_GLOBAL_TFI, "Global TFI" }, /* 11.3.90 Global TFI */
+ /* 11.3.91 IMEI */
+ { DE_BSSGP_TIME_TO_MBMS_DATA_TRAN, "Time to MBMS Data Transfer" }, /* 11.3.92 Time to MBMS Data Transfer */
+ { DE_BSSGP_MBMS_SESSION_REP_NO, "MBMS Session Repetition Number" }, /* 11.3.93 MBMS Session Repetition Number */
+ { DE_BSSGP_INTER_RAT_HO_INFO, "Inter RAT Handover Info" }, /* 11.3.94 Inter RAT Handover Info */
+ { DE_BSSGP_PS_HO_CMD, "PS Handover Command" }, /* 11.3.95 PS Handover Command */
+ { DE_BSSGP_PS_HO_INDICATIONS, "PS Handover Indications" }, /* 11.3.95a PS Handover Indications */
+ { DE_BSSGP_SIPSI_CONTAINER, "SI/PSI Container" }, /* 11.3.95b SI/PSI Container */
+ { DE_BSSGP_ACTIVE_PFCS_LIST, "Active PFCs List" }, /* 11.3.95c Active PFCs List */
+ { DE_BSSGP_VELOCITY_DATA, "Velocity Data" }, /* 11.3.96 Velocity Data */
+ { DE_BBSGP_DTM_HO_CMD, "DTM Handover Command" }, /* 11.3.97 DTM Handover Command */
+ { DE_BSSGP_CS_INDICATION, "CS Indication" }, /* 11.3.98 CS Indication */
+ /* 11.3.99 Requested GANSS Assistance Data 0x7b, GSM_A_PDU_TYPE_BSSMAP, BE_GANSS_ASS_DTA*/
+ /* 11.3.100 GANSS Location Type 0x7c, GSM_A_PDU_TYPE_BSSMAP, BE_GANSS_LOC_TYP*/
+ /* 11.3.101 GANSS Positioning Data ENC_BIG_ENDIAN);*/
+ { DE_BSSGP_FLOW_CONTROL_GRAN, "Flow Control Granularity" }, /* 11.3.102 Flow Control Granularity */
+ { DE_BSSGP_ENB_ID, "eNB Identifier" }, /* 11.3.103 eNB Identifier */
+ { DE_BSSGP_E_UTRAN_INTER_RAT_HO_INFO, "E-UTRAN Inter RAT Handover Info" }, /* 11.3.104 E-UTRAN Inter RAT Handover Info */
+ { DE_BSSGP_SUB_PROF_ID_F_RAT_FRQ_PRIO, "Subscriber Profile ID for RAT/Frequency priority" }, /* 11.3.105 Subscriber Profile ID for RAT/Frequency priority */
+ { DE_BSSGP_REQ_FOR_INTER_RAT_HO_INFO, "Request for Inter-RAT Handover Info" }, /* 11.3.106 Request for Inter-RAT Handover Info */
+ { DE_BSSGP_RELIABLE_INTER_RAT_HO_INF, "Reliable Inter-RAT Handover Info" }, /* 11.3.107 Reliable Inter-RAT Handover Info */
+ { DE_BSSGP_SON_TRANSFER_APP_ID, "Son transfer application identity" }, /* 11.3.108 SON Transfer Application Identity */
+ { DE_BSSGP_CSG_ID, "CSG Identifier" }, /* 11.3.109 CSG Identifier */
+ /* 11.3.110 Tracking Area Code */
+ { DE_BSSGP_REDIR_ATTEMPT_FLG, "Redirect Attempt Flag"}, /* 11.3.111 Redirect Attempt Flag */
+ { DE_BSSGP_REDIR_INDICATION, "Redirection Indication"}, /* 11.3.112 Redirection Indication */
+ { DE_BSSGP_REDIR_COMPLETE, "Redirection Completed"}, /* 11.3.113 Redirection Completed */
+ { DE_BSSGP_UNCONFIRM_SEND_STATE_VAR, "Unconfirmed Send State Variable"}, /* 11.3.114 Unconfirmed send state variable */
+
+ { 0, NULL }
+};
+
+#define NUM_BSSGP_ELEM (sizeof(bssgp_elem_strings)/sizeof(value_string))
+gint ett_bssgp_elem[NUM_BSSGP_ELEM];
+
+
guint16 (*bssgp_elem_fcn[])(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 offset, guint len, gchar *add_string, int string_len) = {
de_bssgp_aligment_octets, /* 11.3.1 0x00 Alignment octets */
de_bssgp_bmax_default_ms, /* 11.3.2 0x01 Bmax default MS */