summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include
diff options
context:
space:
mode:
authorDario Lombardo2011-02-10 14:24:53 +0100
committerHarald Welte2011-02-16 15:15:12 +0100
commitb7a4d8d9128076d83bd70157299ef0a7a8717a0c (patch)
tree60e6f8f442c72b86e8831687fb71b0168ff6494d /src/host/layer23/include
parentRenamed gps_* functions to osmo_gps_* functions to avoid overlap with libgps ... (diff)
downloadosmocom-b7a4d8d9128076d83bd70157299ef0a7a8717a0c.tar.gz
osmocom-b7a4d8d9128076d83bd70157299ef0a7a8717a0c.tar.xz
osmocom-b7a4d8d9128076d83bd70157299ef0a7a8717a0c.zip
Added gpsd support.
Diffstat (limited to 'src/host/layer23/include')
-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 467cee5..b7500db 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 */