summaryrefslogtreecommitdiff
path: root/cesar/cp
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/cp')
-rw-r--r--cesar/cp/cco/action/test/src/action-test.c2
-rw-r--r--cesar/cp/defs.h1
-rw-r--r--cesar/cp/pwl/test/Makefile6
-rw-r--r--cesar/cp/sta/core/src/core.c1
-rw-r--r--cesar/cp/sta/core/test/Makefile.mk10
-rw-r--r--cesar/cp/sta/mgr/test/src/sta_mgr.c1
6 files changed, 14 insertions, 7 deletions
diff --git a/cesar/cp/cco/action/test/src/action-test.c b/cesar/cp/cco/action/test/src/action-test.c
index b1b6b36309..bf7547f4c2 100644
--- a/cesar/cp/cco/action/test/src/action-test.c
+++ b/cesar/cp/cco/action/test/src/action-test.c
@@ -37,6 +37,8 @@
#include "cl/cl_mactotei.h"
+#include "mac/common/timings.h"
+
/* Override interfaces. */
#include "cp/inc/context.h"
#include "mac/sar/inc/context.h"
diff --git a/cesar/cp/defs.h b/cesar/cp/defs.h
index 94664dee30..3ef5594dc5 100644
--- a/cesar/cp/defs.h
+++ b/cesar/cp/defs.h
@@ -12,7 +12,6 @@
* \brief Definition for the Control Plane.
* \ingroup cp
*/
-#include "mac/common/timings.h"
/* Timeout value. */
#define CP_TIMEOUT_MS 1000
diff --git a/cesar/cp/pwl/test/Makefile b/cesar/cp/pwl/test/Makefile
index ad19a6fbd3..ae479daa3a 100644
--- a/cesar/cp/pwl/test/Makefile
+++ b/cesar/cp/pwl/test/Makefile
@@ -6,9 +6,11 @@ INCLUDES = cp/pwl/test/override
TARGET_PROGRAMS = pwl pwl_new_beacon_period
pwl_SOURCES = pwl.c
-pwl_MODULES = lib cp/pwl
+pwl_MODULES = lib cp/pwl mac/common
pwl_new_beacon_period_SOURCES = pwl_new_beacon.c
-pwl_new_beacon_period_MODULES = lib cp/pwl
+pwl_new_beacon_period_MODULES = lib cp/pwl mac/common
+
+mac_common_MODULE_SOURCES =
include $(BASE)/common/make/top.mk
diff --git a/cesar/cp/sta/core/src/core.c b/cesar/cp/sta/core/src/core.c
index 8a1a4b7d2f..3a06289112 100644
--- a/cesar/cp/sta/core/src/core.c
+++ b/cesar/cp/sta/core/src/core.c
@@ -38,6 +38,7 @@
*/
#include "common/std.h"
#include "mac/common/ntb.h"
+#include "mac/common/timings.h"
#include "cp/types.h"
#include "cp/inc/context.h"
diff --git a/cesar/cp/sta/core/test/Makefile.mk b/cesar/cp/sta/core/test/Makefile.mk
index 4c92be1217..44f27fc857 100644
--- a/cesar/cp/sta/core/test/Makefile.mk
+++ b/cesar/cp/sta/core/test/Makefile.mk
@@ -10,21 +10,23 @@ TARGET_PROGRAMS = core_events core core_thread core_timer
core_events_SOURCES = core_events.c cp_cl_interf_stub.c action_stub.c \
sta_mgr_stub.c pwl_stub.c beacon_stub.c
core_events_MODULES = lib cp/sta/core cp/fsm/stub cp/cco/action/stub \
- ce/rx/cp/stub \
+ ce/rx/cp/stub mac/common \
$(SPARC_MODULES)
core_SOURCES = core.c cp_cl_interf_stub.c action_stub.c\
sta_mgr_stub.c pwl_stub.c beacon_stub.c
core_MODULES = lib cp/sta/core cp/fsm/stub cp/cco/action/stub \
- ce/rx/cp/stub \
+ ce/rx/cp/stub mac/common \
$(SPARC_MODULES)
core_thread_SOURCES = core_thread.c
core_thread_MODULES = lib cp/sta/core cp/fsm/stub ce/rx/cp/stub \
- $(SPARC_MODULES)
+ mac/common $(SPARC_MODULES)
core_timer_SOURCES = core_timer.c
core_timer_MODULES = lib cp/sta/core cp/fsm/stub ce/rx/cp/stub \
- $(SPARC_MODULES)
+ mac/common $(SPARC_MODULES)
+
+mac_common_MODULE_SOURCES =
include $(BASE)/common/make/top.mk
diff --git a/cesar/cp/sta/mgr/test/src/sta_mgr.c b/cesar/cp/sta/mgr/test/src/sta_mgr.c
index 37545d2519..021e63b29a 100644
--- a/cesar/cp/sta/mgr/test/src/sta_mgr.c
+++ b/cesar/cp/sta/mgr/test/src/sta_mgr.c
@@ -21,6 +21,7 @@
#include "cp/sta/core/core.h"
#include "mac/common/ntb.h"
+#include "mac/common/timings.h"
#include "mac/sar/sar.h"
#include "cl/cl.h"