jolly has uploaded this change for review.

View Change

Do not generate 'bit map 0' neighbor lists with R-GSM ARFCN

Before this patch, neighbor cells with ARFCN 955 to 974 were ignored in
the GSM 900 band. This resulted an empty 'bit map 0' list in SI2/SI5
messages.

This patch includes R-GSM ARFCN in range 955 to 974. A different encoding
is chosen, if neigboring cells fall within this range.

Change-Id: I40d024290fa4be2ba8d3149ec841b182d0cc8c1f
---
M src/osmo-bsc/system_information.c
1 file changed, 18 insertions(+), 2 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/02/34602/1
diff --git a/src/osmo-bsc/system_information.c b/src/osmo-bsc/system_information.c
index 799028e..94205aa 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 E-GSM ARFCNs 975..1023 */
- for (i = 975; pgsm && i <= 1023; i++) {
+ /* Check presence of R-GSM / E-GSM ARFCNs 955..1023 */
+ for (i = 955; pgsm && i <= 1023; i++) {
if (bitvec_get_bit_pos(bv, i) == ONE)
pgsm = false;
}

To view, visit change 34602. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I40d024290fa4be2ba8d3149ec841b182d0cc8c1f
Gerrit-Change-Number: 34602
Gerrit-PatchSet: 1
Gerrit-Owner: jolly <andreas@eversberg.eu>
Gerrit-MessageType: newchange