bsc_api: Add stub for the cipher mode command.
This commit is contained in:
parent
c354de8f94
commit
dbc62db8db
|
@ -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);
|
||||
|
|
|
@ -132,6 +132,12 @@ int gsm0408_rcvmsg(struct msgb *msg, uint8_t link_id)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int gsm0808_cipher_mode(struct gsm_subscriber_connection *conn, int cipher,
|
||||
uint8_t *key, int len)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
int gsm0808_clear(struct gsm_subscriber_connection* conn)
|
||||
{
|
||||
struct gsm_lchan *lchan;
|
||||
|
|
Loading…
Reference in New Issue