Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
136c61ac
Commit
136c61ac
authored
Oct 23, 2017
by
Tien-Thinh Nguyen
Browse files
receive SidelinkUEInformation (eNB)
parent
7abf1227
Changes
1
Show whitespace changes
Inline
Side-by-side
openair2/RRC/LITE/rrc_eNB.c
View file @
136c61ac
...
...
@@ -4950,6 +4950,45 @@ rrc_eNB_decode_dcch(
}
return
0
;
//TTN for D2D
}
else
if
(
ul_dcch_msg
->
message
.
present
==
UL_DCCH_MessageType_PR_messageClassExtension
){
switch
(
ul_dcch_msg
->
message
.
choice
.
messageClassExtension
.
present
)
{
case
UL_DCCH_MessageType__messageClassExtension__c2_PR_NOTHING
:
/* No components present */
break
;
case
UL_DCCH_MessageType__messageClassExtension__c2_PR_sidelinkUEInformation_r12
:
//SidelinkUEInformation
#ifdef RRC_MSG_PRINT
LOG_F
(
RRC
,
"[MSG] SidelinkUEInformation
\n
"
);
for
(
i
=
0
;
i
<
sdu_sizeP
;
i
++
)
{
LOG_F
(
RRC
,
"%02x "
,
((
uint8_t
*
)
Rx_sdu
)[
i
]);
}
LOG_F
(
RRC
,
"
\n
"
);
#endif
MSC_LOG_RX_MESSAGE
(
MSC_RRC_ENB
,
MSC_RRC_UE
,
Rx_sdu
,
sdu_sizeP
,
MSC_AS_TIME_FMT
" SidelinkUEInformation UE %x size %u"
,
MSC_AS_TIME_ARGS
(
ctxt_pP
),
ue_context_p
->
ue_context
.
rnti
,
sdu_sizeP
);
LOG_I
(
RRC
,
PROTOCOL_RRC_CTXT_UE_FMT
" RLC RB %02d --- RLC_DATA_IND %d bytes "
"(SidelinkUEInformation) ---> RRC_eNB
\n
"
,
PROTOCOL_RRC_CTXT_UE_ARGS
(
ctxt_pP
),
DCCH
,
sdu_sizeP
);
break
;
default:
break
;
}
//end TTN
}
else
{
LOG_E
(
RRC
,
PROTOCOL_RRC_CTXT_UE_FMT
" Unknown error %s:%u
\n
"
,
PROTOCOL_RRC_CTXT_UE_ARGS
(
ctxt_pP
),
...
...
Cedric Roux
@cedric.roux
mentioned in commit
f254107b
·
May 09, 2018
mentioned in commit
f254107b
mentioned in commit f254107b24f80adbb532581c9b96471f60a3de88
Toggle commit list
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