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
233e97c5
Commit
233e97c5
authored
Dec 08, 2015
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some debbuing information
parent
8985d4c9
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
38 additions
and
18 deletions
+38
-18
openair1/PHY/LTE_TRANSPORT/group_hopping.c
openair1/PHY/LTE_TRANSPORT/group_hopping.c
+9
-9
openair1/PHY/LTE_TRANSPORT/prach.c
openair1/PHY/LTE_TRANSPORT/prach.c
+1
-1
openair1/SCHED/phy_procedures_lte_ue.c
openair1/SCHED/phy_procedures_lte_ue.c
+15
-0
openair2/RRC/LITE/MESSAGES/asn1_msg.c
openair2/RRC/LITE/MESSAGES/asn1_msg.c
+6
-1
openair2/RRC/LITE/rrc_UE.c
openair2/RRC/LITE/rrc_UE.c
+1
-1
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.c
+6
-6
No files found.
openair1/PHY/LTE_TRANSPORT/group_hopping.c
View file @
233e97c5
...
...
@@ -52,7 +52,7 @@ void generate_grouphop(LTE_DL_FRAME_PARMS *frame_parms)
x2
=
frame_parms
->
Nid_cell
/
30
;
#ifdef DEBUG_GROUPHOP
msg
(
"[PHY] GroupHop:"
);
printf
(
"[PHY] GroupHop:"
);
#endif
for
(
ns
=
0
;
ns
<
20
;
ns
++
)
{
...
...
@@ -68,12 +68,12 @@ void generate_grouphop(LTE_DL_FRAME_PARMS *frame_parms)
}
#ifdef DEBUG_GROUPHOP
msg
(
"%d."
,
frame_parms
->
pusch_config_common
.
ul_ReferenceSignalsPUSCH
.
grouphop
[
ns
]);
printf
(
"%d."
,
frame_parms
->
pusch_config_common
.
ul_ReferenceSignalsPUSCH
.
grouphop
[
ns
]);
#endif
}
#ifdef DEBUG_GROUPHOP
msg
(
"
\n
"
);
printf
(
"
\n
"
);
#endif
}
...
...
@@ -89,7 +89,7 @@ void generate_seqhop(LTE_DL_FRAME_PARMS *frame_parms)
s
=
lte_gold_generic
(
&
x1
,
&
x2
,
reset
);
#ifdef DEBUG_GROUPHOP
msg
(
"[PHY] SeqHop:"
);
printf
(
"[PHY] SeqHop:"
);
#endif
for
(
ns
=
0
;
ns
<
20
;
ns
++
)
{
...
...
@@ -100,12 +100,12 @@ void generate_seqhop(LTE_DL_FRAME_PARMS *frame_parms)
frame_parms
->
pusch_config_common
.
ul_ReferenceSignalsPUSCH
.
seqhop
[
ns
]
=
0
;
#ifdef DEBUG_GROUPHOP
msg
(
"%d."
,
frame_parms
->
pusch_config_common
.
ul_ReferenceSignalsPUSCH
.
seqhop
[
ns
]);
printf
(
"%d."
,
frame_parms
->
pusch_config_common
.
ul_ReferenceSignalsPUSCH
.
seqhop
[
ns
]);
#endif
}
#ifdef DEBUG_GROUPHOP
msg
(
"
\n
"
);
printf
(
"
\n
"
);
#endif
}
...
...
@@ -124,7 +124,7 @@ void generate_nPRS(LTE_DL_FRAME_PARMS *frame_parms)
x2
=
(
32
*
(
uint32_t
)(
frame_parms
->
Nid_cell
/
30
))
+
fss_pusch
;
#ifdef DEBUG_GROUPHOP
msg
(
"[PHY] nPRS:"
);
printf
(
"[PHY] nPRS:"
);
#endif
for
(
n
=
0
;
n
<
(
20
*
Nsymb_UL
);
n
++
)
{
//loop over total number of bytes to generate
...
...
@@ -137,7 +137,7 @@ void generate_nPRS(LTE_DL_FRAME_PARMS *frame_parms)
if
(
n
==
next
)
{
frame_parms
->
pusch_config_common
.
ul_ReferenceSignalsPUSCH
.
nPRS
[
ns
]
=
((
uint8_t
*
)
&
s
)[
next
&
3
];
#ifdef DEBUG_GROUPHOP
msg
(
"%d."
,
frame_parms
->
pusch_config_common
.
ul_ReferenceSignalsPUSCH
.
nPRS
[
ns
]);
printf
(
"%d."
,
frame_parms
->
pusch_config_common
.
ul_ReferenceSignalsPUSCH
.
nPRS
[
ns
]);
#endif
ns
++
;
next
+=
Nsymb_UL
;
...
...
@@ -145,7 +145,7 @@ void generate_nPRS(LTE_DL_FRAME_PARMS *frame_parms)
}
#ifdef DEBUG_GROUPHOP
msg
(
"
\n
"
);
printf
(
"
\n
"
);
#endif
}
...
...
openair1/PHY/LTE_TRANSPORT/prach.c
View file @
233e97c5
...
...
@@ -1016,7 +1016,7 @@ int32_t generate_prach( PHY_VARS_UE *phy_vars_ue, uint8_t eNB_id, uint8_t subfra
#if defined(EXMIMO) || defined(OAI_USRP)
int
j
;
int
overflow
=
prach_start
+
prach_len
-
LTE_NUMBER_OF_SUBFRAMES_PER_FRAME
*
phy_vars_ue
->
lte_frame_parms
.
samples_per_tti
;
LOG_
D
(
PHY
,
"prach_start=%d, overflow=%d
\n
"
,
prach_start
,
overflow
);
LOG_
I
(
PHY
,
"prach_start=%d, overflow=%d
\n
"
,
prach_start
,
overflow
);
for
(
i
=
prach_start
,
j
=
0
;
i
<
min
(
phy_vars_ue
->
lte_frame_parms
.
samples_per_tti
*
LTE_NUMBER_OF_SUBFRAMES_PER_FRAME
,
prach_start
+
prach_len
);
i
++
,
j
++
)
{
((
int16_t
*
)
phy_vars_ue
->
lte_ue_common_vars
.
txdata
[
0
])[
2
*
i
]
=
prach
[
2
*
j
]
<<
4
;
...
...
openair1/SCHED/phy_procedures_lte_ue.c
View file @
233e97c5
...
...
@@ -781,6 +781,21 @@ void phy_procedures_UE_TX(PHY_VARS_UE *phy_vars_ue,uint8_t eNB_id,uint8_t abstra
LOG_I
(
PHY
,
"[UE %d][PUSCH %d] Frame %d subframe %d Generating PUSCH : first_rb %d, nb_rb %d, round %d, mcs %d, rv %d, cyclic_shift %d (cyclic_shift_common %d,n_DMRS2 %d,n_PRS %d), ACK (%d,%d), O_ACK %d
\n
"
,
Mod_id
,
harq_pid
,
frame_tx
,
subframe_tx
,
first_rb
,
nb_rb
,
phy_vars_ue
->
ulsch_ue
[
eNB_id
]
->
harq_processes
[
harq_pid
]
->
round
,
phy_vars_ue
->
ulsch_ue
[
eNB_id
]
->
harq_processes
[
harq_pid
]
->
mcs
,
phy_vars_ue
->
ulsch_ue
[
eNB_id
]
->
harq_processes
[
harq_pid
]
->
rvidx
,
(
frame_parms
->
pusch_config_common
.
ul_ReferenceSignalsPUSCH
.
cyclicShift
+
phy_vars_ue
->
ulsch_ue
[
eNB_id
]
->
harq_processes
[
harq_pid
]
->
n_DMRS2
+
frame_parms
->
pusch_config_common
.
ul_ReferenceSignalsPUSCH
.
nPRS
[
slot_tx
])
%
12
,
frame_parms
->
pusch_config_common
.
ul_ReferenceSignalsPUSCH
.
cyclicShift
,
phy_vars_ue
->
ulsch_ue
[
eNB_id
]
->
harq_processes
[
harq_pid
]
->
n_DMRS2
,
frame_parms
->
pusch_config_common
.
ul_ReferenceSignalsPUSCH
.
nPRS
[
slot_tx
],
phy_vars_ue
->
ulsch_ue
[
eNB_id
]
->
o_ACK
[
0
],
phy_vars_ue
->
ulsch_ue
[
eNB_id
]
->
o_ACK
[
1
],
phy_vars_ue
->
ulsch_ue
[
eNB_id
]
->
harq_processes
[
harq_pid
]
->
O_ACK
);
#ifdef DEBUG_PHY_PROC
LOG_D
(
PHY
,
"[UE %d][PUSCH %d] Frame %d subframe %d Generating PUSCH : first_rb %d, nb_rb %d, round %d, mcs %d, rv %d, cyclic_shift %d (cyclic_shift_common %d,n_DMRS2 %d,n_PRS %d), ACK (%d,%d), O_ACK %d
\n
"
,
...
...
openair2/RRC/LITE/MESSAGES/asn1_msg.c
View file @
233e97c5
...
...
@@ -107,7 +107,7 @@ int errno;
# endif
#endif
//
#define XER_PRINT
#define XER_PRINT
extern
Enb_properties_array_t
enb_properties
;
typedef
struct
xer_sprint_string_s
{
...
...
@@ -1298,6 +1298,11 @@ uint8_t do_RRCConnectionSetupComplete(uint8_t Mod_id, uint8_t *buffer, const uin
AssertFatal
(
enc_rval
.
encoded
>
0
,
"ASN1 message encoding failed (%s, %lu)!
\n
"
,
enc_rval
.
failed_type
->
name
,
enc_rval
.
encoded
);
#ifdef XER_PRINT
xer_fprint
(
stdout
,
&
asn_DEF_UL_DCCH_Message
,
(
void
*
)
&
ul_dcch_msg
);
#endif
#if defined(ENABLE_ITTI)
# if !defined(DISABLE_XER_SPRINT)
{
...
...
openair2/RRC/LITE/rrc_UE.c
View file @
233e97c5
...
...
@@ -103,7 +103,7 @@ extern UE_MAC_INST *UE_mac_inst;
extern
void
*
bigphys_malloc
(
int
);
#endif
//
#define XER_PRINT
#define XER_PRINT
extern
int8_t
dB_fixed2
(
uint32_t
x
,
uint32_t
y
);
...
...
targets/RT/USER/lte-softmodem.c
View file @
233e97c5
...
...
@@ -334,7 +334,7 @@ void print_opp_meas(void);
int
transmission_mode
=
1
;
int16_t
glog_level
=
LOG_
INFO
;
int16_t
glog_level
=
LOG_
DEBUG
;
int16_t
glog_verbosity
=
LOG_MED
;
int16_t
hw_log_level
=
LOG_INFO
;
int16_t
hw_log_verbosity
=
LOG_MED
;
...
...
@@ -2524,9 +2524,9 @@ int main( int argc, char **argv )
set_comp_log
(
HW
,
LOG_INFO
,
LOG_HIGH
,
1
);
set_comp_log
(
PHY
,
LOG_INFO
,
LOG_HIGH
,
1
);
set_comp_log
(
MAC
,
LOG_
INFO
,
LOG_HIGH
,
1
);
set_comp_log
(
RLC
,
LOG_
INFO
,
LOG_HIGH
,
1
);
set_comp_log
(
PDCP
,
LOG_
INFO
,
LOG_HIGH
,
1
);
set_comp_log
(
MAC
,
LOG_
DEBUG
,
LOG_HIGH
,
1
);
set_comp_log
(
RLC
,
LOG_
DEBUG
,
LOG_HIGH
,
1
);
set_comp_log
(
PDCP
,
LOG_
DEBUG
,
LOG_HIGH
,
1
);
set_comp_log
(
OTG
,
LOG_INFO
,
LOG_HIGH
,
1
);
set_comp_log
(
RRC
,
LOG_INFO
,
LOG_HIGH
,
1
);
#if defined(ENABLE_ITTI)
...
...
@@ -3019,7 +3019,7 @@ openair0_cfg[card].num_rb_dl=frame_parms[0]->N_RB_DL;
openair0
.
type
=
EXMIMO_IF
;
printf
(
"Setting the HW to EXMIMO and initializing openair0 ...
\n
"
);
#elif OAI_USRP
openair0
.
type
=
USRP_IF
;
openair0
.
type
=
USRP_
B200_
IF
;
printf
(
"Setting the HW to USRP and initializing openair0 ...
\n
"
);
#elif OAI_BLADERF
openair0
.
type
=
BLADERF_IF
;
...
...
@@ -3107,7 +3107,7 @@ openair0_cfg[card].num_rb_dl=frame_parms[0]->N_RB_DL;
#ifdef OAI_USRP
openair_daq_vars
.
timing_advance
=
timing_advance
;
#else
openair_daq_vars
.
timing_advance
=
160
;
openair_daq_vars
.
timing_advance
=
timing_advance
;
#endif
if
(
setup_ue_buffers
(
UE
,
&
openair0_cfg
[
0
],
rf_map
)
!=
0
)
{
printf
(
"Error setting up eNB buffer
\n
"
);
...
...
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