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
wangjie
OpenXG-RAN
Commits
66f957fb
Commit
66f957fb
authored
Nov 26, 2020
by
Francesco Mani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix TA scaling at ue
parent
fbdcba9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
+4
-2
No files found.
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
View file @
66f957fb
...
...
@@ -138,13 +138,14 @@ uint16_t get_bw_scaling(uint16_t bwp_ul_NB_RB){
uint16_t
bw_scaling
;
// scale the 16 factor in N_TA calculation in 38.213 section 4.2 according to the used FFT size
switch
(
bwp_ul_NB_RB
)
{
case
24
:
bw_scaling
=
4
;
break
;
case
32
:
bw_scaling
=
4
;
break
;
case
66
:
bw_scaling
=
8
;
break
;
case
106
:
bw_scaling
=
16
;
break
;
case
217
:
bw_scaling
=
32
;
break
;
case
245
:
bw_scaling
=
32
;
break
;
case
273
:
bw_scaling
=
32
;
break
;
default:
abort
(
);
default:
AssertFatal
(
1
==
0
,
"N_RB_UL %d not supported
\n
"
,
bwp_ul_NB_RB
);
}
return
bw_scaling
;
}
...
...
@@ -1243,13 +1244,14 @@ void nr_ue_dlsch_procedures(PHY_VARS_NR_UE *ue,
// scale the 16 factor in N_TA calculation in 38.213 section 4.2 according to the used FFT size
switch
(
ue
->
frame_parms
.
N_RB_DL
)
{
case
24
:
bw_scaling
=
4
;
break
;
case
32
:
bw_scaling
=
4
;
break
;
case
66
:
bw_scaling
=
8
;
break
;
case
106
:
bw_scaling
=
16
;
break
;
case
217
:
bw_scaling
=
32
;
break
;
case
245
:
bw_scaling
=
32
;
break
;
case
273
:
bw_scaling
=
32
;
break
;
default:
abort
(
);
default:
AssertFatal
(
1
==
0
,
"N_RB_DL %d not supported
\n
"
,
ue
->
frame_parms
.
N_RB_DL
);
}
/* Time Alignment procedure
...
...
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