summaryrefslogtreecommitdiff
path: root/cesar/cp/eoc/cco/action/test/utest_eoc/src/dataplane_stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/cp/eoc/cco/action/test/utest_eoc/src/dataplane_stub.c')
-rw-r--r--cesar/cp/eoc/cco/action/test/utest_eoc/src/dataplane_stub.c38
1 files changed, 38 insertions, 0 deletions
diff --git a/cesar/cp/eoc/cco/action/test/utest_eoc/src/dataplane_stub.c b/cesar/cp/eoc/cco/action/test/utest_eoc/src/dataplane_stub.c
new file mode 100644
index 0000000000..4d9be7745b
--- /dev/null
+++ b/cesar/cp/eoc/cco/action/test/utest_eoc/src/dataplane_stub.c
@@ -0,0 +1,38 @@
+/* Cesar project {{{
+ *
+ * Copyright (C) 2008 Spidcom
+ *
+ * <<<Licence>>>
+ *
+ * }}} */
+/**
+ * \file src/dataplane_stub.c
+ * \brief Data plane layers stub.
+ * \ingroup test
+ */
+#include "common/std.h"
+
+#include "lib/scenario/scenario.h"
+
+#include "cl/cl_mactotei.h"
+#include "mac/pbproc/pbproc.h"
+#include "cp/inc/context.h"
+#include "mac/sar/inc/context.h"
+
+void
+sar_sta_remove (sar_t *ctx, u8 tei)
+{
+// cp_t *cp = (void *) ctx;
+// dbg_check (mac_store_sta_remove (cp->mac_store, tei));
+// dbg_assert (ctx);
+
+ if (MAC_TEI_IS_STA (tei))
+ {
+ bool ok;
+ ok = mac_store_sta_remove (ctx->mac_store, tei);
+
+ dbg_assert (ok);
+ }
+}
+
+