avoid error logging during handover if EIA0 has been chosen

This commit is contained in:
Francisco 2021-04-30 19:31:05 +01:00 committed by Francisco Paisana
parent 051530177e
commit d175bb281b
1 changed files with 2 additions and 0 deletions

View File

@ -87,6 +87,8 @@ uint16_t compute_mac_i(uint16_t crnti,
// Compute MAC-I
switch (integ_algo) {
case srsran::INTEGRITY_ALGORITHM_ID_EIA0:
return 0;
case srsran::INTEGRITY_ALGORITHM_ID_128_EIA1:
srsran::security_128_eia1(&k_rrc_int[16],
0xffffffff, // 32-bit all to ones