From 09c40e42e4a35735392a2bc217cd72e9e07b2935 Mon Sep 17 00:00:00 2001 From: Florian Kaltenberger <florian.kaltenberger@eurecom.fr> Date: Mon, 22 Sep 2014 08:58:07 +0000 Subject: [PATCH] enabled multicard operation git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5803 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- targets/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/targets/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.c b/targets/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.c index d8c29167c86..db928a6a297 100644 --- a/targets/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.c +++ b/targets/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.c @@ -317,6 +317,13 @@ int openair0_config(openair0_config_t *openair0_cfg, int UE_flag) p_exmimo_config->framing.eNB_flag = !UE_flag; p_exmimo_config->framing.tdd_config = DUPLEXMODE_FDD + TXRXSWITCH_LSB; + + if (openair0_num_detected_cards==1) + p_exmimo_config->framing.multicard_syncmode=SYNCMODE_FREE; + else if (card==0) + p_exmimo_config->framing.multicard_syncmode=SYNCMODE_MASTER; + else + p_exmimo_config->framing.multicard_syncmode=SYNCMODE_SLAVE; if (openair0_cfg[card].sample_rate==30.72e6) { resampling_factor = 0; -- GitLab