Introducing epc interfaces for hss and srsepc namespace

master
David Rupprecht 7 years ago
parent 53f05354e6
commit 3ead643c64

@ -0,0 +1,17 @@
#ifndef EPC_INTERFACE_H
#define EPC_INTERFACE_H
#include "srslte/srslte.h"
#include "srslte/common/common.h"
namespace srsepc {
class hss_interface_s1ap
{
public:
virtual bool gen_auth_info_answer(uint64_t imsi, uint8_t *k_asme, uint8_t *autn, uint8_t *rand, uint8_t *xres) = 0;
};
}
#endif // ENB_METRICS_INTERFACE_H

@ -38,6 +38,7 @@
#include "srslte/common/logger_file.h" #include "srslte/common/logger_file.h"
#include "srslte/common/log_filter.h" #include "srslte/common/log_filter.h"
#include "srslte/common/buffer_pool.h" #include "srslte/common/buffer_pool.h"
#include "srslte/interfaces/epc_interfaces.h"
#include <fstream> #include <fstream>
#include <map> #include <map>
@ -64,7 +65,7 @@ enum hss_auth_algo {
HSS_ALGO_MILENAGE HSS_ALGO_MILENAGE
}; };
class hss class hss : public srsepc::hss_interface_s1ap
{ {
public: public:
static hss* get_instance(void); static hss* get_instance(void);

Loading…
Cancel
Save