From 93916be8d5c5a0ace8f01b50c0e0563a86c4896e Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Fri, 29 Jun 2018 10:55:46 +0200 Subject: 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 --- src/osmo-bsc/abis_rsl.c | 6 +----- 1 file changed, 1 insertion(+), 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 #include #include +#include #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, -- cgit v1.2.3