aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-05-25 09:39:53 +0200
committerlaforge <laforge@osmocom.org>2020-01-06 10:28:18 +0000
commit35d07b76987fadc4f90e314089f0c66606c5a3eb (patch)
tree5dfb03c1d47c07b1a05035288f64333d2e3b04ca /include
parenta1362ce8c20b2fa60e3da67936ea69d406e23aff (diff)
Introduce nm_fail_rep_signal_data for "SS_NM, S_NM_FAIL_REP" signal
Let's not just pass around the raw msgb, but also all other metadata, such as the decoded parts of the TS 12.21 message. As there's no current consumer of that signal, this creates no compatibility issues. Change-Id: I5d4d9d422b4e23348ffbe69c6e87a31d5574f90d
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/bsc/signal.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/osmocom/bsc/signal.h b/include/osmocom/bsc/signal.h
index 62a3d2c88..10200d75e 100644
--- a/include/osmocom/bsc/signal.h
+++ b/include/osmocom/bsc/signal.h
@@ -149,6 +149,20 @@ struct nm_nack_signal_data {
uint8_t mt;
};
+struct nm_fail_rep_signal_data {
+ struct gsm_bts *bts;
+ /* raw data */
+ struct msgb *msg;
+ struct tlv_parsed *tp;
+ /* parsed data */
+ struct {
+ const char *event_type;
+ const char *severity;
+ const char *additional_text;
+ const uint8_t *probable_cause;
+ } parsed;
+};
+
struct challoc_signal_data {
struct gsm_bts *bts;
struct gsm_lchan *lchan;