aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-01-24 16:27:06 +0100
committerMax <msuraev@sysmocom.de>2017-01-25 13:24:52 +0100
commit871e0bec7e5218defc404b117dd6f89906c5c0da (patch)
tree9ca1c2793b2995cbef67fb60befcebc64b88038a /include
parent10b11325a77af9a159bf05af0cd2ad7a3d24dc58 (diff)
OML: internalize failure reporting
* make oml_tx_failure_event_rep() static and use osmo_signal_dispatch() wrapped into oml_fail_rep() to trigger event reports outside of oml.c instead of directly calling into OML layer * remove unnecessary formatting from text messages Related: OS#1615 Change-Id: I738555c547926e97b325ab53763c0076c42309bc
Diffstat (limited to 'include')
-rw-r--r--include/osmo-bts/oml.h5
-rw-r--r--include/osmo-bts/signal.h1
2 files changed, 3 insertions, 3 deletions
diff --git a/include/osmo-bts/oml.h b/include/osmo-bts/oml.h
index 217ec64c..139464ec 100644
--- a/include/osmo-bts/oml.h
+++ b/include/osmo-bts/oml.h
@@ -9,7 +9,7 @@ struct msgb;
struct gsm_lchan;
-int oml_init(void);
+int oml_init(struct gsm_abis_mo *mo);
int down_oml(struct gsm_bts *bts, struct msgb *msg);
struct msgb *oml_msgb_alloc(void);
@@ -45,7 +45,6 @@ int oml_set_lchan_t200(struct gsm_lchan *lchan);
extern const unsigned int oml_default_t200_ms[7];
/* Transmit failure event report */
-int oml_tx_failure_event_rep(struct gsm_abis_mo *mo, uint16_t cause_value,
- const char *fmt, ...);
+void oml_fail_rep(uint16_t cause_value, const char *fmt, ...);
#endif // _OML_H */
diff --git a/include/osmo-bts/signal.h b/include/osmo-bts/signal.h
index c8168a26..01d4099b 100644
--- a/include/osmo-bts/signal.h
+++ b/include/osmo-bts/signal.h
@@ -5,6 +5,7 @@
enum sig_subsys {
SS_GLOBAL,
+ SS_FAIL,
};
enum signals_global {