blob: 170d88455c087f47f3fbb3272f1b99e748b41ce2 [file] [log] [blame]
Harald Welte52b1f982008-12-23 20:25:15 +00001#ifndef _GSM_DATA_H
2#define _GSM_DATA_H
3
Harald Weltef142c972011-05-24 13:25:38 +02004#include <stdint.h>
Maxddee01f2016-05-24 14:23:27 +02005#include <regex.h>
6#include <sys/types.h>
Maxe6052c42016-06-30 10:25:49 +02007#include <stdbool.h>
Harald Weltef142c972011-05-24 13:25:38 +02008
9#include <osmocom/core/timer.h>
Alexander Couzens20423ea2016-07-12 15:42:02 +020010#include <osmocom/core/rate_ctr.h>
Harald Welte6be350c2011-05-25 13:10:08 +020011#include <osmocom/core/select.h>
Alexander Couzens20423ea2016-07-12 15:42:02 +020012#include <osmocom/core/stats.h>
Alexander Couzensefa7b972019-04-27 23:45:37 +020013#include <osmocom/core/stat_item.h>
Max43b01b02017-09-15 11:22:30 +020014#include <osmocom/gsm/gsm48.h>
Harald Welte121e9a42016-04-20 13:13:19 +020015#include <osmocom/crypt/auth.h>
Harald Weltef142c972011-05-24 13:25:38 +020016
Neels Hofmeyr6c8afe12017-09-04 01:03:58 +020017#include <osmocom/mgcp_client/mgcp_client.h>
Harald Welteb96be392011-05-25 12:33:33 +020018
Neels Hofmeyr79921222018-11-30 01:46:51 +010019#include <osmocom/msc/msc_common.h>
Neels Hofmeyrc4628a32018-12-07 14:47:34 +010020#include <osmocom/msc/neighbor_ident.h>
Neels Hofmeyr79921222018-11-30 01:46:51 +010021
Harald Welted35038d2018-01-25 00:07:33 +010022#include "gsm_data_shared.h"
Pau Espin Pedrol4faff9e2019-05-06 19:29:11 +020023#include "osmux.h"
Harald Welted35038d2018-01-25 00:07:33 +010024
Holger Hans Peter Freytherd7b22c62013-04-29 09:11:02 +020025/** annotations for msgb ownership */
26#define __uses
27
Holger Hans Peter Freyther694c82d2011-10-26 18:37:09 +020028struct mncc_sock_state;
Harald Welte2483f1b2016-06-19 18:06:02 +020029struct vlr_instance;
30struct vlr_subscr;
Neels Hofmeyrc4628a32018-12-07 14:47:34 +010031struct gsup_client_mux;
Holger Hans Peter Freyther694c82d2011-10-26 18:37:09 +020032
Keith Whyte1587ffb2020-08-28 13:36:58 +020033#define SMS_DEFAULT_DB_FILE_PATH "sms.db"
Neels Hofmeyr0e5d8072017-01-10 00:49:56 +010034#define tmsi_from_string(str) strtoul(str, NULL, 10)
35
Alexander Couzensb847a212016-08-02 11:34:11 +020036enum {
Alexander Couzens20423ea2016-07-12 15:42:02 +020037 MSC_CTR_LOC_UPDATE_TYPE_ATTACH,
38 MSC_CTR_LOC_UPDATE_TYPE_NORMAL,
39 MSC_CTR_LOC_UPDATE_TYPE_PERIODIC,
40 MSC_CTR_LOC_UPDATE_TYPE_DETACH,
Neels Hofmeyr36891a72016-05-09 13:18:03 +020041 MSC_CTR_LOC_UPDATE_FAILED,
42 MSC_CTR_LOC_UPDATE_COMPLETED,
Neels Hofmeyre3d3dc62018-03-31 00:02:14 +020043 MSC_CTR_CM_SERVICE_REQUEST_REJECTED,
44 MSC_CTR_CM_SERVICE_REQUEST_ACCEPTED,
45 MSC_CTR_PAGING_RESP_REJECTED,
46 MSC_CTR_PAGING_RESP_ACCEPTED,
Neels Hofmeyrae98b972021-07-27 03:46:49 +020047 MSC_CTR_CM_RE_ESTABLISH_REQ_REJECTED,
48 MSC_CTR_CM_RE_ESTABLISH_REQ_ACCEPTED,
Alexander Couzens20423ea2016-07-12 15:42:02 +020049 MSC_CTR_SMS_SUBMITTED,
50 MSC_CTR_SMS_NO_RECEIVER,
51 MSC_CTR_SMS_DELIVERED,
52 MSC_CTR_SMS_RP_ERR_MEM,
53 MSC_CTR_SMS_RP_ERR_OTHER,
Alexander Couzensaa386d22016-08-21 20:16:33 +020054 MSC_CTR_SMS_DELIVER_UNKNOWN_ERROR,
Alexander Couzens20423ea2016-07-12 15:42:02 +020055 MSC_CTR_CALL_MO_SETUP,
56 MSC_CTR_CALL_MO_CONNECT_ACK,
57 MSC_CTR_CALL_MT_SETUP,
58 MSC_CTR_CALL_MT_CONNECT,
Alexander Couzens92f552f2016-08-23 07:32:27 +020059 MSC_CTR_CALL_ACTIVE,
60 MSC_CTR_CALL_COMPLETE,
61 MSC_CTR_CALL_INCOMPLETE,
Vadim Yanitskiy8e25cc52018-06-23 03:32:20 +070062 MSC_CTR_NC_SS_MO_REQUESTS,
63 MSC_CTR_NC_SS_MO_ESTABLISHED,
64 MSC_CTR_NC_SS_MT_REQUESTS,
65 MSC_CTR_NC_SS_MT_ESTABLISHED,
Max366390d2018-11-02 16:01:03 +010066 MSC_CTR_BSSMAP_CIPHER_MODE_REJECT,
67 MSC_CTR_BSSMAP_CIPHER_MODE_COMPLETE,
Alexander Couzens20423ea2016-07-12 15:42:02 +020068};
69
70static const struct rate_ctr_desc msc_ctr_description[] = {
Vadim Yanitskiybc7dabd2019-11-23 01:37:51 +070071 [MSC_CTR_LOC_UPDATE_TYPE_ATTACH] = {"loc_update_type:attach", "Received Location Update (IMSI Attach) requests."},
72 [MSC_CTR_LOC_UPDATE_TYPE_NORMAL] = {"loc_update_type:normal", "Received Location Update (LAC change) requests."},
73 [MSC_CTR_LOC_UPDATE_TYPE_PERIODIC] = {"loc_update_type:periodic", "Received (periodic) Location Update requests."},
74 [MSC_CTR_LOC_UPDATE_TYPE_DETACH] = {"loc_update_type:detach", "Received IMSI Detach indications."},
75 [MSC_CTR_LOC_UPDATE_FAILED] = {"loc_update_resp:failed", "Rejected Location Update requests."},
76 [MSC_CTR_LOC_UPDATE_COMPLETED] = {"loc_update_resp:completed", "Successful Location Update procedures."},
Vadim Yanitskiyc6b088b2019-12-01 23:15:49 +070077 [MSC_CTR_CM_SERVICE_REQUEST_REJECTED] = {"cm_service_request:rejected", "Rejected CM Service Requests."},
78 [MSC_CTR_CM_SERVICE_REQUEST_ACCEPTED] = {"cm_service_request:accepted", "Accepted CM Service Requests."},
79 [MSC_CTR_PAGING_RESP_REJECTED] = {"paging_resp:rejected", "Rejected Paging Responses."},
80 [MSC_CTR_PAGING_RESP_ACCEPTED] = {"paging_resp:accepted", "Accepted Paging Responses."},
Neels Hofmeyrae98b972021-07-27 03:46:49 +020081 [MSC_CTR_CM_RE_ESTABLISH_REQ_REJECTED] = {"cm_re_establish_request:rejected", "Rejected CM Re-Establishing Requests."},
82 [MSC_CTR_CM_RE_ESTABLISH_REQ_ACCEPTED] = {"cm_re_establish_request:accepted", "Accepted CM Re-Establishing Requests."},
Vadim Yanitskiy1ce842d2019-11-23 01:24:08 +070083 [MSC_CTR_SMS_SUBMITTED] = {"sms:submitted", "Total MO SMS received from the MS."},
84 [MSC_CTR_SMS_NO_RECEIVER] = {"sms:no_receiver", "Failed MO SMS delivery attempts (no receiver found)."},
85 [MSC_CTR_SMS_DELIVER_UNKNOWN_ERROR] = {"sms:deliver_unknown_error", "Failed MO SMS delivery attempts (other reason)."},
86 /* FIXME: "sms:delivered" should actually count number of _successfully_ delivered MT SMS.
87 * The current description reflects its current (errorneous) behaviour. */
88 [MSC_CTR_SMS_DELIVERED] = {"sms:delivered", "Total MT SMS delivery attempts."},
89 [MSC_CTR_SMS_RP_ERR_MEM] = {"sms:rp_err_mem", "Failed MT SMS delivery attempts (no memory)."},
90 [MSC_CTR_SMS_RP_ERR_OTHER] = {"sms:rp_err_other", "Failed MT SMS delivery attempts (other reason)."},
Vadim Yanitskiy14480522019-12-01 23:12:38 +070091 [MSC_CTR_CALL_MO_SETUP] = {"call:mo_setup", "Received MO SETUP messages (MO call establishment)."},
92 [MSC_CTR_CALL_MO_CONNECT_ACK] = {"call:mo_connect_ack", "Received MO CONNECT messages (MO call establishment)."},
93 [MSC_CTR_CALL_MT_SETUP] = {"call:mt_setup", "Sent MT SETUP messages (MT call establishment)."},
94 [MSC_CTR_CALL_MT_CONNECT] = {"call:mt_connect", "Sent MT CONNECT messages (MT call establishment)."},
95 [MSC_CTR_CALL_ACTIVE] = {"call:active", "Calls that ever reached the active state."},
96 [MSC_CTR_CALL_COMPLETE] = {"call:complete", "Calls terminated by DISCONNECT message after reaching the active state."},
97 [MSC_CTR_CALL_INCOMPLETE] = {"call:incomplete", "Calls terminated by any other reason after reaching the active state."},
Vadim Yanitskiy8e25cc52018-06-23 03:32:20 +070098 [MSC_CTR_NC_SS_MO_REQUESTS] = {"nc_ss:mo_requests", "Received MS-initiated call independent SS/USSD requests."},
99 [MSC_CTR_NC_SS_MO_ESTABLISHED] = {"nc_ss:mo_established", "Established MS-initiated call independent SS/USSD sessions."},
100 [MSC_CTR_NC_SS_MT_REQUESTS] = {"nc_ss:mt_requests", "Received network-initiated call independent SS/USSD requests."},
101 [MSC_CTR_NC_SS_MT_ESTABLISHED] = {"nc_ss:mt_established", "Established network-initiated call independent SS/USSD sessions."},
Max366390d2018-11-02 16:01:03 +0100102 [MSC_CTR_BSSMAP_CIPHER_MODE_REJECT] = {"bssmap:cipher_mode_reject", "Number of CIPHER MODE REJECT messages processed by BSSMAP layer"},
103 [MSC_CTR_BSSMAP_CIPHER_MODE_COMPLETE] = {"bssmap:cipher_mode_complete", "Number of CIPHER MODE COMPLETE messages processed by BSSMAP layer"},
Alexander Couzensb847a212016-08-02 11:34:11 +0200104};
105
Alexander Couzensefa7b972019-04-27 23:45:37 +0200106enum {
107 MSC_STAT_ACTIVE_CALLS,
108 MSC_STAT_ACTIVE_NC_SS,
109};
110
Alexander Couzens20423ea2016-07-12 15:42:02 +0200111static const struct rate_ctr_group_desc msc_ctrg_desc = {
112 "msc",
113 "mobile switching center",
114 OSMO_STATS_CLASS_GLOBAL,
115 ARRAY_SIZE(msc_ctr_description),
116 msc_ctr_description,
Harald Welte24ff6ee2009-12-22 00:41:05 +0100117};
118
Alexander Couzensefa7b972019-04-27 23:45:37 +0200119static const struct osmo_stat_item_desc msc_stat_item_description[] = {
120 [MSC_STAT_ACTIVE_CALLS] = { "msc.active_calls", "Currently active calls " , OSMO_STAT_ITEM_NO_UNIT, 4, 0},
121 [MSC_STAT_ACTIVE_NC_SS] = { "msc.active_nc_ss", "Currently active SS/USSD sessions", OSMO_STAT_ITEM_NO_UNIT, 4, 0},
122};
123
124static const struct osmo_stat_item_group_desc msc_statg_desc = {
125 "net",
126 "network statistics",
127 OSMO_STATS_CLASS_GLOBAL,
128 ARRAY_SIZE(msc_stat_item_description),
129 msc_stat_item_description,
130};
131
Neels Hofmeyr2ff5bcd2017-12-15 03:02:27 +0100132#define MSC_PAGING_RESPONSE_TIMER_DEFAULT 10
Harald Welteb84ddfc2009-12-01 17:36:54 +0530133
Neels Hofmeyr73983952016-05-10 13:29:33 +0200134struct gsm_tz {
135 int override; /* if 0, use system's time zone instead. */
136 int hr; /* hour */
137 int mn; /* minute */
138 int dst; /* daylight savings */
139};
140
Harald Welte52b1f982008-12-23 20:25:15 +0000141struct gsm_network {
Neels Hofmeyre2f24d52017-05-08 15:12:20 +0200142 /* TODO MSCSPLIT the gsm_network struct is basically a kitchen sink for
143 * global settings and variables, "madly" mixing BSC and MSC stuff. Split
144 * this in e.g. struct osmo_bsc and struct osmo_msc, with the things
145 * these have in common, like country and network code, put in yet
146 * separate structs and placed as members in osmo_bsc and osmo_msc. */
147
Neels Hofmeyr379d5792018-02-22 04:04:54 +0100148 struct osmo_plmn_id plmn;
149
Harald Weltec6ba9c22008-12-30 18:01:02 +0000150 char *name_long;
151 char *name_short;
Neels Hofmeyr379d5792018-02-22 04:04:54 +0100152
Harald Welte7b222aa2017-12-23 19:30:32 +0100153 /* bit-mask of permitted encryption algorithms. LSB=A5/0, MSB=A5/7 */
154 uint8_t a5_encryption_mask;
Harald Welte2483f1b2016-06-19 18:06:02 +0200155 bool authentication_required;
Harald Welte648b6ce2009-12-14 09:00:24 +0100156 int send_mm_info;
Harald Welte52b1f982008-12-23 20:25:15 +0000157
Neels Hofmeyr4dfb2ba2019-08-13 16:00:37 +0200158 /* Whether to use encryption on UTRAN.
159 * TODO: we should offer a choice of UEA1 and/or UEA2, and probably replace this bool with a bit-mask of
160 * permitted Iu encryption algorithms. See also OS#4143 and the 'encryption uea' vty command. */
161 bool uea_encryption;
162
Alexander Couzensb847a212016-08-02 11:34:11 +0200163 struct rate_ctr_group *msc_ctrs;
Alexander Couzensefa7b972019-04-27 23:45:37 +0200164 struct osmo_stat_item_group *statg;
Harald Welte24ff6ee2009-12-22 00:41:05 +0100165
Harald Welte4bfdfe72009-06-10 23:11:52 +0800166 /* layer 4 */
Neels Hofmeyr80447eb2018-12-05 01:11:28 +0100167 char *mncc_sock_path;
Holger Hans Peter Freyther694c82d2011-10-26 18:37:09 +0200168 struct mncc_sock_state *mncc_state;
Neels Hofmeyr402006d2016-05-11 14:28:25 +0200169 mncc_recv_cb_t mncc_recv;
Harald Welte4bfdfe72009-06-10 23:11:52 +0800170 struct llist_head upqueue;
Neels Hofmeyrc4628a32018-12-07 14:47:34 +0100171 struct osmo_tdef *mncc_tdefs;
Neels Hofmeyr84da6b12016-05-20 21:59:55 +0200172 /*
Neels Hofmeyrc036b792018-11-29 22:37:51 +0100173 * TODO: Move the trans_list into the RAN connection and
Neels Hofmeyr84da6b12016-05-20 21:59:55 +0200174 * create a pending list for MT transactions. These exist before
Neels Hofmeyrc036b792018-11-29 22:37:51 +0100175 * we have a RAN connection.
Neels Hofmeyr84da6b12016-05-20 21:59:55 +0200176 */
Harald Welte4bfdfe72009-06-10 23:11:52 +0800177 struct llist_head trans_list;
178
Harald Welteeab84a12009-12-13 10:53:12 +0100179 /* Radio Resource Location Protocol (TS 04.31) */
180 struct {
181 enum rrlp_mode mode;
182 } rrlp;
Holger Hans Peter Freyther5a3a61d2010-09-06 09:25:48 +0800183
Holger Hans Peter Freyther11b28f92010-12-24 13:48:27 +0100184 struct gsm_sms_queue *sms_queue;
Daniel Willmann6fc4a982011-07-22 17:55:42 +0200185
Vadim Yanitskiyf40e46f2018-11-20 06:20:53 +0700186 /* The "SMS over GSUP" kill-switch that basically breaks internal
187 * SMS routing (i.e. SQLite DB and SMPP), and enables forwarding
188 * of short messages over GSUP towards ESME (through VLR and HLR).
189 * Please see OS#3587 for details. This is a temporary solution,
190 * so it should be removed as soon as we move the SMS processing
191 * logic to an external process (OsmoSMSC?). REMOVE ME! */
192 bool sms_over_gsup;
193
Daniel Willmann6fc4a982011-07-22 17:55:42 +0200194 /* control interface */
195 struct ctrl_handle *ctrl;
Neels Hofmeyr5f0c71b2016-07-23 20:15:28 +0200196
Neels Hofmeyr73983952016-05-10 13:29:33 +0200197 /* if override is nonzero, this timezone data is used for all MM
198 * contexts. */
199 /* TODO: in OsmoNITB, tz-override used to be BTS-specific. To enable
200 * BTS|RNC specific timezone overrides for multi-tz networks in
Neels Hofmeyrfe291de2017-02-23 21:06:12 +0100201 * OsmoMSC, this should be tied to the location area code (LAC). */
Neels Hofmeyr73983952016-05-10 13:29:33 +0200202 struct gsm_tz tz;
Neels Hofmeyr6d804b12017-02-18 22:20:46 +0100203
Harald Welte2483f1b2016-06-19 18:06:02 +0200204 /* MSC: GSUP server address of the HLR */
205 const char *gsup_server_addr_str;
206 uint16_t gsup_server_port;
Neels Hofmeyrc4628a32018-12-07 14:47:34 +0100207 struct gsup_client_mux *gcm;
Harald Welte2483f1b2016-06-19 18:06:02 +0200208
209 struct vlr_instance *vlr;
Neels Hofmeyre2f24d52017-05-08 15:12:20 +0200210
Philipp Maier9ca7b312018-10-10 17:00:49 +0200211 /* Global MNCC guard timer value */
212 int mncc_guard_timeout;
Vadim Yanitskiy64623e12018-11-28 23:05:51 +0700213 /* Global guard timer value for NCSS sessions */
214 int ncss_guard_timeout;
Philipp Maier9ca7b312018-10-10 17:00:49 +0200215
Neels Hofmeyr84da6b12016-05-20 21:59:55 +0200216 struct {
Neels Hofmeyrc4628a32018-12-07 14:47:34 +0100217 struct osmo_tdef *tdefs;
Neels Hofmeyr6c8afe12017-09-04 01:03:58 +0200218 struct mgcp_client_conf conf;
219 struct mgcp_client *client;
220 } mgw;
Neels Hofmeyr84da6b12016-05-20 21:59:55 +0200221
222 struct {
Philipp Maierfbf66102017-04-09 12:32:51 +0200223 /* CS7 instance id number (set via VTY) */
224 uint32_t cs7_instance;
Neels Hofmeyrc4628a32018-12-07 14:47:34 +0100225 enum nsap_addr_enc rab_assign_addr_enc;
226
227 struct sccp_ran_inst *sri;
Neels Hofmeyr84da6b12016-05-20 21:59:55 +0200228 } iu;
Philipp Maierfbf66102017-04-09 12:32:51 +0200229
230 struct {
231 /* CS7 instance id number (set via VTY) */
232 uint32_t cs7_instance;
Neels Hofmeyrc4628a32018-12-07 14:47:34 +0100233
234 struct sccp_ran_inst *sri;
Philipp Maierfbf66102017-04-09 12:32:51 +0200235 } a;
Harald Welte69c54a82018-02-09 20:41:14 +0100236
237 struct {
238 /* MSISDN to which to route MO emergency calls */
239 char *route_to_msisdn;
240 } emergency;
Stefan Sperlingafa030d2018-12-06 12:06:59 +0100241
242 /* This is transmitted as IPA Serial Number tag, which is used for GSUP routing (e.g. in OsmoHLR).
243 * For inter-MSC handover, the remote MSC's neighbor configuration requires to match this name.
244 * If no name is set, the IPA Serial Number will be the same as the Unit Name,
245 * and will be of the form 'MSC-00-00-00-00-00-00' */
246 char *msc_ipa_name;
Neels Hofmeyrc4628a32018-12-07 14:47:34 +0100247
Neels Hofmeyrac6ccd92021-02-18 14:15:31 +0100248 /* A list of neighbor BSCs. This list is defined statically via VTY and does not
249 * necessarily correspond to BSCs attached to the A interface at a given moment. */
Neels Hofmeyrc4628a32018-12-07 14:47:34 +0100250 struct llist_head neighbor_ident_list;
251
252 struct {
253 uint64_t range_start;
254 uint64_t range_end;
255 uint64_t next;
256 } handover_number;
Pau Espin Pedrol4faff9e2019-05-06 19:29:11 +0200257
258 /* Whether we want to use Osmux against BSCs. Controlled via VTY */
259 enum osmux_usage use_osmux;
Keith Whyte991bb422019-08-08 15:43:40 +0200260
261 /* Whether to use call waiting on the network */
262 bool call_waiting;
Keith Whyte1587ffb2020-08-28 13:36:58 +0200263 char *sms_db_file_path;
Harald Welte52b1f982008-12-23 20:25:15 +0000264};
265
Harald Welted4bdee72012-11-08 19:44:08 +0100266struct osmo_esme;
267
268enum gsm_sms_source_id {
269 SMS_SOURCE_UNKNOWN = 0,
270 SMS_SOURCE_MS, /* received from MS */
271 SMS_SOURCE_VTY, /* received from VTY */
272 SMS_SOURCE_SMPP, /* received via SMPP */
273};
274
Harald Welte7e310b12009-03-30 20:56:32 +0000275#define SMS_TEXT_SIZE 256
Harald Weltee07b6a72012-11-23 19:02:37 +0100276
277struct gsm_sms_addr {
278 uint8_t ton;
279 uint8_t npi;
280 char addr[21+1];
281};
282
Harald Welte7e310b12009-03-30 20:56:32 +0000283struct gsm_sms {
Harald Welted409be72009-11-07 00:06:19 +0900284 unsigned long long id;
Harald Welte2483f1b2016-06-19 18:06:02 +0200285 struct vlr_subscr *receiver;
Harald Weltec0de14d2012-11-23 23:35:01 +0100286 struct gsm_sms_addr src, dst;
Harald Welted4bdee72012-11-08 19:44:08 +0100287 enum gsm_sms_source_id source;
288
289 struct {
Pablo Neira Ayuso93ffbd02017-05-04 18:44:22 +0200290 uint8_t transaction_id;
291 uint32_t msg_ref;
292 } gsm411;
293
294 struct {
Harald Welted4bdee72012-11-08 19:44:08 +0100295 struct osmo_esme *esme;
296 uint32_t sequence_nr;
297 int transaction_mode;
298 char msg_id[16];
299 } smpp;
Harald Welte7e310b12009-03-30 20:56:32 +0000300
Harald Welteb9c758b2009-07-05 14:02:46 +0200301 unsigned long validity_minutes;
Keithc601adc2017-08-16 22:45:07 +0200302 time_t created;
Pablo Neira Ayusoadae8592017-08-07 14:01:30 +0100303 bool is_report;
Holger Hans Peter Freytherc42ad8b2011-04-18 17:04:00 +0200304 uint8_t reply_path_req;
305 uint8_t status_rep_req;
306 uint8_t ud_hdr_ind;
307 uint8_t protocol_id;
308 uint8_t data_coding_scheme;
309 uint8_t msg_ref;
Holger Hans Peter Freytherc42ad8b2011-04-18 17:04:00 +0200310 uint8_t user_data_len;
311 uint8_t user_data[SMS_TEXT_SIZE];
Harald Weltef3efc592009-07-27 20:11:35 +0200312
Harald Welte7e310b12009-03-30 20:56:32 +0000313 char text[SMS_TEXT_SIZE];
314};
315
Holger Hans Peter Freytherf8c42192013-01-09 17:03:27 +0100316/* control interface handling */
317int bsc_base_ctrl_cmds_install(void);
Harald Welte2483f1b2016-06-19 18:06:02 +0200318int msc_ctrl_cmds_install(struct gsm_network *net);
Holger Hans Peter Freytherf8c42192013-01-09 17:03:27 +0100319
Harald Welte6be350c2011-05-25 13:10:08 +0200320#endif /* _GSM_DATA_H */