From 5c84fd43d9df86801d1ca2ab48685f83031f2259 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Thu, 28 Oct 2021 17:22:04 +0200 Subject: [PATCH] Drop unused fields in struct hnb Change-Id: Ia981d99bf521eb8b79bdf8d7f81ca50f6cdeba8c --- include/osmocom/hnodeb/hnodeb.h | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/include/osmocom/hnodeb/hnodeb.h b/include/osmocom/hnodeb/hnodeb.h index effd1b8..864892a 100644 --- a/include/osmocom/hnodeb/hnodeb.h +++ b/include/osmocom/hnodeb/hnodeb.h @@ -46,23 +46,6 @@ extern const struct log_info hnb_log_info; #define IUH_MSGB_SIZE 2048 -struct umts_cell_id { - uint16_t mcc; /*!< Mobile Country Code */ - uint16_t mnc; /*!< Mobile Network Code */ - uint16_t lac; /*!< Locaton Area Code */ - uint16_t rac; /*!< Routing Area Code */ - uint16_t sac; /*!< Service Area Code */ - uint32_t cid; /*!< Cell ID */ -}; - -struct ue_context { - /*! Entry in the HNB-global list of UE */ - struct llist_head list; - /*! Unique Context ID for this UE */ - uint32_t context_id; - char imsi[16+1]; -}; - struct hnb_chan { int is_ps; uint32_t conn_id; @@ -76,20 +59,8 @@ struct hnb { char *remote_addr; uint16_t remote_port; } iuh; - /*! SCTP listen socket for incoming connections */ - struct osmo_fd conn_fd; - /*! SCTP socket + write queue for Iuh to this specific HNB */ struct osmo_wqueue wqueue; - /*! copied from HNB-Identity-Info IE */ - char identity_info[256]; - /*! copied from Cell Identity IE */ - struct umts_cell_id id; - - /*! SCTP stream ID for HNBAP */ - uint16_t hnbap_stream; - /*! SCTP stream ID for RUA */ - uint16_t rua_stream; uint16_t rnc_id;