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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
2ed9a48d
Commit
2ed9a48d
authored
Aug 03, 2017
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more fix for dlsim_tm7
parent
5917cdaf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
openair1/SIMULATION/LTE_PHY/dlsim_tm7.c
openair1/SIMULATION/LTE_PHY/dlsim_tm7.c
+3
-3
No files found.
openair1/SIMULATION/LTE_PHY/dlsim_tm7.c
View file @
2ed9a48d
...
@@ -2046,7 +2046,7 @@ int main(int argc, char **argv)
...
@@ -2046,7 +2046,7 @@ int main(int argc, char **argv)
}
}
for
(
SNR
=
snr0
;
SNR
<
snr1
;
SNR
+=
snr_step
)
{
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
[
0
]
=
0
;
errs
[
1
]
=
0
;
errs
[
1
]
=
0
;
errs
[
2
]
=
0
;
errs
[
2
]
=
0
;
...
@@ -3770,7 +3770,7 @@ PMI_FEEDBACK:
...
@@ -3770,7 +3770,7 @@ PMI_FEEDBACK:
//len = chbch_stats_read(stats_buffer,NULL,0,4096);
//len = chbch_stats_read(stats_buffer,NULL,0,4096);
//printf("%s\n\n",stats_buffer);
//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
;
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
],
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
);
UE
->
bitrate
[
eNB_id
]
/
1000
);
...
@@ -3778,7 +3778,7 @@ PMI_FEEDBACK:
...
@@ -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,
/* calculate the total processing time for each packet,
* get the max, min, and number of packets that exceed t>2000us
* get the max, min, and number of packets that exceed t>2000us
...
...
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