aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-10-21 19:53:34 +0200
committerMax <msuraev@sysmocom.de>2016-10-21 19:53:34 +0200
commitc22da59342ed239b5dff4b6572dfcf45c634b251 (patch)
tree23252a6713010fef71e79ea85b0e10074c5af500
parent068918f9906084ae9097c851eef1314e13ad83bd (diff)
Extend RTP RX callback parameters
Adopt to change in libosmo-abis to accept additional parameters in RTP RX callback function. Change-Id: Icf41e568f041e87b38e6192af0be90c42362bfee
-rw-r--r--include/osmo-bts/l1sap.h3
-rw-r--r--src/common/l1sap.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/include/osmo-bts/l1sap.h b/include/osmo-bts/l1sap.h
index 77bfbaa0..97a2f04a 100644
--- a/include/osmo-bts/l1sap.h
+++ b/include/osmo-bts/l1sap.h
@@ -63,7 +63,8 @@ int l1sap_pdch_req(struct gsm_bts_trx_ts *ts, int is_ptcch, uint32_t fn,
/* call-back function for incoming RTP */
void l1sap_rtp_rx_cb(struct osmo_rtp_socket *rs, const uint8_t *rtp_pl,
- unsigned int rtp_pl_len, bool marker);
+ unsigned int rtp_pl_len, uint16_t seq_number,
+ uint32_t timestamp, bool marker);
/* channel control */
int l1sap_chan_act(struct gsm_bts_trx *trx, uint8_t chan_nr, struct tlv_parsed *tp);
diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 59866a29..13d8a944 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -1060,7 +1060,8 @@ int l1sap_pdch_req(struct gsm_bts_trx_ts *ts, int is_ptcch, uint32_t fn,
/*! \brief call-back function for incoming RTP */
void l1sap_rtp_rx_cb(struct osmo_rtp_socket *rs, const uint8_t *rtp_pl,
- unsigned int rtp_pl_len, bool marker)
+ unsigned int rtp_pl_len, uint16_t seq_number,
+ uint32_t timestamp, bool marker)
{
struct gsm_lchan *lchan = rs->priv;
struct msgb *msg, *tmp;