Attention is currently required from: Timur Davydov, neels, pespin.
fixeria has posted comments on this change by Timur Davydov. ( https://gerrit.osmocom.org/c/libosmocore/+/41813?usp=email )
Change subject: Add Emscripten build support and JS callback logging backend
......................................................................
Patch Set 5:
(4 comments)
File src/core/osmo_io_internal.h:
https://gerrit.osmocom.org/c/libosmocore/+/41813/comment/c04eea48_c9ec41d6?… :
PS5, Line 7: HAVE_LIBSCTP
This comes from `config.h`, which is included below.
I believe you need to move the include above, otherwise this ifdef is always false.
File src/vty/logging_vty.c:
https://gerrit.osmocom.org/c/libosmocore/+/41813/comment/56a7df5e_043a9f62?… :
PS5, Line 1130:
No need for a space here.
https://gerrit.osmocom.org/c/libosmocore/+/41813/comment/8fc01b3e_525acbeb?… :
PS5, Line 1361: install_lib_element(CONFIG_NODE, &cfg_log_web_cmd);
: install_lib_element(CONFIG_NODE, &cfg_no_log_web_cmd);
I assume these commands are only relevant for emscripten?
```suggestion
#if defined(__EMSCRIPTEN__)
install_lib_element(CONFIG_NODE, &cfg_log_web_cmd);
install_lib_element(CONFIG_NODE, &cfg_no_log_web_cmd);
#endif /* defined(__EMSCRIPTEN__) */
```
File src/vty/telnet_interface_dummy.c:
https://gerrit.osmocom.org/c/libosmocore/+/41813/comment/388cadc4_6123c7f8?… :
PS5, Line 18: #include <sys/socket.h>
: #include <netinet/in.h>
: #include <errno.h>
: #include <stdlib.h>
: #include <stdio.h>
: #include <string.h>
: #i
(Not critical) Most if the includes are not needed here and can be removed?
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/41813?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: Ia8d5f4bb6570b5e055826f3a051e5e5896866e31
Gerrit-Change-Number: 41813
Gerrit-PatchSet: 5
Gerrit-Owner: Timur Davydov <dtv.comp(a)gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: Timur Davydov <dtv.comp(a)gmail.com>
Gerrit-Comment-Date: Sun, 11 Jan 2026 22:09:59 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/41791?usp=email )
Change subject: ta_control: Reset state during lchan deactivation
......................................................................
ta_control: Reset state during lchan deactivation
Otherwise next time the lchan is activated, its ta_ctrl.skip_block_num
will be different based on previous lchan state.
Change-Id: I2aacbbc5b2db46c17b1266b5b5e84d8286d0cf83
---
M src/common/lchan.c
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
diff --git a/src/common/lchan.c b/src/common/lchan.c
index 0afc294..7123cee 100644
--- a/src/common/lchan.c
+++ b/src/common/lchan.c
@@ -34,6 +34,7 @@
#include <osmo-bts/l1sap.h>
#include <osmo-bts/bts_model.h>
#include <osmo-bts/asci.h>
+#include <osmo-bts/ta_control.h>
#include <errno.h>
static const struct value_string lchan_s_names[] = {
@@ -325,6 +326,7 @@
lchan->pending_rel_ind_msg = NULL;
msgb_free(lchan->pending_chan_activ);
lchan->pending_chan_activ = NULL;
+ lchan_ms_ta_ctrl_reset(lchan);
/* fall through */
default:
if (lchan->early_rr_ia) {
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/41791?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: I2aacbbc5b2db46c17b1266b5b5e84d8286d0cf83
Gerrit-Change-Number: 41791
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Attention is currently required from: pespin.
laforge has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-bts/+/41792?usp=email )
Change subject: {bs,ms}_power_control: Add helper function to reset state
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/41792?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: I3e010a4ed72ba2574ce6c1316b8460689fc1d482
Gerrit-Change-Number: 41792
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Sun, 11 Jan 2026 22:02:40 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: pespin.
laforge has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-bts/+/41791?usp=email )
Change subject: ta_control: Reset state during lchan deactivation
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/41791?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: I2aacbbc5b2db46c17b1266b5b5e84d8286d0cf83
Gerrit-Change-Number: 41791
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Sun, 11 Jan 2026 22:02:24 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes