Attention is currently required from: fixeria.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/30619 )
Change subject: pdch: Introduce APIs to print PDCH name
......................................................................
Patch Set 2:
(1 comment)
File src/pdch.cpp:
https://gerrit.osmocom.org/c/osmo-pcu/+/30619/comment/aa14fd19_3d63aa0b
PS2, Line 1346: pdch_name_buf
> I still think it makes sense to do NULL checking here. […]
I am happy you agreed with Neels on doing that in another project/context; I really don't want to do this here.
I really want to track if at some point in code the TBF is expected and it's NULL. This is also useful for new readers which wish to understand the requirements in different parts of the code.
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/30619
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: If18cb4a48237751e0dddede6793191b36dfe386d
Gerrit-Change-Number: 30619
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: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 16 Dec 2022 11:48:32 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: laforge, pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/30613 )
Change subject: layer23: fix rx_l1_sim_conf(): msg->l2h is NULL, use msg->l1h
......................................................................
Patch Set 1:
(1 comment)
File src/host/layer23/src/common/l1ctl.c:
https://gerrit.osmocom.org/c/osmocom-bb/+/30613/comment/aeddd14d_5c167d7e
PS1, Line 742: LOGP(DL1C, LOGL_INFO, "SIM %s\n", osmo_hexdump(data, len));
> Independent of this patch, I think it's really worth having a special case inside osmo_hexdump to pr […]
If the pointer is NULL, it would return an empty line, see:
https://cgit.osmocom.org/libosmocore/tree/src/utils.c#n306
Not sure if we want to change this behavior.
(The segfault was actually caused by calling msgb_l2len() while l2h is NULL)
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/30613
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I7c68a3ad393be5fd0413e00e119a06db59672357
Gerrit-Change-Number: 30613
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 16 Dec 2022 11:46:54 +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: fixeria.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/30575 )
Change subject: Convert ms_first_common_ts to struct gprs_rlcmac_pdch
......................................................................
Patch Set 3:
(1 comment)
File src/gprs_ms.h:
https://gerrit.osmocom.org/c/osmo-pcu/+/30575/comment/f71e7daa_b6954f21
PS2, Line 68: _ts
> The problem is that '_ts' in this repo is still used for fields holding timeslot number in some plac […]
Yes, all integers holding a timeslot number should be called "tn" but they are not right now. My point is that there are so many things to fix, improve and clean up in osmo-pcu code that you cannot expect me to do all those at the same time or even in the same patchset. See as an example how many patches I already submitted to rearrange how the control timeslot is stored/passed over to avoid crashing when the TRX changes.
I'm basically doing this in bursts from time to time to let the new code settle for a while and to avoid chances of breaking stuff.
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/30575
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I19373939ec104d371e3e91422f018a8175cb0f89
Gerrit-Change-Number: 30575
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 16 Dec 2022 11:44:29 +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
Attention is currently required from: pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/30620 )
Change subject: Convert tbf->control_ts to be a gprs_rlcmac_pdch*
......................................................................
Patch Set 3:
(1 comment)
File src/pdch.cpp:
https://gerrit.osmocom.org/c/osmo-pcu/+/30620/comment/5ba35c1e_06c4775b
PS2, Line 1316: ts == pdch
> This is rather cosmetic and has to be applied in several places, so rather applies to an extra patch […]
Ack
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/30620
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I6a97b6528b2f9d78dfbca8fb97ab7c621f777fc7
Gerrit-Change-Number: 30620
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 16 Dec 2022 11:40:30 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/30619 )
Change subject: pdch: Introduce APIs to print PDCH name
......................................................................
Patch Set 2: Code-Review+1
(3 comments)
File src/pdch.h:
https://gerrit.osmocom.org/c/osmo-pcu/+/30619/comment/49026ac4_4fd3be33
PS1, Line 195: unsigned int
> size_t?
Done
File src/pdch.cpp:
https://gerrit.osmocom.org/c/osmo-pcu/+/30619/comment/55e21f85_62168255
PS1, Line 1339:
> " No newline at end of revision file. […]
Done
File src/pdch.cpp:
https://gerrit.osmocom.org/c/osmo-pcu/+/30619/comment/bf1b6ae5_6d352d9d
PS2, Line 1346: pdch_name_buf
I still think it makes sense to do NULL checking here. We had a similar discussion when Neels was refactoring osmo-{bsc,msc} and in the end after a few segfaults we agreed that doing NULL checking is better.
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/30619
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: If18cb4a48237751e0dddede6793191b36dfe386d
Gerrit-Change-Number: 30619
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: Fri, 16 Dec 2022 11:39:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/30575 )
Change subject: Convert ms_first_common_ts to struct gprs_rlcmac_pdch
......................................................................
Patch Set 3:
(1 comment)
File src/gprs_ms.h:
https://gerrit.osmocom.org/c/osmo-pcu/+/30575/comment/8ef325c4_4aa17b19
PS2, Line 68: _ts
> I thought about it already but I'm not sure it's really an improvement since the spec anyway talks a […]
The problem is that '_ts' in this repo is still used for fields holding timeslot number in some places ('_tn' would have been a better fit, IMO), this is why I suggested renaming. Let's see what the others think (ehh, if only we had more people doing code review). This can also be done later, not blocking.
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/30575
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I19373939ec104d371e3e91422f018a8175cb0f89
Gerrit-Change-Number: 30575
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 16 Dec 2022 11:32:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: comment