summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/common/gps.h
diff options
context:
space:
mode:
authorDario Lombardo <dario.lombardo@libero.it>2011-02-10 14:24:53 +0100
committerHarald Welte <laforge@gnumonks.org>2011-02-16 15:15:12 +0100
commitb7a4d8d9128076d83bd70157299ef0a7a8717a0c (patch)
tree60e6f8f442c72b86e8831687fb71b0168ff6494d /src/host/layer23/include/osmocom/bb/common/gps.h
parent26ff2ee8802d7c8e8980d7c4cbfcd9053c6f3091 (diff)
Added gpsd support.
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/common/gps.h')
-rw-r--r--src/host/layer23/include/osmocom/bb/common/gps.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/common/gps.h b/src/host/layer23/include/osmocom/bb/common/gps.h
index 467cee52..b7500dbc 100644
--- a/src/host/layer23/include/osmocom/bb/common/gps.h
+++ b/src/host/layer23/include/osmocom/bb/common/gps.h
@@ -22,8 +22,14 @@
struct osmo_gps {
/* GPS device */
uint8_t enable;
+
+#ifdef _USE_GPSD
+ char gpsd_host[32];
+ char gpsd_port[6];
+#else
char device[32];
uint32_t baud;
+#endif
/* current data */
uint8_t valid; /* we have a fix */