aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/bts.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2021-04-29 21:46:35 +0200
committerHarald Welte <laforge@osmocom.org>2021-04-30 08:23:56 +0200
commitb1b100ce59df3a45ee8ae25cab7d139fe918e41a (patch)
tree1ca05eb63063eb097f7f3f5c2a0f2996507d430c /src/common/bts.c
parent9c321b84860274a675edae307154cbd85a2dbd3e (diff)
Introduce ability to set socket priority of RTP sockets
This significantly simplifies setups in which not only the IP DSCP but also the IEEE 802.1Q PCP is to be set for RTP packets. Depends: libosmo-abis.git I52c08f4b2a46981d002ef0c21e6549445d845a6e Change-Id: Ia3a91e6788285be3e2e73defee63e6bd79c6258e Related: SYS#5427
Diffstat (limited to 'src/common/bts.c')
-rw-r--r--src/common/bts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/bts.c b/src/common/bts.c
index 06a5ccb2..3860a87f 100644
--- a/src/common/bts.c
+++ b/src/common/bts.c
@@ -329,6 +329,7 @@ int bts_init(struct gsm_bts *bts)
bts->rtp_port_range_end = 17407;
bts->rtp_port_range_next = bts->rtp_port_range_start;
bts->rtp_ip_dscp = -1;
+ bts->rtp_priority = -1;
/* Default (fall-back) MS/BS Power control parameters */
bts->bs_dpc_params = power_ctrl_params_def;