packet-rsl.c: fixed emlpp priority bit range
authorPiotr Tulpan <piotr.tulpan@netscan.pl>
Mon, 29 May 2017 22:13:26 +0000 (00:13 +0200)
committerMartin Kaiser <wireshark@kaiser.cx>
Mon, 29 May 2017 22:35:42 +0000 (22:35 +0000)
Based on 3GPP TS 48.058 eMLPP Priority takes bits 1-3 not 1-2.
There is also decalred value_string rsl_emlpp_prio_vals (line 2605)
that contains 8 values not 4 as expected for 1-2 bits.

Change-Id: Iea77f8dbff9af3b25fd298f1a9703c1e34c06d30
Reviewed-on: https://code.wireshark.org/review/21797
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
epan/dissectors/packet-rsl.c

index b5d5702aa96313b6bf6c1d6de7577c90aad12223..a719f19ecd77c876d5291e8bcadfc9ddd4ecda4b 100644 (file)
@@ -4243,7 +4243,7 @@ void proto_register_rsl(void)
         },
         { &hf_rsl_emlpp_prio,
           { "eMLPP Priority",           "gsm_abis_rsl.emlpp_prio",
-            FT_UINT8, BASE_DEC, VALS(rsl_emlpp_prio_vals), 0x03,
+            FT_UINT8, BASE_DEC, VALS(rsl_emlpp_prio_vals), 0x05,
             NULL, HFILL }
         },
         { &hf_rsl_speech_mode_s,