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
常顺宇
OpenXG-RAN
Commits
203e7153
Commit
203e7153
authored
Jul 22, 2020
by
kn.raju
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added debug logs
parent
63920597
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
37 deletions
+46
-37
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
+2
-2
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
+44
-35
No files found.
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
View file @
203e7153
...
@@ -1147,7 +1147,7 @@ int get_nr_prach_info_from_index(uint8_t index,
...
@@ -1147,7 +1147,7 @@ int get_nr_prach_info_from_index(uint8_t index,
slot_60khz = slot >> (mu-2); // in table slots are numbered wrt 60kHz
slot_60khz = slot >> (mu-2); // in table slots are numbered wrt 60kHz
s_map = table_6_3_3_2_4_prachConfig_Index[index][5];
s_map = table_6_3_3_2_4_prachConfig_Index[index][5];
if ((s_map >> slot_60khz) & 0x01 ) {
if ((s_map >> slot_60khz) & 0x01 ) {
for
(
int
i
=
0
;
i
<
slot_60khz
;
i
++
)
{
for(int i = 0; i <
=
slot_60khz ;i++) {
if ( (s_map >> i) & 0x01) {
if ( (s_map >> i) & 0x01) {
(*RA_sfn_index)++;
(*RA_sfn_index)++;
}
}
...
@@ -1195,7 +1195,7 @@ int get_nr_prach_info_from_index(uint8_t index,
...
@@ -1195,7 +1195,7 @@ int get_nr_prach_info_from_index(uint8_t index,
subframe = slot >> mu;
subframe = slot >> mu;
s_map = table_6_3_3_2_3_prachConfig_Index[index][4];
s_map = table_6_3_3_2_3_prachConfig_Index[index][4];
if ((s_map >> subframe) & 0x01 ) {
if ((s_map >> subframe) & 0x01 ) {
for
(
int
i
=
0
;
i
<
subframe
;
i
++
)
{
for(int i = 0; i <
=
subframe ;i++) {
if ( (s_map >> i) & 0x01) {
if ( (s_map >> i) & 0x01) {
(*RA_sfn_index)++;
(*RA_sfn_index)++;
}
}
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
View file @
203e7153
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