diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-01-18 17:57:27 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-01-18 17:57:27 +0000 |
commit | 978cb42911750915e8501b9b51661da7278188ea (patch) | |
tree | e6522bc1cb652995b6fdd3fd319fbf195648d547 /include/openbsc/gsm_data.h | |
parent | 85770c7aa4efe5bb3645baf77a53b187e3dc173d (diff) |
add BTS TYPE field to facilitate future non-BS11 BTS support
Diffstat (limited to 'include/openbsc/gsm_data.h')
-rw-r--r-- | include/openbsc/gsm_data.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/openbsc/gsm_data.h b/include/openbsc/gsm_data.h index 494b0d1e2..65646f573 100644 --- a/include/openbsc/gsm_data.h +++ b/include/openbsc/gsm_data.h @@ -160,6 +160,11 @@ struct gsm_bts_trx { struct gsm_bts_trx_ts ts[TRX_NR_TS]; }; +enum gsm_bts_type { + GSM_BTS_TYPE_UNKNOWN, + GSM_BTS_TYPE_BS11, +}; + /* One BTS */ struct gsm_bts { struct gsm_network *network; @@ -167,9 +172,12 @@ struct gsm_bts { u_int8_t nr; /* location area code of this BTS */ u_int8_t location_area_code; + /* type of BTS */ + enum gsm_bts_type type; /* Abis network management O&M handle */ struct abis_nm_h *nmh; + /* number of this BTS on given E1 link */ u_int8_t bts_nr; |