bsc: Require osmo-sccp 0.0.6 and update the API
This commit is contained in:
parent
b7849987e5
commit
784ca9c179
|
@ -35,7 +35,7 @@ AM_CONDITIONAL(BUILD_NAT, test "x$osmo_ac_build_nat" = "xyes")
|
|||
|
||||
AC_ARG_ENABLE([osmo-bsc], [AS_HELP_STRING([--enable-osmo-bsc], [Build the Osmo BSC])],
|
||||
[
|
||||
PKG_CHECK_MODULES(LIBOSMOSCCP, libosmo-sccp >= 0.0.2)
|
||||
PKG_CHECK_MODULES(LIBOSMOSCCP, libosmo-sccp >= 0.0.6)
|
||||
osmo_ac_build_bsc="yes"
|
||||
],
|
||||
[
|
||||
|
|
|
@ -376,7 +376,7 @@ static void initialize_if_needed(struct bsc_msc_connection *conn)
|
|||
return;
|
||||
}
|
||||
|
||||
sccp_write(msg, &sccp_ssn_bssap, &sccp_ssn_bssap, 0);
|
||||
sccp_write(msg, &sccp_ssn_bssap, &sccp_ssn_bssap, 0, NULL);
|
||||
msgb_free(msg);
|
||||
conn->is_authenticated = 1;
|
||||
}
|
||||
|
|
|
@ -137,9 +137,10 @@ static void sccp_cc_timeout(void *_data)
|
|||
bsc_sccp_force_free(data);
|
||||
}
|
||||
|
||||
static void msc_sccp_write_ipa(struct sccp_connection *conn, struct msgb *msg, void *data)
|
||||
static void msc_sccp_write_ipa(struct sccp_connection *conn, struct msgb *msg,
|
||||
void *global_ctx, void *ctx)
|
||||
{
|
||||
struct gsm_network *net = (struct gsm_network *) data;
|
||||
struct gsm_network *net = (struct gsm_network *) global_ctx;
|
||||
msc_queue_write(net->msc_data->msc_con, msg, IPAC_PROTO_SCCP);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue