aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/msc/system_information.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-09-04 15:04:35 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-09-06 16:41:25 +0200
commit90843964679f35ef4d11c2788debcba976f500bc (patch)
tree672a77bcb8fbdbc0ef95018769196a697480b1da /include/osmocom/msc/system_information.h
parent47cd0d2687e9711644008f3d6d1b829d763c520e (diff)
rename include/openbsc to include/osmocom/msc
Diffstat (limited to 'include/osmocom/msc/system_information.h')
-rw-r--r--include/osmocom/msc/system_information.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/osmocom/msc/system_information.h b/include/osmocom/msc/system_information.h
new file mode 100644
index 000000000..854b7e3ce
--- /dev/null
+++ b/include/osmocom/msc/system_information.h
@@ -0,0 +1,22 @@
+#ifndef _SYSTEM_INFO_H
+#define _SYSTEM_INFO_H
+
+#include <osmocom/gsm/sysinfo.h>
+
+#include <osmocom/msc/arfcn_range_encode.h>
+
+struct gsm_bts;
+
+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 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,
+ uint8_t qrx, uint8_t meas_bw);
+int bts_uarfcn_del(struct gsm_bts *bts, uint16_t arfcn, uint16_t scramble);
+int bts_uarfcn_add(struct gsm_bts *bts, uint16_t arfcn, uint16_t scramble,
+ bool diversity);
+#endif