Skip to content

Commit

Permalink
cu_cp: init PDCP security fields in QoS cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
robertfalkenberg committed Jan 7, 2025
1 parent 61c1065 commit 0205766
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/units/o_cu_cp/cu_cp/cu_cp_config_translators.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ static std::map<five_qi_t, srs_cu_cp::cu_cp_qos_config> generate_cu_cp_qos_confi
report_error("Invalid RLC mode: {}, mode={}\n", qos.five_qi, qos.rlc.mode);
}

out_pdcp.integrity_protection_required = false;
out_pdcp.ciphering_required = true;

// > Tx
// >> SN size
if (!pdcp_sn_size_from_uint(out_pdcp.tx.sn_size, qos.pdcp.tx.sn_field_length)) {
Expand Down

0 comments on commit 0205766

Please sign in to comment.