aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/bsc
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-12-11 12:24:18 +0100
committerHarald Welte <laforge@gnumonks.org>2017-12-12 18:00:56 +0000
commit61b0c30cca80cba5522b172b884b2904b91eb516 (patch)
treeea76c34e9366eb00dfbe4f7214a068bf91f3c058 /include/osmocom/bsc
parentd382bf63e2b7e28fe41c5310c26fe584f0356897 (diff)
Generate SI2bis Rest Octets
According to the spec it's an empty 1-byte element reserved for future extension but we still have to generate padding properly. Add stub function similar to the used for SI2ter and adjust test output accordingly. Related: OS#2711 Change-Id: I3c278c57880a173df3c4648c9724339d23ce94fd
Diffstat (limited to 'include/osmocom/bsc')
-rw-r--r--include/osmocom/bsc/rest_octets.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/bsc/rest_octets.h b/include/osmocom/bsc/rest_octets.h
index ba25b6d06..f7ad682b7 100644
--- a/include/osmocom/bsc/rest_octets.h
+++ b/include/osmocom/bsc/rest_octets.h
@@ -10,6 +10,7 @@ struct gsm_bts;
int rest_octets_si1(uint8_t *data, uint8_t *nch_pos, int is1800_net);
int rest_octets_si2quater(uint8_t *data, struct gsm_bts *bts);
int rest_octets_si2ter(uint8_t *data);
+int rest_octets_si2bis(uint8_t *data);
int rest_octets_si6(uint8_t *data, bool is1800_net);
struct gsm48_si_selection_params {