From 25de99170fd44d7d5606a8c34a89c4fdf1019e8e Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 30 Apr 2009 15:53:07 +0000 Subject: add new 'ipaccess-config' program to set Unit ID and primary OML NVRAM parameters of ip.access BTS --- include/openbsc/abis_nm.h | 2 +- include/openbsc/e1_input.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/openbsc/abis_nm.h b/include/openbsc/abis_nm.h index 1ed4ccedf..f1b00756e 100644 --- a/include/openbsc/abis_nm.h +++ b/include/openbsc/abis_nm.h @@ -345,7 +345,7 @@ enum abis_nm_attr { NM_ATT_IPACC_RSL_BSC_IP = 0x80, NM_ATT_IPACC_RSL_BSC_PORT = 0x81, NM_ATT_IPACC_LOCATION = 0x8e, /* string describing location */ - NM_ATT_IPACC_UNIT_ID = 0x91, + NM_ATT_IPACC_UNIT_ID = 0x91, /* Site/BTS/TRX */ NM_ATT_IPACC_UNIT_NAME = 0x93, /* default: nbts- */ NM_ATT_IPACC_PRIM_OML_IP = 0x95, NM_ATT_IPACC_SEC_OML_IP = 0x96, diff --git a/include/openbsc/e1_input.h b/include/openbsc/e1_input.h index db565bfb4..8b9521d61 100644 --- a/include/openbsc/e1_input.h +++ b/include/openbsc/e1_input.h @@ -2,6 +2,7 @@ #define _E1_INPUT_H #include +#include #include #include @@ -147,6 +148,7 @@ struct subch_mux *e1inp_get_mux(u_int8_t e1_nr, u_int8_t ts_nr); /* e1_config.c */ int e1_config(struct gsm_bts *bts, int cardnr, int release_l2); int ia_config(struct gsm_bts *bts); +int ia_config_connect(struct gsm_bts *bts, struct sockaddr_in *sin); int ipaccess_setup(struct e1inp_line *line); struct llist_head e1inp_driver_list; -- cgit v1.2.3