2020-11-26 01:25:22 -08:00
|
|
|
/**
|
2020-05-07 10:18:12 -07:00
|
|
|
*
|
2020-11-26 01:25:22 -08:00
|
|
|
* \section COPYRIGHT
|
2020-05-07 10:18:12 -07:00
|
|
|
*
|
2021-03-19 03:45:56 -07:00
|
|
|
* Copyright 2013-2021 Software Radio Systems Limited
|
2020-05-07 10:18:12 -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.
|
2020-05-07 10:18:12 -07:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SRSUE_NAS_CONFIG_H
|
|
|
|
#define SRSUE_NAS_CONFIG_H
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace srsue {
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
int airplane_t_on_ms = -1;
|
|
|
|
int airplane_t_off_ms = -1;
|
|
|
|
} nas_sim_args_t;
|
|
|
|
|
|
|
|
class nas_args_t
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
nas_args_t() : force_imsi_attach(false) {}
|
2021-05-04 08:36:36 -07:00
|
|
|
~nas_args_t() = default;
|
2020-05-07 10:18:12 -07:00
|
|
|
std::string apn_name;
|
|
|
|
std::string apn_protocol;
|
|
|
|
std::string apn_user;
|
|
|
|
std::string apn_pass;
|
|
|
|
bool force_imsi_attach;
|
|
|
|
std::string eia;
|
|
|
|
std::string eea;
|
2021-07-09 01:12:31 -07:00
|
|
|
std::string ia5g;
|
|
|
|
std::string ea5g;
|
2020-05-07 10:18:12 -07:00
|
|
|
nas_sim_args_t sim;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace srsue
|
|
|
|
#endif // SRSUE_NAS_COMMON_H
|