BSSAP: fix dissection of Control Channel bits in DLCI

According to 3GPP TS 48.006, section 9.3.2, Data Link Connection
Identifier (DLCI) is coded as follows:

  .... .SSS - SAPI value used on the radio link;
  CC.. .... - control channel identification:
    00.. .... - indicates that the control channel is not further specified,
    10.. .... - represents the FACCH or the SDCCH,
    11.. .... - represents the SACCH,
    other values are reserved.

The following values in value_string 'bssap_cc_values':

  { 0x80,     "FACCH or SDCCH" },
  { 0xc0,     "SACCH" },

are valid before applying CC_MASK (0xc0) mask, but not after.
This commit is contained in:
Vadim Yanitskiy 2020-10-01 23:00:08 +07:00 committed by Wireshark GitLab Utility
parent 511fa081df
commit 35c69efaf4
1 changed files with 2 additions and 2 deletions

View File

@ -84,8 +84,8 @@ static guint global_bssap_ssn = 98;
static const value_string bssap_cc_values[] = {
{ 0x00, "not further specified" },
{ 0x80, "FACCH or SDCCH" },
{ 0xc0, "SACCH" },
{ 0x02, "FACCH or SDCCH" },
{ 0x03, "SACCH" },
{ 0, NULL } };
static const value_string bsap_cc_values[] = {