summaryrefslogtreecommitdiff
path: root/cesar/cp/eoc/multi_sta/action/test/utest/src/dataplane_stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/cp/eoc/multi_sta/action/test/utest/src/dataplane_stub.c')
-rw-r--r--cesar/cp/eoc/multi_sta/action/test/utest/src/dataplane_stub.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/cesar/cp/eoc/multi_sta/action/test/utest/src/dataplane_stub.c b/cesar/cp/eoc/multi_sta/action/test/utest/src/dataplane_stub.c
new file mode 100644
index 0000000000..e6cbb08815
--- /dev/null
+++ b/cesar/cp/eoc/multi_sta/action/test/utest/src/dataplane_stub.c
@@ -0,0 +1,32 @@
+/* Cesar project {{{
+ *
+ * Copyright (C) 2008 Spidcom
+ *
+ * <<<Licence>>>
+ *
+ * }}} */
+/**
+ * \file src/dataplane_stub.c
+ * \brief Data plane layers stub.
+ * \ingroup test
+ */
+#include "common/std.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)
+{
+ if (MAC_TEI_IS_STA (tei))
+ {
+ bool ok;
+ ok = mac_store_sta_remove (ctx->mac_store, tei);
+
+ dbg_assert (ok);
+ }
+}
+
+