From 08822a33020b3e297058e87c0fa95c4a4cbfe8c6 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 11 Jul 2019 03:43:34 +0200 Subject: comment and VTY doc tweaks Clarify some in-code comments. Fix descriptions of some handover timers, which still talked of "MO" and "MT" handover -- which we now call "inter-BSC out" or "inter-BSC in" instead. Change-Id: I8429a830edd0325893ac90f22fcc05309617bd2d --- include/osmocom/bsc/gsm_data.h | 2 +- src/osmo-bsc/handover_fsm.c | 3 ++- src/osmo-bsc/net_init.c | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h index a4640015e..d82d1bac8 100644 --- a/include/osmocom/bsc/gsm_data.h +++ b/include/osmocom/bsc/gsm_data.h @@ -1505,7 +1505,7 @@ struct gsm_network { struct llist_head bts_list; struct llist_head bts_rejected; - /* shall reference gsm_network_T[] */ + /* see gsm_network_T_defs */ struct osmo_tdef *T_defs; enum gsm_chan_t ctype_by_chreq[_NUM_CHREQ_T]; diff --git a/src/osmo-bsc/handover_fsm.c b/src/osmo-bsc/handover_fsm.c index 22618c579..7406a9703 100644 --- a/src/osmo-bsc/handover_fsm.c +++ b/src/osmo-bsc/handover_fsm.c @@ -200,7 +200,8 @@ void handover_request(struct handover_out_req *req) conn = req->old_lchan->conn; OSMO_ASSERT(conn && conn->fi); - /* To make sure we're allowed to start a handover, go through a gscon event dispatch. */ + /* To make sure we're allowed to start a handover, go through a gscon event dispatch. If that is accepted, the + * same req is passed to handover_start(). */ osmo_fsm_inst_dispatch(conn->fi, GSCON_EV_HANDOVER_START, req); } diff --git a/src/osmo-bsc/net_init.c b/src/osmo-bsc/net_init.c index 1ef9bd5f7..34403fa1f 100644 --- a/src/osmo-bsc/net_init.c +++ b/src/osmo-bsc/net_init.c @@ -26,10 +26,10 @@ #include static struct osmo_tdef gsm_network_T_defs[] = { - { .T=7, .default_val=10, .desc="inter-BSC Handover MO, HO Required to HO Command" }, - { .T=8, .default_val=10, .desc="inter-BSC Handover MO, HO Command to final Clear" }, + { .T=7, .default_val=10, .desc="inter-BSC/MSC Handover outgoing, BSSMAP HO Required to HO Command timeout" }, + { .T=8, .default_val=10, .desc="inter-BSC/MSC Handover outgoing, BSSMAP HO Command to final Clear timeout" }, { .T=10, .default_val=6, .desc="RR Assignment" }, - { .T=101, .default_val=10, .desc="inter-BSC Handover MT, HO Request to HO Accept" }, + { .T=101, .default_val=10, .desc="inter-BSC/MSC Handover incoming, BSSMAP HO Request to HO Accept" }, { .T=3101, .default_val=3, .desc="RR Immediate Assignment" }, { .T=3103, .default_val=5, .desc="Handover" }, { .T=3105, .default_val=100, .unit=OSMO_TDEF_MS, .desc="Physical Information" }, -- cgit v1.2.3