aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/iuh/hnbgw.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-12-28 21:47:06 +0100
committerHarald Welte <laforge@gnumonks.org>2017-12-28 21:49:59 +0100
commit722a802c79fc40d17e42982412382034e62829ab (patch)
treec754e29b11e2a23420ba3d034490307de4733c18 /include/osmocom/iuh/hnbgw.h
parent39773fd362669ab614c767f4d818200090d93233 (diff)
Reject any HNBAP-REGISTER messages for HNB's with identical CIDlaforge/reject-id-cid
According to some references found in the nano3G MIB help, the CellID as reported in the HNB-REGISTER-REQ is combined from 16-bit CellID and the 12bit RNC-ID. The HNB-GW should use this value in the register-req to ensure it is unique in the network. We should probably reject register requests from non-unique / overlapping values. Change-Id: Ib58cc9f3c0e700f8bc5930f4df0d2dfe7888b991 Closes: OS#2789
Diffstat (limited to 'include/osmocom/iuh/hnbgw.h')
-rw-r--r--include/osmocom/iuh/hnbgw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/iuh/hnbgw.h b/include/osmocom/iuh/hnbgw.h
index 58bdab4..8bbb821 100644
--- a/include/osmocom/iuh/hnbgw.h
+++ b/include/osmocom/iuh/hnbgw.h
@@ -151,6 +151,7 @@ void ue_context_free(struct ue_context *ue);
struct hnb_context *hnb_context_alloc(struct hnb_gw *gw, struct osmo_stream_srv_link *link, int new_fd);
void hnb_context_release(struct hnb_context *ctx);
+struct hnb_context *hnb_context_find_by_cid(struct hnb_gw *gw, uint32_t cid);
void hnbgw_vty_init(struct hnb_gw *gw, void *tall_ctx);
int hnbgw_vty_go_parent(struct vty *vty);