pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/32601 )
Change subject: deps/Makefile: Change remote gerrit->gitea for titan.ProtocolModules.BSSMAP
......................................................................
deps/Makefile: Change remote gerrit->gitea for titan.ProtocolModules.BSSMAP
It was decided that the preferred way to maintain our eclipse titan
forked repos is through gitea, not through gerrit. Hence, update the
remote to point to the gitea repo. The gerrit one will probably be
removed at some point.
Related: OS#6011
Change-Id: I69f8e207a28b8ea424d8fa4f23bdcaa3ba2e1345
---
M deps/Makefile
1 file changed, 18 insertions(+), 3 deletions(-)
Approvals:
pespin: Looks good to me, approved
osmith: Looks good to me, but someone else must approve
msuraev: Looks good to me, but someone else must approve
Jenkins Builder: Verified
diff --git a/deps/Makefile b/deps/Makefile
index b8b072e..d4f209a 100644
--- a/deps/Makefile
+++ b/deps/Makefile
@@ -67,10 +67,10 @@
titan.ProtocolEmulations.SCCP \
titan.ProtocolModules.BSSGP_v13.0.0
-OSMOGERRIT_REPOS= titan.ProtocolModules.BSSMAP \
- osmo-uecups
+OSMOGERRIT_REPOS= osmo-uecups
-OSMOGITEA_REPOS= titan.ProtocolModules.MAP \
+OSMOGITEA_REPOS= titan.ProtocolModules.BSSMAP \
+ titan.ProtocolModules.MAP \
titan.TestPorts.USB \
titan.TestPorts.AF_PACKET
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/32601
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I69f8e207a28b8ea424d8fa4f23bdcaa3ba2e1345
Gerrit-Change-Number: 32601
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: msuraev <msuraev(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged
pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/32603 )
Change subject: bbtransc/rcarrier: Fix statechg done twice upon NM_EV_RX_OPSTART
......................................................................
bbtransc/rcarrier: Fix statechg done twice upon NM_EV_RX_OPSTART
When the NM_EV_RX_OPSTART event is received, it will call bts model
specific function bts_model_opstart(), which is responisble for
answering back with NM_EV_OPSTART_ACK or NM_EV_OPSTART_NACK.
Since that answer could be done sequentially in same callback code path,
we could end up twice at the end of the st_op_disabled_offline()
function checking for statechg (due to reentring that function).
As a result, one can see the following message appear during OML
bring up:
nm_bb_transc_fsm.c:185 NM_BBTRANSC_OP(bts0-trx0){ENABLED}: transition to state ENABLED not permitted!
Fix the issue by avoiding ending up at the end of the function in code
paths which should not be triggering any change.
The case of bbtransc is a bit different than that of rcarrier for
NM_EV_RX_SETATTR, since the former really doesn't receive any such
message from the BSC yet, so if we checked for that one before
continuing, it would never go on.
Change-Id: I5184a33dd8da9244e8aacf3ab8bb8930f732a136
---
M src/common/nm_bb_transc_fsm.c
M src/common/nm_radio_carrier_fsm.c
2 files changed, 30 insertions(+), 4 deletions(-)
Approvals:
fixeria: Looks good to me, but someone else must approve
pespin: Looks good to me, approved
msuraev: Looks good to me, but someone else must approve
Jenkins Builder: Verified
diff --git a/src/common/nm_bb_transc_fsm.c b/src/common/nm_bb_transc_fsm.c
index d42130a..57ccdfa 100644
--- a/src/common/nm_bb_transc_fsm.c
+++ b/src/common/nm_bb_transc_fsm.c
@@ -136,7 +136,7 @@
&bb_transc->mo, bb_transc);
bb_transc->mo.setattr_success = rc == 0;
oml_fom_ack_nack_copy_msg(setattr_data->msg, rc);
- break;
+ return;
case NM_EV_RX_OPSTART:
#if 0
/* Disabled because osmo-bsc doesn't send SetAttr on BB_TRANSC object */
@@ -146,7 +146,7 @@
}
#endif
bts_model_opstart(trx->bts, &bb_transc->mo, bb_transc);
- break;
+ return;
case NM_EV_OPSTART_ACK:
bb_transc->mo.opstart_success = true;
oml_mo_opstart_ack(&bb_transc->mo);
diff --git a/src/common/nm_radio_carrier_fsm.c b/src/common/nm_radio_carrier_fsm.c
index d7590bc..851f71c 100644
--- a/src/common/nm_radio_carrier_fsm.c
+++ b/src/common/nm_radio_carrier_fsm.c
@@ -120,14 +120,14 @@
&trx->mo, trx);
trx->mo.setattr_success = rc == 0;
oml_fom_ack_nack_copy_msg(setattr_data->msg, rc);
- break;
+ break; /* check statechg below */
case NM_EV_RX_OPSTART:
if (!trx->mo.setattr_success) {
oml_mo_opstart_nack(&trx->mo, NM_NACK_CANT_PERFORM);
return;
}
bts_model_opstart(trx->bts, &trx->mo, trx);
- break;
+ return;
case NM_EV_OPSTART_ACK:
trx->mo.opstart_success = true;
oml_mo_opstart_ack(&trx->mo);
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/32603
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I5184a33dd8da9244e8aacf3ab8bb8930f732a136
Gerrit-Change-Number: 32603
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: msuraev <msuraev(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged
Attention is currently required from: laforge, fixeria, pespin.
daniel has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/32181 )
Change subject: tests: Add initial osmo_io tests
......................................................................
Patch Set 10:
(1 comment)
File tests/osmo_io/osmo_io_test.c:
https://gerrit.osmocom.org/c/libosmocore/+/32181/comment/3ba1e750_b3c9ef04
PS9, Line 95: for (int i = 0; i < 128; i++)
> Huh? Not sure about "we". I think we don't since we bumped the `-std` to `gnu11`. […]
I would like to keep those as is tbh. I was happy once we moved to a c std that supports those and I think it has other advantages as not cluttering the surrounding scope, you can't forget to remove the variable if you remove the loop.
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/32181
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ia67629e53f4d2e5784177250d58e268fdfcaa0c2
Gerrit-Change-Number: 32181
Gerrit-PatchSet: 10
Gerrit-Owner: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 05 May 2023 14:03:01 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment