Commit ce9c021d authored by Hongzhi Wang's avatar Hongzhi Wang

bug fixes dlsch threads

parent 24731abc
......@@ -112,6 +112,7 @@ int main(int argc, char **argv)
unsigned char frame_type = 0;
unsigned char pbch_phase = 0;
UE_rxtx_proc_t *proc;
#ifdef XFORMS
FD_lte_phy_scope_ue *form_ue;
......@@ -978,7 +979,7 @@ int main(int argc, char **argv)
if (l==((eNB->frame_parms.Ncp==0)?10:9)) {
for (frame_mod4=0; frame_mod4<4; frame_mod4++) {
pbch_tx_ant = rx_pbch(&UE->common_vars,
pbch_tx_ant = rx_pbch(UE,proc,
UE->pbch_vars[0],
&UE->frame_parms,
0,
......@@ -994,7 +995,7 @@ int main(int argc, char **argv)
printf("pbch_phase different!!!\n");
}
pbch_tx_ant = rx_pbch(&UE->common_vars,
pbch_tx_ant = rx_pbch(UE,proc,
UE->pbch_vars[0],
&eNB->frame_parms,
0,
......
......@@ -652,6 +652,9 @@ static void get_options (int argc, char **argv) {
LONG_OPTION_THREADDLSCHTDONE,
LONG_OPTION_THREADDLSCHTDTWO,
LONG_OPTION_THREADDLSCHTDTHREE,
LONG_OPTION_THREADDLSCHTD1ONE,
LONG_OPTION_THREADDLSCHTD1TWO,
LONG_OPTION_THREADDLSCHTD1THREE,
LONG_OPTION_DCIFORMAT,
LONG_OPTION_AGREGATIONLEVEL,
LONG_OPTION_DEMOD_SHIFT,
......@@ -697,6 +700,9 @@ static void get_options (int argc, char **argv) {
{"threadDlschTdOne", required_argument, NULL, LONG_OPTION_THREADDLSCHTDONE},
{"threadDlschTdTwo", required_argument, NULL, LONG_OPTION_THREADDLSCHTDTWO},
{"threadDlschTdThree", required_argument, NULL, LONG_OPTION_THREADDLSCHTDTHREE},
{"threadDlschTd1One", required_argument, NULL, LONG_OPTION_THREADDLSCHTD1ONE},
{"threadDlschTd1Two", required_argument, NULL, LONG_OPTION_THREADDLSCHTD1TWO},
{"threadDlschTd1Three", required_argument, NULL, LONG_OPTION_THREADDLSCHTD1THREE},
{"DCIformat", required_argument, NULL, LONG_OPTION_DCIFORMAT},
{"AgregationLevel", required_argument, NULL, LONG_OPTION_AGREGATIONLEVEL},
{"dlsch-demod-shift", required_argument, NULL, LONG_OPTION_DEMOD_SHIFT},
......@@ -851,6 +857,15 @@ static void get_options (int argc, char **argv) {
case LONG_OPTION_THREADDLSCHTDTHREE:
threads.dlsch_td_three=atoi(optarg);
break;
case LONG_OPTION_THREADDLSCHTD1ONE:
threads.dlsch_td1_one=atoi(optarg);
break;
case LONG_OPTION_THREADDLSCHTD1TWO:
threads.dlsch_td1_two=atoi(optarg);
break;
case LONG_OPTION_THREADDLSCHTD1THREE:
threads.dlsch_td1_three=atoi(optarg);
break;
case LONG_OPTION_DCIFORMAT:
dci_Format = atoi(optarg);
break;
......
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