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
wangwenhui
OpenXG-RAN
Commits
81daba19
Commit
81daba19
authored
Nov 25, 2016
by
Wilson W.K. Thong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "enabled extra logs"
This reverts commit 5466562b16d70f2729f6103e1c0d3ee619470191.
parent
e1b95332
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
12 deletions
+12
-12
openair1/PHY/LTE_ESTIMATION/lte_ue_measurements.c
openair1/PHY/LTE_ESTIMATION/lte_ue_measurements.c
+2
-2
openair1/PHY/LTE_TRANSPORT/dci.c
openair1/PHY/LTE_TRANSPORT/dci.c
+5
-5
openair1/PHY/LTE_TRANSPORT/initial_sync.c
openair1/PHY/LTE_TRANSPORT/initial_sync.c
+1
-1
openair1/PHY/LTE_TRANSPORT/pcfich.c
openair1/PHY/LTE_TRANSPORT/pcfich.c
+3
-3
openair1/SCHED/phy_procedures_lte_ue.c
openair1/SCHED/phy_procedures_lte_ue.c
+1
-1
No files found.
openair1/PHY/LTE_ESTIMATION/lte_ue_measurements.c
View file @
81daba19
...
...
@@ -32,7 +32,7 @@
#define k1 ((long long int) 1000)
#define k2 ((long long int) (1024-k1))
#define DEBUG_MEAS
//
#define DEBUG_MEAS
#ifdef USER_MODE
void
print_shorts
(
char
*
s
,
short
*
x
)
...
...
@@ -287,7 +287,7 @@ void ue_rrc_measurements(PHY_VARS_UE *ue,
for
(
l
=
0
,
nu
=
0
;
l
<=
(
4
-
ue
->
frame_parms
.
Ncp
);
l
+=
(
4
-
ue
->
frame_parms
.
Ncp
),
nu
=
3
)
{
k
=
(
nu
+
nushift
)
%
6
;
#ifdef DEBUG_MEAS
LOG_
D
(
PHY
,
"[UE %d] Frame %d subframe %d Doing ue_rrc_measurements rsrp/rssi (Nid_cell %d, nushift %d, eNB_offset %d, k %d, l %d)
\n
"
,
ue
->
Mod_id
,
ue
->
proc
.
proc_rxtx
[
subframe
&
1
].
frame_rx
,
subframe
,
Nid_cell
,
nushift
,
LOG_
I
(
PHY
,
"[UE %d] Frame %d subframe %d Doing ue_rrc_measurements rsrp/rssi (Nid_cell %d, nushift %d, eNB_offset %d, k %d, l %d)
\n
"
,
ue
->
Mod_id
,
ue
->
proc
.
proc_rxtx
[
subframe
&
1
].
frame_rx
,
subframe
,
Nid_cell
,
nushift
,
eNB_offset
,
k
,
l
);
#endif
...
...
openair1/PHY/LTE_TRANSPORT/dci.c
View file @
81daba19
...
...
@@ -403,7 +403,7 @@ void pdcch_demapping(uint16_t *llr,uint16_t *wbar,LTE_DL_FRAME_PARMS *frame_parm
for
(
i
=
0
;
i
<
4
;
i
++
)
{
wbar
[
mprime
]
=
llr
[
tti_offset0
+
i
];
#ifdef DEBUG_DCI_DECODING
LOG_
D
(
PHY
,
"PDCCH demapping mprime %d.%d <= llr %d (symbol %d re %d) -> (%d,%d)
\n
"
,
mprime
/
4
,
i
,
tti_offset0
+
i
,
symbol_offset
,
re_offset0
,
*
(
char
*
)
&
wbar
[
mprime
],
*
(
1
+
(
char
*
)
&
wbar
[
mprime
]));
LOG_
I
(
PHY
,
"PDCCH demapping mprime %d.%d <= llr %d (symbol %d re %d) -> (%d,%d)
\n
"
,
mprime
/
4
,
i
,
tti_offset0
+
i
,
symbol_offset
,
re_offset0
,
*
(
char
*
)
&
wbar
[
mprime
],
*
(
1
+
(
char
*
)
&
wbar
[
mprime
]));
#endif
mprime
++
;
re_offset0
++
;
...
...
@@ -419,7 +419,7 @@ void pdcch_demapping(uint16_t *llr,uint16_t *wbar,LTE_DL_FRAME_PARMS *frame_parm
for
(
i
=
0
;
i
<
4
;
i
++
)
{
wbar
[
mprime
]
=
llr
[
tti_offset
+
i
];
#ifdef DEBUG_DCI_DECODING
LOG_
D
(
PHY
,
"PDCCH demapping mprime %d.%d <= llr %d (symbol %d re %d) -> (%d,%d)
\n
"
,
mprime
/
4
,
i
,
tti_offset
+
i
,
symbol_offset
,
re_offset
+
i
,
*
(
char
*
)
&
wbar
[
mprime
],
*
(
1
+
(
char
*
)
&
wbar
[
mprime
]));
LOG_
I
(
PHY
,
"PDCCH demapping mprime %d.%d <= llr %d (symbol %d re %d) -> (%d,%d)
\n
"
,
mprime
/
4
,
i
,
tti_offset
+
i
,
symbol_offset
,
re_offset
+
i
,
*
(
char
*
)
&
wbar
[
mprime
],
*
(
1
+
(
char
*
)
&
wbar
[
mprime
]));
#endif
mprime
++
;
}
...
...
@@ -2473,16 +2473,16 @@ void dci_decoding(uint8_t DCI_LENGTH,
#ifdef DEBUG_DCI_DECODING
for
(
i
=
0
;
i
<
16
+
DCI_LENGTH
;
i
++
)
LOG_
D
(
PHY
,
" DCI %d : (%d,%d,%d)
\n
"
,
i
,
*
(
d_rx
+
96
+
(
3
*
i
)),
*
(
d_rx
+
97
+
(
3
*
i
)),
*
(
d_rx
+
98
+
(
3
*
i
)));
LOG_
I
(
PHY
,
" DCI %d : (%d,%d,%d)
\n
"
,
i
,
*
(
d_rx
+
96
+
(
3
*
i
)),
*
(
d_rx
+
97
+
(
3
*
i
)),
*
(
d_rx
+
98
+
(
3
*
i
)));
#endif
memset
(
decoded_output
,
0
,
2
+
((
16
+
DCI_LENGTH
)
>>
3
));
#ifdef DEBUG_DCI_DECODING
LOG_D
(
PHY
,
"Before Viterbi
\n
"
);
printf
(
"Before Viterbi
\n
"
);
for
(
i
=
0
;
i
<
16
+
DCI_LENGTH
;
i
++
)
LOG_D
(
PHY
,
"%d : (%d,%d,%d)
\n
"
,
i
,
*
(
d_rx
+
96
+
(
3
*
i
)),
*
(
d_rx
+
97
+
(
3
*
i
)),
*
(
d_rx
+
98
+
(
3
*
i
)));
printf
(
"%d : (%d,%d,%d)
\n
"
,
i
,
*
(
d_rx
+
96
+
(
3
*
i
)),
*
(
d_rx
+
97
+
(
3
*
i
)),
*
(
d_rx
+
98
+
(
3
*
i
)));
#endif
//debug_printf("Doing DCI Viterbi \n");
...
...
openair1/PHY/LTE_TRANSPORT/initial_sync.c
View file @
81daba19
...
...
@@ -41,7 +41,7 @@
#include "common_lib.h"
extern
openair0_config_t
openair0_cfg
[];
#define DEBUG_INITIAL_SYNCH
//
#define DEBUG_INITIAL_SYNCH
int
pbch_detection
(
PHY_VARS_UE
*
ue
,
runmode_t
mode
)
{
...
...
openair1/PHY/LTE_TRANSPORT/pcfich.c
View file @
81daba19
...
...
@@ -34,7 +34,7 @@
//uint16_t pcfich_reg[4];
//uint8_t pcfich_first_reg_idx = 0;
#define DEBUG_PCFICH
//
#define DEBUG_PCFICH
void
generate_pcfich_reg_mapping
(
LTE_DL_FRAME_PARMS
*
frame_parms
)
{
...
...
@@ -301,7 +301,7 @@ uint8_t rx_pcfich(LTE_DL_FRAME_PARMS *frame_parms,
}
#ifdef DEBUG_PCFICH
LOG_I
(
PHY
,
"metric %d : %d
\n
"
,
i
,
metric
);
msg
(
"metric %d : %d
\n
"
,
i
,
metric
);
#endif
if
(
metric
>
old_metric
)
{
...
...
@@ -311,7 +311,7 @@ uint8_t rx_pcfich(LTE_DL_FRAME_PARMS *frame_parms,
}
#ifdef DEBUG_PCFICH
LOG_I
(
PHY
,
"
PCFICH detected for %d PDCCH symbols
\n
"
,
num_pdcch_symbols
);
msg
(
"[PHY]
PCFICH detected for %d PDCCH symbols
\n
"
,
num_pdcch_symbols
);
#endif
return
(
num_pdcch_symbols
);
}
openair1/SCHED/phy_procedures_lte_ue.c
View file @
81daba19
...
...
@@ -3279,7 +3279,7 @@ int phy_procedures_UE_RX(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,uint8_t eNB_id,uin
#ifdef DEBUG_PHY_PROC
LOG_
I
(
PHY
,
"[%s %d] Frame %d subframe %d: Doing phy_procedures_UE_RX (-
)
\n
"
,
LOG_
D
(
PHY
,
"[%s %d] Frame %d subframe %d: Doing phy_procedures_UE_RX (%d
)
\n
"
,
(
r_type
==
multicast_relay
)
?
"RN/UE"
:
"UE"
,
ue
->
Mod_id
,
frame_rx
,
subframe_rx
);
#endif
...
...
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