lists.osmocom.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

gerrit-log

Thread Start a new thread
Download
Threads by month
  • ----- 2026 -----
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2025 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
gerrit-log@lists.osmocom.org

September 2026

  • 1 participants
  • 1894 discussions
[S] Change in osmo-ttcn3-hacks[master]: IPAd: Check for memory leaks after each test
by dexter 14 Sep '26

14 Sep '26
Attention is currently required from: jolly. dexter has posted comments on this change by jolly. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43622?usp=email ) Change subject: IPAd: Check for memory leaks after each test ...................................................................... Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43622?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: Ifd5390ac230b48614585d2820b9133daebd8c321 Gerrit-Change-Number: 43622 Gerrit-PatchSet: 1 Gerrit-Owner: jolly <andreas(a)eversberg.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Attention: jolly <andreas(a)eversberg.eu> Gerrit-Comment-Date: Mon, 14 Sep 2026 14:57:58 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[S] Change in osmo-ttcn3-hacks[master]: IPAd: Cleanly process TC_set_device_capabilities
by dexter 14 Sep '26

14 Sep '26
Attention is currently required from: jolly. dexter has posted comments on this change by jolly. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43621?usp=email ) Change subject: IPAd: Cleanly process TC_set_device_capabilities ...................................................................... Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43621?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I426b2d0d00790577468599fedd65377a4e4bfeed Gerrit-Change-Number: 43621 Gerrit-PatchSet: 1 Gerrit-Owner: jolly <andreas(a)eversberg.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Attention: jolly <andreas(a)eversberg.eu> Gerrit-Comment-Date: Mon, 14 Sep 2026 14:43:47 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[M] Change in osmo-ttcn3-hacks[master]: IPAd: Add test case for multple eIM packages
by dexter 14 Sep '26

14 Sep '26
Attention is currently required from: jolly. dexter has posted comments on this change by jolly. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43620?usp=email ) Change subject: IPAd: Add test case for multple eIM packages ...................................................................... Patch Set 1: Code-Review+1 (3 comments) Patchset: PS1: To me this looks good, just two suggestions regarding the rounds parameter. File ipad/IPAd_Tests.ttcn: https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43620/comment/4903035c_33dd… : PS1, Line 1170: var integer i, rounds := 5; maybe have the rounds parameter as a module parameter? (mp_tc_multi_package_rounds)? https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43620/comment/410bb9bc_8f0e… : PS1, Line 1209: f_init(id, 300.0); maybe write t_guard := 300.0, than its more obvious what the number means. You could also interoperate the rounds parameter. t_guard := rounds * 6.0 ? -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43620?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I74bba77cc391ed243729e99a5aeaefb9dbde2922 Gerrit-Change-Number: 43620 Gerrit-PatchSet: 1 Gerrit-Owner: jolly <andreas(a)eversberg.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Attention: jolly <andreas(a)eversberg.eu> Gerrit-Comment-Date: Mon, 14 Sep 2026 14:42:19 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes
1 0
0 0
[S] Change in osmo-ttcn3-hacks[master]: IPAd: Split f_terminate_poll_cycle()
by dexter 14 Sep '26

14 Sep '26
Attention is currently required from: jolly. dexter has posted comments on this change by jolly. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43619?usp=email ) Change subject: IPAd: Split f_terminate_poll_cycle() ...................................................................... Patch Set 1: Code-Review+2 (1 comment) Patchset: PS1: To me this looks good. When I understand everything correctly, then the functionality should not be changed by this patch. -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43619?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I4e278f74ce3bb9bbd666f13c2a72ed90eba34af7 Gerrit-Change-Number: 43619 Gerrit-PatchSet: 1 Gerrit-Owner: jolly <andreas(a)eversberg.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Attention: jolly <andreas(a)eversberg.eu> Gerrit-Comment-Date: Mon, 14 Sep 2026 14:24:21 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes
1 0
0 0
[S] Change in pysim[master]: pySim-shell: use verify_adm command for commandline ADM auth
by dexter 14 Sep '26

