This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Diameter csg-id decoding

0

3GPP spec 29.272 defines CSG-ID as below -

The CSG-Id-Data AVP is of type Unsigned32. The CSG ID shall be fix length 27 bit value. Unused bits (least significant) shall be padded with zeros.

Wireshark however shows the value as 32 bit integer without indicating the padding bits unlike the S1AP decoder which clearly indicates the correct value. Can the diameter decoder be enhanced to show the correct 27-bit value?

s1ap.CSG_Id
CSG-Id: 00000400 [bit length 27, 5 LSB pad bits, 0000 0000  0000 0000  0000 0100  000. .... decimal value 32]

asked 13 Aug '14, 22:03

sunildr's gravatar image

sunildr
1111
accept rate: 0%


One Answer:

0

Sure just add the AVP to packet-diameter-3gpp.c and add the sub decoding there ;-)

answered 13 Aug '14, 22:59

Anders's gravatar image

Anders ♦
4.6k952
accept rate: 17%