mirror of https://github.com/pvnis/srsRAN_4G.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.8 KiB
C
45 lines
1.8 KiB
C
4 years ago
|
/**
|
||
|
*
|
||
|
* \section COPYRIGHT
|
||
|
*
|
||
4 years ago
|
* Copyright 2013-2021 Software Radio Systems Limited
|
||
4 years ago
|
*
|
||
|
* By using this file, you agree to the terms and conditions set
|
||
|
* forth in the LICENSE file which can be found at the top level of
|
||
|
* the distribution.
|
||
|
*
|
||
|
*/
|
||
|
|
||
4 years ago
|
#ifndef SRSRAN_UE_NAS_INTERFACES_H
|
||
|
#define SRSRAN_UE_NAS_INTERFACES_H
|
||
4 years ago
|
|
||
4 years ago
|
#include "srsran/interfaces/rrc_interface_types.h"
|
||
4 years ago
|
|
||
|
namespace srsue {
|
||
|
|
||
|
class nas_interface_rrc
|
||
|
{
|
||
|
public:
|
||
|
const static int MAX_FOUND_PLMNS = 16;
|
||
|
struct found_plmn_t {
|
||
4 years ago
|
srsran::plmn_id_t plmn_id;
|
||
4 years ago
|
uint16_t tac;
|
||
|
};
|
||
|
|
||
|
virtual void left_rrc_connected() = 0;
|
||
4 years ago
|
virtual void set_barring(srsran::barring_t barring) = 0;
|
||
|
virtual bool paging(srsran::s_tmsi_t* ue_identity) = 0;
|
||
4 years ago
|
virtual bool is_registered() = 0;
|
||
4 years ago
|
virtual void write_pdu(uint32_t lcid, srsran::unique_byte_buffer_t pdu) = 0;
|
||
4 years ago
|
virtual uint32_t get_k_enb_count() = 0;
|
||
|
virtual bool get_k_asme(uint8_t* k_asme_, uint32_t n) = 0;
|
||
|
virtual uint32_t get_ipv4_addr() = 0;
|
||
|
virtual bool get_ipv6_addr(uint8_t* ipv6_addr) = 0;
|
||
|
virtual void plmn_search_completed(const found_plmn_t found_plmns[MAX_FOUND_PLMNS], int nof_plmns) = 0;
|
||
|
virtual bool connection_request_completed(bool outcome) = 0;
|
||
|
};
|
||
|
|
||
|
} // namespace srsue
|
||
|
|
||
4 years ago
|
#endif // SRSRAN_UE_NAS_INTERFACES_H
|