aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp_clock/octoclock/common.h
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2016-06-17 09:09:25 -0700
committerMartin Braun <martin.braun@ettus.com>2016-06-17 11:37:45 -0700
commitaa1665958756ab02342bb13c41f14aec6f0ef3f4 (patch)
treeb25c4f9807448449771ef2e6131d37c7caec4d12 /host/lib/usrp_clock/octoclock/common.h
parent56e987d41cf8468291d3f680a4ac10fead22095e (diff)
downloaduhd-aa1665958756ab02342bb13c41f14aec6f0ef3f4.tar.gz
uhd-aa1665958756ab02342bb13c41f14aec6f0ef3f4.tar.bz2
uhd-aa1665958756ab02342bb13c41f14aec6f0ef3f4.zip
octoclock: bugfixes, bumped firmware compat number to 4
* host: consistency in setting packet sequence numbers * firmware: populate packet length field when setting GPSDO cache * both: logic for dealing with mismatching compatibility numbers Reviewed-By: Michael West <michael.west@ettus.com> Reviewed-By: Martin Braun <martin.braun@ettus.com>
Diffstat (limited to 'host/lib/usrp_clock/octoclock/common.h')
-rw-r--r--host/lib/usrp_clock/octoclock/common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/host/lib/usrp_clock/octoclock/common.h b/host/lib/usrp_clock/octoclock/common.h
index 89fec9ce5..191b93d36 100644
--- a/host/lib/usrp_clock/octoclock/common.h
+++ b/host/lib/usrp_clock/octoclock/common.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2014-2015 Ettus Research LLC
+ * Copyright 2014-2016 Ettus Research LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -46,7 +46,8 @@ extern "C" {
// These values are placed in the octoclock_packet_t.proto_ver field
#define OCTOCLOCK_BOOTLOADER_PROTO_VER 1234
-#define OCTOCLOCK_FW_COMPAT_NUM 3
+#define OCTOCLOCK_FW_MIN_COMPAT_NUM 2
+#define OCTOCLOCK_FW_COMPAT_NUM 4
// UDP ports assigned for different tasks
#define OCTOCLOCK_UDP_CTRL_PORT 50000