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
01af5a1e
Commit
01af5a1e
authored
2 years ago
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix too large shift in ulsim
parent
2faca0fd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_eNb.c
+1
-1
openair1/SIMULATION/LTE_PHY/ulsim.c
openair1/SIMULATION/LTE_PHY/ulsim.c
+1
-1
No files found.
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
01af5a1e
...
@@ -1360,7 +1360,7 @@ void pusch_procedures(PHY_VARS_eNB *eNB,L1_rxtx_proc_t *proc) {
...
@@ -1360,7 +1360,7 @@ void pusch_procedures(PHY_VARS_eNB *eNB,L1_rxtx_proc_t *proc) {
rb
<=
ulsch_harq
->
nb_rb
;
rb
<=
ulsch_harq
->
nb_rb
;
rb
++
)
{
rb
++
)
{
int
rb2
=
rb
+
ulsch_harq
->
first_rb
;
int
rb2
=
rb
+
ulsch_harq
->
first_rb
;
eNB
->
rb_mask_ul
[
rb2
>>
5
]
|=
(
1
<<
(
rb2
&
31
));
eNB
->
rb_mask_ul
[
rb2
>>
5
]
|=
(
1
L
<<
(
rb2
&
31
));
}
}
LOG_D
(
PHY
,
"[eNB %d] frame %d, subframe %d: Scheduling ULSCH Reception for UE %d
\n
"
,
eNB
->
Mod_id
,
frame
,
subframe
,
i
);
LOG_D
(
PHY
,
"[eNB %d] frame %d, subframe %d: Scheduling ULSCH Reception for UE %d
\n
"
,
eNB
->
Mod_id
,
frame
,
subframe
,
i
);
...
...
This diff is collapsed.
Click to expand it.
openair1/SIMULATION/LTE_PHY/ulsim.c
View file @
01af5a1e
...
@@ -806,7 +806,7 @@ int main(int argc, char **argv) {
...
@@ -806,7 +806,7 @@ int main(int argc, char **argv) {
if
(
cqi_flag
==
1
)
coded_bits_per_codeword
-=
UE
->
ulsch
[
0
]
->
O
;
if
(
cqi_flag
==
1
)
coded_bits_per_codeword
-=
UE
->
ulsch
[
0
]
->
O
;
rate
=
(
double
)
dlsch_tbs25
[
get_I_TBS
(
mcs
)][
nb_rb
-
1
]
/
(
coded_bits_per_codeword
);
rate
=
(
double
)
TBStable
[
get_I_TBS
(
mcs
)][
nb_rb
-
1
]
/
(
coded_bits_per_codeword
);
printf
(
"Rate = %f (mod %d), coded bits %u
\n
"
,
rate
,
get_Qm_ul
(
mcs
),
coded_bits_per_codeword
);
printf
(
"Rate = %f (mod %d), coded bits %u
\n
"
,
rate
,
get_Qm_ul
(
mcs
),
coded_bits_per_codeword
);
for
(
ch_realization
=
0
;
ch_realization
<
n_ch_rlz
;
ch_realization
++
)
{
for
(
ch_realization
=
0
;
ch_realization
<
n_ch_rlz
;
ch_realization
++
)
{
...
...
This diff is collapsed.
Click to expand it.
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