diff --git a/srsue/hdr/stack/upper/nas_5g.h b/srsue/hdr/stack/upper/nas_5g.h index c953cbf4a..854bec922 100644 --- a/srsue/hdr/stack/upper/nas_5g.h +++ b/srsue/hdr/stack/upper/nas_5g.h @@ -125,8 +125,7 @@ private: int send_registration_request(); int send_authentication_response(const uint8_t res[16]); int send_security_mode_reject(const srsran::nas_5g::cause_5gmm_t::cause_5gmm_type_::options cause); - int send_authentication_failure(const srsran::nas_5g::cause_5gmm_t::cause_5gmm_type_::options cause, - const uint8_t* auth_fail_param); + int send_authentication_failure(const srsran::nas_5g::cause_5gmm_t::cause_5gmm_type_::options cause); int send_security_mode_complete(const srsran::nas_5g::security_mode_command_t& security_mode_command); int send_registration_complete(); int send_pdu_session_establishment_request(uint32_t transaction_identity, diff --git a/srsue/src/stack/upper/nas_5g.cc b/srsue/src/stack/upper/nas_5g.cc index f70cdbfca..3c607467b 100644 --- a/srsue/src/stack/upper/nas_5g.cc +++ b/srsue/src/stack/upper/nas_5g.cc @@ -457,8 +457,7 @@ int nas_5g::send_security_mode_complete(const srsran::nas_5g::security_mode_comm return SRSRAN_SUCCESS; } -int nas_5g::send_authentication_failure(const cause_5gmm_t::cause_5gmm_type_::options cause, - const uint8_t* auth_fail_param) +int nas_5g::send_authentication_failure(const cause_5gmm_t::cause_5gmm_type_::options cause) { unique_byte_buffer_t pdu = srsran::make_byte_buffer(); if (!pdu) { @@ -785,10 +784,10 @@ int nas_5g::handle_authentication_request(authentication_request_t& authenticati } else if (auth_result == AUTH_FAILED) { logger.error("Network authentication failure."); - send_authentication_failure(cause_5gmm_t::cause_5gmm_type::mac_failure, res); + send_authentication_failure(cause_5gmm_t::cause_5gmm_type::mac_failure); } else if (auth_result == AUTH_SYNCH_FAILURE) { logger.error("Network authentication synchronization failure."); - send_authentication_failure(cause_5gmm_t::cause_5gmm_type::synch_failure, res); + send_authentication_failure(cause_5gmm_t::cause_5gmm_type::synch_failure); } else { logger.error("Unhandled authentication failure cause"); }