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
spbro
OpenXG-RAN
Commits
d794f690
Commit
d794f690
authored
Jan 30, 2018
by
William Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge cleanup
parent
ee627921
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
openair2/RRC/LITE/rrc_UE.c
openair2/RRC/LITE/rrc_UE.c
+1
-3
No files found.
openair2/RRC/LITE/rrc_UE.c
View file @
d794f690
...
...
@@ -5810,7 +5810,6 @@ void *rrc_control_socket_thread_fct(void *arg)
//prepare SL_Discovery buffer
if
(
UE_rrc_inst
)
{
memcpy
((
void
*
)
&
UE_rrc_inst
[
module_id
].
SL_Discovery
[
0
].
Tx_buffer
.
Payload
[
0
],
(
void
*
)
&
sl_ctrl_msg_recv
->
sidelinkPrimitive
.
pc5_discovery_message
.
payload
[
0
],
PC5_DISCOVERY_PAYLOAD_SIZE
);
//memcpy((void*)&UE_rrc_inst[module_id].SL_Discovery[0].Tx_buffer.Payload[0], (void*)receive_buf, n);
UE_rrc_inst
[
module_id
].
SL_Discovery
[
0
].
Tx_buffer
.
payload_size
=
PC5_DISCOVERY_PAYLOAD_SIZE
;
LOG_I
(
RRC
,
"[PC5DiscoveryMessage] Copied %d bytes
\n
"
,
PC5_DISCOVERY_PAYLOAD_SIZE
);
}
...
...
@@ -5851,9 +5850,8 @@ int decode_SL_Discovery_Message(
sl_ctrl_msg_send
=
calloc
(
1
,
sizeof
(
struct
sidelink_ctrl_element
));
sl_ctrl_msg_send
->
type
=
PC5_DISCOVERY_MESSAGE
;
int
num_bytes
=
29
;
// TODO: Add a check for the SDU size.
memcpy
((
void
*
)
&
sl_ctrl_msg_send
->
sidelinkPrimitive
.
pc5_discovery_message
.
payload
[
0
],
(
void
*
)
Sdu
,
num_bytes
);
memcpy
((
void
*
)
&
sl_ctrl_msg_send
->
sidelinkPrimitive
.
pc5_discovery_message
.
payload
[
0
],
(
void
*
)
Sdu
,
PC5_DISCOVERY_PAYLOAD_SIZE
);
memcpy
((
void
*
)
send_buf
,
(
void
*
)
sl_ctrl_msg_send
,
sizeof
(
struct
sidelink_ctrl_element
));
free
(
sl_ctrl_msg_send
);
...
...
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