bsc_api: The cipher mode is not a message on the air interface
The cipher mode reject will be send in case the BSC is not able to support the requested cipher. So this reject can be handled by however attempts to enable ciphering.
This commit is contained in:
parent
6c199e7d99
commit
e1996f013c
|
@ -12,8 +12,6 @@ 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, 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);
|
||||
|
|
|
@ -29,11 +29,6 @@ static void bsc_cipher_mode_compl(struct gsm_subscriber_connection *conn,
|
|||
{
|
||||
}
|
||||
|
||||
static void bsc_cipher_mode_reject(struct gsm_subscriber_connection *conn,
|
||||
struct msgb *msg, uint16_t reason)
|
||||
{
|
||||
}
|
||||
|
||||
static int bsc_compl_l3(struct gsm_subscriber_connection *conn, struct msgb *msg,
|
||||
uint16_t chosen_channel)
|
||||
{
|
||||
|
@ -64,7 +59,6 @@ static void bsc_clear_compl(struct gsm_subscriber_connection *conn)
|
|||
static struct bsc_api bsc_handler = {
|
||||
.sapi_n_reject = bsc_sapi_n_reject,
|
||||
.cipher_mode_compl = bsc_cipher_mode_compl,
|
||||
.cipher_mode_reject = bsc_cipher_mode_reject,
|
||||
.compl_l3 = bsc_compl_l3,
|
||||
.dtap = bsc_dtap,
|
||||
.assign_compl = bsc_assign_compl,
|
||||
|
|
Loading…
Reference in New Issue