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
68391d72
Commit
68391d72
authored
Jul 16, 2020
by
cig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix in RA window computation
parent
c8a23e2d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
openair2/LAYER2/NR_MAC_UE/nr_ra_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ra_procedures.c
+9
-10
No files found.
openair2/LAYER2/NR_MAC_UE/nr_ra_procedures.c
View file @
68391d72
...
...
@@ -62,9 +62,8 @@
#include "NR_MAC_COMMON/nr_mac.h"
#include "LAYER2/NR_MAC_UE/mac_proto.h"
extern
int64_t
table_6_3_3_2_2_prachConfig_Index
[
256
][
9
];
extern
int64_t
table_6_3_3_2_3_prachConfig_Index
[
256
][
9
];
extern
const
uint
16
_t
nr_slots_per_frame
[
5
];
extern
const
uint
8
_t
nr_slots_per_frame
[
5
];
//extern uint8_t nfapi_mode;
...
...
@@ -616,28 +615,28 @@ void nr_get_RA_window(NR_UE_MAC_INST_t *mac){
mac
->
RA_window_cnt
=
mac
->
RA_offset
*
nr_slots_per_frame
[
mu
];
// taking into account the 2 frames gap introduced by OAI gNB
switch
(
ra_ResponseWindow
)
{
case
0
:
case
NR_RACH_ConfigGeneric__ra_ResponseWindow_sl1
:
mac
->
RA_window_cnt
+=
1
;
break
;
case
1
:
case
NR_RACH_ConfigGeneric__ra_ResponseWindow_sl2
:
mac
->
RA_window_cnt
+=
2
;
break
;
case
2
:
case
NR_RACH_ConfigGeneric__ra_ResponseWindow_sl4
:
mac
->
RA_window_cnt
+=
4
;
break
;
case
3
:
case
NR_RACH_ConfigGeneric__ra_ResponseWindow_sl8
:
mac
->
RA_window_cnt
+=
8
;
break
;
case
4
:
case
NR_RACH_ConfigGeneric__ra_ResponseWindow_sl10
:
mac
->
RA_window_cnt
+=
10
;
break
;
case
5
:
case
NR_RACH_ConfigGeneric__ra_ResponseWindow_sl20
:
mac
->
RA_window_cnt
+=
20
;
break
;
case
6
:
case
NR_RACH_ConfigGeneric__ra_ResponseWindow_sl40
:
mac
->
RA_window_cnt
+=
40
;
break
;
case
7
:
case
NR_RACH_ConfigGeneric__ra_ResponseWindow_sl80
:
mac
->
RA_window_cnt
+=
80
;
break
;
}
...
...
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