Attention is currently required from: pespin.
osmith has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/34655?usp=email )
The change is no longer submittable: Code-Review is unsatisfied now.
Change subject: jobs/gerrit-verifications: Add osmo-epdg
......................................................................
Patch Set 1: -Code-Review
(1 comment)
Patchset:
PS1:
yep, see https://gitea.osmocom.org/osmocom/osmo-ci/src/branch/master/jobs/README.adoc
> jenkins-jobs update jobs/coverity.yml
as discussed, I'll merge it and deploy it
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/34655?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I84accfc5065ed2e780c4ecb77885af61bc6fb72f
Gerrit-Change-Number: 34655
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 05 Oct 2023 14:26:43 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: lynxis lazus, pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/34654?usp=email )
Change subject: Initial work to have proper app compilation and escript generation
......................................................................
Patch Set 2:
(2 comments)
File Makefile:
https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/34654/comment/31d8501b_09ef…
PS2, Line 14: rm -rf _build/
"No newline at end of right file."
(shouldn't the text editor add it automatically?)
File src/osmo_epdg.erl:
https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/34654/comment/caaaa1d0_2690…
PS2, Line 7: timer:sleep(infinity).
same here, missing newline (git is complaining)
--
To view, visit https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/34654?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: erlang/osmo-epdg
Gerrit-Branch: master
Gerrit-Change-Id: I83b9117a1d611a1b992ddf052450509f9bd16964
Gerrit-Change-Number: 34654
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Comment-Date: Thu, 05 Oct 2023 14:25:16 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
jolly has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmocom-bb/+/34657?usp=email )
Change subject: Fix selection of correct ARFCN at arfcn_from_freq_index()
......................................................................
Fix selection of correct ARFCN at arfcn_from_freq_index()
The selection of ARFCN is described in TS 44.018 §10.5.2.20.
The frequencies found in SI5 and SI5bis are counted first, in the
following order: ARFCN 1..1023,0.
The frequencies found in SI5ter are counted afterwards, in the following
order: ARFCN 1..1023,0.
Related: OS#5782
Change-Id: I090d84a5550d89743e8f5a886f400df6483f50d7
---
M src/host/layer23/src/common/sysinfo.c
1 file changed, 28 insertions(+), 15 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/57/34657/1
diff --git a/src/host/layer23/src/common/sysinfo.c b/src/host/layer23/src/common/sysinfo.c
index 356f8eb..f541c85 100644
--- a/src/host/layer23/src/common/sysinfo.c
+++ b/src/host/layer23/src/common/sysinfo.c
@@ -1078,30 +1078,25 @@
return 0;
}
-static int16_t arfcn_from_freq_index(struct gsm48_sysinfo *s, uint16_t index)
+/* Get ARFCN from BCCH allocation found in SI5/SI5bis an SI5ter. See TS 44.018 §10.5.2.20. */
+int16_t arfcn_from_freq_index(const struct gsm48_sysinfo *s, uint16_t index)
{
uint16_t arfcn, i = 0;
- /* First, search for the P-GSM ARFCN. */
- for (arfcn = 1; arfcn < 124; arfcn++) {
- if (!(s->freq[arfcn].mask & FREQ_TYPE_REP))
+ /* Search for ARFCN found in SI5 or SI5bis. (first sub list) */
+ for (arfcn = 1; arfcn <= 1024; arfcn++) {
+ if (!(s->freq[arfcn & 1023].mask & (FREQ_TYPE_REP_5 | FREQ_TYPE_REP_5bis)))
continue;
if (index == i++)
- return arfcn;
+ return arfcn & 1023;
}
- /* Second, search for ARFCN 0. */
- if ((s->freq[arfcn].mask & FREQ_TYPE_REP)) {
- if (index == i++)
- return arfcn;
- }
-
- /* Third, search for all other ARFCN. */
- for (arfcn = 125; arfcn < 1024; arfcn++) {
- if (!(s->freq[arfcn].mask & FREQ_TYPE_REP))
+ /* Search for ARFCN found in SI5ter. (second sub list) */
+ for (arfcn = 1; arfcn <= 1024; arfcn++) {
+ if (!(s->freq[arfcn & 1023].mask & FREQ_TYPE_REP_5ter))
continue;
if (index == i++)
- return arfcn;
+ return arfcn & 1023;
}
/* If not found, return EOF (-1) as idicator. */
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/34657?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I090d84a5550d89743e8f5a886f400df6483f50d7
Gerrit-Change-Number: 34657
Gerrit-PatchSet: 1
Gerrit-Owner: jolly <andreas(a)eversberg.eu>
Gerrit-MessageType: newchange