aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/bsc_api.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-07-23 16:55:24 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-07-23 17:15:15 +0800
commitdbc62db8dbaf459b17386fda6773b35f1d8105db (patch)
tree140b12738ec5003c7b55528d337d438a286df09d /openbsc/include/openbsc/bsc_api.h
parentc354de8f9403a882aa4e57941792e89ffeb69b15 (diff)
bsc_api: Add stub for the cipher mode command.
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 5216c9fed..135565b29 100644
--- a/openbsc/include/openbsc/bsc_api.h
+++ b/openbsc/include/openbsc/bsc_api.h
@@ -11,7 +11,7 @@
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 ind);
+ struct msgb *msg, uint16_t chosen_encr);
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);
@@ -27,6 +27,8 @@ struct bsc_api {
int bsc_api_init(struct gsm_network *network, struct bsc_api *api);
int gsm0808_submit_dtap(struct gsm_subscriber_connection *conn, struct msgb *msg, int link_id);
int gsm0808_assign_req(struct gsm_subscriber_connection *conn, int chan_type, int audio);
+int gsm0808_cipher_mode(struct gsm_subscriber_connection *conn, int cipher,
+ uint8_t *key, int len);
int gsm0808_page(struct gsm_bts *bts, unsigned int page_group,
unsigned int mi_len, uint8_t *mi, int chan_type);
int gsm0808_clear(struct gsm_subscriber_connection *conn);