aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2020-04-28 09:30:28 +0200
committerSylvain Munaut <tnt@246tNt.com>2020-04-28 09:50:59 +0200
commitd9fe61c43f73eb98d6f9c0238a0495b585b5d80c (patch)
tree3c1ca3d29da9043fc423ad7400bf3b7f15dbdba5
parent98c89851100ff3dbe43c5bdbd6c10f3f6c05ca0c (diff)
om2k: Allow the CON configuration request to be triggered via VTY
Signed-off-by: Sylvain Munaut <tnt@246tNt.com> Change-Id: Id1171a151773182bb5cdc14c023c3637fb9ad0bc
-rw-r--r--include/osmocom/bsc/abis_om2000.h1
-rw-r--r--src/osmo-bsc/abis_om2000_vty.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/include/osmocom/bsc/abis_om2000.h b/include/osmocom/bsc/abis_om2000.h
index bcdb7fd09..163a49ccf 100644
--- a/include/osmocom/bsc/abis_om2000.h
+++ b/include/osmocom/bsc/abis_om2000.h
@@ -114,6 +114,7 @@ int abis_om2k_tx_op_info(struct gsm_bts *bts, const struct abis_om2k_mo *mo,
uint8_t operational);
int abis_om2k_tx_cap_req(struct gsm_bts *bts, const struct abis_om2k_mo *mo);
int abis_om2k_tx_is_conf_req(struct gsm_bts *bts);
+int abis_om2k_tx_con_conf_req(struct gsm_bts *bts);
int abis_om2k_tx_tf_conf_req(struct gsm_bts *bts);
int abis_om2k_tx_rx_conf_req(struct gsm_bts_trx *trx);
int abis_om2k_tx_tx_conf_req(struct gsm_bts_trx *trx);
diff --git a/src/osmo-bsc/abis_om2000_vty.c b/src/osmo-bsc/abis_om2000_vty.c
index 1db470bf4..5404d6289 100644
--- a/src/osmo-bsc/abis_om2000_vty.c
+++ b/src/osmo-bsc/abis_om2000_vty.c
@@ -494,6 +494,9 @@ DEFUN(om2k_conf_req, om2k_conf_req_cmd,
case OM2K_MO_CLS_IS:
abis_om2k_tx_is_conf_req(bts);
break;
+ case OM2K_MO_CLS_CON:
+ abis_om2k_tx_con_conf_req(bts);
+ break;
case OM2K_MO_CLS_TS:
trx = gsm_bts_trx_by_nr(bts, oms->mo.assoc_so);
if (!trx) {