osmo-bsc/src/osmo-bsc
Neels Hofmeyr 638eb99286 clean up timer definitions: introduce groups, move some T to X
Backwards compatibly, introduce timer groups in OsmoBSC, and move some
non-specified T timers to new X timers:

T993111 -> X3111
T993210 -> X3210
T999 -> X4

Why X4? because there already is an X3 used elsewhere in Osmocom, and I find
it less confusing if X-numbers don't repeat across programs. See
https://osmocom.org/projects/cellular-infrastructure/wiki/List_of_Timer_numbers

Drop unused timers from g_mgw_tdefs. Only X2427 has an actual effect.
(libosmo-mgcp-client recently moved T2427001 to X2427.)

Put libosmo-mgcp-client related timers to the 'mgw' group, like in osmo-msc.
This makes the MGCP timeout configurable for the first time.

Keep previous timer commands as DEFUN_HIDDEN, and also translate the moved T
timers to X timers on-the-fly. All previous VTY commands still work, and new
'timer [(net|mgw)] ...' commands are added. timer.vty shows this.

Remove the "_OPTIONAL" from the legacy "timer" and "show timer" commands, so
that they don't ambiguously overload the new "timer [(net|mgw)] ..." commands.

Related: OS#4539
Related: If097f52701fd81f29bcca1d252f4fb4fca8a04f7 (osmo-mgw)
Change-Id: I4beec47502afa193dee343869c4be55dc6a4b536
2020-09-18 08:47:49 +00:00
..
Makefile.am rename files acc_ramp.* -> acc.c* 2020-07-20 16:21:59 +02:00
a_reset.c ctrl: Fix CTRL TRAP for {msc.X,msc_)connection_status not sent 2020-08-25 19:04:24 +02:00
abis_bs11.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
abis_nm.c abis_nm: improve logging message in abis_nm_get_attr() 2020-09-17 10:32:21 +00:00
abis_nm_ipaccess.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
abis_nm_vty.c VTY: let all descriptions end in \n 2020-03-27 10:15:01 +01:00
abis_om2000.c abis_om2000: check result of gsm_bts_trx_set_system_infos() 2020-09-09 11:29:06 +00:00
abis_om2000_vty.c bts: Drop duplicated function to get trx by number 2020-07-18 21:45:32 +00:00
abis_rsl.c osmo-bsc: fix a crash when receiving a RACH LOAD IND with 0 2020-09-17 15:36:52 +00:00
acc.c acc: Fix ACC rotate barring highest ACCs too quickly during wraparound 2020-08-27 14:05:14 +02:00
arfcn_range_encode.c range_enc_determine_range(): Don't dereference array on size=0 2018-10-21 11:10:23 +02:00
assignment_fsm.c lchan_fsm: make rsl mode-modify working again 2020-09-03 21:35:25 +02:00
bsc_ctrl_commands.c Move struct gsm_bts: gsm_data.* => bts.* 2020-07-18 21:45:32 +00:00
bsc_ctrl_lookup.c bts: Drop duplicated function to get trx by number 2020-07-18 21:45:32 +00:00
bsc_init.c CBSP: add local bind to client mode 2020-08-29 07:57:59 +00:00
bsc_rf_ctrl.c Move struct gsm_bts: gsm_data.* => bts.* 2020-07-18 21:45:32 +00:00
bsc_rll.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
bsc_subscr_conn_fsm.c clean up timer definitions: introduce groups, move some T to X 2020-09-18 08:47:49 +00:00
bsc_subscriber.c remove extract_sub(), add bsc_subscr_find_or_create_by_mi() 2020-06-16 14:56:57 +02:00
bsc_vty.c clean up timer definitions: introduce groups, move some T to X 2020-09-18 08:47:49 +00:00
bts.c abis_rsl: prioritize emergency calls over regular calls 2020-09-07 12:44:41 +02:00
bts_ericsson_rbs2000.c Move struct gsm_bts: gsm_data.* => bts.* 2020-07-18 21:45:32 +00:00
bts_init.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
bts_ipaccess_nanobts.c Move struct gsm_bts: gsm_data.* => bts.* 2020-07-18 21:45:32 +00:00
bts_ipaccess_nanobts_omlattr.c Move struct gsm_bts: gsm_data.* => bts.* 2020-07-18 21:45:32 +00:00
bts_nokia_site.c Move struct gsm_bts: gsm_data.* => bts.* 2020-07-18 21:45:32 +00:00
bts_siemens_bs11.c BS-11: Fix "CONNECT TERRESTRIAL TRAFFIC" 2020-08-01 17:13:36 +02:00
bts_sysmobts.c Move struct gsm_bts: gsm_data.* => bts.* 2020-07-18 21:45:32 +00:00
bts_trx.c Move gsm_bts_{trx_}set_system_infos APIs to bts{_trx}.* 2020-07-18 21:45:32 +00:00
bts_unknown.c Move struct gsm_bts: gsm_data.* => bts.* 2020-07-18 21:45:32 +00:00
cbch_scheduler.c Move struct gsm_bts: gsm_data.* => bts.* 2020-07-18 21:45:32 +00:00
cbsp_link.c CBSP VTY: re-add legacy cbc config for backwards compat 2020-09-03 15:04:29 +02:00
chan_alloc.c chan_alloc: Fix typo in a comment. 2020-08-12 18:38:06 +00:00
codec_pref.c Move struct gsm_bts: gsm_data.* => bts.* 2020-07-18 21:45:32 +00:00
e1_config.c Move struct gsm_bts: gsm_data.* => bts.* 2020-07-18 21:45:32 +00:00
gsm_04_08_rr.c gsm 04.08: correct calculate the Cell Selection Indicator after release of all TCH and SDCCH 2020-09-15 11:47:11 +02:00
gsm_08_08.c bsc_subscr_conn_fsm: use proper cause values in SAPI N REJECT 2020-08-26 19:05:59 +00:00
gsm_data.c gsm_data: always set spare bits in channel description 2020-09-10 08:43:58 +00:00
handover_cfg.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
handover_decision.c Move struct gsm_bts: gsm_data.* => bts.* 2020-07-18 21:45:32 +00:00
handover_decision_2.c hodec2: log requirements of best candidate, log rxlev in dBm 2020-08-10 21:25:57 +02:00
handover_fsm.c handover_fsm: signal Clear from gscon, for proper HO result counts 2020-08-31 18:01:17 +02:00
handover_logic.c handover: fix detection for ambiguous HO neighbor ident 2020-08-31 18:01:17 +02:00
handover_vty.c Move struct gsm_bts: gsm_data.* => bts.* 2020-07-18 21:45:32 +00:00
lchan_fsm.c clean up timer definitions: introduce groups, move some T to X 2020-09-18 08:47:49 +00:00
lchan_rtp_fsm.c lchan_rtp_fsm: Deferr IPACC MDCX after BTS side MGCP MDCX 2020-09-09 12:39:14 +02:00
lchan_select.c abis_rsl: prioritize emergency calls over regular calls 2020-09-07 12:44:41 +02:00
meas_feed.c Move struct gsm_bts: gsm_data.* => bts.* 2020-07-18 21:45:32 +00:00
meas_rep.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
neighbor_ident.c inter-BSC HO: neighbor_ident API: drop 9bit BSIC 2018-07-28 12:18:23 +02:00
neighbor_ident_vty.c Move struct gsm_bts: gsm_data.* => bts.* 2020-07-18 21:45:32 +00:00
net_init.c clean up timer definitions: introduce groups, move some T to X 2020-09-18 08:47:49 +00:00
osmo_bsc_bssap.c drop bsc_subscr.lac 2020-09-16 21:54:52 +00:00
osmo_bsc_ctrl.c ctrl: Fix CTRL TRAP for {msc.X,msc_)connection_status not sent 2020-08-25 19:04:24 +02:00
osmo_bsc_filter.c Move struct gsm_bts: gsm_data.* => bts.* 2020-07-18 21:45:32 +00:00
osmo_bsc_grace.c dissolve bsc_grace_paging_request() 2020-09-16 21:54:52 +00:00
osmo_bsc_lcls.c Fix some typos 2019-11-13 22:10:41 +01:00
osmo_bsc_main.c generate_ma_for_ts(): simplify MA bit-mask computation 2020-09-17 15:28:34 +00:00
osmo_bsc_mgcp.c Use OSMO_FD_* instead of deprecated BSC_FD_* 2020-07-15 18:38:11 +02:00
osmo_bsc_msc.c Fix creating MGCP proxy socket if MGW listens on an IPv6 address 2020-09-07 12:53:54 +00:00
osmo_bsc_sigtran.c Change default SCTP conn NULL->127.0.0.1 to localhost->localhost 2020-08-25 13:50:06 +00:00
paging.c paging: Remove obsolete comment. 2020-08-12 18:37:55 +00:00
pcu_sock.c Move struct gsm_bts: gsm_data.* => bts.* 2020-07-18 21:45:32 +00:00
penalty_timers.c cosmetic: penalty timers: constify, tweak doc 2018-06-08 16:16:42 +00:00
rest_octets.c Move struct gsm_bts: gsm_data.* => bts.* 2020-07-18 21:45:32 +00:00
smscb.c CBSP: log CBSP RESET on NOTICE 2020-08-25 11:42:23 +00:00
system_information.c SI Type 4: prevent potential buffer overflow 2020-09-08 20:19:18 +00:00
timeslot_fsm.c timeslot_fsm: Name TS FSM instances on allocation. 2020-08-12 18:38:18 +00:00