Attention is currently required from: laforge, pespin.
fixeria has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/osmo-trx/+/43603?usp=email )
Change subject: osmo-trx-proxy: initial app skeleton
......................................................................
Patch Set 3:
(1 comment)
File proxy/src/proxy.c:
https://gerrit.osmocom.org/c/osmo-trx/+/43603/comment/e3c5683a_1cef3955?usp… :
PS1, Line 56: bool proxy_ctx_add_defaults_if_empty(struct proxy_ctx *proxy)
> This was acknowledged and no change was done?
I was in a process of submitting a new patchset. Changed.
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/43603?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Id2b12e5e7d053eea53338fbabc48131b9c46c82a
Gerrit-Change-Number: 43603
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 14 Sep 2026 08:43:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Attention is currently required from: pespin.
fixeria has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/osmo-trx/+/43628?usp=email )
Change subject: proxy: make clck_gen start Fn and period configurable
......................................................................
Patch Set 2:
(1 comment)
File proxy/src/vty.c:
https://gerrit.osmocom.org/c/osmo-trx/+/43628/comment/d971bf23_5144f15f?usp… :
PS1, Line 168: "clck-gen ind-period <1-2715648>",
> was this ever something else than 102? Does it make sense to have it configurable?
Making it configurable does not hurt.
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/43628?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I85bc0a1e4674685c7ddcf6627d139f4b8268f7a6
Gerrit-Change-Number: 43628
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 14 Sep 2026 08:42:17 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-trx/+/43635?usp=email )
Change subject: debian: add packaging for osmo-trx-proxy
......................................................................
debian: add packaging for osmo-trx-proxy
Ship the osmo-trx-proxy binary and its default/example VTY config
(doc/examples/osmo-trx-proxy/osmo-trx-proxy.cfg), following the same
layout as the osmo-trx-ipc package.
Change-Id: I995b44bf9a884cf5ba6db8333e6f08c9604a58a5
Related: OS#6672
---
M debian/control
A debian/osmo-trx-proxy.install
2 files changed, 12 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/35/43635/1
diff --git a/debian/control b/debian/control
index 25b3041..bb93b1c 100644
--- a/debian/control
+++ b/debian/control
@@ -189,6 +189,15 @@
between different telecommunication associations for developing new
generations of mobile phone networks. (post-2G/GSM)
+Package: osmo-trx-proxy
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Virtual TRX endpoint proxy for testing without SDR hardware
+ osmo-trx-proxy speaks the TRXC/TRXD protocol on one or more virtual TRX
+ endpoints, simulating an RF path (path loss, ToA, C/I) between them instead
+ of driving actual SDR hardware. It allows testing L1 software (e.g.
+ OsmoBTS) or MS-side stacks (e.g. osmocom-bb/trxcon) without a radio.
+
Package: osmo-trx-doc
Architecture: all
Section: doc
diff --git a/debian/osmo-trx-proxy.install b/debian/osmo-trx-proxy.install
new file mode 100644
index 0000000..d0309eb
--- /dev/null
+++ b/debian/osmo-trx-proxy.install
@@ -0,0 +1,3 @@
+etc/osmocom/osmo-trx-proxy.cfg
+usr/bin/osmo-trx-proxy
+usr/share/doc/osmo-trx/examples/osmo-trx-proxy/osmo-trx-proxy.cfg /usr/share/doc/osmo-trx/examples/osmo-trx-proxy/
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/43635?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I995b44bf9a884cf5ba6db8333e6f08c9604a58a5
Gerrit-Change-Number: 43635
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Attention is currently required from: fixeria, laforge, pespin.
Hello Jenkins Builder, laforge, pespin,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-trx/+/43604?usp=email
to look at the new patch set (#3).
The following approvals got outdated and were removed:
Code-Review+1 by pespin, Verified+1 by Jenkins Builder
Change subject: proxy: add TDMA clock generator and basic TRXC handler
......................................................................
proxy: add TDMA clock generator and basic TRXC handler
Add clck_gen: a single, process-wide timerfd-driven TDMA clock,
sending "IND CLOCK" every 102 frames to the clock socket of each
currently powered-on endpoint. The clock starts the moment any
endpoint becomes powered and stops once none remain.
Add ctrl_cmd implementing osmo_trx_ep_rx_ctrl_msg(). This module
currently handles POWERON/POWEROFF and RXTUNE/TXTUNE, and simply
ACKs all unknown commands.
Change-Id: I8c0757f15961bf0574f1305a6a8836853b66afcf
Related: OS#6672
---
M proxy/Makefile.am
A proxy/include/osmocom/proxy/clck_gen.h
M proxy/include/osmocom/proxy/trx.h
M proxy/src/Makefile.am
A proxy/src/clck_gen.c
A proxy/src/ctrl_cmd.c
M proxy/src/main.c
M proxy/src/trx.c
M proxy/src/vty.c
9 files changed, 340 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/04/43604/3
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/43604?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I8c0757f15961bf0574f1305a6a8836853b66afcf
Gerrit-Change-Number: 43604
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Attention is currently required from: fixeria, laforge, pespin.
Hello Jenkins Builder, laforge, pespin,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-trx/+/43606?usp=email
to look at the new patch set (#3).
The following approvals got outdated and were removed:
Code-Review+2 by pespin, Verified+1 by Jenkins Builder
The change is no longer submittable: Code-Review and Verified are unsatisfied now.
Change subject: proxy: implement RF path simulation
......................................................................
proxy: implement RF path simulation
Compute real ToA/RSSI/CI values for forwarded bursts instead of the
fixed placeholder constants in burst_fwd.c. Each channel gets its own
struct path_sim_state, tracking Tx power/attenuation, Timing Advance,
reported ToA/RSSI/CI, and burst-dropping parameters. RSSI defaults to
a path-loss formula (Tx power - burst attenuation - fixed path loss)
unless overridden via FAKE_RSSI.
Add the CTRL commands needed to drive this: SETTA, SETPOWER,
NOMTXPOWER, RFMUTE, and the FAKE_TOA/FAKE_RSSI/FAKE_CI/FAKE_DROP
simulation helpers. RFMUTE and burst dropping (FAKE_DROP) turn a
forwarded burst into a NOPE.ind, matching the existing NOPE.req
handling path.
Change-Id: Iefa51d6b0e0bba1f12bdbcdf576528e7d3588b8f
Related: OS#6672
---
M proxy/Makefile.am
A proxy/include/osmocom/proxy/path_sim.h
M proxy/include/osmocom/proxy/trx.h
M proxy/src/Makefile.am
M proxy/src/burst_fwd.c
M proxy/src/ctrl_cmd.c
A proxy/src/path_sim.c
M proxy/src/trx.c
8 files changed, 367 insertions(+), 13 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/06/43606/3
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/43606?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Iefa51d6b0e0bba1f12bdbcdf576528e7d3588b8f
Gerrit-Change-Number: 43606
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Attention is currently required from: fixeria, laforge, pespin.
Hello Jenkins Builder, laforge, pespin,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-trx/+/43607?usp=email
to look at the new patch set (#3).
The following approvals got outdated and were removed:
Code-Review+1 by laforge, Code-Review+1 by pespin, Verified+1 by Jenkins Builder
Change subject: proxy: implement power measurement emulation
......................................................................
proxy: implement power measurement emulation
Add the TRXC MEASURE command, used by the MS side (trxcon) to probe
RF power on a given frequency. Scan all powered-on channels on the
requested frequency: if found, report the RSSI it would be measured
at using the same path-loss formula (or FAKE_RSSI override) as burst
forwarding; if not, report a fixed noise floor.
The noise floor is configurable via the new 'pm-rssi-noise' VTY
command under the 'proxy' node (default -110 dBm).
Change-Id: I9be028ae9c1a20caf24327b7ee81eeeabbda0634
Related: OS#6672
---
M proxy/include/osmocom/proxy/path_sim.h
M proxy/include/osmocom/proxy/proxy.h
M proxy/src/ctrl_cmd.c
M proxy/src/path_sim.c
M proxy/src/proxy.c
M proxy/src/vty.c
6 files changed, 74 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/07/43607/3
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/43607?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I9be028ae9c1a20caf24327b7ee81eeeabbda0634
Gerrit-Change-Number: 43607
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Attention is currently required from: fixeria, laforge, pespin.
Hello Jenkins Builder, laforge, pespin,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-trx/+/43608?usp=email
to look at the new patch set (#3).
The following approvals got outdated and were removed:
Code-Review+1 by laforge, Code-Review+1 by pespin, Verified+1 by Jenkins Builder
Change subject: proxy: make path_sim values configurable via VTY
......................................................................
proxy: make path_sim values configurable via VTY
Move the RF path loss and default reported ToA/CI for forwarded
bursts ('path-loss'/'nominal-toa256'/'nominal-ci' under 'proxy'),
and each endpoint's nominal Tx power ('tx-power' under 'ep'), out
of path_sim.c's compile-time constants and into new VTY commands.
The global values are held in a new opaque struct path_sim_cfg,
talloc-allocated by path_sim_cfg_alloc() and exposed only through
path_sim_cfg_{get,set}_*() accessors, keeping struct proxy_ctx down to
a single pointer instead of exposing path_sim internals. tx_power is
per-endpoint and lives directly on struct proxy_trx. Both are applied
when a channel's path_sim_state is (re)initialized.
Change-Id: I969e9df1ab394e631da3da9b3044fab1446db40e
Related: OS#6672
---
M proxy/include/osmocom/proxy/path_sim.h
M proxy/include/osmocom/proxy/proxy.h
M proxy/include/osmocom/proxy/trx.h
M proxy/src/burst_fwd.c
M proxy/src/ctrl_cmd.c
M proxy/src/path_sim.c
M proxy/src/proxy.c
M proxy/src/trx.c
M proxy/src/vty.c
9 files changed, 194 insertions(+), 33 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/08/43608/3
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/43608?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I969e9df1ab394e631da3da9b3044fab1446db40e
Gerrit-Change-Number: 43608
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Attention is currently required from: fixeria, laforge, pespin.
Hello Jenkins Builder, laforge, pespin,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-trx/+/43603?usp=email
to look at the new patch set (#3).
The following approvals got outdated and were removed:
Code-Review+1 by pespin, Verified+1 by Jenkins Builder
Change subject: osmo-trx-proxy: initial app skeleton
......................................................................
osmo-trx-proxy: initial app skeleton
osmo-trx-proxy is a C rewrite of the fake_trx.py: a virtual
TRX endpoint that BTS/MS-side L1 implementations (osmo-bts-trx,
trxcon) can connect to over the TRXC/TRXD protocol instead of real RF
hardware, useful for testing without SDR devices. This first commit
adds just the daemon skeleton (config context, VTY, logging).
Change-Id: Id2b12e5e7d053eea53338fbabc48131b9c46c82a
Related: OS#6672
---
M .gitignore
M Makefile.am
M configure.ac
A proxy/Makefile.am
A proxy/include/osmocom/proxy/logging.h
A proxy/include/osmocom/proxy/proxy.h
A proxy/include/osmocom/proxy/trx.h
A proxy/include/osmocom/proxy/vty.h
A proxy/src/Makefile.am
A proxy/src/logging.c
A proxy/src/main.c
A proxy/src/proxy.c
A proxy/src/trx.c
A proxy/src/vty.c
14 files changed, 871 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/03/43603/3
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/43603?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Id2b12e5e7d053eea53338fbabc48131b9c46c82a
Gerrit-Change-Number: 43603
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>