From bd3137c2dd59465f824d1f81abf1aace82f5a9f5 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 13 Feb 2011 19:44:21 +0100 Subject: INPUT: Include TEI + SAPI in E1 INPUT SIGNAL --- openbsc/include/openbsc/signal.h | 2 ++ openbsc/src/e1_input.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'openbsc') diff --git a/openbsc/include/openbsc/signal.h b/openbsc/include/openbsc/signal.h index 027358627..a2257db73 100644 --- a/openbsc/include/openbsc/signal.h +++ b/openbsc/include/openbsc/signal.h @@ -246,6 +246,8 @@ struct ho_signal_data { struct input_signal_data { int link_type; + uint8_t tei; + uint8_t sapi; struct gsm_bts_trx *trx; struct e1inp_line *line; }; diff --git a/openbsc/src/e1_input.c b/openbsc/src/e1_input.c index b55fe2e62..baebf2f68 100644 --- a/openbsc/src/e1_input.c +++ b/openbsc/src/e1_input.c @@ -571,6 +571,8 @@ int e1inp_event(struct e1inp_ts *ts, int evt, u_int8_t tei, u_int8_t sapi) isd.link_type = link->type; isd.trx = link->trx; + isd.tei = tei; + isd.sapi = sapi; /* report further upwards */ dispatch_signal(SS_INPUT, evt, &isd); -- cgit v1.2.3