Change in osmo-bsc[master]: rsl: use 3GPP assigned payload type constants from libosmo-netif

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Jul 27 07:34:11 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/9781 )

Change subject: rsl: use 3GPP assigned payload type constants from libosmo-netif
......................................................................

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
---
M src/osmo-bsc/abis_rsl.c
1 file changed, 1 insertion(+), 5 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Neels Hofmeyr: Looks good to me, approved



diff --git a/src/osmo-bsc/abis_rsl.c b/src/osmo-bsc/abis_rsl.c
index bcc56bc..d5e69ac 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,

-- 
To view, visit https://gerrit.osmocom.org/9781
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib6a866b29d863d6875c67748dbe6b6468941ab29
Gerrit-Change-Number: 9781
Gerrit-PatchSet: 6
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180727/2fed3ebd/attachment.htm>


More information about the gerrit-log mailing list