diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-07-02 19:51:55 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-07-02 20:13:08 +0200 |
commit | f383aa11a5f87ca54b693196e6d4f6df6a41b57c (patch) | |
tree | 7a04eeb59d97b0506c6e6b7e242afac9b29a59d0 /openbsc/src/libbsc/abis_nm.c | |
parent | 0c1bd61bb3ef6dc7b3be3023f2c292b70e84626c (diff) |
BSC: introduce new "sysmobts" BTS model
so far, osmo-bts/sysmobts used to be entered as "sysmobts" type in the
configuration file. However, there are some differences in the
protocol/behaviour and we should reflect that by a new BTS plugin (with
lots of code reuse from the nanobts driver).
Diffstat (limited to 'openbsc/src/libbsc/abis_nm.c')
-rw-r--r-- | openbsc/src/libbsc/abis_nm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/abis_nm.c b/openbsc/src/libbsc/abis_nm.c index 6568b5342..673f43e56 100644 --- a/openbsc/src/libbsc/abis_nm.c +++ b/openbsc/src/libbsc/abis_nm.c @@ -610,6 +610,7 @@ static int abis_nm_rcvmsg_manuf(struct msgb *mb) switch (bts_type) { case GSM_BTS_TYPE_NANOBTS: + case GSM_BTS_TYPE_OSMO_SYSMO: rc = abis_nm_rx_ipacc(mb); abis_nm_queue_send_next(sign_link->trx->bts); break; @@ -1531,6 +1532,9 @@ static int verify_chan_comb(struct gsm_bts_trx_ts *ts, uint8_t chan_comb) break; } return -EINVAL; + case GSM_BTS_TYPE_OSMO_SYSMO: + /* no known restrictions */ + return 0; default: /* unknown BTS type */ return 0; |