aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/bsc_api.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-07-23 17:10:44 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-07-23 17:15:15 +0800
commitc702b7528f42932c5cdd0dc404e3cbd869416e43 (patch)
treee184db37f96eb9a97477297b92126fed894eeaa4 /openbsc/include/openbsc/bsc_api.h
parentdbc62db8dbaf459b17386fda6773b35f1d8105db (diff)
bsc_api: Add cipher mod reject api callback
Diffstat (limited to 'openbsc/include/openbsc/bsc_api.h')
-rw-r--r--openbsc/include/openbsc/bsc_api.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/bsc_api.h b/openbsc/include/openbsc/bsc_api.h
index 135565b29..b1fbb5711 100644
--- a/openbsc/include/openbsc/bsc_api.h
+++ b/openbsc/include/openbsc/bsc_api.h
@@ -11,7 +11,9 @@
struct bsc_api {
void (*sapi_n_reject)(struct gsm_subscriber_connection *conn, int dlci);
void (*cipher_mode_compl)(struct gsm_subscriber_connection *conn,
- struct msgb *msg, uint16_t chosen_encr);
+ struct msgb *msg, uint8_t chosen_encr);
+ void (*cipher_mode_reject)(struct gsm_subscriber_connection *conn,
+ struct msgb *msg, uint16_t reason);
int (*compl_l3)(struct gsm_subscriber_connection *conn,
struct msgb *msg, uint16_t chosen_channel);
void (*dtap)(struct gsm_subscriber_connection *conn, struct msgb *msg);