Commit 717363d8 authored by matzakos's avatar matzakos

Configure PDCP entity for UE DRB with no integrity and ciphering to comply...

Configure PDCP entity for UE DRB with no integrity and ciphering to comply with configuration at gNB

-To be revisited if we want to enable integrity and ciphering for DRBs
parent 9c5c78e4
...@@ -65,9 +65,6 @@ static void nr_pdcp_entity_recv_pdu(nr_pdcp_entity_t *entity, ...@@ -65,9 +65,6 @@ static void nr_pdcp_entity_recv_pdu(nr_pdcp_entity_t *entity,
buffer[2]; buffer[2];
header_size = 3; header_size = 3;
} }
// FIXME: DRB creation is with integrity, but we don't receive it
if ( entity->type != NR_PDCP_SRB )
entity->has_integrity=0;
/* SRBs always have MAC-I, even if integrity is not active */ /* SRBs always have MAC-I, even if integrity is not active */
if ( entity->has_integrity || if ( entity->has_integrity ||
entity->type == NR_PDCP_SRB) { entity->type == NR_PDCP_SRB) {
......
...@@ -2158,8 +2158,7 @@ int8_t nr_rrc_ue_decode_ccch( const protocol_ctxt_t *const ctxt_pP, const NR_SRB ...@@ -2158,8 +2158,7 @@ int8_t nr_rrc_ue_decode_ccch( const protocol_ctxt_t *const ctxt_pP, const NR_SRB
NULL, NULL,
radioBearerConfig->drb_ToAddModList, radioBearerConfig->drb_ToAddModList,
NULL, NULL,
NR_UE_rrc_inst[ctxt_pP->module_id].cipheringAlgorithm | 0,
(NR_UE_rrc_inst[ctxt_pP->module_id].integrityProtAlgorithm << 4),
NULL, NULL,
NULL, NULL,
kUPenc, kUPenc,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment