aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_rlcmac.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-11-22 11:22:46 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-11-22 11:22:46 +0000
commitcebc175814db10871f7eff1482fd219dcd6c6eab (patch)
treec4153e162f415fdf3c91ca0347e928d18bde1e54 /epan/dissectors/packet-gsm_rlcmac.c
parent6e2b1c91f441913ee17ab84c45890668e62107a1 (diff)
Make use of ctrl_ack_vals value_string array
svn path=/trunk/; revision=53506
Diffstat (limited to 'epan/dissectors/packet-gsm_rlcmac.c')
-rw-r--r--epan/dissectors/packet-gsm_rlcmac.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/dissectors/packet-gsm_rlcmac.c b/epan/dissectors/packet-gsm_rlcmac.c
index 0b3574f77d..79800e0fd3 100644
--- a/epan/dissectors/packet-gsm_rlcmac.c
+++ b/epan/dissectors/packet-gsm_rlcmac.c
@@ -6493,7 +6493,6 @@ static const true_false_string retry_vals = {
"MS sent channel request message once"
};
-#if 0
static const value_string ctrl_ack_vals[] = {
{0x00, "In case the message is sent in access burst format, the MS received two RLC/MAC blocks with the same RTI value, one with RBSN = 0 and the other with RBSN = 1 and the mobile station is requesting new TBF. Otherwise the bit value '00' is reserved and shall not be sent. If received it shall be intepreted as the MS received an RLC/MAC control block addressed to itself and with RBSN = 1, and did not receive an RLC/MAC control block with the same RTI value and RBSN = 0"},
{0x01, "The MS received an RLC/MAC control block addressed to itself and with RBSN = 1, and did not receive an RLC/MAC control block with the same RTI value and RBSN = 0"},
@@ -6501,7 +6500,6 @@ static const value_string ctrl_ack_vals[] = {
{0x03, "The MS received two RLC/MAC blocks with the same RTI value, one with RBSN = 0 and the other with RBSN = 1"},
{0, NULL }
};
-#endif
static const value_string ul_payload_type_vals[] = {
{0x00, "RLC/MAC block contains an RLC data block"},
@@ -8925,7 +8923,7 @@ proto_register_gsm_rlcmac(void)
},
{ &hf_packet_control_acknowledgement_ctrl_ack,
{ "CTRL_ACK", "gsm_rlcmac.ul.packet_control_ack_ctrl_ack",
- FT_UINT8, BASE_DEC, NULL, 0x0,
+ FT_UINT8, BASE_DEC, VALS(ctrl_ack_vals), 0x0,
NULL, HFILL
}
},