14 Sep '26
Attention is currently required from: dexter. Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/c/pysim/+/43637?usp=email to look at the new patch set (#3). Change subject: pySim-shell: use verify_adm command for commandline ADM auth ...................................................................... pySim-shell: use verify_adm command for commandline ADM auth since the very early days, pySim-shell.py has a commandline option where the user may supply an ADM pin as commandline parameter. (-a / --pin-adm and -A --pin-adm-hex) This was introduced to simplify the usage of pySim-shell.py with shellscripts. Unfortunately the code that handles those commandline options duplicates the code of the verify_adm commmand. Fortunately it is very easy to call pySim-shell commands directly using the CMD2 onecmd_plus_hooks method, so we can just call the verify_adm and replace the duplicated code with that. So far we are only able to use ADM1 pins from the commandline, since we now practically use the verify_adm commnad, we can add another parameter to allow the verification of ADM as well. Related: SYS#8239 Change-Id: I7164fad757048774aa7186a84041febde75c351c --- M pySim-shell.py 1 file changed, 13 insertions(+), 13 deletions(-) git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/37/43637/3 -- To view, visit https://gerrit.osmocom.org/c/pysim/+/43637?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newpatchset Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I7164fad757048774aa7186a84041febde75c351c Gerrit-Change-Number: 43637 Gerrit-PatchSet: 3 Gerrit-Owner: dexter <pmaier(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
1 0
0 0
[S] Change in osmo-trx[master]: libosmo-trx/trxc: add osmo_trxc_chan_comb_name()
by fixeria 14 Sep '26

14 Sep '26
fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-trx/+/43638?usp=email ) Change subject: libosmo-trx/trxc: add osmo_trxc_chan_comb_name() ...................................................................... libosmo-trx/trxc: add osmo_trxc_chan_comb_name() Change-Id: Ibba82407cd2ab0c564c85059fa1b5bcf4aa86c2e --- M libosmo-trx/include/osmocom/trx/trxc.h M libosmo-trx/src/trxc.c 2 files changed, 24 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/38/43638/1 diff --git a/libosmo-trx/include/osmocom/trx/trxc.h b/libosmo-trx/include/osmocom/trx/trxc.h index 3844357..9c2799a 100644 --- a/libosmo-trx/include/osmocom/trx/trxc.h +++ b/libosmo-trx/include/osmocom/trx/trxc.h @@ -86,6 +86,12 @@ OSMO_TRXC_CHAN_COMB_PDTCH = 13, /*!< PDTCH+PACCH+PTCCH */ }; +extern const struct value_string osmo_trxc_chan_comb_names[]; +static inline const char *osmo_trxc_chan_comb_name(enum osmo_trxc_chan_comb comb) +{ + return get_value_string(osmo_trxc_chan_comb_names, comb); +} + /*! VAMOS-enabled channel combinations: the \c chan_comb parameter of SETSLOT * is symbolic (not numeric) for these. */ enum osmo_trxc_vamos_comb { diff --git a/libosmo-trx/src/trxc.c b/libosmo-trx/src/trxc.c index 9425068..553df3e 100644 --- a/libosmo-trx/src/trxc.c +++ b/libosmo-trx/src/trxc.c @@ -44,6 +44,24 @@ { 0, NULL } }; +const struct value_string osmo_trxc_chan_comb_names[] = { + { OSMO_TRXC_CHAN_COMB_UNUSED, "UNUSED" }, + { OSMO_TRXC_CHAN_COMB_TCHF, "TCH/F" }, + { OSMO_TRXC_CHAN_COMB_TCHH_IDLE, "TCH/H (sub-ch 1 idle)" }, + { OSMO_TRXC_CHAN_COMB_TCHH, "TCH/H" }, + { OSMO_TRXC_CHAN_COMB_BCCH, "BCCH" }, + { OSMO_TRXC_CHAN_COMB_BCCH_SDCCH4, "BCCH+SDCCH/4" }, + { OSMO_TRXC_CHAN_COMB_CCCH, "CCCH" }, + { OSMO_TRXC_CHAN_COMB_SDCCH8, "SDCCH/8" }, + { OSMO_TRXC_CHAN_COMB_TCHF_FACCH_SACCHM, "TCH/F+FACCH+SACCH/M" }, + { OSMO_TRXC_CHAN_COMB_TCHF_SACCHM, "TCH/F+SACCH/M" }, + { OSMO_TRXC_CHAN_COMB_TCHFD_SACCHMD, "TCH/FD+SACCH/MD" }, + { OSMO_TRXC_CHAN_COMB_PBCCH, "PBCCH" }, + { OSMO_TRXC_CHAN_COMB_PCCCH, "PCCCH" }, + { OSMO_TRXC_CHAN_COMB_PDTCH, "PDTCH" }, + { 0, NULL } +}; + const struct value_string osmo_trxc_vamos_comb_names[] = { { OSMO_TRXC_VAMOS_COMB_VFF, "VFF" }, { OSMO_TRXC_VAMOS_COMB_VHH, "VHH" }, -- To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/43638?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: Ibba82407cd2ab0c564c85059fa1b5bcf4aa86c2e Gerrit-Change-Number: 43638 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
1 0
0 0
[M] Change in osmo-trx[master]: proxy/vty: add 'show ep [NAME]', rename 'show proxy' to 'show ep-list'
by fixeria 14 Sep '26

14 Sep '26
fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-trx/+/43639?usp=email ) Change subject: proxy/vty: add 'show ep [NAME]', rename 'show proxy' to 'show ep-list' ...................................................................... proxy/vty: add 'show ep [NAME]', rename 'show proxy' to 'show ep-list' 'show ep-list' keeps the brief one-line-per-endpoint summary (now also showing the full address and power state), while the new 'show ep [NAME]' prints detailed per-channel information. Change-Id: Ib0af5a47e7298bb0e961652c7a83bd0f6233efda Related: OS#6672 --- M proxy/src/vty.c 1 file changed, 117 insertions(+), 9 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/39/43639/1 diff --git a/proxy/src/vty.c b/proxy/src/vty.c index 83f41da..6b32ec9 100644 --- a/proxy/src/vty.c +++ b/proxy/src/vty.c @@ -397,26 +397,133 @@ return CMD_SUCCESS; } -DEFUN(show_proxy, - show_proxy_cmd, - "show proxy", - SHOW_STR "Display configured virtual TRX endpoints\n") +DEFUN(show_ep_list, + show_ep_list_cmd, + "show ep-list", + SHOW_STR "Display a brief list of configured virtual TRX endpoints\n") { struct proxy_trx *trx; llist_for_each_entry(trx, &g_proxy_ctx->trx_list, list) { - vty_out(vty, "Endpoint '%s': %s:%u, %u channel(s), %s%s", + vty_out(vty, "Endpoint '%s' (%s): l=%s:%u<->r=%s:%u, %u channel(s), power %s%s", trx->name, - osmo_trx_ep_get_raddr(trx->ep), - osmo_trx_ep_get_base_port(trx->ep), - osmo_trx_ep_get_num_chans(trx->ep), osmo_trx_ep_is_open(trx->ep) ? "open" : "closed", + osmo_trx_ep_get_laddr(trx->ep), + osmo_trx_ep_get_base_port(trx->ep), + osmo_trx_ep_get_raddr(trx->ep), + osmo_trx_ep_get_base_port(trx->ep) + 100, + osmo_trx_ep_get_num_chans(trx->ep), + trx->powered ? "on" : "off", VTY_NEWLINE); } return CMD_SUCCESS; } +static void show_ep_vty(struct vty *vty, struct proxy_trx *trx) +{ + vty_out(vty, "Endpoint '%s' (%s):%s", + trx->name, osmo_trx_ep_is_open(trx->ep) ? "open" : "closed", VTY_NEWLINE); + vty_out(vty, " Address: l=%s:%u<->r=%s:%u%s", + osmo_trx_ep_get_laddr(trx->ep), osmo_trx_ep_get_base_port(trx->ep), + osmo_trx_ep_get_raddr(trx->ep), osmo_trx_ep_get_base_port(trx->ep) + 100, + VTY_NEWLINE); + vty_out(vty, " Power: %s (%d dBm)%s", + trx->powered ? "on" : "off", trx->tx_power, VTY_NEWLINE); + vty_out(vty, " TRXD PDU max version: %u%s", trx->trxd_max_ver, VTY_NEWLINE); + vty_out(vty, " TRXD PDU batching: %s%s", + osmo_trx_ep_get_pdu_batch(trx->ep) ? "enabled" : "disabled", VTY_NEWLINE); + + /* endpoint not open yet, no channel info available */ + if (trx->chans == NULL) + return; + + for (unsigned int chan = 0; chan < trx->num_chans; chan++) { + const struct proxy_trx_chan *c = &trx->chans[chan]; + + vty_out(vty, " Channel %u:%s", chan, VTY_NEWLINE); + vty_out(vty, " RF state: %s%s", c->rf_muted ? "muted" : "not muted", VTY_NEWLINE); + vty_out(vty, " TRXD PDU version: %d%s", + osmo_trx_ep_get_pdu_ver(trx->ep, chan), VTY_NEWLINE); + + if (c->fh == NULL) { + vty_out(vty, " Rx frequency: %u kHz%s", c->rx_freq / 1000, VTY_NEWLINE); + vty_out(vty, " Tx frequency: %u kHz%s", c->tx_freq / 1000, VTY_NEWLINE); + } else { + vty_out(vty, " Freq. hopping HSN: %u%s", c->fh->hsn, VTY_NEWLINE); + vty_out(vty, " Freq. hopping MAIO: %u%s", c->fh->maio, VTY_NEWLINE); + vty_out(vty, " Freq. hopping MA length: %u%s", c->fh->ma_len, VTY_NEWLINE); + } + + vty_out(vty, " Tx power: %d dBm (%d dB attenuated)%s", + c->path_sim.tx_power, c->path_sim.tx_att, VTY_NEWLINE); + vty_out(vty, " Timing Advance: %d%s", c->path_sim.ta, VTY_NEWLINE); + vty_out(vty, " Reported ToA: %d (jitter %d) 1/256 symbols%s", + c->path_sim.toa256, c->path_sim.toa256_jitter, VTY_NEWLINE); + if (c->path_sim.flags & PATH_SIM_F_FAKE_RSSI) { + vty_out(vty, " Reported RSSI: %d (jitter %d) dBm (fake)%s", + c->path_sim.rssi, c->path_sim.rssi_jitter, VTY_NEWLINE); + } else { + vty_out(vty, " Reported RSSI: computed from path-loss%s", VTY_NEWLINE); + } + vty_out(vty, " Reported C/I: %d (jitter %d) cB%s", + c->path_sim.ci, c->path_sim.ci_jitter, VTY_NEWLINE); + if (c->path_sim.burst_drop_amount > 0) { + vty_out(vty, " Dropping bursts: %u left, every %u%s", + c->path_sim.burst_drop_amount, + c->path_sim.burst_drop_period, + VTY_NEWLINE); + } + + for (unsigned int tn = 0; tn < PROXY_TRX_NUM_TS; tn++) { + const struct proxy_trx_ts *ts = &c->ts[tn]; + + vty_out(vty, " Timeslot %u: ", tn); + if (!ts->valid) { + vty_out(vty, "(not configured)%s", VTY_NEWLINE); + continue; + } + + if (ts->cfg.vamos) { + vty_out(vty, "%s (VAMOS)%s", + osmo_trxc_vamos_comb_name(ts->cfg.vamos_comb), VTY_NEWLINE); + } else { + vty_out(vty, "%s%s", + osmo_trxc_chan_comb_name(ts->cfg.chan_comb), VTY_NEWLINE); + } + + for (unsigned int ss = 0; ss < ts->cfg.num_tsc; ss++) { + vty_out(vty, " Sub-channel %u: TSC %u (set %u)%s", + ss, ts->cfg.tsc[ss].tsc, ts->cfg.tsc[ss].tsc_set, VTY_NEWLINE); + } + } + } +} + +DEFUN(show_ep, + show_ep_cmd, + "show ep [NAME]", + SHOW_STR "Display detailed information about virtual TRX endpoint(s)\n" + "Endpoint name\n") +{ + struct proxy_trx *trx; + bool found = false; + + llist_for_each_entry(trx, &g_proxy_ctx->trx_list, list) { + if (argc > 0 && strcmp(trx->name, argv[0]) != 0) + continue; + show_ep_vty(vty, trx); + found = true; + } + + if (argc > 0 && !found) { + vty_out(vty, "%% Endpoint '%s' does not exist%s", argv[0], VTY_NEWLINE); + return CMD_WARNING; + } + + return CMD_SUCCESS; +} + /*! Called when leaving EP_NODE (interactively via 'exit'/'end', or on dedent * while reading a config file): validate the endpoint config and open it, * unless it is already open. Returns 0 on success, non-zero if the node @@ -474,7 +581,8 @@ osmo_talloc_vty_add_cmds(); osmo_cpu_sched_vty_init(g_talloc_ctx); - install_element_ve(&show_proxy_cmd); + install_element_ve(&show_ep_list_cmd); + install_element_ve(&show_ep_cmd); install_element(CONFIG_NODE, &cfg_proxy_cmd); install_node(&proxy_node, config_write_proxy); -- To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/43639?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: Ib0af5a47e7298bb0e961652c7a83bd0f6233efda Gerrit-Change-Number: 43639 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
1 0
0 0
[M] Change in osmo-trx[master]: libosmo-trx/client: make public API operate on parsed messages
by fixeria 14 Sep '26

