/* 3.2.2.3 Connection Release Requested No Data 3.2.2.4 Resource Available  */
static guint16 be_res_avail(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 offset, guint len _U_, gchar *add_string _U_, int string_len _U_)
/* 3.2.2.3 Connection Release Requested No Data 3.2.2.4 Resource Available  */
static guint16 be_res_avail(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 offset, guint len _U_, gchar *add_string _U_, int string_len _U_)
{
    guint32 curr_offset;
    guint16 value;
    int     i;
    proto_item* ti;
    curr_offset = offset;
    for (i=0; i < 5; i++) {
        value = tvb_get_ntohl(tvb, curr_offset);
        ti = proto_tree_add_uint_format(tree, hf_gsm_a_bssmap_full_rate_channels_available, tvb, curr_offset, 2, value, "Number of full rate channels available in band %u %u",i+1,value);
        proto_item_set_len(ti, len);
        curr_offset+=2;
        ti = proto_tree_add_uint_format(tree, hf_gsm_a_bssmap_half_rate_channels_available, tvb, curr_offset, 2, value, "Number of half rate channels available in band %u %u",i+1, value);
        proto_item_set_len(ti, len);
        curr_offset+=2;
    }
    return(len);
}