Attention is currently required from: arehbein.
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-bts/+/32075
to look at the new patch set (#3).
Change subject: gsm_objclass2mo(): Change signature so we can obtain a nack cause in case of error
......................................................................
gsm_objclass2mo(): Change signature so we can obtain a nack cause in case of error
Depends on change (osmo-bts): Ia538e3f3d416408f69f9d8e6c8c746eddd9f005a
Change dependency can be removed if we adapt the function signature of the function removed by it; however that seems like unnecessary work for no good reason.
Related: OS#5961
Related: OS#5967
Change-Id: I37e6b23ed95260a8188910cf9754faffcba519c5
---
M include/osmo-bts/oml.h
M src/common/oml.c
M src/osmo-bts-lc15/oml.c
M src/osmo-bts-oc2g/oml.c
M src/osmo-bts-octphy/l1_oml.c
M src/osmo-bts-omldummy/bts_model.c
M src/osmo-bts-sysmo/oml.c
M src/osmo-bts-trx/l1_if.c
M src/osmo-bts-virtual/bts_model.c
9 files changed, 63 insertions(+), 25 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/75/32075/3
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/32075
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I37e6b23ed95260a8188910cf9754faffcba519c5
Gerrit-Change-Number: 32075
Gerrit-PatchSet: 3
Gerrit-Owner: arehbein <arehbein(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Attention: arehbein <arehbein(a)sysmocom.de>
Gerrit-MessageType: newpatchset
arehbein has uploaded a new patch set (#2). ( https://gerrit.osmocom.org/c/osmo-bts/+/32075 )
Change subject: gsm_objclass2mo(): Change signature so we can obtain a nack cause in case of error
......................................................................
gsm_objclass2mo(): Change signature so we can obtain a nack cause in case of error
Depends on change (osmo-bts): Ia538e3f3d416408f69f9d8e6c8c746eddd9f005a
Change dependency can be removed if we adapt the function signature of the function removed by it; however that seems like unnecessary work for no good reason.
Related: OS#5961
Related: OS#5967
Change-Id: I37e6b23ed95260a8188910cf9754faffcba519c5
---
M include/osmo-bts/oml.h
M src/common/oml.c
M src/osmo-bts-lc15/oml.c
M src/osmo-bts-oc2g/oml.c
M src/osmo-bts-octphy/l1_oml.c
M src/osmo-bts-omldummy/bts_model.c
M src/osmo-bts-sysmo/oml.c
M src/osmo-bts-trx/l1_if.c
M src/osmo-bts-virtual/bts_model.c
9 files changed, 55 insertions(+), 21 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/75/32075/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/32075
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I37e6b23ed95260a8188910cf9754faffcba519c5
Gerrit-Change-Number: 32075
Gerrit-PatchSet: 2
Gerrit-Owner: arehbein <arehbein(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-MessageType: newpatchset
Attention is currently required from: fixeria.
arehbein has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/1627 )
Change subject: tests/conv: separate test logic
......................................................................
Patch Set 4:
(1 comment)
File tests/conv/conv.c:
https://gerrit.osmocom.org/c/libosmocore/+/1627/comment/99699c9d_53b31686
PS4, Line 42: return -1;
> Yeah, it's tests. I would not be spending time fixing this.
Would it be possible to separate test code in Coverity from 'regular' code? I'd say that would make the Coverity issue list more useful
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/1627
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Idbdc7e19cb9b9a36cd1fccd621cd858e87530d98
Gerrit-Change-Number: 1627
Gerrit-PatchSet: 4
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: tnt <tnt(a)246tNt.com>
Gerrit-CC: arehbein <arehbein(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Sun, 26 Mar 2023 22:07:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: arehbein <arehbein(a)sysmocom.de>
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: comment
arehbein has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/32073 )
Change subject: gsm_objclass2mo(): First check if TRX number is valid
......................................................................
gsm_objclass2mo(): First check if TRX number is valid
This is the first step in fixing the error handling w.r.t. NACK messages. The next step will be to have the function to receive an additional out-parameter that contains the cause of error if this function fails.
Related: OS#5961
Related: OS#5967
Change-Id: I9f21f1a0a9dab897d4fd89ab6b7341ca4aec8b22
---
M src/common/oml.c
1 file changed, 26 insertions(+), 13 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/73/32073/1
diff --git a/src/common/oml.c b/src/common/oml.c
index 724e4f8..ff3d0e9 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -1614,30 +1614,30 @@
{
struct gsm_bts_trx *trx;
struct gsm_abis_mo *mo = NULL;
-
+ /* Handle finding TRX number first */
+ switch (obj_class) {
+ case NM_OC_RADIO_CARRIER:
+ case NM_OC_BASEB_TRANSC:
+ case NM_OC_CHANNEL:
+ case NM_OC_GPRS_NSVC:
+ if (obj_inst->trx_nr >= bts->num_trx)
+ return NULL;
+ if (!(trx = gsm_bts_trx_num(bts, obj_inst->trx_nr)))
+ return NULL;
+ break;
+ }
+ /* Other cases, set mo */
switch (obj_class) {
case NM_OC_BTS:
mo = &bts->mo;
break;
case NM_OC_RADIO_CARRIER:
- if (obj_inst->trx_nr >= bts->num_trx) {
- return NULL;
- }
- trx = gsm_bts_trx_num(bts, obj_inst->trx_nr);
mo = &trx->mo;
break;
case NM_OC_BASEB_TRANSC:
- if (obj_inst->trx_nr >= bts->num_trx) {
- return NULL;
- }
- trx = gsm_bts_trx_num(bts, obj_inst->trx_nr);
mo = &trx->bb_transc.mo;
break;
case NM_OC_CHANNEL:
- if (obj_inst->trx_nr >= bts->num_trx) {
- return NULL;
- }
- trx = gsm_bts_trx_num(bts, obj_inst->trx_nr);
if (obj_inst->ts_nr >= TRX_NR_TS)
return NULL;
mo = &trx->ts[obj_inst->ts_nr].mo;
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/32073
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I9f21f1a0a9dab897d4fd89ab6b7341ca4aec8b22
Gerrit-Change-Number: 32073
Gerrit-PatchSet: 1
Gerrit-Owner: arehbein <arehbein(a)sysmocom.de>
Gerrit-MessageType: newchange
Attention is currently required from: neels.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-msc/+/32069 )
Change subject: 3G: decapsulate IuUP to AMR at the MGW; allow 3G<-AMR->2G
......................................................................
Patch Set 1: Code-Review+1
(1 comment)
Commit Message:
https://gerrit.osmocom.org/c/osmo-msc/+/32069/comment/02aad75a_26066248
PS1, Line 9: plain AMR/RTP on the MSC's MGW hop.
I presume by this you mean the "core" side connection of the msc-colocated MGW? I.e. what in a MO-to-MT call is the RTP between the two endpoints on the msc-colocated MGW - or in other words, the side that would get passed to an external SIP side if osmo-sip-connector is in use?
--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/32069
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I386a6a426c318040b019ab5541689c67e94672a1
Gerrit-Change-Number: 32069
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Comment-Date: Sun, 26 Mar 2023 20:37:50 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment