summaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorPablo Neira Ayuso2011-07-02 14:32:32 +0200
committerPablo Neira Ayuso2011-07-02 14:32:32 +0200
commitdfafe68a05069f0e0a21dfb5a200c38462031963 (patch)
tree4f62fbe334df1608c80748572e4c1d970620c768 /include/osmocom
parentmajor updates in e1_input callback ops and IPA infrastructures (diff)
downloadlibosmo-abis-dfafe68a05069f0e0a21dfb5a200c38462031963.tar.gz
libosmo-abis-dfafe68a05069f0e0a21dfb5a200c38462031963.tar.xz
libosmo-abis-dfafe68a05069f0e0a21dfb5a200c38462031963.zip
ipaccess: put the ID_GET logic for the BTS mode into the driver
This patch moves the ID_GET logic from the example file to the ipaccess driver in BTS mode.
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/abis/e1_input.h1
-rw-r--r--include/osmocom/abis/ipaccess.h7
2 files changed, 8 insertions, 0 deletions
diff --git a/include/osmocom/abis/e1_input.h b/include/osmocom/abis/e1_input.h
index d2033ef..f29491a 100644
--- a/include/osmocom/abis/e1_input.h
+++ b/include/osmocom/abis/e1_input.h
@@ -123,6 +123,7 @@ struct e1inp_driver {
struct e1inp_line_ops {
enum e1inp_line_role role;
char *addr;
+ void *data;
struct e1inp_sign_link * (*sign_link_up)(void *unit_info, struct e1inp_line *line, enum e1inp_sign_type type);
void (*sign_link_down)(struct e1inp_line *line);
diff --git a/include/osmocom/abis/ipaccess.h b/include/osmocom/abis/ipaccess.h
index d4174a8..6816d87 100644
--- a/include/osmocom/abis/ipaccess.h
+++ b/include/osmocom/abis/ipaccess.h
@@ -94,6 +94,13 @@ struct ipaccess_unit {
uint16_t site_id;
uint16_t bts_id;
uint16_t trx_id;
+ char *unit_name;
+ char *equipvers;
+ char *swversion;
+ uint8_t mac_addr[6];
+ char *location1;
+ char *location2;
+ char *serno;
};
struct hsl_unit {