mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
rename IFACE_IUCS to IFACE_IU
This commit is contained in:
@@ -100,9 +100,9 @@ struct neigh_meas_proc {
|
||||
};
|
||||
|
||||
enum interface_type {
|
||||
IFACE_UNKNOWN = 0,
|
||||
IFACE_A, /* A-interface == 2G */
|
||||
IFACE_IUCS /* IuCS-interface == UMTS aka 3G */
|
||||
IFACE_UNKNOWN = -1,
|
||||
IFACE_A = 0, /* A-interface for 2G */
|
||||
IFACE_IU = 1 /* Iu-interface for UMTS aka 3G (IuCS or IuPS) */
|
||||
};
|
||||
|
||||
/* mobile subscriber data */
|
||||
|
@@ -52,7 +52,7 @@ struct ue_conn_ctx *ue_conn_ctx_find(struct gsm_network *network,
|
||||
struct ue_conn_ctx *ctx;
|
||||
|
||||
llist_for_each_entry(gsc, &network->subscr_conns, entry) {
|
||||
if (gsc->via_iface != IFACE_IUCS)
|
||||
if (gsc->via_iface != IFACE_IU)
|
||||
continue;
|
||||
|
||||
ctx = gsc->iu.ue_ctx;
|
||||
|
@@ -24,7 +24,7 @@ struct gsm_subscriber_connection *subscr_conn_allocate_iu(struct gsm_network *ne
|
||||
return NULL;
|
||||
|
||||
conn->network = network;
|
||||
conn->via_iface = IFACE_IUCS;
|
||||
conn->via_iface = IFACE_IU;
|
||||
conn->iu.ue_ctx = ue;
|
||||
|
||||
llist_add_tail(&conn->entry, &network->subscr_conns);
|
||||
@@ -47,7 +47,7 @@ static struct gsm_subscriber_connection *subscr_conn_lookup_iu(struct gsm_networ
|
||||
struct gsm_subscriber_connection *conn;
|
||||
|
||||
llist_for_each_entry(conn, &network->subscr_conns, entry) {
|
||||
if (conn->via_iface != IFACE_IUCS)
|
||||
if (conn->via_iface != IFACE_IU)
|
||||
continue;
|
||||
if (!same_ue_conn(conn->iu.ue_ctx, ue))
|
||||
continue;
|
||||
@@ -112,7 +112,7 @@ int gsm0408_rcvmsg_iucs(struct gsm_network *network, struct msgb *msg)
|
||||
int iucs_submit_dtap(struct gsm_subscriber_connection *conn,
|
||||
struct msgb *msg)
|
||||
{
|
||||
OSMO_ASSERT(conn->via_iface == IFACE_IUCS);
|
||||
OSMO_ASSERT(conn->via_iface == IFACE_IU);
|
||||
msg->dst = conn->iu.ue_ctx;
|
||||
return iu_tx(msg, 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user