Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zzha zzha
OpenXG-RAN
Commits
1da3b31a
Commit
1da3b31a
authored
Jan 10, 2018
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more dlsim bugfixes
parent
9a6a33c2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
openair1/SIMULATION/LTE_PHY/dlsim.c
openair1/SIMULATION/LTE_PHY/dlsim.c
+11
-11
No files found.
openair1/SIMULATION/LTE_PHY/dlsim.c
View file @
1da3b31a
...
@@ -2440,7 +2440,7 @@ int main(int argc, char **argv)
...
@@ -2440,7 +2440,7 @@ int main(int argc, char **argv)
*/
*/
proc_eNB
->
subframe
_tx
=
subframe
;
proc_eNB
->
nr_tti
_tx
=
subframe
;
eNB
->
abstraction_flag
=
0
;
eNB
->
abstraction_flag
=
0
;
phy_procedures_eNB_TX
(
eNB
,
proc_eNB
,
no_relay
,
NULL
,
1
,
dci_flag
);
phy_procedures_eNB_TX
(
eNB
,
proc_eNB
,
no_relay
,
NULL
,
1
,
dci_flag
);
...
@@ -2477,7 +2477,7 @@ int main(int argc, char **argv)
...
@@ -2477,7 +2477,7 @@ int main(int argc, char **argv)
// generate next subframe for channel estimation
// generate next subframe for channel estimation
proc_eNB
->
subframe
_tx
=
subframe
+
1
;
proc_eNB
->
nr_tti
_tx
=
subframe
+
1
;
phy_procedures_eNB_TX
(
eNB
,
proc_eNB
,
no_relay
,
NULL
,
0
,
dci_flag
);
phy_procedures_eNB_TX
(
eNB
,
proc_eNB
,
no_relay
,
NULL
,
0
,
dci_flag
);
...
@@ -2518,13 +2518,13 @@ int main(int argc, char **argv)
...
@@ -2518,13 +2518,13 @@ int main(int argc, char **argv)
UE_rxtx_proc_t
*
proc
=
&
UE
->
proc
.
proc_rxtx
[
UE
->
current_thread_id
[
subframe
]];
UE_rxtx_proc_t
*
proc
=
&
UE
->
proc
.
proc_rxtx
[
UE
->
current_thread_id
[
subframe
]];
proc
->
subframe
_rx
=
subframe
;
proc
->
nr_tti
_rx
=
subframe
;
UE
->
UE_mode
[
0
]
=
PUSCH
;
UE
->
UE_mode
[
0
]
=
PUSCH
;
// first symbol has to be done separately in one-shot mode
// first symbol has to be done separately in one-shot mode
slot_fep
(
UE
,
slot_fep
(
UE
,
0
,
0
,
(
proc
->
subframe
_rx
<<
1
),
(
proc
->
nr_tti
_rx
<<
1
),
UE
->
rx_offset
,
UE
->
rx_offset
,
0
,
0
,
0
);
0
);
...
@@ -2535,13 +2535,13 @@ int main(int argc, char **argv)
...
@@ -2535,13 +2535,13 @@ int main(int argc, char **argv)
if
(
n_frames
==
1
)
if
(
n_frames
==
1
)
printf
(
"bypassing PDCCH/DCI detection
\n
"
);
printf
(
"bypassing PDCCH/DCI detection
\n
"
);
if
(
generate_ue_dlsch_params_from_dci
(
proc
->
frame_rx
,
if
(
generate_ue_dlsch_params_from_dci
(
proc
->
frame_rx
,
proc
->
subframe
_rx
,
proc
->
nr_tti
_rx
,
(
void
*
)
&
dci_alloc
[
0
].
dci_pdu
,
(
void
*
)
&
dci_alloc
[
0
].
dci_pdu
,
n_rnti
,
n_rnti
,
dci_alloc
[
0
].
format
,
dci_alloc
[
0
].
format
,
UE
->
pdcch_vars
[
UE
->
current_thread_id
[
proc
->
subframe
_rx
]][
eNB_id
],
UE
->
pdcch_vars
[
UE
->
current_thread_id
[
proc
->
nr_tti
_rx
]][
eNB_id
],
UE
->
pdsch_vars
[
UE
->
current_thread_id
[
proc
->
subframe
_rx
]][
eNB_id
],
UE
->
pdsch_vars
[
UE
->
current_thread_id
[
proc
->
nr_tti
_rx
]][
eNB_id
],
UE
->
dlsch
[
UE
->
current_thread_id
[
proc
->
subframe
_rx
]][
0
],
UE
->
dlsch
[
UE
->
current_thread_id
[
proc
->
nr_tti
_rx
]][
0
],
&
UE
->
frame_parms
,
&
UE
->
frame_parms
,
UE
->
pdsch_config_dedicated
,
UE
->
pdsch_config_dedicated
,
SI_RNTI
,
SI_RNTI
,
...
@@ -2555,7 +2555,7 @@ int main(int argc, char **argv)
...
@@ -2555,7 +2555,7 @@ int main(int argc, char **argv)
UE
->
dlsch
[
UE
->
current_thread_id
[
proc
->
nr_tti_rx
]][
eNB_id
][
0
]
->
active
=
1
;
UE
->
dlsch
[
UE
->
current_thread_id
[
proc
->
nr_tti_rx
]][
eNB_id
][
0
]
->
active
=
1
;
UE
->
dlsch
[
UE
->
current_thread_id
[
proc
->
nr_tti_rx
]][
eNB_id
][
1
]
->
active
=
1
;
UE
->
dlsch
[
UE
->
current_thread_id
[
proc
->
nr_tti_rx
]][
eNB_id
][
1
]
->
active
=
1
;
UE
->
pdcch_vars
[
UE
->
current_thread_id
[
proc
->
subframe
_rx
]][
eNB_id
]
->
num_pdcch_symbols
=
num_pdcch_symbols
;
UE
->
pdcch_vars
[
UE
->
current_thread_id
[
proc
->
nr_tti
_rx
]][
eNB_id
]
->
num_pdcch_symbols
=
num_pdcch_symbols
;
UE
->
dlsch_received
[
eNB_id
]
++
;
UE
->
dlsch_received
[
eNB_id
]
++
;
}
else
{
}
else
{
...
@@ -2563,11 +2563,11 @@ int main(int argc, char **argv)
...
@@ -2563,11 +2563,11 @@ int main(int argc, char **argv)
}
}
}
}
dci_received
=
UE
->
pdcch_vars
[
UE
->
current_thread_id
[
proc
->
subframe
_rx
]][
eNB_id
]
->
dci_received
;
dci_received
=
UE
->
pdcch_vars
[
UE
->
current_thread_id
[
proc
->
nr_tti
_rx
]][
eNB_id
]
->
dci_received
;
phy_procedures_UE_RX
(
UE
,
proc
,
0
,
0
,
dci_flag
,
normal_txrx
,
no_relay
,
NULL
);
phy_procedures_UE_RX
(
UE
,
proc
,
0
,
0
,
dci_flag
,
normal_txrx
,
no_relay
,
NULL
);
dci_received
=
dci_received
-
UE
->
pdcch_vars
[
UE
->
current_thread_id
[
proc
->
subframe
_rx
]][
eNB_id
]
->
dci_received
;
dci_received
=
dci_received
-
UE
->
pdcch_vars
[
UE
->
current_thread_id
[
proc
->
nr_tti
_rx
]][
eNB_id
]
->
dci_received
;
if
(
dci_flag
&&
(
dci_received
==
0
))
{
if
(
dci_flag
&&
(
dci_received
==
0
))
{
//printf("DCI not received\n");
//printf("DCI not received\n");
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment