blob: b0197386cce43305db1992ff0035236a9253c30f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#pragma once
/* These functions receive or send MM|CC|... messages from/to the BSC|RNC
* direction, while they are not concerned with which particular external
* interface is actually involved (A or IuCS).
*
* For the interface specific decisions see msc_iface.[hc]
*/
/* MSCSPLIT WIP: this will gradually replace the role that the bsc_api.h had in
* OsmoNITB. Actually, osmo_msc.[hc] has the same role as this file, but having
* separate files helps me to keep track of how far I've gotten yet. */
#include <stdint.h>
struct gsm_subscriber_connection;
struct msgb;
enum {
MSC_CONN_ACCEPT = 0,
MSC_CONN_REJECT = 1,
};
/* receive a Level 3 Complete message and return MSC_CONN_ACCEPT or
* MSC_CONN_REJECT */
int msc_compl_l3(struct gsm_subscriber_connection *conn, struct msgb *msg,
uint16_t chosen_channel);
/* TODO: is chosen_channel BSC land == NITB legacy? */
|