summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/common
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2023-10-05 14:27:41 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2023-10-05 16:25:00 +0200
commit203014d74468fd401900e2ab1b20fc14752c3c76 (patch)
tree7a1928206034e0a844a98838a4827b771f9b81d7 /src/host/layer23/include/osmocom/bb/common
parentbeed281a0a85a1242be52b9fa45d8b880f2508bc (diff)
Fix indices of ARFCNs for measurement report
The order of ARFCNs are described in TS 44.018 ยง10.5.2.20. The function arfcn_from_freq_index() is re-used to get the ARFCNs in correct order for the report. Change-Id: I0674467eb5a38a341cf65f95a25aa5f7232df069
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/common')
-rw-r--r--src/host/layer23/include/osmocom/bb/common/sysinfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/common/sysinfo.h b/src/host/layer23/include/osmocom/bb/common/sysinfo.h
index 89d38ac5..9efb2485 100644
--- a/src/host/layer23/include/osmocom/bb/common/sysinfo.h
+++ b/src/host/layer23/include/osmocom/bb/common/sysinfo.h
@@ -219,5 +219,6 @@ int gsm48_decode_sysinfo13(struct gsm48_sysinfo *s,
int gsm48_decode_mobile_alloc(struct gsm_sysinfo_freq *freq,
const uint8_t *ma, uint8_t len,
uint16_t *hopping, uint8_t *hopp_len, int si4);
+int16_t arfcn_from_freq_index(const struct gsm48_sysinfo *s, uint16_t index);
#endif /* _SYSINFO_H */