From c03d3ae7af27edc035316f9d21aab5437f934b07 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 23 Jun 2016 17:59:51 +0200 Subject: DTXu: move copy-pasted code to common part Abstract code for checking/setting lchan's UL SID flag and RTP Marker into generic function and use it for LC15 and sysmoBTS. Change-Id: Ica5392e92bab29164711163e7b01adb174272883 Related: OS#1750 --- include/osmo-bts/msg_utils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/osmo-bts/msg_utils.h b/include/osmo-bts/msg_utils.h index 73f8c964..591d1942 100644 --- a/include/osmo-bts/msg_utils.h +++ b/include/osmo-bts/msg_utils.h @@ -20,6 +20,7 @@ enum { OML_MSG_TYPE_OSMO, }; +void lchan_set_marker(bool t, struct gsm_lchan *lchan); void save_last_sid(struct gsm_lchan *lchan, uint8_t *l1_payload, size_t length, uint32_t fn, bool update); bool dtx_sched_optional(struct gsm_lchan *lchan, uint32_t fn); -- cgit v1.2.3