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

July 2026

  • 1 participants
  • 869 discussions
[XS] Change in osmo-sgsn[master]: sndcp: Remove unused variable
by pespin 27 Jul '26

27 Jul '26
pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/43099?usp=email ) Change subject: sndcp: Remove unused variable ...................................................................... sndcp: Remove unused variable gcc 16.1.1 warns about it. Change-Id: Ie2bd3d2935cd7e0ad023a163c9be9a05b83fbc5e --- M src/sgsn/gprs_sndcp_xid.c 1 file changed, 1 insertion(+), 3 deletions(-) Approvals: fixeria: Looks good to me, approved Jenkins Builder: Verified osmith: Looks good to me, but someone else must approve diff --git a/src/sgsn/gprs_sndcp_xid.c b/src/sgsn/gprs_sndcp_xid.c index a19f645..344fda4 100644 --- a/src/sgsn/gprs_sndcp_xid.c +++ b/src/sgsn/gprs_sndcp_xid.c @@ -1352,7 +1352,6 @@ uint8_t tag; uint16_t tag_len; const uint8_t *val; - int byte_counter = 0; int rc; int tlv_count = 0; @@ -1403,8 +1402,7 @@ if (rc < 0) { talloc_free(comp_fields); return -EINVAL; - } else - byte_counter += rc; + } } /* Stop when no further TLV elements can be expected */ -- To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/43099?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Change-Id: Ie2bd3d2935cd7e0ad023a163c9be9a05b83fbc5e Gerrit-Change-Number: 43099 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
1 0
0 0
[XS] Change in osmo-sgsn[master]: tests/v42bis: Remove unused variable
by pespin 27 Jul '26

27 Jul '26
pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/43100?usp=email ) Change subject: tests/v42bis: Remove unused variable ...................................................................... tests/v42bis: Remove unused variable gcc 16.1.1 warns about it. Change-Id: I715e57513ee62b7c61492a1d206232a5db107ea0 --- M tests/v42bis/v42bis_test.c 1 file changed, 0 insertions(+), 4 deletions(-) Approvals: osmith: Looks good to me, but someone else must approve fixeria: Looks good to me, approved Jenkins Builder: Verified diff --git a/tests/v42bis/v42bis_test.c b/tests/v42bis/v42bis_test.c index 7ada0e2..513e333 100644 --- a/tests/v42bis/v42bis_test.c +++ b/tests/v42bis/v42bis_test.c @@ -333,7 +333,6 @@ uint8_t *uncompressed; v42bis_state_t *rx_state; int rc; - int rc_sum = 0; int len; struct v42bis_output_buffer uncompressed_data; @@ -363,13 +362,10 @@ rx_state->decompress.user_data = (&uncompressed_data); rc = v42bis_decompress_flush(rx_state); printf("v42bis_decompress_flush() rc=%d\n", rc); - rc_sum += rc; rc = v42bis_decompress(rx_state, compressed, compressed_len); printf("v42bis_decompress() rc=%d\n", rc); - rc_sum += rc; rc = v42bis_decompress_flush(rx_state); printf("v42bis_decompress_flush() rc=%d\n", rc); - rc_sum += rc; /* Check results */ printf("compressed= %s ASCII:", -- To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/43100?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Change-Id: I715e57513ee62b7c61492a1d206232a5db107ea0 Gerrit-Change-Number: 43100 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
1 0
0 0
[XS] Change in libosmo-gprs[master]: sndcp: Remove unused variable
by pespin 27 Jul '26

27 Jul '26
pespin has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-gprs/+/43098?usp=email ) Change subject: sndcp: Remove unused variable ...................................................................... sndcp: Remove unused variable gcc 16.1.1 warns about it. Change-Id: I110e3bca19f726382beff673bc91b494e0fba912 --- M src/sndcp/sndcp_xid.c 1 file changed, 1 insertion(+), 5 deletions(-) Approvals: Jenkins Builder: Verified osmith: Looks good to me, but someone else must approve fixeria: Looks good to me, approved diff --git a/src/sndcp/sndcp_xid.c b/src/sndcp/sndcp_xid.c index 05098cf..4442f18 100644 --- a/src/sndcp/sndcp_xid.c +++ b/src/sndcp/sndcp_xid.c @@ -1345,7 +1345,6 @@ uint8_t tag; uint16_t tag_len; const uint8_t *val; - int byte_counter = 0; int rc; int tlv_count = 0; @@ -1390,11 +1389,8 @@ || (tag == SNDCP_XID_DATA_COMPRESSION)) { rc = decode_xid_block(comp_fields, tag, tag_len, val, lt, lt_len); - - if (rc < 0) { + if (rc < 0) return -EINVAL; - } - byte_counter += rc; } /* Stop when no further TLV elements can be expected */ -- To view, visit https://gerrit.osmocom.org/c/libosmo-gprs/+/43098?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: libosmo-gprs Gerrit-Branch: master Gerrit-Change-Id: I110e3bca19f726382beff673bc91b494e0fba912 Gerrit-Change-Number: 43098 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
1 0
0 0
[XS] Change in libosmocore[master]: tests/osmo_io: Remove unused variable
by pespin 27 Jul '26

