summaryrefslogtreecommitdiff
path: root/cesar/mac/pbproc/test/int
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/mac/pbproc/test/int')
-rw-r--r--cesar/mac/pbproc/test/int/Config7
-rw-r--r--cesar/mac/pbproc/test/int/Makefile2
-rw-r--r--cesar/mac/pbproc/test/int/src/add_seg.c4
-rw-r--r--cesar/mac/pbproc/test/int/src/test_pbproc.c9
4 files changed, 22 insertions, 0 deletions
diff --git a/cesar/mac/pbproc/test/int/Config b/cesar/mac/pbproc/test/int/Config
index 2fad84bb33..8c0f945778 100644
--- a/cesar/mac/pbproc/test/int/Config
+++ b/cesar/mac/pbproc/test/int/Config
@@ -4,3 +4,10 @@ CONFIG_STATS = n
CONFIG_DEBUG_CLAIM[target] = n
CONFIG_INTERFACE_SNIFFER[target] = n
CONFIG_ARCH_ILRAM_PRIO_LOW[target] = 0
+
+CONFIG_AV_ONLY_MODE = y
+CONFIG_MAC_COMMON_EOC_SCHED = y
+CONFIG_MAC_COMMON_EOC_MFS = y
+CONFIG_MAC_COMMON_EOC_TEI = y
+CONFIG_MAC_PBPROC_EOC_FC = y
+CONFIG_MAC_PBPROC_EOC_ILRAM = y
diff --git a/cesar/mac/pbproc/test/int/Makefile b/cesar/mac/pbproc/test/int/Makefile
index 0a04d4c852..0d15643383 100644
--- a/cesar/mac/pbproc/test/int/Makefile
+++ b/cesar/mac/pbproc/test/int/Makefile
@@ -16,9 +16,11 @@ common_MODULES = lib hal host mac/pbproc mac/ca mac/common \
TARGET_PROGRAMS = test_pbproc
test_pbproc_SOURCES = $(common_SOURCES) dataplane_stub.c
test_pbproc_MODULES = $(common_MODULES) hle/tools interface cl/stub bufmgr
+#test_pbproc_CONFIG_MODULES = cp/sta/mgr
TARGET_maximus_PROGRAMS = test_pbproc_maximus
test_pbproc_maximus_SOURCES = $(common_SOURCES)
test_pbproc_maximus_MODULES = $(common_MODULES)
+#test_pbproc_maximus_CONFIG_MODULES = cp/sta/mgr
include $(BASE)/common/make/top.mk
diff --git a/cesar/mac/pbproc/test/int/src/add_seg.c b/cesar/mac/pbproc/test/int/src/add_seg.c
index 9537ed820a..d6e7f63a8d 100644
--- a/cesar/mac/pbproc/test/int/src/add_seg.c
+++ b/cesar/mac/pbproc/test/int/src/add_seg.c
@@ -48,7 +48,11 @@ test_pbproc_add_seg (test_pbproc_t *ctx, bool mme, uint lid, uint tei,
mfs = mac_store_mfs_add_tx (ctx->store, tei == MAC_TEI_BCAST, mme,
mme ? MAC_LID_NONE : lid, tei, &added);
if (added)
+ {
+ if (CONFIG_MAC_PBPROC_EOC_FC)
+ mfs->cfp = false;
ca_mfs_add (ctx->ca, mfs);
+ }
/* Generate segments. */
blk_t *blk_first, *blk_last;
blk_first = blk_alloc_desc_range (seg_nb, &blk_last);
diff --git a/cesar/mac/pbproc/test/int/src/test_pbproc.c b/cesar/mac/pbproc/test/int/src/test_pbproc.c
index 199c2119ab..fec62542e7 100644
--- a/cesar/mac/pbproc/test/int/src/test_pbproc.c
+++ b/cesar/mac/pbproc/test/int/src/test_pbproc.c
@@ -508,3 +508,12 @@ cyg_user_start (void)
test_pbproc_init (&test_pbproc_global, fcall);
}
+void
+phy_freq_error_set (phy_t *ctx, bool sync, s32 rho_q30) __attribute__ ((weak));
+
+void
+phy_freq_error_set (phy_t *ctx, bool sync, s32 rho_q30)
+{
+ dbg_assert_ptr (ctx);
+ /* Ignored. */
+}