/* 3.2.2.6 IMSI IMSI coded as the value part of the Mobile Identity IE defined in 3GPP TS 24.008 (NOTE 1) NOTE 1: The Type of identity field in the Mobile Identity IE shall be ignored by the receiver. Dissected in packet-gsm_a_common.c (de_mid)  3.2.2.7 TMSI  */
static guint16 be_tmsi(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 offset, guint len, gchar *add_string, int string_len)
/* 3.2.2.6 IMSI IMSI coded as the value part of the Mobile Identity IE defined in 3GPP TS 24.008 (NOTE 1) NOTE 1: The Type of identity field in the Mobile Identity IE shall be ignored by the receiver. Dissected in packet-gsm_a_common.c (de_mid)  3.2.2.7 TMSI  */
static guint16 be_tmsi(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 offset, guint len, gchar *add_string, int string_len)
{
    guint32 curr_offset;
    guint32 value;
    curr_offset = offset;
    value = tvb_get_ntohl(tvb, curr_offset);
    proto_tree_add_uint(tree, hf_gsm_a_tmsi,
        tvb, curr_offset, 4,
        value);
    if (add_string)
    g_snprintf(add_string, string_len, " - (0x%04x)", value);
    curr_offset += 4;
    EXTRANEOUS_DATA_CHECK(len, curr_offset - offset, pinfo, &ei_gsm_a_bssmap_extraneous_data);
    return(curr_offset - offset);
}