aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_bsslap.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-01-22 23:25:44 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-01-22 23:25:44 +0000
commitae61fe0158bd3afc2cfc034e81199cc7a39c2585 (patch)
treece35fff927c36939e98b12adf1ab81e1d05c54a2 /epan/dissectors/packet-gsm_bsslap.c
parent6e1c54c8fd2ffad18de05a839cebcf07613c5e5b (diff)
Try to fix dissection of GSM protocol family broken by r47209.
Using val_to_str seemed to be a good idea, but most value_string arrays were not properly filled or were using hacks. (I hope I got everything right...) svn path=/trunk/; revision=47218
Diffstat (limited to 'epan/dissectors/packet-gsm_bsslap.c')
-rw-r--r--epan/dissectors/packet-gsm_bsslap.c64
1 files changed, 32 insertions, 32 deletions
diff --git a/epan/dissectors/packet-gsm_bsslap.c b/epan/dissectors/packet-gsm_bsslap.c
index 11ae0b8043..c5002b27ba 100644
--- a/epan/dissectors/packet-gsm_bsslap.c
+++ b/epan/dissectors/packet-gsm_bsslap.c
@@ -87,38 +87,38 @@ static int ett_bsslap_cell_list = -1;
#define BSSLAP_PARAM_STARTING_TIME 0x2D
const value_string gsm_bsslap_elem_strings[] = {
- { 0x00, "Reserved" },
- { BSSLAP_PARAM_TIMING_ADVANCE, "Timing Advance" },
- { BSSLAP_PARAM_RESERVED_01, "Reserved" }, /* (note) */
- { BSSLAP_PARAM_CELL_IDENTITY, "Cell Identity" },
- { BSSLAP_PARAM_RESERVED_02, "Reserved" }, /* (note) */
- { BSSLAP_PARAM_RESERVED_03, "Reserved" }, /* (note) */
- { BSSLAP_PARAM_RESERVED_04, "Reserved" }, /* (note) */
- { BSSLAP_PARAM_CHANNEL_DESCRIPTION, "Channel Description" },
- { BSSLAP_PARAM_RESERVED_05, "Reserved" }, /* (note) */
- { BSSLAP_PARAM_RESERVED_06, "Reserved" }, /* (note) */
- { BSSLAP_PARAM_RESERVED_07, "Reserved" }, /* (note) */
- { BSSLAP_PARAM_MEASUREMENT_REPORT, "Measurement Report" },
- { BSSLAP_PARAM_RESERVED_08, "Reserved" }, /* (note) */
- { BSSLAP_PARAM_CAUSE, "Cause" },
- { BSSLAP_PARAM_RRLP_FLAG, "RRLP Flag" },
- { BSSLAP_PARAM_RRLP_IE, "RRLP IE" },
- { BSSLAP_PARAM_CELL_IDENTITY_LIST, "Cell Identity List" },
- { BSSLAP_PARAM_ENHANCED_MEASUREMENT_REPORT, "Enhanced Measurement Report" },
- { BSSLAP_PARAM_LOCATION_AREA_CODE, "Location Area Code" },
- { BSSLAP_PARAM_FREQUENCY_LIST, "Frequency List" },
- { BSSLAP_PARAM_MS_POWER, "MS Power" },
- { BSSLAP_PARAM_DELTA_TIMER, "Delta Timer" },
- { BSSLAP_PARAM_SERVING_CELL_IDENTIFIER, "Serving Cell Identifier" },
- { BSSLAP_PARAM_ENCRYPTION_KEY, "Encryption Key (Kc)" },
- { BSSLAP_PARAM_CIPHER_MODE_SETTING, "Cipher Mode Setting" },
- { BSSLAP_PARAM_CHANNEL_MODE, "Channel Mode" },
- { BSSLAP_PARAM_MULTIRATE_CONFIGURATION, "MultiRate Configuration" },
- { BSSLAP_PARAM_POLLING_REPETITION, "Polling Repetition" },
- { BSSLAP_PARAM_PACKET_CHANNEL_DESCRIPTION, "Packet Channel Description" },
- { BSSLAP_PARAM_TLLI, "TLLI" },
- { BSSLAP_PARAM_TFI, "TFI" },
- { BSSLAP_PARAM_STARTING_TIME, "Starting Time" },
+ { 0x00, "Reserved" },
+ { 0x01, "Timing Advance" },
+ { 0x02, "Reserved" }, /* (note) */
+ { 0x03, "Cell Identity" },
+ { 0x04, "Reserved" }, /* (note) */
+ { 0x05, "Reserved" }, /* (note) */
+ { 0x06, "Reserved" }, /* (note) */
+ { 0x07, "Channel Description" },
+ { 0x08, "Reserved" }, /* (note) */
+ { 0x09, "Reserved" }, /* (note) */
+ { 0x0a, "Reserved" }, /* (note) */
+ { 0x0b, "Measurement Report" },
+ { 0x0c, "Reserved" }, /* (note) */
+ { 0x0d, "Cause" },
+ { 0x0e, "RRLP Flag" },
+ { 0x0f, "RRLP IE" },
+ { 0x10, "Cell Identity List" },
+ { 0x11, "Enhanced Measurement Report" },
+ { 0x12, "Location Area Code" },
+ { 0x13, "Frequency List" },
+ { 0x14, "MS Power" },
+ { 0x15, "Delta Timer" },
+ { 0x16, "Serving Cell Identifier" },
+ { 0x17, "Encryption Key (Kc)" },
+ { 0x18, "Cipher Mode Setting" },
+ { 0x19, "Channel Mode" },
+ { 0x1a, "MultiRate Configuration" },
+ { 0x1b, "Polling Repetition" },
+ { 0x1c, "Packet Channel Description" },
+ { 0x1d, "TLLI" },
+ { 0x1e, "TFI" },
+ { 0x1f, "Starting Time" },
{ 0, NULL },
};