aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2018-06-29 10:55:46 +0200
committerPhilipp Maier <pmaier@sysmocom.de>2018-07-26 14:13:09 +0200
commit93916be8d5c5a0ace8f01b50c0e0563a86c4896e (patch)
tree4659ebf216a78ae082e0f342a9156ce18ee6fd2d /src
parent3ff76b02ce6339b0c915a0d40b832716b0b9005a (diff)
rsl: use 3GPP assigned payload type constants from libosmo-netif
The payload constants for AMR, EFR, GSM-FR, and GSM-HR are already defined in libosmo-netif, there is no need to re-define them locally. - include rtp.h from libosmo-netif in abis_rsl.c - remove duplicate payload type constants Change-Id: Ib6a866b29d863d6875c67748dbe6b6468941ab29 Related: OS#2728
Diffstat (limited to 'src')
-rw-r--r--src/osmo-bsc/abis_rsl.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/osmo-bsc/abis_rsl.c b/src/osmo-bsc/abis_rsl.c
index bcc56bc6a..d5e69ac29 100644
--- a/src/osmo-bsc/abis_rsl.c
+++ b/src/osmo-bsc/abis_rsl.c
@@ -46,15 +46,11 @@
#include <osmocom/bsc/pcu_if.h>
#include <osmocom/bsc/bsc_api.h>
#include <osmocom/bsc/bsc_subscr_conn_fsm.h>
+#include <osmocom/netif/rtp.h>
#define RSL_ALLOC_SIZE 1024
#define RSL_ALLOC_HEADROOM 128
-#define RTP_PT_GSM_FULL 3
-#define RTP_PT_GSM_HALF 96
-#define RTP_PT_GSM_EFR 97
-#define RTP_PT_AMR 98
-
enum sacch_deact {
SACCH_NONE,
SACCH_DEACTIVATE,