mirror of https://github.com/PentHertz/srsLTE.git
avoid error logging during handover if EIA0 has been chosen
This commit is contained in:
parent
051530177e
commit
d175bb281b
|
@ -87,6 +87,8 @@ uint16_t compute_mac_i(uint16_t crnti,
|
||||||
|
|
||||||
// Compute MAC-I
|
// Compute MAC-I
|
||||||
switch (integ_algo) {
|
switch (integ_algo) {
|
||||||
|
case srsran::INTEGRITY_ALGORITHM_ID_EIA0:
|
||||||
|
return 0;
|
||||||
case srsran::INTEGRITY_ALGORITHM_ID_128_EIA1:
|
case srsran::INTEGRITY_ALGORITHM_ID_128_EIA1:
|
||||||
srsran::security_128_eia1(&k_rrc_int[16],
|
srsran::security_128_eia1(&k_rrc_int[16],
|
||||||
0xffffffff, // 32-bit all to ones
|
0xffffffff, // 32-bit all to ones
|
||||||
|
|
Loading…
Reference in New Issue