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
9c159229
Commit
9c159229
authored
Jun 13, 2016
by
S. Sandeep Kumar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added rcc rx recv_IF4 logic
parent
89eba068
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
7 deletions
+28
-7
openair1/PHY/LTE_TRANSPORT/prach.c
openair1/PHY/LTE_TRANSPORT/prach.c
+3
-2
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_eNb.c
+25
-5
No files found.
openair1/PHY/LTE_TRANSPORT/prach.c
View file @
9c159229
...
...
@@ -1272,9 +1272,10 @@ void rx_prach(PHY_VARS_eNB *eNB,
//send prachF to RCC
return
;
}
else
if
(
eNB
->
node_function
==
NGFI_RCC_IF4
)
{
// in case of RCC and prach received rx_thread wakes up prach
//else if (eNB->node_function == NGFI_RCC_IF4) {
//wait for prachF from RRU and continue with PRACH processing
}
//
}
...
...
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
9c159229
...
...
@@ -2498,7 +2498,7 @@ void phy_procedures_eNB_common_RX(PHY_VARS_eNB *eNB,const uint8_t abstraction_fl
eNB_proc_t
*
proc
=
&
eNB
->
proc
;
int
subframe
=
proc
->
subframe_rx
;
int
frame
=
proc
->
frame_rx
;
int
symbol_number
,
symbol_mask
,
symbol_mask_full
,
prach_rx
;
if
(
subframe
==
9
)
{
subframe
=
0
;
...
...
@@ -2577,10 +2577,30 @@ void phy_procedures_eNB_common_RX(PHY_VARS_eNB *eNB,const uint8_t abstraction_fl
}
else
if
(
eNB
->
node_function
==
NGFI_RCC_IF4
)
{
// => acquisition from RRU (IF4)
// get frame/subframe information from IF4 interface
//recv_IF4(eNB,subframe<<1);
//recv_IF4(eNB,1+(subframe<<1));
// get frame/subframe information from IF4 interface
// timed loop (200 us)
symbol_mask
=
0
;
symbol_mask_full
=
(
1
<<
fp
->
symbols_per_tti
)
-
1
;
if
(
is_prach_subframe
(
fp
,
frame
,
subframe
)
>
0
)
prach_rx
=
0
;
else
prach_rx
=
1
;
do
{
recv_IF4
(
eNB
,
proc
,
&
packet_type
,
&
symbol_number
);
if
(
is_prach_subframe
(
fp
,
frame
,
subframe
)
>
0
&&
packet_type
==
PRACH
)
{
// wake up prach_rx
prach_rx
=
1
;
}
if
(
packet_type
==
PULFFT
)
symbol_mask
=
symbol_mask
|
(
1
<<
symbol_number
);
}
while
(
(
symbol_mask
!=
symbol_mask_full
)
||
(
prach_rx
==
0
));
//recv_IF4(eNB,subframe<<1);
//recv_IF4(eNB,1+(subframe<<1));
// Tobi aka mr monaco: ETH
...
...
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