27 Jul '26
pespin has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/43097?usp=email ) Change subject: tests/osmo_io: Remove unused variable ...................................................................... tests/osmo_io: Remove unused variable gcc 16.1.1 warns about it. Change-Id: I0bdfe5ed6803042277ed8d21171b5f9c11495ca3 --- M tests/osmo_io/osmo_io_backpressure_test.c 1 file changed, 1 insertion(+), 4 deletions(-) Approvals: osmith: Looks good to me, but someone else must approve fixeria: Looks good to me, approved Jenkins Builder: Verified diff --git a/tests/osmo_io/osmo_io_backpressure_test.c b/tests/osmo_io/osmo_io_backpressure_test.c index 69bbb35..87259dc 100644 --- a/tests/osmo_io/osmo_io_backpressure_test.c +++ b/tests/osmo_io/osmo_io_backpressure_test.c @@ -106,7 +106,6 @@ file_bytes_write_compl = 0; char drain_buffer[512]; - int messages_queued = 0; for (int i = 0; i < 10; i++) { /* Add a message */ @@ -114,9 +113,7 @@ memset(msgb_put(msg, 1024), 0xAA + (i % 16), 1024); rc = osmo_iofd_write_msgb(iofd, msg); - if (rc == 0) - messages_queued++; - else + if (rc != 0) msgb_free(msg); /* Process events with explicit timeout */ -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/43097?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I0bdfe5ed6803042277ed8d21171b5f9c11495ca3 Gerrit-Change-Number: 43097 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
1 0
0 0
[XS] Change in osmo-sgsn[master]: tests/v42bis: Remove unused variable
by fixeria 27 Jul '26

27 Jul '26
Attention is currently required from: pespin. fixeria has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/43100?usp=email ) Change subject: tests/v42bis: Remove unused variable ...................................................................... Patch Set 2: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/43100?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Change-Id: I715e57513ee62b7c61492a1d206232a5db107ea0 Gerrit-Change-Number: 43100 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Comment-Date: Mon, 27 Jul 2026 17:14:42 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[XS] Change in osmo-sgsn[master]: sndcp: Remove unused variable
by fixeria 27 Jul '26

27 Jul '26
Attention is currently required from: pespin. fixeria has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/43099?usp=email ) Change subject: sndcp: Remove unused variable ...................................................................... Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/43099?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Change-Id: Ie2bd3d2935cd7e0ad023a163c9be9a05b83fbc5e Gerrit-Change-Number: 43099 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Comment-Date: Mon, 27 Jul 2026 17:14:28 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[XS] Change in libosmo-gprs[master]: sndcp: Remove unused variable
by fixeria 27 Jul '26

27 Jul '26
Attention is currently required from: pespin. fixeria has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/libosmo-gprs/+/43098?usp=email ) Change subject: sndcp: Remove unused variable ...................................................................... Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/libosmo-gprs/+/43098?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: libosmo-gprs Gerrit-Branch: master Gerrit-Change-Id: I110e3bca19f726382beff673bc91b494e0fba912 Gerrit-Change-Number: 43098 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Comment-Date: Mon, 27 Jul 2026 17:14:03 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[XS] Change in libosmocore[master]: tests/osmo_io: Remove unused variable
by fixeria 27 Jul '26

