osmo-bsc/src/osmo-bsc
Harald Welte afe987f848 logging: introduce LOG_BTS and LOG_TRX and use it everywhere
It's quite ugly to have manual "bts=%d" printf-statements all over
the BSC code.  Let's change this to use shared logging helper functions
all over the place, whenever we need to log something related to one
BTS or one TRX.

This can also help us as the first step to later add alternative logging
of BTS identities, e.g. by printing the Cell Global Identifier or
LAC+CI, or even a human-readable/vty-defined 'name' of the BTS, rather
than its numeric bts number.  With this change in place, we can
introduce such changes at a single location in the code.

Change-Id: I4a7814d164384eecfb6913c31802cf2faead6e6c
2019-07-16 04:00:19 +00:00
..
Makefile.am Re-introduce support for IPA-encapsulated MGCP 2019-06-18 18:09:26 +00:00
a_reset.c GSCON: call api of a_reset.c with msc object directly 2018-08-07 15:11:41 +00: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 logging: introduce LOG_BTS and LOG_TRX and use it everywhere 2019-07-16 04:00:19 +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 dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
abis_om2000.c use libosmocore osmo_tdef 2019-04-23 21:57:44 +02:00
abis_om2000_vty.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
abis_rsl.c logging: introduce LOG_BTS and LOG_TRX and use it everywhere 2019-07-16 04:00:19 +00:00
acc_ramp.c logging: introduce LOG_BTS and LOG_TRX and use it everywhere 2019-07-16 04:00:19 +00: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 bssap: Feed Assign Complete with Osmux CID retrieved from MGW 2019-05-19 22:36:18 +00:00
bsc_ctrl_commands.c IPA: log OML/RSL link drop reason 2019-01-03 19:10:58 +00:00
bsc_ctrl_lookup.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
bsc_init.c Add VTY option to avoid sending empty Full BCCH Info for disabled SI 2018-12-14 20:06:37 +00:00
bsc_rf_ctrl.c IPA: log OML/RSL link drop reason 2019-01-03 19:10:58 +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 remove double BSSMAP Clear on HO failure 2019-07-09 15:45:41 +00:00
bsc_subscriber.c large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
bsc_vty.c vty: adjust config name for unit-id 2019-06-06 19:46:20 +00:00
bts_ericsson_rbs2000.c osmo-bsc: Add default case for switch(enum) 2018-10-03 19:39:10 +02: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 logging: introduce LOG_BTS and LOG_TRX and use it everywhere 2019-07-16 04:00:19 +00:00
bts_ipaccess_nanobts_omlattr.c Allow VTY to set the CCCH Load Indication Threshold 2019-05-26 09:10:32 +00:00
bts_nokia_site.c osmo-bsc: Add default case for switch(enum) 2018-10-03 19:39:10 +02:00
bts_siemens_bs11.c use libosmocore osmo_tdef 2019-04-23 21:57:44 +02:00
bts_sysmobts.c bsc: Enable force-combined-si on nanoBTS by default 2018-11-20 16:43:55 +00:00
bts_unknown.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
chan_alloc.c logging: introduce LOG_BTS and LOG_TRX and use it everywhere 2019-07-16 04:00:19 +00:00
codec_pref.c assignment_fsm: Properly support assigning signalling mode TCH/x 2019-05-03 16:10:33 +02:00
e1_config.c logging: introduce LOG_BTS and LOG_TRX and use it everywhere 2019-07-16 04:00:19 +00:00
gsm_04_08_rr.c gsm_data.h: Remove unused variable from OpenBSC times 2019-04-17 16:01:11 +00:00
gsm_04_80_utils.c fix / clarify rsl dtap cache 2018-07-28 12:18:23 +02:00
gsm_08_08.c make bsc_clear_request() static 2019-07-08 15:23:23 +02:00
gsm_data.c Allow VTY to set the CCCH Load Indication Threshold 2019-05-26 09:10:32 +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 large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
handover_decision_2.c handover_decision_2.c: implement HO to remote BSS 2018-10-21 12:33:13 +00:00
handover_fsm.c silence error for "invalid enum handover_scope value: none" 2019-07-13 05:09:24 +02:00
handover_logic.c large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
handover_vty.c doc/manuals, vty doc: more handover doc clarifications 2019-07-09 15:42:38 +00:00
lchan_fsm.c move mgw endpoint FSM to osmo-mgw.git 2019-04-30 02:24:18 +02:00
lchan_rtp_fsm.c move mgw endpoint FSM to osmo-mgw.git 2019-04-30 02:24:18 +02:00
lchan_select.c logging: introduce LOG_BTS and LOG_TRX and use it everywhere 2019-07-16 04:00:19 +00:00
meas_feed.c large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02: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 remote-BSS neighbors: allow only one cell ID 2018-10-16 15:07:57 +02:00
net_init.c comment and VTY doc tweaks 2019-07-13 05:07:53 +02:00
osmo_bsc_bssap.c bssap: Parse Osmux CID on BSSAP Assign Req recv and use it in MGCP 2019-05-19 22:36:18 +00:00
osmo_bsc_ctrl.c Re-introduce support for IPA-encapsulated MGCP 2019-06-18 18:09:26 +00:00
osmo_bsc_filter.c large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
osmo_bsc_grace.c large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
osmo_bsc_lcls.c lcls: Fix MDCX with garbage on LCLS loop break 2019-05-23 16:32:22 +02:00
osmo_bsc_main.c move mgw endpoint FSM to osmo-mgw.git 2019-04-30 02:24:18 +02:00
osmo_bsc_mgcp.c Re-introduce support for IPA-encapsulated MGCP 2019-06-18 18:09:26 +00:00
osmo_bsc_msc.c Re-introduce support for IPA-encapsulated MGCP 2019-06-18 18:09:26 +00:00
osmo_bsc_sigtran.c Re-introduce support for IPA-encapsulated MGCP 2019-06-18 18:09:26 +00:00
osmo_bsc_vty.c vty: Add option to enable osmux towards MSC 2019-05-19 07:26:28 +00:00
paging.c logging: introduce LOG_BTS and LOG_TRX and use it everywhere 2019-07-16 04:00:19 +00:00
pcu_sock.c large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
penalty_timers.c cosmetic: penalty timers: constify, tweak doc 2018-06-08 16:16:42 +00:00
rest_octets.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
system_information.c bsc: band_compatible: Return band non-compatible for invalid arfcn 2018-11-20 18:14:43 +00:00
timeslot_fsm.c bsc: timeslot_fsm: Handle and ignore tear down of lchan during PDCH DEACT 2018-12-05 16:06:47 +00:00