From b40a38ff46c1c6bfd8434ae346b892df3bd07efc Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 13 Nov 2009 11:56:05 +0100 Subject: [ip.access] Parse cell global ID as part of BCCH info --- openbsc/include/openbsc/abis_nm.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'openbsc/include/openbsc/abis_nm.h') diff --git a/openbsc/include/openbsc/abis_nm.h b/openbsc/include/openbsc/abis_nm.h index a9bfceee0..56f8e525a 100644 --- a/openbsc/include/openbsc/abis_nm.h +++ b/openbsc/include/openbsc/abis_nm.h @@ -684,9 +684,18 @@ enum ipac_bcch_info_type { IPAC_BINF_CELL_ALLOC = (1 << 2), }; +struct cell_global_id { + u_int16_t mcc; + u_int16_t mnc; + u_int16_t lac; + u_int16_t ci; +}; + /* The BCCH info from an ip.access test, in host byte order * and already parsed... */ struct ipac_bcch_info { + struct llist_head list; + u_int16_t info_type; u_int8_t freq_qual; u_int16_t arfcn; @@ -696,7 +705,7 @@ struct ipac_bcch_info { u_int16_t frame_offset; u_int32_t frame_nr_offset; u_int8_t bsic; - u_int8_t cgi[7]; + struct cell_global_id cgi; u_int8_t ba_list_si2[16]; u_int8_t ba_list_si2bis[16]; u_int8_t ba_list_si2ter[16]; -- cgit v1.2.3