diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-02-21 20:15:32 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-02-21 20:15:32 +0000 |
commit | b6c92ae7828c349427e5dcde37e8079b6d202ff8 (patch) | |
tree | a2c10ecc0e409ca8b303840b91158f3fc4cf4b25 /src/bs11_config.c | |
parent | fd2fb458ac49f7dd37921adda94c5548590bb68a (diff) |
* set OML TEI and E1 timeslot in one command
* introduce new 'oml-tei' command of bs11_config
Diffstat (limited to 'src/bs11_config.c')
-rw-r--r-- | src/bs11_config.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bs11_config.c b/src/bs11_config.c index 9fadc45c9..7605d93e0 100644 --- a/src/bs11_config.c +++ b/src/bs11_config.c @@ -92,8 +92,7 @@ static int create_objects(struct gsm_bts *bts) abis_nm_bs11_create_envaBTSE(bts, 2); abis_nm_bs11_create_envaBTSE(bts, 3); - abis_nm_bs11_conn_oml(bts, 0, 1, 0xff); - abis_nm_bs11_set_oml_tei(bts, TEI_OML); + abis_nm_bs11_conn_oml_tei(bts, 0, 1, 0xff, TEI_OML); abis_nm_bs11_set_trx_power(&bts->trx[0], BS11_TRX_POWER_GSM_30mW); @@ -440,6 +439,8 @@ static int handle_state_resp(enum abis_bs11_phase state) sleep(5); abis_nm_bs11_factory_logon(g_bts, 0); command = NULL; + } else if (!strcmp(command, "oml-tei")) { + abis_nm_bs11_conn_oml_tei(g_bts, 0, 1, 0xff, TEI_OML); } else if (!strcmp(command, "restart")) { abis_nm_bs11_restart(g_bts); command = NULL; |