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
alex037yang
OpenXG-RAN
Commits
93a244cf
Commit
93a244cf
authored
Jan 02, 2017
by
Raymond.Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugging for 20 MHz RRU
parent
2507933c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
6 deletions
+9
-6
openair1/PHY/LTE_TRANSPORT/if4_tools.c
openair1/PHY/LTE_TRANSPORT/if4_tools.c
+2
-0
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_eNb.c
+1
-1
targets/PROJECTS/GENERIC-LTE-EPC/CONF/rcc.band7.tm1.if4p5.100PRB.conf
...ECTS/GENERIC-LTE-EPC/CONF/rcc.band7.tm1.if4p5.100PRB.conf
+1
-1
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-enb.c
+5
-4
No files found.
openair1/PHY/LTE_TRANSPORT/if4_tools.c
View file @
93a244cf
...
...
@@ -266,6 +266,8 @@ void recv_IF4p5(PHY_VARS_eNB *eNB, int *frame, int *subframe, uint16_t *packet_t
}
}
else
if
(
*
packet_type
==
IF4p5_PRACH
)
{
if
(
eNB
->
CC_id
==
1
)
LOG_I
(
PHY
,
"PRACH_IF4p5: CC_id %d : frame %d, subframe %d, symbol %d
\n
"
,
eNB
->
CC_id
,
*
frame
,
*
subframe
);
// FIX: hard coded prach samples length
db_fulllength
=
PRACH_HARD_CODED_NUM_SAMPLES
;
...
...
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
93a244cf
...
...
@@ -2813,7 +2813,7 @@ void phy_procedures_eNB_common_RX(PHY_VARS_eNB *eNB){
LTE_DL_FRAME_PARMS
*
fp
=
&
eNB
->
frame_parms
;
const
int
subframe
=
proc
->
subframe_rx
;
const
int
frame
=
proc
->
frame_rx
;
int
offset
=
eNB
->
CC_id
;
//(eNB->single_thread_flag==1
) ? 0 : (subframe&1);
int
offset
=
(
eNB
->
single_thread_flag
==
0
)
?
0
:
(
subframe
&
1
);
if
((
fp
->
frame_type
==
TDD
)
&&
(
subframe_select
(
fp
,
subframe
)
!=
SF_UL
))
return
;
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/rcc.band7.tm1.if4p5.100PRB.conf
View file @
93a244cf
...
...
@@ -31,7 +31,7 @@ eNBs =
tdd_config_s
=
0
;
prefix_type
=
"NORMAL"
;
eutra_band
=
7
;
downlink_frequency
=
26
6
0000000
L
;
downlink_frequency
=
26
8
0000000
L
;
uplink_frequency_offset
= -
120000000
;
Nid_cell
=
0
;
N_RB_DL
=
100
;
...
...
targets/RT/USER/lte-enb.c
View file @
93a244cf
...
...
@@ -421,7 +421,7 @@ void proc_tx_high0(PHY_VARS_eNB *eNB,
relaying_type_t
r_type
,
PHY_VARS_RN
*
rn
)
{
int
offset
=
eNB
->
CC_id
;
//
proc == &eNB->proc.proc_rxtx[0] ? 0 : 1;
int
offset
=
proc
==
&
eNB
->
proc
.
proc_rxtx
[
0
]
?
0
:
1
;
VCD_SIGNAL_DUMPER_DUMP_VARIABLE_BY_NAME
(
VCD_SIGNAL_DUMPER_VARIABLES_FRAME_NUMBER_TX0_ENB
+
offset
,
proc
->
frame_tx
);
VCD_SIGNAL_DUMPER_DUMP_VARIABLE_BY_NAME
(
VCD_SIGNAL_DUMPER_VARIABLES_SUBFRAME_NUMBER_TX0_ENB
+
offset
,
proc
->
subframe_tx
);
...
...
@@ -1013,10 +1013,8 @@ void rx_fh_if4p5(PHY_VARS_eNB *eNB,int *frame,int *subframe) {
//proc->frame_rx = (proc->frame_rx + proc->frame_offset)&1023;
if
(
packet_type
==
IF4p5_PULFFT
)
{
LOG_D
(
PHY
,
"rx_fh:if4p5: frame %d, subframe %d, PULFFT symbol %d
\n
"
,
f
,
sf
,
symbol_number
);
proc
->
subframe_rx
=
sf
;
proc
->
frame_rx
=
f
;
proc
->
symbol_mask
[
proc
->
subframe_rx
]
=
proc
->
symbol_mask
[
proc
->
subframe_rx
]
|
(
1
<<
symbol_number
);
proc
->
symbol_mask
[
sf
]
=
proc
->
symbol_mask
[
sf
]
|
(
1
<<
symbol_number
);
}
else
if
(
packet_type
==
IF4p5_PRACH
)
{
LOG_D
(
PHY
,
"rx_fh:if4p5: frame %d, subframe %d, PRACH
\n
"
,
f
,
sf
);
// wakeup prach processing
...
...
@@ -1026,6 +1024,9 @@ void rx_fh_if4p5(PHY_VARS_eNB *eNB,int *frame,int *subframe) {
if
(
eNB
->
CC_id
==
1
)
LOG_I
(
PHY
,
"rx_fh_if4p5: symbol_mask[%d] %x
\n
"
,
*
subframe
,
proc
->
symbol_mask
[
*
subframe
]);
}
while
(
proc
->
symbol_mask
[
*
subframe
]
!=
symbol_mask_full
);
proc
->
subframe_rx
=
*
subframe
;
proc
->
frame_rx
=
*
frame
;
proc
->
symbol_mask
[
*
subframe
]
=
0
;
proc
->
symbol_mask
[(
9
+*
subframe
)
%
10
]
=
0
;
// to handle a resynchronization event
...
...
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