34 lines
889 B
C
34 lines
889 B
C
#pragma once
|
|
|
|
#include <osmocom/gsm/protocol/gsm_04_08.h>
|
|
|
|
enum bsc_con {
|
|
BSC_CON_SUCCESS,
|
|
BSC_CON_REJECT_NO_LINK,
|
|
BSC_CON_REJECT_RF_GRACE,
|
|
BSC_CON_NO_MEM,
|
|
};
|
|
|
|
struct msgb;
|
|
struct bsc_msc_data;
|
|
struct gsm0808_channel_type;
|
|
struct gsm0808_speech_codec_list;
|
|
struct gsm_audio_support;
|
|
struct gsm_subscriber_connection;
|
|
struct gsm_bts;
|
|
|
|
struct bsc_api *osmo_bsc_api(void);
|
|
|
|
int bsc_scan_bts_msg(struct gsm_subscriber_connection *conn, struct msgb *msg);
|
|
int bsc_scan_msc_msg(struct gsm_subscriber_connection *conn, struct msgb *msg);
|
|
|
|
int bsc_handle_udt(struct bsc_msc_data *msc, struct msgb *msg, unsigned int length);
|
|
int bsc_handle_dt(struct gsm_subscriber_connection *conn, struct msgb *msg, unsigned int len);
|
|
|
|
struct gsm_network;
|
|
int bsc_ctrl_cmds_install(struct gsm_network *net);
|
|
|
|
void bsc_gen_location_state_trap(struct gsm_bts *bts);
|
|
|
|
struct llist_head *bsc_access_lists(void);
|