|
|
@ -311,6 +311,11 @@ void rrc_nr::decode_dl_dcch(uint32_t lcid, unique_byte_buffer_t pdu)
|
|
|
|
task_sched.defer_task([this, smc]() { handle_security_mode_command(smc); });
|
|
|
|
task_sched.defer_task([this, smc]() { handle_security_mode_command(smc); });
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
case dl_dcch_msg_type_c::c1_c_::types::rrc_release: {
|
|
|
|
|
|
|
|
rrc_release_s rrc_release = c1->rrc_release();
|
|
|
|
|
|
|
|
task_sched.defer_task([this, rrc_release]() { handle_rrc_release(rrc_release); });
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
logger.error("The provided DL-DCCH message type is not recognized or supported");
|
|
|
|
logger.error("The provided DL-DCCH message type is not recognized or supported");
|
|
|
|
break;
|
|
|
|
break;
|
|
|
@ -2117,6 +2122,11 @@ void rrc_nr::handle_security_mode_command(const asn1::rrc_nr::security_mode_cmd_
|
|
|
|
pdcp->enable_encryption(lcid, DIRECTION_TXRX);
|
|
|
|
pdcp->enable_encryption(lcid, DIRECTION_TXRX);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void rrc_nr::handle_rrc_release(const asn1::rrc_nr::rrc_release_s& rrc_release)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
logger.info("RRC Release not handled yet");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Security helper used by Security Mode Command and Mobility handling routines
|
|
|
|
// Security helper used by Security Mode Command and Mobility handling routines
|
|
|
|
void rrc_nr::generate_as_keys()
|
|
|
|
void rrc_nr::generate_as_keys()
|
|
|
|
{
|
|
|
|
{
|
|
|
|