|
|
|
@ -226,6 +226,20 @@ void ttcn3_ue::timer_expired(uint32_t timeout_id)
|
|
|
|
|
{
|
|
|
|
|
if (timeout_id == pdu_delay_timer.id()) {
|
|
|
|
|
log.info("Testmode B PDU delay timer expired\n");
|
|
|
|
|
send_queued_data();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
void ttcn3_ue::send_queued_data()
|
|
|
|
|
{
|
|
|
|
|
if (!stack->is_rrc_connected()) {
|
|
|
|
|
log.info("RRC not connected, requesting NAS attach\n");
|
|
|
|
|
if (not stack->switch_on()) {
|
|
|
|
|
log.warning("Could not reestablish the connection\n");
|
|
|
|
|
}
|
|
|
|
|
stack->defer_callback(500, [&]() { send_queued_data(); });
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
for (auto& bearer_pdu_queue : pdu_queue) {
|
|
|
|
|
log.info("Delivering %zd buffered PDUs for LCID=%d\n", bearer_pdu_queue.second.size(), bearer_pdu_queue.first);
|
|
|
|
|
while (not bearer_pdu_queue.second.empty()) {
|
|
|
|
@ -235,7 +249,6 @@ void ttcn3_ue::timer_expired(uint32_t timeout_id)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void ttcn3_ue::loop_back_pdu_with_tft(uint32_t input_lcid, srslte::unique_byte_buffer_t pdu)
|
|
|
|
|
{
|
|
|
|
|