Wireshark-bugs: [Wireshark-bugs] [Bug 7952] New: Decoding of ECGI

Date: Fri, 2 Nov 2012 08:26:00 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7952

           Summary: Decoding of ECGI
           Product: Wireshark
           Version: 1.8.2
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Capture file support (libwiretap)
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: ridhima_kotecha@xxxxxxxxxxxxxxxx


Created attachment 9480
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=9480
Refer PLMN Identity field for MNC

Build Information:
Version 1.8.2 (SVN Rev 44520 from /trunk-1.8)

Copyright 1998-2012 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (32-bit) with GTK+ 2.24.10, with Cairo 1.10.2, with Pango 1.30.0, with
GLib 2.32.2, with WinPcap (4_1_2), with libz 1.2.5, without POSIX capabilities,
with SMI 0.4.8, with c-ares 1.7.1, with Lua 5.1, without Python, with GnuTLS
2.12.18, with Gcrypt 1.4.6, with MIT Kerberos, with GeoIP, with PortAudio
V19-devel (built Aug 15 2012), with AirPcap.

Running on Windows XP Service Pack 3, build 2600, with WinPcap version 4.1.2
(packet.dll version 4.1.0.2001), based on libpcap version 1.0 branch 1_0_rel0b
(20091008), GnuTLS 2.12.18, Gcrypt 1.4.6, without AirPcap.

Built using Microsoft Visual C++ 10.0 build 40219

Wireshark is Open Source Software released under the GNU General Public
License.

Check the man page and http://www.wireshark.org for more information.
--
We were verifying LCSAP Location request message and found following
discrepancy in encoding/decoding of ECGI specifically in its PLMN Identity
part.
Following are the values that we passed to our application:
MCC = 120
MNC = 345

Hex value which was encoded and sent by our application for PLMNIdentity was:
215043.
This is s per specification ts_129274v100700p, see page number: 149. Section:
8.21.5 for ECGI: 
 ------- -------
|  MCC2 | MCC1  |
 ------- -------
|  MNC3 | MCC3  |
 ------- -------
|  MNC2 | MNC1  |
 ------- -------

However, value shown for MNC by wireshark is 534. See attached snapshot. 

Can you please provide assistance on what is going wrong here?

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