summaryrefslogtreecommitdiff
path: root/cesar/cl/data_rate.h
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/cl/data_rate.h')
-rw-r--r--cesar/cl/data_rate.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/cesar/cl/data_rate.h b/cesar/cl/data_rate.h
index bc7f30d74e..eff3ecc0dd 100644
--- a/cesar/cl/data_rate.h
+++ b/cesar/cl/data_rate.h
@@ -15,6 +15,11 @@
* This data rate info are shared between CP and CL.
*/
+/* This value in the data_rate field of the cl_data_rate_t
+ * structure indicate that the whole structure needs to be initialized.
+ */
+#define CL_DATA_RATE_REQ_INIT 0xFFFFFFFF
+
/**
* Structure used to store data rate informations.
* It stores the data rate value the moment when
@@ -23,11 +28,11 @@
struct cl_data_rate_t
{
/** data rate value expressed in octets/sec. */
- u64 data_rate;
+ u32 data_rate;
/** time (in ecos clock ticks 10ms) when the value was calculated. */
- u64 ecos_time;
+ u64 time_rtc;
/** time (in phy clock ticks 40ns) when the value was calculated. */
- u32 phy_time;
+ u32 time_tck;
};
typedef struct cl_data_rate_t cl_data_rate_t;