Attention is currently required from: fixeria, jolly.
Jenkins Builder has posted comments on this change by jolly. ( https://gerrit.osmocom.org/c/osmocom-bb/+/41360?usp=email )
Change subject: Indicate ER-GSM band support in MS classmark 3
......................................................................
Patch Set 2:
(1 comment)
File src/host/layer23/src/mobile/gsm48_rr.c:
Robot Comment from checkpatch (run ID ):
https://gerrit.osmocom.org/c/osmocom-bb/+/41360/comment/1427e33e_5ce9e729?u… :
PS2, Line 1508: if (set->er_gsm) {
braces {} are not necessary for any arm of this statement
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/41360?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Ica13814eddb5293c7d7a2a21dd6a7a437cd1d351
Gerrit-Change-Number: 41360
Gerrit-PatchSet: 2
Gerrit-Owner: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: jolly <andreas(a)eversberg.eu>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 06 Nov 2025 11:18:59 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Attention is currently required from: fixeria, jolly.
Hello Jenkins Builder, fixeria,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmocom-bb/+/41359?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Verified-1 by Jenkins Builder
Change subject: Add ER-GSM band support to all relevant applications
......................................................................
Add ER-GSM band support to all relevant applications
ER-GSM band expands the R-GSM band by additional 15 channels.
Mobile application allows to turn on or off the support of these 15
channels. ER-GSM band is supported by default.
Change-Id: I71baa3317df685cf6479b6e20e6ae078911aa24f
---
M src/host/layer23/include/osmocom/bb/common/settings.h
M src/host/layer23/include/osmocom/bb/common/support.h
M src/host/layer23/src/common/settings.c
M src/host/layer23/src/common/support.c
M src/host/layer23/src/common/sysinfo.c
M src/host/layer23/src/misc/bcch_scan.c
M src/host/layer23/src/misc/cell_log.c
M src/host/layer23/src/mobile/gsm48_rr.c
M src/host/layer23/src/mobile/vty_interface.c
M src/shared/libosmocore/src/gsm/gsm_utils.c
M src/target/firmware/apps/rssi/main.c
11 files changed, 38 insertions(+), 24 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/59/41359/2
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/41359?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I71baa3317df685cf6479b6e20e6ae078911aa24f
Gerrit-Change-Number: 41359
Gerrit-PatchSet: 2
Gerrit-Owner: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: jolly <andreas(a)eversberg.eu>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
jolly has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/41361?usp=email )
Change subject: Add ER-GSM band support
......................................................................
Add ER-GSM band support
ER-GSM band expands the R-GSM band by additional 15 channels, starting
from channel 940.
Change-Id: I0a9a2f64d9db65967699453c26ae282c4ddf4558
---
M src/osmo-bsc/bts.c
M src/osmo-bsc/system_information.c
2 files changed, 11 insertions(+), 11 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/61/41361/1
diff --git a/src/osmo-bsc/bts.c b/src/osmo-bsc/bts.c
index 2cc6153..77721fb 100644
--- a/src/osmo-bsc/bts.c
+++ b/src/osmo-bsc/bts.c
@@ -525,9 +525,9 @@
}
break;
case GSM_BAND_900:
- if ((bts->c0->arfcn > 124 && bts->c0->arfcn < 955) ||
+ if ((bts->c0->arfcn > 124 && bts->c0->arfcn < 940) ||
bts->c0->arfcn > 1023) {
- LOGP(DNM, LOGL_ERROR, "(bts=%u) GSM900 channel (%u) must be between 0-124, 955-1023.\n",
+ LOGP(DNM, LOGL_ERROR, "(bts=%u) GSM900 channel (%u) must be between 0-124, 940-1023.\n",
bts->nr, bts->c0->arfcn);
return -EINVAL;
}
diff --git a/src/osmo-bsc/system_information.c b/src/osmo-bsc/system_information.c
index b438a49..41c7b81 100644
--- a/src/osmo-bsc/system_information.c
+++ b/src/osmo-bsc/system_information.c
@@ -545,8 +545,8 @@
/* Check presence of E-GSM ARFCN 0 */
if (pgsm && bitvec_get_bit_pos(bv, 0) == ONE)
pgsm = false;
- /* Check presence of R-GSM / E-GSM ARFCNs 955..1023 */
- for (i = 955; pgsm && i <= 1023; i++) {
+ /* Check presence of R-GSM / E-GSM ARFCNs 940..1023 */
+ for (i = 940; pgsm && i <= 1023; i++) {
if (bitvec_get_bit_pos(bv, i) == ONE)
pgsm = false;
}
@@ -577,22 +577,22 @@
/* count the arfcns we want to carry */
arfcns += 1;
- /* 955..1023 < 0..885 */
+ /* 940..1023 < 0..885 */
if (min < 0)
min = i;
- if (i >= 955 && min < 955)
+ if (i >= 940 && min < 940)
min = i;
- if (i >= 955 && min >= 955 && i < min)
+ if (i >= 940 && min >= 940 && i < min)
min = i;
- if (i < 955 && min < 955 && i < min)
+ if (i < 940 && min < 940 && i < min)
min = i;
if (max < 0)
max = i;
- if (i < 955 && max >= 955)
+ if (i < 940 && max >= 940)
max = i;
- if (i >= 955 && max >= 955 && i > max)
+ if (i >= 940 && max >= 940 && i > max)
max = i;
- if (i < 955 && max < 955 && i > max)
+ if (i < 940 && max < 940 && i > max)
max = i;
}
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/41361?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I0a9a2f64d9db65967699453c26ae282c4ddf4558
Gerrit-Change-Number: 41361
Gerrit-PatchSet: 1
Gerrit-Owner: jolly <andreas(a)eversberg.eu>
Jenkins Builder has posted comments on this change by jolly. ( https://gerrit.osmocom.org/c/osmocom-bb/+/41360?usp=email )
Change subject: Indicate ER-GSM band support in MS classmark 3
......................................................................
Patch Set 1:
(1 comment)
File src/host/layer23/src/mobile/gsm48_rr.c:
Robot Comment from checkpatch (run ID ):
https://gerrit.osmocom.org/c/osmocom-bb/+/41360/comment/5c73b6f4_1d6ad8a4?u… :
PS1, Line 1508: if (set->er_gsm) {
braces {} are not necessary for any arm of this statement
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/41360?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Ica13814eddb5293c7d7a2a21dd6a7a437cd1d351
Gerrit-Change-Number: 41360
Gerrit-PatchSet: 1
Gerrit-Owner: jolly <andreas(a)eversberg.eu>
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Thu, 06 Nov 2025 10:51:30 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
jolly has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmocom-bb/+/41357?usp=email )
Change subject: Omit all-zero octets in MS Classmark 3
......................................................................
Omit all-zero octets in MS Classmark 3
TS 24.008 Clause 10.5.7.1 allows us to omit all-zero octets at the end
of the information element. The decoder will add them if needed.
Older specs tell us to include the supported bands, a5 bits and radio
capability. Therefore we don't omit them, even if their encoded octets
are all-zero.
Change-Id: I3f05893e60f37f349b77fbd15a20b7708c4c3481
---
M src/host/layer23/src/mobile/gsm48_rr.c
1 file changed, 13 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/57/41357/1
diff --git a/src/host/layer23/src/mobile/gsm48_rr.c b/src/host/layer23/src/mobile/gsm48_rr.c
index 1750c57..c04193c 100644
--- a/src/host/layer23/src/mobile/gsm48_rr.c
+++ b/src/host/layer23/src/mobile/gsm48_rr.c
@@ -1270,6 +1270,7 @@
struct gsm_support *sup = &ms->support;
struct gsm_settings *set = &ms->settings;
struct bitvec bv;
+ int minimum_len;
memset(&bv, 0, sizeof(bv));
bv.data = buf;
@@ -1328,6 +1329,8 @@
bitvec_set_uint(&bv, 0, 4);
bitvec_set_uint(&bv, set->class_900, 4);
}
+ /* These octets above shall be included according to GSM 04.08 Version 5.3.0. */
+ minimum_len = (bv.cur_bit + 7) >> 3;
/* r support */
if (set->r_gsm) {
bitvec_set_bit(&bv, ONE);
@@ -1442,6 +1445,16 @@
*len = (bv.cur_bit + 7) >> 3;
bitvec_fill(&bv, (*len*8) - bv.cur_bit, ZERO);
+ /* Remove all all-zero octets at the end. See the rule in Clause 10.5.7.1:
+ "Typically, the number of spare bits at the end is the minimum to reach an octet boundary.
+ The receiver may add any number of bits set to "0" at the end of the received string
+ if needed for correct decoding."
+ GSM 04.08 Version 5.3.0 states that spare octets after "octet 3" and "octet 3bis" may be omitted.
+ Note that "octet 3" refers to the first value (buf[0]) in this TLV information element.
+ */
+ while (*len > minimum_len && buf[*len - 1] == 0x00)
+ (*len)--;
+
return 0;
}
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/41357?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I3f05893e60f37f349b77fbd15a20b7708c4c3481
Gerrit-Change-Number: 41357
Gerrit-PatchSet: 1
Gerrit-Owner: jolly <andreas(a)eversberg.eu>
jolly has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmocom-bb/+/41358?usp=email )
Change subject: RSSI app: Use correct BSIC for RACH bursts
......................................................................
RSSI app: Use correct BSIC for RACH bursts
A regular RACH burst uses the BSIC of the cell. A 'uic' value of 0xff
does not override the BSIC with a wrong value.
Change-Id: I63ed20160d9d45cbc3f70cec8b1c0af262fdde19
---
M src/target/firmware/apps/rssi/main.c
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/58/41358/1
diff --git a/src/target/firmware/apps/rssi/main.c b/src/target/firmware/apps/rssi/main.c
index 29c5430..b407caf 100644
--- a/src/target/firmware/apps/rssi/main.c
+++ b/src/target/firmware/apps/rssi/main.c
@@ -1209,6 +1209,7 @@
rach_req->ra = rach_ra;
rach_req->offset = 0;
rach_req->combined = (ccch_conf == 1);
+ rach_req->uic = 0xff;
l1a_l23_rx(SC_DLCI_L1A_L23, msg1);
l1a_l23_rx(SC_DLCI_L1A_L23, msg2);
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/41358?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I63ed20160d9d45cbc3f70cec8b1c0af262fdde19
Gerrit-Change-Number: 41358
Gerrit-PatchSet: 1
Gerrit-Owner: jolly <andreas(a)eversberg.eu>