27 Jul '26
Attention is currently required from: pespin. fixeria has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/libosmocore/+/43097?usp=email ) Change subject: tests/osmo_io: Remove unused variable ...................................................................... Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/43097?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I0bdfe5ed6803042277ed8d21171b5f9c11495ca3 Gerrit-Change-Number: 43097 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Comment-Date: Mon, 27 Jul 2026 17:13:42 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[XS] Change in osmo-bts[master]: common: reset lchan meas state in gsm_lchan_release()
by fixeria 27 Jul '26

27 Jul '26
fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/42909?usp=email ) Change subject: common: reset lchan meas state in gsm_lchan_release() ...................................................................... common: reset lchan meas state in gsm_lchan_release() lchan->meas (including interf_meas_num and num_ul_meas) is normally only reset by lchan_meas_reset() called from rsl_tx_chan_act_ack() on RSL CHANNEL ACTIVATION. Idle logical channels are never RSL-activated, so their measurement state is never reset via that path. On an OML link re-establishment, osmo-bts does not exit: abis.c tears down the signalling links, the bts_shutdown FSM powers down all TRXs, and then waits for reconnect. The gsm_bts/trx/ts/lchan structures remain in memory, so stale interf_meas_num survives the reconnect. This is why we're seeing these ERRORs while running ttcn3-bts-test: (bts=0,trx=2,ts=4,ss=6) Not enough room to store interference report (0dBm) Add a lchan_meas_reset() call to gsm_lchan_release(), which is called from gsm_ts_release() when the nm_channel_fsm enters state NM_CHAN_ST_OP_DISABLED_NOTINSTALLED. This is exactly the right moment: the radio is fully stopped, so no new samples arrive. Change-Id: I18dc9d30417b0c5b2e579660d4a087d93445f956 AI-Assisted: yes (Claude) --- M src/common/lchan.c 1 file changed, 6 insertions(+), 0 deletions(-) Approvals: laforge: Looks good to me, but someone else must approve pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified fixeria: Looks good to me, approved diff --git a/src/common/lchan.c b/src/common/lchan.c index 1fdb3f1..65be89f 100644 --- a/src/common/lchan.c +++ b/src/common/lchan.c @@ -34,6 +34,7 @@ #include <osmo-bts/bts_model.h> #include <osmo-bts/asci.h> #include <osmo-bts/ta_control.h> +#include <osmo-bts/measurement.h> #include <errno.h> static const struct value_string lchan_s_names[] = { @@ -224,6 +225,11 @@ /* reset all Abis related config: */ memset(&lchan->abis_ip, 0, sizeof(lchan->abis_ip)); + /* Unconditionally reset measurement state to prevent stale + * interf_meas_num/num_ul_meas from accumulating across an OML + * link re-establishment (idle lchans skip RSL activation). */ + lchan_meas_reset(lchan); + /* FIXME: right now we allow creating the rtp_socket even if chan is not * activated... Once we check for that, we can move this check at the * start of the function */ -- To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/42909?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-bts Gerrit-Branch: master Gerrit-Change-Id: I18dc9d30417b0c5b2e579660d4a087d93445f956 Gerrit-Change-Number: 42909 Gerrit-PatchSet: 2 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: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
1 0
0 0
[XS] Change in osmo-bts[master]: common: reset lchan meas state in gsm_lchan_release()
by fixeria 27 Jul '26

27 Jul '26
Attention is currently required from: osmith, pespin. fixeria has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/osmo-bts/+/42909?usp=email ) Change subject: common: reset lchan meas state in gsm_lchan_release() ...................................................................... Patch Set 2: Code-Review+2 (1 comment) File src/common/gsm_data.c: https://gerrit.osmocom.org/c/osmo-bts/+/42909/comment/bde65705_4054d056?usp… : PS1, Line 344: lchan_meas_reset(lchan); > Moved to `gsm_lchan_release()`. Done -- To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/42909?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: I18dc9d30417b0c5b2e579660d4a087d93445f956 Gerrit-Change-Number: 42909 Gerrit-PatchSet: 2 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: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Attention: osmith <osmith(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Comment-Date: Mon, 27 Jul 2026 17:12:31 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de> Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
1 0
0 0
  • ← Newer
  • 1
  • ...
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • ...
  • 87
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.