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
lizhongxiao
OpenXG-RAN
Commits
427eabb8
Commit
427eabb8
authored
May 16, 2018
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some debugging
parent
65303301
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
4 deletions
+13
-4
openair1/PHY/LTE_TRANSPORT/initial_syncSL.c
openair1/PHY/LTE_TRANSPORT/initial_syncSL.c
+4
-0
openair1/PHY/LTE_TRANSPORT/slss.c
openair1/PHY/LTE_TRANSPORT/slss.c
+1
-1
openair1/SIMULATION/LTE_PHY/dummy_functions.c
openair1/SIMULATION/LTE_PHY/dummy_functions.c
+2
-1
targets/RT/USER/lte-ue.c
targets/RT/USER/lte-ue.c
+6
-2
No files found.
openair1/PHY/LTE_TRANSPORT/initial_syncSL.c
View file @
427eabb8
...
@@ -79,4 +79,8 @@ int initial_syncSL(PHY_VARS_UE *ue) {
...
@@ -79,4 +79,8 @@ int initial_syncSL(PHY_VARS_UE *ue) {
return
(
-
1
);
return
(
-
1
);
}
}
}
}
else
{
write_output
(
"rxsig0.m"
,
"rxs0"
,
&
ue
->
common_vars
.
rxdata
[
0
][
ue
->
frame_parms
.
samples_per_tti
*
subframe
],
ue
->
frame_parms
.
samples_per_tti
,
1
,
1
);
exit
(
-
1
);
}
}
}
openair1/PHY/LTE_TRANSPORT/slss.c
View file @
427eabb8
...
@@ -56,7 +56,7 @@ void check_and_generate_slss(PHY_VARS_UE *ue,int frame_tx,int subframe_tx) {
...
@@ -56,7 +56,7 @@ void check_and_generate_slss(PHY_VARS_UE *ue,int frame_tx,int subframe_tx) {
ue
->
frame_parms
.
Nid_SL
=
slss
->
slss_id
;
ue
->
frame_parms
.
Nid_SL
=
slss
->
slss_id
;
// 6 PRBs => ceil(10*log10(6)) = 8
// 6 PRBs => ceil(10*log10(6)) = 8
ue
->
tx_power_dBm
[
subframe_tx
]
=
8
;
ue
->
tx_power_dBm
[
subframe_tx
]
=
-
6
;
ue
->
tx_total_RE
[
subframe_tx
]
=
72
;
ue
->
tx_total_RE
[
subframe_tx
]
=
72
;
#if defined(EXMIMO) || defined(OAI_USRP) || defined(OAI_BLADERF) || defined(OAI_LMSSDR)
#if defined(EXMIMO) || defined(OAI_USRP) || defined(OAI_BLADERF) || defined(OAI_LMSSDR)
...
...
openair1/SIMULATION/LTE_PHY/dummy_functions.c
View file @
427eabb8
...
@@ -39,7 +39,8 @@ void ue_decode_p(module_id_t module_idP, int CC_id, frame_t frame,
...
@@ -39,7 +39,8 @@ void ue_decode_p(module_id_t module_idP, int CC_id, frame_t frame,
uint8_t
CH_index
,
void
*
pdu
,
uint16_t
len
){}
uint8_t
CH_index
,
void
*
pdu
,
uint16_t
len
){}
void
ue_decode_si
(
module_id_t
module_idP
,
int
CC_id
,
frame_t
frame
,
void
ue_decode_si
(
module_id_t
module_idP
,
int
CC_id
,
frame_t
frame
,
uint8_t
CH_index
,
void
*
pdu
,
uint16_t
len
){}
uint8_t
CH_index
,
void
*
pdu
,
uint16_t
len
,
SLSS_t
*
slss
,
int
*
rxframe
,
int
*
rxsubframe
){}
void
ue_send_sdu
(
module_id_t
module_idP
,
uint8_t
CC_id
,
frame_t
frame
,
void
ue_send_sdu
(
module_id_t
module_idP
,
uint8_t
CC_id
,
frame_t
frame
,
sub_frame_t
subframe
,
uint8_t
*
sdu
,
uint16_t
sdu_len
,
sub_frame_t
subframe
,
uint8_t
*
sdu
,
uint16_t
sdu_len
,
...
...
targets/RT/USER/lte-ue.c
View file @
427eabb8
...
@@ -704,8 +704,12 @@ static void *UE_thread_synchSL(void *arg)
...
@@ -704,8 +704,12 @@ static void *UE_thread_synchSL(void *arg)
AssertFatal
(
0
==
pthread_mutex_unlock
(
&
UE
->
proc
.
mutex_synchSL
),
""
);
AssertFatal
(
0
==
pthread_mutex_unlock
(
&
UE
->
proc
.
mutex_synchSL
),
""
);
// Do initial synch here
// Do initial synch here
if
(
initial_syncSL
(
UE
)
>=
0
)
if
(
initial_syncSL
(
UE
)
>=
0
)
LOG_I
(
PHY
,
"Found SynchRef UE
\n
"
);
else
{
LOG_I
(
PHY
,
"No SynchRefUE found
\n
"
);
write_output
(
"rxsig0.m"
,
"rxs0"
,
&
UE
->
common_vars
.
rxdata_syncSL
[
0
][
0
],
40
*
UE
->
frame_parms
.
samples_per_tti
,
1
,
1
);
exit
(
-
1
);
}
AssertFatal
(
0
==
pthread_mutex_lock
(
&
UE
->
proc
.
mutex_synchSL
),
""
);
AssertFatal
(
0
==
pthread_mutex_lock
(
&
UE
->
proc
.
mutex_synchSL
),
""
);
UE
->
proc
.
instance_cnt_synchSL
--
;
UE
->
proc
.
instance_cnt_synchSL
--
;
UE
->
is_synchronizedSL
=
0
;
UE
->
is_synchronizedSL
=
0
;
...
...
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