diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-03-21 16:04:30 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2018-03-22 04:13:09 +0000 |
commit | da5b09a08e2b480a02ce6ffb6878959b7db068d6 (patch) | |
tree | 01fbbbbf9b473a9d643a949d95a0c5ba2656d731 /include/osmocom/bsc/abis_nm.h | |
parent | 9cf2babed9b75aec49d93ba7ce33198c574035e4 (diff) |
cosmetic: abis_nm: use osmo_cell_global_id, parse 3-digit MNC
Instead of a local redefinition, use osmo_cell_global_id.
This change is cosmetic because the decoded PLMN is currently actually never
used.
Change-Id: I38ac98a4d25159cfd4f686efbfbaf8f00625a6d8
Diffstat (limited to 'include/osmocom/bsc/abis_nm.h')
-rw-r--r-- | include/osmocom/bsc/abis_nm.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/include/osmocom/bsc/abis_nm.h b/include/osmocom/bsc/abis_nm.h index 18f87cdf4..9586deddd 100644 --- a/include/osmocom/bsc/abis_nm.h +++ b/include/osmocom/bsc/abis_nm.h @@ -31,13 +31,6 @@ /* max number of attributes represented as 3GPP TS 52.021 ยง9.4.62 SW Description array */ #define MAX_BTS_ATTR 5 -struct cell_global_id { - uint16_t mcc; - uint16_t mnc; - uint16_t lac; - uint16_t ci; -}; - /* The BCCH info from an ip.access test, in host byte order * and already parsed... */ struct ipac_bcch_info { @@ -52,7 +45,7 @@ struct ipac_bcch_info { uint16_t frame_offset; uint32_t frame_nr_offset; uint8_t bsic; - struct cell_global_id cgi; + struct osmo_cell_global_id cgi; uint8_t ba_list_si2[16]; uint8_t ba_list_si2bis[16]; uint8_t ba_list_si2ter[16]; |