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
f86a5a16
Commit
f86a5a16
authored
May 16, 2018
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'l1-sidelink' of
https://gitlab.eurecom.fr/matzakos/LTE-D2D
into l1-sidelink
parents
574f42f3
427eabb8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
openair1/PHY/LTE_TRANSPORT/initial_syncSL.c
openair1/PHY/LTE_TRANSPORT/initial_syncSL.c
+4
-0
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 @
f86a5a16
...
...
@@ -79,4 +79,8 @@ int initial_syncSL(PHY_VARS_UE *ue) {
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/SIMULATION/LTE_PHY/dummy_functions.c
View file @
f86a5a16
...
...
@@ -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
){}
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
,
sub_frame_t
subframe
,
uint8_t
*
sdu
,
uint16_t
sdu_len
,
...
...
targets/RT/USER/lte-ue.c
View file @
f86a5a16
...
...
@@ -704,8 +704,12 @@ static void *UE_thread_synchSL(void *arg)
AssertFatal
(
0
==
pthread_mutex_unlock
(
&
UE
->
proc
.
mutex_synchSL
),
""
);
// 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
),
""
);
UE
->
proc
.
instance_cnt_synchSL
--
;
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