diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2021-04-14 23:45:01 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-06-01 20:00:51 +0200 |
commit | 829c8e505216210502571a79fe371cf49d805d7b (patch) | |
tree | 0b9397ddd1e3b5a9ea2e3dfe2d54487a9e1de6b3 /include/osmocom/bsc/system_information.h | |
parent | 858a0211a018386a54ea01dc4b34159bd527c8c5 (diff) |
Drop duplicated arfcn_range_encode.c available in libosmocore
This code is available in libosmocore since ~3 years ago
(fdf8b7b1beeb0cda262c5fb060a933aa7edb5e9a). Let's use it instead of
maintaining duplicated code which diverges over time.
Depends: osmo-bsc.git Iae058c35506bc25c9f4790889b89ac46aea664b6
(contains cherry-pick of bug fixed in osmo-bsc.git).
Change-Id: I53ad3067623077b6a8737c2a0aecc8b46bf71a15
Diffstat (limited to 'include/osmocom/bsc/system_information.h')
-rw-r--r-- | include/osmocom/bsc/system_information.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/bsc/system_information.h b/include/osmocom/bsc/system_information.h index e86a3493c..08d34f8bf 100644 --- a/include/osmocom/bsc/system_information.h +++ b/include/osmocom/bsc/system_information.h @@ -3,7 +3,7 @@ #include <osmocom/gsm/sysinfo.h> -#include <osmocom/bsc/arfcn_range_encode.h> +#include <osmocom/gsm/gsm48_arfcn_range_encode.h> struct gsm_bts; @@ -13,7 +13,7 @@ int gsm_generate_si(struct gsm_bts *bts, enum osmo_sysinfo_type type); size_t si2q_earfcn_count(const struct osmo_earfcn_si2q *e); unsigned range1024_p(unsigned n); unsigned range512_q(unsigned m); -int range_encode(enum gsm48_range r, int *arfcns, int arfcns_used, int *w, +int range_encode(enum osmo_gsm48_range r, int *arfcns, int arfcns_used, int *w, int f0, uint8_t *chan_list); uint8_t si2q_num(struct gsm_bts *bts); int bts_earfcn_add(struct gsm_bts *bts, uint16_t earfcn, uint8_t thresh_hi, uint8_t thresh_lo, uint8_t prio, |