Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 2139] unable to decode REL 5 parameter : addLcsInformation

Date: Wed, 2 Jan 2008 16:48:55 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2139





------- Comment #11 from anders.broman@xxxxxxxxxxxx  2008-01-02 16:48 GMT -------
Hi,
>From the spec:
-- 3GPP TS 29.002 V8.1.0 (2007-03) 
-- 17.7.1       Mobile Service data types

MAP-MS-DataTypes {
   itu-t identified-organization (4) etsi (0) mobileDomain (0)
   gsm-Network (1) modules (3) map-MS-DataTypes (11) version11 (11)}
:
InsertSubscriberDataArg ::= SEQUENCE {
        imsi                    [0] IMSI                OPTIONAL,
        COMPONENTS OF   SubscriberData,
        extensionContainer      [14] ExtensionContainer OPTIONAL,
        ... ,   
        naea-PreferredCI        [15] NAEA-PreferredCI   OPTIONAL,
        -- naea-PreferredCI is included at the discretion of the HLR operator.
        gprsSubscriptionData    [16] GPRSSubscriptionData       OPTIONAL,
        roamingRestrictedInSgsnDueToUnsupportedFeature [23]     NULL    
                                                        OPTIONAL, 
        networkAccessMode       [24] NetworkAccessMode  OPTIONAL,
        lsaInformation  [25] LSAInformation     OPTIONAL,
        lmu-Indicator   [21]    NULL            OPTIONAL,
        lcsInformation  [22]    LCSInformation  OPTIONAL,
:
LCSInformation ::= SEQUENCE {
        gmlc-List       [0]     GMLC-List       OPTIONAL,
        lcs-PrivacyExceptionList        [1]     LCS-PrivacyExceptionList       
OPTIONAL,
        molr-List               [2]     MOLR-List       OPTIONAL,
        ...,
        add-lcs-PrivacyExceptionList    [3]     LCS-PrivacyExceptionList       
OPTIONAL }

Encoding:
00e0                        b6  19 a5 17 30 15 04 01 b5
00f0   04 01 01 a5 0d 30 0b 02  01 01 80 01 00 81 01 00
0100   a2 00

b6 a9 is Tag 22 lenght 25, then follows a5 17 tag 5 lenght 23
I think that should have been:
add-lcs-PrivacyExceptionList a3 "length" followed by

LCS-PrivacyExceptionList ::= SEQUENCE SIZE (1..maxNumOfPrivacyClass) OF
                                LCS-PrivacyClass

maxNumOfPrivacyClass  INTEGER ::= 4

LCS-PrivacyClass ::= SEQUENCE {
        ss-Code         SS-Code,
        ss-Status               Ext-SS-Status,
        notificationToMSUser    [0] NotificationToMSUser        OPTIONAL,
        -- notificationToMSUser may be sent only for SS-codes
callSessionRelated
        -- and callSessionUnrelated. If not received for SS-codes
callSessionRelated
        -- and callSessionUnrelated,
        -- the default values according to 3GPP TS 23.271 shall be assumed.
        externalClientList      [1] ExternalClientList  OPTIONAL,
        -- externalClientList may be sent only for SS-code callSessionUnrelated
to a
        -- visited node that does not support LCS Release 4 or later versions.
        -- externalClientList may be sent only for SS-codes
callSessionUnrelated and
        -- callSessionRelated to a visited node that supports LCS Release 4 or
later versions.
        plmnClientList  [2] PLMNClientList      OPTIONAL,
        -- plmnClientList may be sent only for SS-code plmnoperator.
        extensionContainer      [3] ExtensionContainer  OPTIONAL,
        ...,
        ext-externalClientList  [4] Ext-ExternalClientList      OPTIONAL,
        -- Ext-externalClientList may be sent only if the visited node supports
LCS Release 4 or
        -- later versions, the user did specify more than 5 clients, and White
Book SCCP is used.
        serviceTypeList [5]     ServiceTypeList OPTIONAL
Unsure here but I think 30 ( sequence) "length", ss-code, ss-Status, A5 length

Regards
Anders


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.