14 Sep '26
Hello Jenkins Builder, laforge, pespin, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/c/osmo-trx/+/43110?usp=email to look at the new patch set (#5). The following approvals got outdated and were removed: Verified+1 by Jenkins Builder The change is no longer submittable: Verified is unsatisfied now. Change subject: libosmo-trx/client: make public API operate on parsed messages ...................................................................... libosmo-trx/client: make public API operate on parsed messages The TRXC client engine and the TRX endpoint module did not compose: osmo_trx_ep_rx_ctrl_msg() delivers a parsed struct osmo_trxc_msg, while osmo_trxc_client_rx() accepts a raw datagram only; likewise, the tx_msg call-back used to emit a serialized string, while osmo_trx_ep_send_ctrl_msg() takes the parsed structure. An osmo_trx_ep user would have to needlessly re-parse and re-serialize TRXC messages when gluing both modules together. Make struct osmo_trxc_msg the currency at both module boundaries: * add osmo_trxc_client_rx_msg(), accepting a parsed message; osmo_trxc_client_rx() becomes a parse-first convenience wrapper for applications managing the TRXC socket themselves; * change the tx_msg call-back to take a parsed message: it's now up to the transport to serialize it (osmo_trx_ep users simply call osmo_trx_ep_send_ctrl_msg(), others osmo_trxc_msg_build()). This is a preparation for porting trxcon to libosmo-trx. Change-Id: Idf53513d06be2337383601494b225b5722c93129 --- M libosmo-trx/include/osmocom/trx/trxc_client.h M libosmo-trx/src/trxc_client.c M tests/libosmo-trx/trxc_client_test.c 3 files changed, 57 insertions(+), 44 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/10/43110/5 -- To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/43110?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: Idf53513d06be2337383601494b225b5722c93129 Gerrit-Change-Number: 43110 Gerrit-PatchSet: 5 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
1 0
0 0
[XL] Change in osmo-trx[master]: libosmo-trx/client: add TRXC client (command queue) API
by fixeria 14 Sep '26

14 Sep '26
Attention is currently required from: pespin. Hello Jenkins Builder, laforge, pespin, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/c/osmo-trx/+/43108?usp=email to look at the new patch set (#5). The following approvals got outdated and were removed: Verified+1 by Jenkins Builder The change is no longer submittable: Verified is unsatisfied now. Change subject: libosmo-trx/client: add TRXC client (command queue) API ...................................................................... libosmo-trx/client: add TRXC client (command queue) API Add the osmo_trxc_client module: a transport-agnostic generalization of the TRXC command handling logic in osmo-bts-trx (trx_if.c): * command queue with a single command in flight; * retransmission on response timeout (default: 2 s); * suppression of consecutive duplicate commands; * RSP<->CMD matching, optionally including the parameters; * filtering of duplicate responses caused by retransmissions; * escalation of NACKed critical commands (OSMO_TRXC_F_CRITICAL) to the fatal_error call-back; * TRXD PDU version negotiation (SETFORMAT), incl. the fallback to version 0 for old transceivers rejecting it with 'RSP ERR 1'. The client neither opens nor owns a socket: the application transmits serialized messages in the tx_msg call-back and feeds received datagrams into osmo_trxc_client_rx(). The response call-back may return N > 0 to request a re-transmission of the same command after N seconds (e.g. POWERON retry, as implemented in osmo-bts-trx). Change-Id: I817e394f74a10e3adae4a0b58342c82acdf0794e --- M .gitignore M libosmo-trx/include/Makefile.am A libosmo-trx/include/osmocom/trx/trxc_client.h M libosmo-trx/src/Makefile.am A libosmo-trx/src/trxc_client.c M tests/libosmo-trx/Makefile.am A tests/libosmo-trx/trxc_client_test.c A tests/libosmo-trx/trxc_client_test.err A tests/libosmo-trx/trxc_client_test.ok M tests/testsuite.at 10 files changed, 1,117 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/08/43108/5 -- To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/43108?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: I817e394f74a10e3adae4a0b58342c82acdf0794e Gerrit-Change-Number: 43108 Gerrit-PatchSet: 5 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de>
1 0
0 0
[M] Change in osmo-trx[master]: libosmo-trx/client: add optional limit for retransmissions
by fixeria 14 Sep '26

14 Sep '26
Hello Jenkins Builder, laforge, pespin, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/c/osmo-trx/+/43109?usp=email to look at the new patch set (#5). The following approvals got outdated and were removed: Verified+1 by Jenkins Builder The change is no longer submittable: Verified is unsatisfied now. Change subject: libosmo-trx/client: add optional limit for retransmissions ...................................................................... libosmo-trx/client: add optional limit for retransmissions The client used to retransmit an unacknowledged command forever, like osmo-bts-trx does. trxcon, however, gives up after 3 retransmission attempts, concluding that the transceiver is offline. Add a new API function osmo_trxc_client_set_max_retrans() enabling this behavior: once a command has been retransmitted the given number of times without a response, the client escalates to the fatal_error call-back (with rsp == NULL) and freezes the command queue. The default (0) retains the old behavior (no limit). This is a preparation for porting trxcon to libosmo-trx. Change-Id: Ib90a032b38c69ae26023e726992d3f5f7e502fcf --- M libosmo-trx/include/osmocom/trx/trxc_client.h M libosmo-trx/src/trxc_client.c M tests/libosmo-trx/trxc_client_test.c M tests/libosmo-trx/trxc_client_test.err M tests/libosmo-trx/trxc_client_test.ok 5 files changed, 118 insertions(+), 5 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/09/43109/5 -- To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/43109?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: Ib90a032b38c69ae26023e726992d3f5f7e502fcf Gerrit-Change-Number: 43109 Gerrit-PatchSet: 5 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
1 0
0 0
  • ← Newer
  • 1
  • ...
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • ...
  • 190
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.