Commit 09c40e42 authored by Florian Kaltenberger's avatar Florian Kaltenberger

enabled multicard operation


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5803 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 4e690de1
...@@ -317,6 +317,13 @@ int openair0_config(openair0_config_t *openair0_cfg, int UE_flag) ...@@ -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.eNB_flag = !UE_flag;
p_exmimo_config->framing.tdd_config = DUPLEXMODE_FDD + TXRXSWITCH_LSB; 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) { if (openair0_cfg[card].sample_rate==30.72e6) {
resampling_factor = 0; resampling_factor = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment