Attention is currently required from: jolly, laforge, osmith, pespin.
fixeria has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-bts/+/41648?usp=email )
Change subject: bts-trx: Set max TRXD buf size to UINT16_MAX
......................................................................
Patch Set 1:
(1 comment)
File src/osmo-bts-trx/trx_if.h:
https://gerrit.osmocom.org/c/osmo-bts/+/41648/comment/e930c127_5ab58a0b?usp… :
PS1, Line 5: max. lo MTU
Please update this comment, since it's now `max. lo MTU - 1`.
Specifically, I would put something like "65535 is the limit of msgb".
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/41648?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I980faea05dee405c974636f41ee723659d9c5229
Gerrit-Change-Number: 41648
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: jolly <andreas(a)eversberg.eu>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 11 Dec 2025 17:41:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-netif/+/41651?usp=email )
Change subject: cosmetic: stream_cli: Fix typos in API documentation
......................................................................
cosmetic: stream_cli: Fix typos in API documentation
Change-Id: Icb3c567df9fa287667996af34b652f80f12a816e
---
M src/stream_cli.c
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/51/41651/1
diff --git a/src/stream_cli.c b/src/stream_cli.c
index c623fff..b96a530 100644
--- a/src/stream_cli.c
+++ b/src/stream_cli.c
@@ -876,7 +876,7 @@
configure_cli_segmentation_cb(cli);
}
-/*! Set the socket type for the stream server link.
+/*! Set the socket type for the stream client socket.
* Any changes to this setting will only become active upon next (re)connect.
* \param[in] cli Stream Client to modify
* \param[in] type Socket Type (like SOCK_STREAM (default), SOCK_SEQPACKET, ...)
@@ -896,7 +896,7 @@
return 0;
}
-/*! Set the socket domain for the stream client link.
+/*! Set the socket domain for the stream client socket.
* Any changes to this setting will only become active upon next (re)connect.
* \param[in] cli Stream Client to modify
* \param[in] domain Socket Domain (like AF_UNSPEC (default for IP), AF_UNIX, AF_INET, ...)
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/41651?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: Icb3c567df9fa287667996af34b652f80f12a816e
Gerrit-Change-Number: 41651
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
pespin has uploaded a new patch set (#2). ( https://gerrit.osmocom.org/c/osmo-bts/+/41650?usp=email )
Change subject: bts-trx: Convert TRXC and TRXD sockets to iofd
......................................................................
bts-trx: Convert TRXC and TRXD sockets to iofd
Since now the Tx side is driven by the event loop, we can use (and
should) use OSMO_SOCK_F_NONBLOCK on the socket, avoiding potential
blocking of the entire process.
We also gain io_uring support for free, which is a really nice feature
to have in TRXD.
Related: OS#1579
Change-Id: I239f91efad43eabd280caf9f852c3aefbc729eaf
---
M src/osmo-bts-trx/l1_if.h
M src/osmo-bts-trx/trx_if.c
2 files changed, 145 insertions(+), 124 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/50/41650/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/41650?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I239f91efad43eabd280caf9f852c3aefbc729eaf
Gerrit-Change-Number: 41650
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Attention is currently required from: falconia.
pespin has posted comments on this change by falconia. ( https://gerrit.osmocom.org/c/osmo-bsc/+/41647?usp=email )
Change subject: E1: add support for compressed CSD (TW-TS-007)
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/41647?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I5d98309cfc5d443278479252846c66a7da8b4ce4
Gerrit-Change-Number: 41647
Gerrit-PatchSet: 1
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: falconia <falcon(a)freecalypso.org>
Gerrit-Comment-Date: Thu, 11 Dec 2025 10:47:18 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
falconia has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/41647?usp=email )
Change subject: E1: add support for compressed CSD (TW-TS-007)
......................................................................
E1: add support for compressed CSD (TW-TS-007)
Using TW-TS-007 format for CSD instead of CLEARMODE across AoIP
interface drastically reduces IP bandwidth usage, making CSD equal to
speech calls. If the CN requests use of this compressed RTP format
for CSD and the MGW supports it (currently the case with tw-e1abis-mgw
for E1 BTS), then enable it on AoIP side.
Depends: I74c9e76ebcce32ad20501134ec5089794acb4f62 (libosmocore.git)
Change-Id: I5d98309cfc5d443278479252846c66a7da8b4ce4
---
M TODO-RELEASE
M src/osmo-bsc/assignment_fsm.c
M src/osmo-bsc/lchan_rtp_fsm.c
3 files changed, 20 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/47/41647/1
diff --git a/TODO-RELEASE b/TODO-RELEASE
index 1d65ba1..fa4fe07 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -8,3 +8,4 @@
# If any interfaces have been removed or changed since the last public release: c:r:0.
#library what description / commit summary line
libosmo-mgcp-client >1.15.0 new API of fmtp in struct ptmap
+libosmogsm >1.12.0 OSMO_AOIP_RTP_PT_TWTS007 in gsm_48_103.h
diff --git a/src/osmo-bsc/assignment_fsm.c b/src/osmo-bsc/assignment_fsm.c
index c5363b8..f0a2781 100644
--- a/src/osmo-bsc/assignment_fsm.c
+++ b/src/osmo-bsc/assignment_fsm.c
@@ -568,6 +568,9 @@
if ((requested_ext & OSMO_RTP_EXT_TWTS006) && is_e1_bts(bts))
accepted_ext |= OSMO_RTP_EXT_TWTS006;
+ if ((requested_ext & OSMO_RTP_EXT_TWTS007) && is_e1_bts(bts))
+ accepted_ext |= OSMO_RTP_EXT_TWTS007;
+
conn->user_plane.rtp_extensions = accepted_ext;
}
diff --git a/src/osmo-bsc/lchan_rtp_fsm.c b/src/osmo-bsc/lchan_rtp_fsm.c
index 7d80a73..4d0217b 100644
--- a/src/osmo-bsc/lchan_rtp_fsm.c
+++ b/src/osmo-bsc/lchan_rtp_fsm.c
@@ -947,6 +947,7 @@
{
enum mgcp_codecs codec = chan_mode_to_mgcp_codec(lchan->activate.ch_mode_rate.chan_mode,
lchan->type == GSM_LCHAN_TCH_H? false : true);
+ uint8_t rtp_ext = lchan->conn->user_plane.rtp_extensions;
int pt, amr_oa;
if (codec < 0) {
@@ -993,7 +994,7 @@
* OsmoBTS in the future, it will strictly require no-alteration
* pass-through from the BSC-associated MGW. Therefore,
* indicate this format on both sides when it is enabled. */
- if (lchan->conn->user_plane.rtp_extensions & OSMO_RTP_EXT_TWTS006) {
+ if (rtp_ext & OSMO_RTP_EXT_TWTS006) {
OSMO_STRLCPY_ARRAY(verb_info->ptmap[0].fmtp,
"octet-align=1;tw-ts-006=1");
break;
@@ -1009,13 +1010,25 @@
break;
case CODEC_GSM_8000_1:
case CODEC_GSMEFR_8000_1:
- if (lchan->conn->user_plane.rtp_extensions & OSMO_RTP_EXT_TWTS001)
+ if (rtp_ext & OSMO_RTP_EXT_TWTS001)
OSMO_STRLCPY_ARRAY(verb_info->ptmap[0].fmtp, "tw-ts-001=1");
break;
case CODEC_GSMHR_8000_1:
- if (lchan->conn->user_plane.rtp_extensions & OSMO_RTP_EXT_TWTS002)
+ if (rtp_ext & OSMO_RTP_EXT_TWTS002)
OSMO_STRLCPY_ARRAY(verb_info->ptmap[0].fmtp, "tw-ts-002=1");
break;
+ case CODEC_CLEARMODE:
+ /* There are no fmtp parameters for CSData - however, if
+ * TW-TS-007 compressed CSD format was requested by the CN,
+ * then we need to tell our MGW to use this format. But only
+ * on AoIP side - the representation of CSD toward IP-based BTS
+ * remains CLEARMODE until and unless we decide to implement
+ * TW-TS-007 compressed CSD format in OsmoBTS. */
+ if ((rtp_ext & OSMO_RTP_EXT_TWTS007) && !bss_side) {
+ verb_info->ptmap[0].codec = CODEC_COMPR_CSD;
+ verb_info->ptmap[0].pt = OSMO_AOIP_RTP_PT_TWTS007;
+ }
+ break;
default:
break;
}
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/41647?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I5d98309cfc5d443278479252846c66a7da8b4ce4
Gerrit-Change-Number: 41647
Gerrit-PatchSet: 1
Gerrit-Owner: falconia <falcon(a)freecalypso.org>