summaryrefslogtreecommitdiff
path: root/cesar/mac/ca/stub/src/ca.c
diff options
context:
space:
mode:
authorNélio Laranjeiro2011-12-02 15:17:28 +0100
committerThierry Carré2012-05-10 17:02:55 +0200
commit5e1c4c6f5e2ded3bd7018102b7b0f995d0131948 (patch)
tree2984992961486b10a8b9e7653ff74633fadbf3ad /cesar/mac/ca/stub/src/ca.c
parent9d9343899117f23b1826466c888cb9bbe9cc1f21 (diff)
cesar/{bsu,hal/phy/spoc,cp}: add missing function stubs
Diffstat (limited to 'cesar/mac/ca/stub/src/ca.c')
-rw-r--r--cesar/mac/ca/stub/src/ca.c58
1 files changed, 58 insertions, 0 deletions
diff --git a/cesar/mac/ca/stub/src/ca.c b/cesar/mac/ca/stub/src/ca.c
new file mode 100644
index 0000000000..e41eb5a498
--- /dev/null
+++ b/cesar/mac/ca/stub/src/ca.c
@@ -0,0 +1,58 @@
+/* Cesar project {{{
+ *
+ * Copyright (C) 2011 Spidcom
+ *
+ * <<<Licence>>>
+ *
+ * }}} */
+/**
+ * \file cesar/mac/ca/stub/src/ca.c
+ * \brief CA stubs.
+ * \ingroup mac_ca
+ *
+ */
+#include "common/std.h"
+#include "mac/ca/ca.h"
+
+ca_schedule_t *
+ca_alloc_get_schedule (ca_t *ctx, uint index) __attribute__ ((weak));
+
+ca_schedule_t *
+ca_alloc_get_schedule (ca_t *ctx, uint index)
+{
+ return INVALID_PTR;
+}
+
+void
+ca_alloc_update_beacon_periods (ca_t *ctx,
+ ca_beacon_period_t *beacon_periods,
+ uint beacon_periods_nb) __attribute__ ((weak));
+
+void
+ca_alloc_update_beacon_periods (ca_t *ctx,
+ ca_beacon_period_t *beacon_periods,
+ uint beacon_periods_nb) { }
+
+void
+ca_mfs_remove (ca_t *ctx, mfs_tx_t *mfs) __attribute__ ((weak));
+
+void
+ca_mfs_remove (ca_t *ctx, mfs_tx_t *mfs) { }
+
+void
+ca_mfs_add (ca_t *ctx, mfs_tx_t *mfs) __attribute__ ((weak));
+
+void
+ca_mfs_add (ca_t *ctx, mfs_tx_t *mfs) { }
+
+void
+ca_mfs_update (ca_t *ctx, mfs_tx_t *mfs) __attribute__ ((weak));
+
+void
+ca_mfs_update (ca_t *ctx, mfs_tx_t *mfs) { }
+
+void
+ca_mfs_hold (ca_t *ctx, mfs_tx_t *mfs) __attribute__ ((weak));
+
+void
+ca_mfs_hold (ca_t *ctx, mfs_tx_t *mfs) { }