2020-11-26 01:25:22 -08:00
|
|
|
/**
|
2019-04-08 05:22:01 -07:00
|
|
|
*
|
2020-11-26 01:25:22 -08:00
|
|
|
* \section COPYRIGHT
|
2019-04-08 05:22:01 -07:00
|
|
|
*
|
2021-03-19 03:45:56 -07:00
|
|
|
* Copyright 2013-2021 Software Radio Systems Limited
|
2019-04-08 05:22:01 -07:00
|
|
|
*
|
2020-11-26 01:25:22 -08:00
|
|
|
* 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.
|
2019-04-08 05:22:01 -07:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
#ifndef SRSEPC_S1AP_PAGING_H
|
|
|
|
#define SRSEPC_S1AP_PAGING_H
|
|
|
|
|
|
|
|
#include "s1ap_common.h"
|
2021-03-19 03:45:56 -07:00
|
|
|
#include "srsran/common/buffer_pool.h"
|
|
|
|
#include "srsran/common/common.h"
|
|
|
|
#include "srsran/srslog/srslog.h"
|
2019-04-08 05:22:01 -07:00
|
|
|
|
|
|
|
namespace srsepc {
|
|
|
|
|
|
|
|
class s1ap;
|
|
|
|
class mme;
|
|
|
|
|
|
|
|
class s1ap_paging
|
|
|
|
{
|
2020-09-18 03:29:55 -07:00
|
|
|
s1ap_paging() = default;
|
|
|
|
|
2019-04-08 05:22:01 -07:00
|
|
|
public:
|
2020-09-18 03:29:55 -07:00
|
|
|
virtual ~s1ap_paging() = default;
|
|
|
|
|
|
|
|
static s1ap_paging* get_instance();
|
|
|
|
void init();
|
2019-04-08 05:22:01 -07:00
|
|
|
|
|
|
|
// Packing/unpacking helper functions
|
|
|
|
bool send_paging(uint64_t imsi, uint16_t erab_to_setup);
|
|
|
|
|
|
|
|
private:
|
2021-10-27 07:22:01 -07:00
|
|
|
mme* m_mme = nullptr;
|
|
|
|
s1ap* m_s1ap = nullptr;
|
2021-01-29 02:29:20 -08:00
|
|
|
srslog::basic_logger& m_logger = srslog::fetch_basic_logger("S1AP");
|
2019-04-08 05:22:01 -07:00
|
|
|
|
2021-02-06 17:08:15 -08:00
|
|
|
s1ap_args_t m_s1ap_args;
|
2019-04-08 05:22:01 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace srsepc
|
|
|
|
|
|
|
|
#endif // SRSEPC_S1AP_PAGING_H
|