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