• Guido Casati's avatar
    Telnet: add ci command to trigger NGAP PDU Session Release · 653c0fd6
    Guido Casati authored
    This commit introduces a new telnet server command `pdu_session_release` to
    manually trigger the NGAP PDU Session Release Command message from the telnet ci shell.
    This is useful for integration testing of PDU session teardown behavior.
    
    Details:
    - Added `trigger_ngap_pdu_session_release()` to send NGAP_PDUSESSION_RELEASE_COMMAND
      to the RRC task, targeting the specified `gNB_ue_ngap_id`.
    - The command currently releases PDU session ID 10 (hardcoded).
    - Hooked into telnet shell with command: `pdu_session_release [gNB_ue_ngap_id]`
    
    Usage example:
    telnet > pdu_session_release 1
    653c0fd6
telnetsrv_ci.c 12.3 KB