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
promise
OpenXG-RAN
Commits
6f812f70
Commit
6f812f70
authored
Aug 30, 2017
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix the prach hack, only deals with fdd prach config 0
parent
761bf3c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+9
-4
No files found.
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
6f812f70
...
...
@@ -674,11 +674,16 @@ void schedule_ulsch(module_id_t module_idP,
* We need to get the information from config/phy/wherever
* as done in the commented code below.
* For the moment, we hardcode for the config used by default.
* Only
tested with FDD
.
* Only
deals with FDD, PRACH config 0
.
*/
int
frame_ul
=
(
frameP
+
(
subframeP
>=
6
))
&
1023
;
int
subframe_ul
=
(
subframeP
+
4
)
%
10
;
if
((
frame_ul
&
1
)
==
0
&&
subframe_ul
==
1
)
first_rb
[
CC_id
]
=
8
;
LTE_DL_FRAME_PARMS
*
frame_parms
;
frame_parms
=
mac_xface
->
get_lte_frame_parms
(
module_idP
,
CC_id
);
if
(
frame_parms
->
frame_type
==
FDD
&&
frame_parms
->
prach_config_common
.
prach_ConfigInfo
.
prach_ConfigIndex
==
0
)
{
int
frame_ul
=
(
frameP
+
(
subframeP
>=
6
))
&
1023
;
int
subframe_ul
=
(
subframeP
+
4
)
%
10
;
if
((
frame_ul
&
1
)
==
0
&&
subframe_ul
==
1
)
first_rb
[
CC_id
]
=
8
;
}
/*
if (mac_xface->is_prach_subframe(&(mac_xface->lte_frame_parms),frameP,subframeP)) {
...
...
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