blob: b46a8d30654f9a35f8a5928c4444a420e8b8913b [file] [log] [blame]
Neels Hofmeyrb5ce49f2018-07-24 17:42:14 +02001/* GSM 08.08 function declarations for osmo-bsc */
Holger Hans Peter Freytherec32b582010-03-23 07:40:46 +01002
Neels Hofmeyrb5ce49f2018-07-24 17:42:14 +02003#pragma once
Holger Hans Peter Freyther05a379b2010-06-14 15:50:35 +08004
Neels Hofmeyrb5ce49f2018-07-24 17:42:14 +02005#include <stdint.h>
Holger Hans Peter Freytherec32b582010-03-23 07:40:46 +01006
Neels Hofmeyrb5ce49f2018-07-24 17:42:14 +02007struct gsm_subscriber_connection;
Holger Hans Peter Freyther97643312010-06-17 16:41:25 +08008
Neels Hofmeyrc19581f2018-05-27 03:05:18 +02009void bsc_sapi_n_reject(struct gsm_subscriber_connection *conn, int dlci);
10void bsc_cipher_mode_compl(struct gsm_subscriber_connection *conn, struct msgb *msg, uint8_t chosen_encr);
11int bsc_compl_l3(struct gsm_subscriber_connection *conn, struct msgb *msg, uint16_t chosen_channel);
12void bsc_dtap(struct gsm_subscriber_connection *conn, uint8_t link_id, struct msgb *msg);
Neels Hofmeyrc19581f2018-05-27 03:05:18 +020013void bsc_cm_update(struct gsm_subscriber_connection *conn,
14 const uint8_t *cm2, uint8_t cm2_len,
15 const uint8_t *cm3, uint8_t cm3_len);