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
canghaiwuhen
OpenXG-RAN
Commits
bf682f64
Commit
bf682f64
authored
Feb 25, 2020
by
Ding Yumei
Committed by
Haruki NAOI
Mar 30, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ulsim TDD issue
(cherry picked from commit 2afac3f92ccea2af74b714131ca4133136cf8152)
parent
3480c037
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
openair1/SIMULATION/LTE_PHY/ulsim.c
openair1/SIMULATION/LTE_PHY/ulsim.c
+3
-2
No files found.
openair1/SIMULATION/LTE_PHY/ulsim.c
View file @
bf682f64
...
...
@@ -186,7 +186,8 @@ void fill_ulsch_dci(PHY_VARS_eNB *eNB,
uint8_t
beta_RI
,
uint8_t
cqi_size
)
{
nfapi_ul_config_request_body_t
*
ul_req
=&
sched_resp
->
UL_req
->
ul_config_request_body
;
int
harq_pid
=
((
frame
*
10
)
+
subframe
)
&
7
;
//int harq_pid = ((frame*10)+subframe)&7;
int
harq_pid
=
subframe2harq_pid
(
&
eNB
->
frame_parms
,
frame
,
subframe
);
//printf("ulsch in frame %d, subframe %d => harq_pid %d, mcs %d, ndi %d\n",frame,subframe,harq_pid,mcs,ndi);
...
...
@@ -729,7 +730,7 @@ int main(int argc, char **argv) {
UE2eNB
->
max_Doppler
=
maxDoppler
;
// NN: N_RB_UL has to be defined in ulsim
for
(
int
k
=
0
;
k
<
NUMBER_OF_UE_MAX
;
k
++
)
eNB
->
ulsch
[
k
]
=
new_eNB_ulsch
(
max_turbo_iterations
,
N_RB_DL
,
0
);
for
(
int
k
=
0
;
k
<
=
NUMBER_OF_UE_MAX
;
k
++
)
eNB
->
ulsch
[
k
]
=
new_eNB_ulsch
(
max_turbo_iterations
,
N_RB_DL
,
0
);
UE
->
ulsch
[
0
]
=
new_ue_ulsch
(
N_RB_DL
,
0
);
printf
(
"ULSCH %p
\n
"
,
UE
->
ulsch
[
0
]);
...
...
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