Attention is currently required from: pespin.
arehbein has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/31155 )
Change subject: common: Fix memleak in get_smscb_block()
......................................................................
Patch Set 6:
(2 comments)
File src/common/cbch.c:
https://gerrit.osmocom.org/c/osmo-bts/+/31155/comment/04347550_1a09e228
PS5, Line 142: block_type->lb = block_nr + 1 == msg->num_segs;
> Lots of missing parenthesis here, I first thought you were doing double assignment.
Done. So the linter should be updated then, I'm not getting a warning with the current one from `osmo-ci`
https://gerrit.osmocom.org/c/osmo-bts/+/31155/comment/7b62d79a_30267e2f
PS5, Line 150: } else
> you must keep {} in "else" if the "if" block has {} (coding style).
alright I'll keep it in mind from now on.. so it's beauty over brevity in this case
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/31155
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I3dc116d6c16c80b31712b2a969f0b2a6998b03f0
Gerrit-Change-Number: 31155
Gerrit-PatchSet: 6
Gerrit-Owner: arehbein <arehbein(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 03 Feb 2023 18:58:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
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/+/31155
to look at the new patch set (#6).
Change subject: common: Fix memleak in get_smscb_block()
......................................................................
common: Fix memleak in get_smscb_block()
Fix condition `block_nr == 4`, which was never reached, by effectively
replacing
- `4` by `msg->num_segs`, so we truly check if the current
block is the last of this message
- the index `block_nr` (which starts at zero) by `block_nr + 1`,
so it is comparable to `msg->num_segs`
Related: OS#5354
Change-Id: I3dc116d6c16c80b31712b2a969f0b2a6998b03f0
---
M src/common/cbch.c
1 file changed, 2 insertions(+), 6 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/55/31155/6
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/31155
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I3dc116d6c16c80b31712b2a969f0b2a6998b03f0
Gerrit-Change-Number: 31155
Gerrit-PatchSet: 6
Gerrit-Owner: arehbein <arehbein(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: arehbein <arehbein(a)sysmocom.de>
Gerrit-MessageType: newpatchset
dexter has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/31176 )
Change subject: WIP support for ericsson CCU
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
This is still WIP but comments are welcome.
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/31176
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I5c0a76667339ca984a12cbd2052f5d9e5b0f9c4d
Gerrit-Change-Number: 31176
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Fri, 03 Feb 2023 17:09:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Jenkins Builder has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/31176 )
Change subject: WIP support for ericsson CCU
......................................................................
Patch Set 1:
(10 comments)
File src/ericsson-rbs/er_ccu_descr.h:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-3270):
https://gerrit.osmocom.org/c/osmo-pcu/+/31176/comment/652d411e_2102611f
PS1, Line 8: typedef void (er_ccu_empty) (struct er_ccu_descr * ccu_descr);
"foo * bar" should be "foo *bar"
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-3270):
https://gerrit.osmocom.org/c/osmo-pcu/+/31176/comment/3fec219a_d6f9f60f
PS1, Line 9: typedef void (er_ccu_rx) (struct er_ccu_descr * ccu_descr, const ubit_t *bits, unsigned int num_bits);
"foo * bar" should be "foo *bar"
File src/ericsson-rbs/er_ccu_if.h:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-3270):
https://gerrit.osmocom.org/c/osmo-pcu/+/31176/comment/be7bda63_0f8ae665
PS1, Line 9: void er_ccu_if_tx(struct er_ccu_descr *ccu_descr, const ubit_t * bits, unsigned int num_bits);
"foo * bar" should be "foo *bar"
File src/ericsson-rbs/er_ccu_if.c:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-3270):
https://gerrit.osmocom.org/c/osmo-pcu/+/31176/comment/133609f7_1526e99f
PS1, Line 122: }
void function return statements are not generally useful
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-3270):
https://gerrit.osmocom.org/c/osmo-pcu/+/31176/comment/e9ae1010_95972c97
PS1, Line 232: if (!ccu_descr->trau_sync_fi) {
braces {} are not necessary for single statement blocks
File src/ericsson-rbs/er_ccu_l1_if.c:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-3270):
https://gerrit.osmocom.org/c/osmo-pcu/+/31176/comment/160a5c48_0e7f4bec
PS1, Line 178: "afn_ul=%u (computed) != afn_ul=%u (sync-ind) => delta=%u \n", afn_ul,
unnecessary whitespace before a quoted newline
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-3270):
https://gerrit.osmocom.org/c/osmo-pcu/+/31176/comment/3507490f_9949aa6b
PS1, Line 181: afn_ul));
Avoid multiple line dereference - prefer 'trau_frame.u.ccu_sync_ind.afn_ul'
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-3270):
https://gerrit.osmocom.org/c/osmo-pcu/+/31176/comment/635f8627_463bd23c
PS1, Line 184: "afn_dl=%u (computed) != afn_dl=%u (sync-ind) => delta=%u \n", afn_dl,
unnecessary whitespace before a quoted newline
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-3270):
https://gerrit.osmocom.org/c/osmo-pcu/+/31176/comment/a932cdc2_e85cffa1
PS1, Line 187: afn_dl));
Avoid multiple line dereference - prefer 'trau_frame.u.ccu_sync_ind.afn_dl'
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-3270):
https://gerrit.osmocom.org/c/osmo-pcu/+/31176/comment/349b0ec2_20b7d373
PS1, Line 248: /* We do not receive sync indications in every cycle. When traffic is transfered we won't get frame numbers
'transfered' may be misspelled - perhaps 'transferred'?
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/31176
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I5c0a76667339ca984a12cbd2052f5d9e5b0f9c4d
Gerrit-Change-Number: 31176
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Fri, 03 Feb 2023 17:09:25 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-abis/+/31175 )
Change subject: trau_pcu_ericsson: also support ER_UL_CHMOD_NB_UNKN in 16k mode.
......................................................................
trau_pcu_ericsson: also support ER_UL_CHMOD_NB_UNKN in 16k mode.
With EGPRS Ericsson introduced an "UNKN" demodulation mode for normal
bursts. This would instruct the CCU to listen for GSMK and PSK
modulation simultaniously. For 16k there is only GSMK and there would be
no need for such a mode. Lets support it in the API anyway in order to
simplify API usage. When the caller selects it, we just use
ER_UL_CHMOD_NB_GMSK then.
Change-Id: I8492a6d042bd7354b5dc34069030305fe39a731f
Related: OS#5198
---
M src/trau/trau_pcu_ericsson.c
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/75/31175/1
diff --git a/src/trau/trau_pcu_ericsson.c b/src/trau/trau_pcu_ericsson.c
index fa0d5da..3a5a6d5 100644
--- a/src/trau/trau_pcu_ericsson.c
+++ b/src/trau/trau_pcu_ericsson.c
@@ -579,6 +579,7 @@
/* Set demodulation in uplink (E3-E4) */
switch (ind->ul_chan_mode) {
case ER_UL_CHMOD_NB_GMSK:
+ case ER_UL_CHMOD_NB_UNKN:
trau_bits[28] = 0;
trau_bits[29] = 0;
break;
--
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/31175
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: I8492a6d042bd7354b5dc34069030305fe39a731f
Gerrit-Change-Number: 31175
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-MessageType: newchange
Attention is currently required from: laforge, daniel, lynxis lazus.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/30936 )
Change subject: gpsr_ns2_udp: Use osmo_io_fd instead of osmo_fd
......................................................................
Patch Set 4:
(3 comments)
File src/gb/gprs_ns2_udp.c:
https://gerrit.osmocom.org/c/libosmocore/+/30936/comment/f4e3b89c_75aa0ffd
PS4, Line 183: struct osmo_sockaddr *saddr)
wrong indentation
https://gerrit.osmocom.org/c/libosmocore/+/30936/comment/7284aa22_0018940d
PS4, Line 225: static void handle_nsip_sendmsg(struct osmo_io_fd *iofd, int res, struct msgb *msg)
if this is not needed, then pass a NULL pointer instead of this function?
https://gerrit.osmocom.org/c/libosmocore/+/30936/comment/820e7ce0_f644ed23
PS4, Line 272: .sendmsg_cb = &handle_nsip_sendmsg,
= NULL
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/30936
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Id776d2d9f35c304620f3d5b94492148dd987f5a0
Gerrit-Change-Number: 30936
Gerrit-PatchSet: 4
Gerrit-Owner: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: daniel <dwillmann(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Comment-Date: Fri, 03 Feb 2023 15:33:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment