From a23eebb9a257e3f0048f9cf2172326619cd0e9d1 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Wed, 23 Jun 2021 14:15:20 +0200 Subject: Support proto IPAC_PROTO_EXT_PCU BSC<->PCU Related: SYS#5303 Change-Id: I4b3919f3098b9468e5e024db1e45427af24c1ad4 --- include/osmocom/bsc/Makefile.am | 1 + include/osmocom/bsc/abis_osmo.h | 33 +++++++++++++++++++++++++++++++++ include/osmocom/bsc/bts.h | 2 ++ 3 files changed, 36 insertions(+) create mode 100644 include/osmocom/bsc/abis_osmo.h (limited to 'include/osmocom') diff --git a/include/osmocom/bsc/Makefile.am b/include/osmocom/bsc/Makefile.am index be27dae30..5e866cc01 100644 --- a/include/osmocom/bsc/Makefile.am +++ b/include/osmocom/bsc/Makefile.am @@ -2,6 +2,7 @@ noinst_HEADERS = \ a_reset.h \ abis_nm.h \ abis_om2000.h \ + abis_osmo.h \ abis_rsl.h \ acc.h \ assignment_fsm.h \ diff --git a/include/osmocom/bsc/abis_osmo.h b/include/osmocom/bsc/abis_osmo.h new file mode 100644 index 000000000..97871ace0 --- /dev/null +++ b/include/osmocom/bsc/abis_osmo.h @@ -0,0 +1,33 @@ +/* GSM Network Management messages on the A-bis interface + * 3GPP TS 12.21 version 8.0.0 Release 1999 / ETSI TS 100 623 V8.0.0 */ + +/* (C) 2008-2009 by Harald Welte + * All Rights Reserved + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ + +#pragma once + +#include + +#include + +#include + +struct gsm_bts; + +int abis_osmo_rcvmsg(struct msgb *msg); +int abis_osmo_sendmsg(struct gsm_bts *bts, struct msgb *msg); diff --git a/include/osmocom/bsc/bts.h b/include/osmocom/bsc/bts.h index b6980d1fe..49691e023 100644 --- a/include/osmocom/bsc/bts.h +++ b/include/osmocom/bsc/bts.h @@ -291,6 +291,8 @@ struct gsm_bts { /* Connected PCU version (if any) */ char pcu_version[MAX_VERSION_LENGTH]; + /* PCU sign_link, over OML line: */ + struct e1inp_sign_link *osmo_link; /* maximum Tx power that the MS is permitted to use in this cell */ int ms_max_power; -- cgit v1.2.3