diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-01-18 15:52:50 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-03-03 16:19:09 +0100 |
commit | a34aedf7f92b240e591098e7868513db244bd7b3 (patch) | |
tree | 532611e224009caacb7c3112ea2e34b20d41e89c | |
parent | 2e5c13129d9f6848e1a6e82546b0946d765f44de (diff) |
Add Iu-CS indicator to struct gsm_subscriber_connection.
Introduce enum interface_type and gsm_subscriber_connection.via_iface to
distinguish between A-interface and Iu-CS-interface connections.
Add gsm_subscriber_connection.iu.link_id and iu.conn_id.
-rw-r--r-- | openbsc/include/openbsc/gsm_data.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index e1f344b2b..11ecd228a 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -98,6 +98,12 @@ struct neigh_meas_proc { uint8_t last_seen_nr; }; +enum interface_type { + IFACE_UNKNOWN = 0, + IFACE_A, + IFACE_IUCS +}; + /* the per subscriber data for lchan */ struct gsm_subscriber_connection { struct llist_head entry; @@ -138,6 +144,14 @@ struct gsm_subscriber_connection { struct osmo_timer_list T10; struct gsm_lchan *secondary_lchan; + /* see enum interface_type */ + int via_iface; + + /* which Iu-CS connection, if any. */ + struct { + uint8_t link_id; + uint32_t conn_id; + } iu; }; |