osmo-bsc/include/osmocom/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 vty: Add option to enable osmux towards MSC 2019-05-19 07:26:28 +00:00
a_reset.h GSCON: call api of a_reset.c with msc object directly 2018-08-07 15:11:41 +00:00
abis_nm.h abis_nm: Add support to parse OML IP and Unit Id in Get Attributes 2018-11-09 15:50:44 +00:00
abis_om2000.h move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
abis_rsl.h abis_rsl: Add support for extended CBCH to rsl_sms_cb_command() 2019-05-24 10:46:37 +02:00
acc_ramp.h ensure that acc_ramp_init() is only called once 2018-04-11 16:53:05 +00:00
arfcn_range_encode.h move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
assignment_fsm.h large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
bsc_msc_data.h Re-introduce support for IPA-encapsulated MGCP 2019-06-18 18:09:26 +00:00
bsc_msg_filter.h Rename bsc_msg_acc_lst_vty_init to have more uniform prefix 2018-06-28 12:58:53 +02:00
bsc_rll.h move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
bsc_subscr_conn_fsm.h move mgw endpoint FSM to osmo-mgw.git 2019-04-30 02:24:18 +02:00
bsc_subscriber.h use __FILE__, not __BASE_FILE__ 2018-08-20 12:40:43 +02:00
bss.h dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
bts_ipaccess_nanobts_omlattr.h move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
chan_alloc.h chan_alloc: remove references to lchan_alloc() 2019-01-17 15:52:25 +01:00
codec_pref.h assignment_fsm: fix channel allocator preferences 2019-02-21 10:17:37 +01:00
ctrl.h Support control connection status query for a particular MSC. 2018-01-09 11:18:10 +00:00
debug.h logging: introduce LOG_BTS and LOG_TRX and use it everywhere 2019-07-16 04:00:19 +00:00
e1_config.h libcommon: join gsm_data_shared.* into gsm_data.* 2018-02-14 12:15:40 +01:00
gsm_04_08_rr.h gsm_04_08: improve gsm48_multirate_config() 2018-10-24 09:22:41 +02:00
gsm_04_80.h bsc/gsm_04_80.h: clean up useless declarations 2018-01-12 14:06:56 +00:00
gsm_08_08.h make bsc_clear_request() static 2019-07-08 15:23:23 +02:00
gsm_data.h comment and VTY doc tweaks 2019-07-13 05:07:53 +02:00
handover.h large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
handover_cfg.h doc/manuals, vty doc: more handover doc clarifications 2019-07-09 15:42:38 +00:00
handover_decision.h HO: make bts_by_arfcn_bsic() public 2018-01-19 22:09:19 +00:00
handover_decision_2.h HO: Implement load based handover, as handover_decision_2.c 2018-02-19 17:11:47 +01:00
handover_fsm.h fix inter-BSC-HO-incoming for AoIP (1/2) 2019-05-05 13:27:25 +02:00
handover_vty.h HO: cfg: tweak vty write 2018-02-16 16:11:16 +01:00
ipaccess.h IPA: log OML/RSL link drop reason 2019-01-03 19:10:58 +00:00
lchan_fsm.h make sure early lchan act failure resets the lchan 2018-12-21 03:02:27 +01:00
lchan_rtp_fsm.h move mgw endpoint FSM to osmo-mgw.git 2019-04-30 02:24:18 +02:00
lchan_select.h assignment_fsm: Properly support assigning signalling mode TCH/x 2019-05-03 16:10:33 +02:00
meas_feed.h resurrect meas_feed.c: vty, vty-test 2018-05-04 15:02:24 +00:00
meas_rep.h move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
misdn.h move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
neighbor_ident.h inter-BSC HO: neighbor_ident API: drop 9bit BSIC 2018-07-28 12:18:23 +02:00
network_listen.h move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
openbscdefines.h move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
osmo_bsc.h cosmetic: reduce bsc_api.h 2018-07-28 12:18:23 +02:00
osmo_bsc_grace.h Implement support for paging based on CI (cell identifier). 2018-01-15 10:46:43 +00:00
osmo_bsc_lcls.h Move LCLS references from gsm_data to osmo_bsc_lcls 2019-03-14 13:21:19 +00:00
osmo_bsc_reset.h move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
osmo_bsc_rf.h move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
osmo_bsc_sigtran.h Re-introduce support for IPA-encapsulated MGCP 2019-06-18 18:09:26 +00:00
osmux.h vty: Add option to enable osmux towards MSC 2019-05-19 07:26:28 +00:00
paging.h Move BTS selection for paging from osmo_bsc_grace.c into osmo_bsc_bssap.c. 2018-01-16 14:14:01 +01:00
pcu_if.h move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
pcuif_proto.h pcu_if: implement support for 3-digit MNC 2018-03-11 00:45:45 +01:00
penalty_timers.h cosmetic: penalty timers: constify, tweak doc 2018-06-08 16:16:42 +00:00
rest_octets.h Generate SI2bis Rest Octets 2017-12-12 18:00:56 +00:00
rs232.h move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
signal.h abis_nm: Introduce new signal S_NM_GET_ATTR_REP 2018-11-21 13:26:35 +00:00
system_information.h move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
timeslot_fsm.h large refactoring: use FSMs for lchans; add inter-BSC HO 2018-07-28 12:18:23 +02:00
ussd.h move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
vty.h Remove extern declarations of libosmovty symbols 2019-06-18 18:09:26 +00:00