Wireshark-bugs: [Wireshark-bugs] [Bug 6146] Malformed RANAP packets when HandOver procedure on i

Date: Thu, 21 Jul 2011 13:15:13 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6146

--- Comment #1 from Anders Broman <anders.broman@xxxxxxxxxxxx> 2011-07-21 13:15:11 PDT ---
Hi,
Can you confirm if the dissection is correct up to a point? As RRC is per
encoded dissection can go astray if a bit to much is read...

If in fact SRB-InformationSetup-r5 is encoded then I think the encoding is
wrong
or using a different spec. than 3GPP TS 25.331 V9.2.1 (2010-04).

If you do edit->preferences->protocol->per and enable "Display internal..."
You can follow the dissection

SRB-InformationSetup-r5 ::=            SEQUENCE {
    -- The default value for rb-Identity is the smallest value not used yet.
    rb-Identity                            RB-Identity                         
  OPTIONAL,
    rlc-InfoChoice                        RLC-InfoChoice-r5,
    rb-MappingInfo                        RB-MappingInfo-r5
}


RLC-InfoChoice-r5 ::=                CHOICE {
    rlc-Info                            RLC-Info-r5,
    same-as-RB                            RB-Identity
}

RLC-Info-r5 ::=                        SEQUENCE {
    ul-RLC-Mode                            UL-RLC-Mode                         
  OPTIONAL,
    dl-RLC-Mode                            DL-RLC-Mode-r5                      
 OPTIONAL,
    rlc-OneSidedReEst                    BOOLEAN
}

DL-RLC-Mode-r5 ::=                    CHOICE {
    dl-AM-RLC-Mode                        DL-AM-RLC-Mode-r5,
    dl-UM-RLC-Mode                        DL-UM-RLC-Mode-r5,
    dl-TM-RLC-Mode                        DL-TM-RLC-Mode
}

DL-RLC-Mode-r5 only has 3 "Choises" (0,1,2) so a choice of 3 is wrong.
Regards
Anders

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.