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
zzha zzha
OpenXG-RAN
Commits
06f55552
Commit
06f55552
authored
Nov 24, 2020
by
Shweta Shrivastava
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix small error
parent
a6e15d44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
+1
-1
No files found.
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
View file @
06f55552
...
@@ -1392,7 +1392,7 @@ fapi_nr_ul_config_request_t *get_ul_config_request(NR_UE_MAC_INST_t *mac, int sl
...
@@ -1392,7 +1392,7 @@ fapi_nr_ul_config_request_t *get_ul_config_request(NR_UE_MAC_INST_t *mac, int sl
NR_TDD_UL_DL_Pattern_t
*
tdd_pattern
=
&
mac
->
scc
->
tdd_UL_DL_ConfigurationCommon
->
pattern1
;
NR_TDD_UL_DL_Pattern_t
*
tdd_pattern
=
&
mac
->
scc
->
tdd_UL_DL_ConfigurationCommon
->
pattern1
;
const
int
num_slots_per_tdd
=
nr_slots_per_frame
[
mu
]
>>
(
7
-
tdd_pattern
->
dl_UL_TransmissionPeriodicity
);
const
int
num_slots_per_tdd
=
nr_slots_per_frame
[
mu
]
>>
(
7
-
tdd_pattern
->
dl_UL_TransmissionPeriodicity
);
const
int
num_slots_ul
=
tdd_pattern
->
nrofUplinkSlots
+
(
tdd_pattern
->
nrofUplinkSymbols
!=
0
);
const
int
num_slots_ul
=
tdd_pattern
->
nrofUplinkSlots
+
(
tdd_pattern
->
nrofUplinkSymbols
!=
0
);
int
index
=
slot
+
num_slots_ul
-
num_slots_per_tdd
;
int
index
=
(
slot
+
num_slots_ul
-
num_slots_per_tdd
)
%
num_slots_per_tdd
;
LOG_D
(
MAC
,
"nr_ue_procedures: get_ul_config_request() slots per tdd %d, num_slots_ul %d, index %d
\n
"
,
LOG_D
(
MAC
,
"nr_ue_procedures: get_ul_config_request() slots per tdd %d, num_slots_ul %d, index %d
\n
"
,
num_slots_per_tdd
,
num_slots_per_tdd
,
num_slots_ul
,
num_slots_ul
,
...
...
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