Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dyyu
openairinterface5G
Commits
2ed9a48d
Commit
2ed9a48d
authored
Aug 03, 2017
by
Cédric Roux
Browse files
more fix for dlsim_tm7
parent
5917cdaf
Changes
1
Hide whitespace changes
Inline
Side-by-side
openair1/SIMULATION/LTE_PHY/dlsim_tm7.c
View file @
2ed9a48d
...
...
@@ -2046,7 +2046,7 @@ int main(int argc, char **argv)
}
for
(
SNR
=
snr0
;
SNR
<
snr1
;
SNR
+=
snr_step
)
{
UE
->
proc
.
proc_rxtx
[
subframe
&
1
].
frame_rx
=
0
;
UE
->
proc
.
proc_rxtx
[
UE
->
current_thread_id
[
subframe
]
].
frame_rx
=
0
;
errs
[
0
]
=
0
;
errs
[
1
]
=
0
;
errs
[
2
]
=
0
;
...
...
@@ -3770,7 +3770,7 @@ PMI_FEEDBACK:
//len = chbch_stats_read(stats_buffer,NULL,0,4096);
//printf("%s\n\n",stats_buffer);
if
(
UE
->
proc
.
proc_rxtx
[
subframe
&
1
].
frame_rx
%
10
==
0
)
{
if
(
UE
->
proc
.
proc_rxtx
[
UE
->
current_thread_id
[
subframe
]
].
frame_rx
%
10
==
0
)
{
UE
->
bitrate
[
eNB_id
]
=
(
UE
->
total_TBS
[
eNB_id
]
-
UE
->
total_TBS_last
[
eNB_id
])
*
10
;
LOG_D
(
PHY
,
"[UE %d] Calculating bitrate: total_TBS = %d, total_TBS_last = %d, bitrate = %d kbits/s
\n
"
,
UE
->
Mod_id
,
UE
->
total_TBS
[
eNB_id
],
UE
->
total_TBS_last
[
eNB_id
],
UE
->
bitrate
[
eNB_id
]
/
1000
);
...
...
@@ -3778,7 +3778,7 @@ PMI_FEEDBACK:
}
UE
->
proc
.
proc_rxtx
[
subframe
&
1
].
frame_rx
++
;
UE
->
proc
.
proc_rxtx
[
UE
->
current_thread_id
[
subframe
]
].
frame_rx
++
;
/* calculate the total processing time for each packet,
* get the max, min, and number of packets that exceed t>2000us
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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