aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-03-22 04:54:57 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-07-28 12:18:23 +0200
commit431e085736ba958c5b69c87e401c67f0b322189d (patch)
treeb2c583e4085d2e50cb5080cc2a635aeb869930f2 /include
parent19bed23065e19caac62b4a6cfe565e609046da7d (diff)
inter-BSC HO: neighbor_ident API: drop 9bit BSIC
9-bit BSIC exist in the 3GPP specs, but we don't use them anywhere. Rather remove that choice from the API and UI. Change-Id: I29b92f47da2636d3a19f073755f9382fa98f9010
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/bsc/neighbor_ident.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/include/osmocom/bsc/neighbor_ident.h b/include/osmocom/bsc/neighbor_ident.h
index bba18c3e3..17bffbc14 100644
--- a/include/osmocom/bsc/neighbor_ident.h
+++ b/include/osmocom/bsc/neighbor_ident.h
@@ -12,19 +12,14 @@ struct gsm_bts;
struct neighbor_ident_list;
struct gsm0808_cell_id_list2;
-enum bsic_kind {
- BSIC_NONE,
- BSIC_6BIT,
- BSIC_9BIT,
-};
-
#define NEIGHBOR_IDENT_KEY_ANY_BTS -1
+#define BSIC_ANY 0xff
+
struct neighbor_ident_key {
int from_bts; /*< BTS nr 0..255 or NEIGHBOR_IDENT_KEY_ANY_BTS */
uint16_t arfcn;
- enum bsic_kind bsic_kind;
- uint16_t bsic;
+ uint8_t bsic;
};
const char *neighbor_ident_key_name(const struct neighbor_ident_key *ni_key);
@@ -52,10 +47,10 @@ void neighbor_ident_iter(const struct neighbor_ident_list *nil,
void neighbor_ident_vty_init(struct gsm_network *net, struct neighbor_ident_list *nil);
void neighbor_ident_vty_write(struct vty *vty, const char *indent, struct gsm_bts *bts);
-#define NEIGHBOR_IDENT_VTY_KEY_PARAMS "arfcn <0-1023> (bsic|bsic9) (<0-511>|any)"
+#define NEIGHBOR_IDENT_VTY_KEY_PARAMS "arfcn <0-1023> bsic (<0-63>|any)"
#define NEIGHBOR_IDENT_VTY_KEY_DOC \
"ARFCN of neighbor cell\n" "ARFCN value\n" \
- "BSIC of neighbor cell\n" "9-bit BSIC of neighbor cell\n" "BSIC value\n" \
+ "BSIC of neighbor cell\n" "BSIC value\n" \
"for all BSICs / use any BSIC in this ARFCN\n"
bool neighbor_ident_vty_parse_key_params(struct vty *vty, const char **argv,
struct neighbor_ident_key *key);