Change in osmo-bts[master]: osmo-bts-trx: report interference levels to the upper layers

laforge gerrit-no-reply at lists.osmocom.org
Thu Jun 10 12:37:32 UTC 2021


laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/24613 )

Change subject: osmo-bts-trx: report interference levels to the upper layers
......................................................................


Patch Set 1: Code-Review+1

(1 comment)

https://gerrit.osmocom.org/c/osmo-bts/+/24613/1/include/osmo-bts/scheduler.h 
File include/osmo-bts/scheduler.h:

https://gerrit.osmocom.org/c/osmo-bts/+/24613/1/include/osmo-bts/scheduler.h@138 
PS1, Line 138: 		struct l1sched_meas_set buf[8]; /* up to 8 entries */
> Maybe replacing the 8 with a define constant makes sense?
unless that magic number is repeated later in the code (I didn't see that) it is ok.  Using 8 here and ARRAY_SIZE() later is perfectly fine, as the size is defined in a single place in the code and not multiple places.



-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/24613
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I4686448e42a40df56c1d27a14fd0a4d43fd144a5
Gerrit-Change-Number: 24613
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Hoernchen <ewild at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-Comment-Date: Thu, 10 Jun 2021 12:37:32 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: dexter <pmaier at sysmocom.de>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210610/7736951b/attachment.htm>


More information about the gerrit-log mailing list