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
a504d7b2
Commit
a504d7b2
authored
May 24, 2018
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correction for frame encoding in MIB-SL
parent
bc85cb19
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
openair2/RRC/LITE/L2_interface_ue.c
openair2/RRC/LITE/L2_interface_ue.c
+1
-1
openair2/RRC/LITE/MESSAGES/asn1_msg.c
openair2/RRC/LITE/MESSAGES/asn1_msg.c
+4
-1
No files found.
openair2/RRC/LITE/L2_interface_ue.c
View file @
a504d7b2
...
...
@@ -118,7 +118,7 @@ mac_rrc_data_req_ue(
else
if
(
Srb_idP
==
MIBCH
)
{
int
Ret_size
=
do_MIB_SL
(
&
ctxt
,
eNB_indexP
,
frameP
,
0
);
memcpy
((
void
*
)
buffer_pP
,(
void
*
)
UE_rrc_inst
[
Mod_idP
].
SL_MIB
,
Ret_size
);
LOG_I
(
RRC
,
"MIB-SL for %d.%d: %x.%x.%x.%x.%x
\n
"
,
frameP
,
0
,
buffer_pP
[
0
],
buffer_pP
[
1
],
buffer_pP
[
2
],
buffer_pP
[
3
],
buffer_pP
[
4
]);
LOG_I
(
RRC
,
"MIB-SL for %d.%d: %x.%x.%x.%x.%x
\n
"
,
frameP
/
10
,
frameP
%
1
0
,
buffer_pP
[
0
],
buffer_pP
[
1
],
buffer_pP
[
2
],
buffer_pP
[
3
],
buffer_pP
[
4
]);
return
(
Ret_size
);
}
...
...
openair2/RRC/LITE/MESSAGES/asn1_msg.c
View file @
a504d7b2
...
...
@@ -322,7 +322,10 @@ uint8_t do_MIB_SL(const protocol_ctxt_t* const ctxt_pP, const uint8_t eNB_index,
}
//set FrameNumber, subFrameNumber
sl_mib
->
message
.
directFrameNumber_r12
.
buf
=
&
frame
;
uint8_t
buf
[
2
];
buf
[
1
]
=
frame
&
3
;
buf
[
0
]
=
(
frame
>>
2
)
&
255
;
sl_mib
->
message
.
directFrameNumber_r12
.
buf
=
&
buf
[
0
];
sl_mib
->
message
.
directFrameNumber_r12
.
size
=
2
;
sl_mib
->
message
.
directFrameNumber_r12
.
bits_unused
=
6
;
sl_mib
->
message
.
directSubframeNumber_r12
=
subframe
;
...
...
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