aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/rest_octets.h
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-04-15 16:04:46 +0200
committerHarald Welte <laforge@gnumonks.org>2016-04-16 13:47:56 +0200
commit59a1bf3dae0d0a9e914d3c615c6aa7fc8955d7b5 (patch)
tree9cf34ba7801d64b98029dc0f2d571fe9cf88fab4 /openbsc/include/openbsc/rest_octets.h
parent5fa7e36bbc100c5cec4542280ca717ae4800b316 (diff)
Add basic SI2quater support
* support for sending arbitrary static SI2quater. * vty interface for neightbor EARFCNs specific to SI2quater. * dynamic generation of SI2quater messages. * unit test for SI2quater messages. Fixes: OS#1630
Diffstat (limited to 'openbsc/include/openbsc/rest_octets.h')
-rw-r--r--openbsc/include/openbsc/rest_octets.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/rest_octets.h b/openbsc/include/openbsc/rest_octets.h
index 9560b14c5..fd5ec6a74 100644
--- a/openbsc/include/openbsc/rest_octets.h
+++ b/openbsc/include/openbsc/rest_octets.h
@@ -1,10 +1,15 @@
#ifndef _REST_OCTETS_H
#define _REST_OCTETS_H
+#include <stdbool.h>
#include <openbsc/gsm_04_08.h>
+#include <osmocom/gsm/sysinfo.h>
/* generate SI1 rest octets */
int rest_octets_si1(uint8_t *data, uint8_t *nch_pos, int is1800_net);
+int rest_octets_si2quater(uint8_t *data,
+ const struct osmo_earfcn_si2q *e, bool uarfcn,
+ bool earfcn);
struct gsm48_si_selection_params {
uint16_t penalty_time:5,