remove asn1 namespace from srsue files

master
Francisco Paisana 5 years ago committed by Francisco Paisana
parent 451bbb20e8
commit 2950d26daa

@ -27,20 +27,6 @@
#include "srslte/srslte.h" #include "srslte/srslte.h"
#include <string> #include <string>
/************************
* Forward declarations
***********************/
namespace asn1 {
namespace rrc {
struct plmn_id_s;
struct s_tmsi_s;
struct rlc_cfg_c;
struct srb_to_add_mod_s;
} // namespace rrc
} // namespace asn1
/************************ /************************
* Interface types * Interface types
***********************/ ***********************/

@ -22,8 +22,6 @@
#include "srslte/upper/rlc_um_base.h" #include "srslte/upper/rlc_um_base.h"
#include <sstream> #include <sstream>
using namespace asn1::rrc;
namespace srslte { namespace srslte {
rlc_um_base::rlc_um_base(srslte::log_ref log_, rlc_um_base::rlc_um_base(srslte::log_ref log_,

@ -24,8 +24,6 @@
#define RX_MOD_BASE(x) (((x)-vr_uh - cfg.um.rx_window_size) % cfg.um.rx_mod) #define RX_MOD_BASE(x) (((x)-vr_uh - cfg.um.rx_window_size) % cfg.um.rx_mod)
using namespace asn1::rrc;
namespace srslte { namespace srslte {
rlc_um_lte::rlc_um_lte(srslte::log_ref log_, rlc_um_lte::rlc_um_lte(srslte::log_ref log_,

@ -24,8 +24,6 @@
#define RX_MOD_NR_BASE(x) (((x)-RX_Next_Highest - cfg.um_nr.UM_Window_Size) % cfg.um_nr.mod) #define RX_MOD_NR_BASE(x) (((x)-RX_Next_Highest - cfg.um_nr.UM_Window_Size) % cfg.um_nr.mod)
using namespace asn1::rrc;
namespace srslte { namespace srslte {
rlc_um_nr::rlc_um_nr(srslte::log_ref log_, rlc_um_nr::rlc_um_nr(srslte::log_ref log_,

@ -32,7 +32,6 @@
using namespace srsue; using namespace srsue;
using namespace srslte; using namespace srslte;
using namespace asn1::rrc;
srslte::log_ref rrc_log1("RLC_AM_1"); srslte::log_ref rrc_log1("RLC_AM_1");
srslte::log_ref rrc_log2("RLC_AM_2"); srslte::log_ref rrc_log2("RLC_AM_2");

@ -35,7 +35,6 @@
#define NBUFS 5 #define NBUFS 5
using namespace srslte; using namespace srslte;
using namespace asn1::rrc;
class rlc_tester : public srsue::pdcp_interface_rlc, public srsue::rrc_interface_rlc class rlc_tester : public srsue::pdcp_interface_rlc, public srsue::rrc_interface_rlc
{ {

@ -37,7 +37,6 @@
using namespace srslte; using namespace srslte;
using namespace srsue; using namespace srsue;
using namespace asn1::rrc;
// Helper class to create two pre-configured RLC instances // Helper class to create two pre-configured RLC instances
class rlc_um_lte_test_context1 class rlc_um_lte_test_context1

@ -40,8 +40,6 @@
#define CURRENT_SFIDX (sf_cfg_dl.tti % 10) #define CURRENT_SFIDX (sf_cfg_dl.tti % 10)
#define CURRENT_TTI_TX (sf_cfg_ul.tti) #define CURRENT_TTI_TX (sf_cfg_ul.tti)
using namespace asn1::rrc;
namespace srsue { namespace srsue {
/************ /************

@ -46,7 +46,6 @@
log_h->debug(fmt, ##__VA_ARGS__) log_h->debug(fmt, ##__VA_ARGS__)
using namespace std; using namespace std;
using namespace asn1::rrc;
namespace srsue { namespace srsue {

@ -38,8 +38,6 @@
if (SRSLTE_DEBUG_ENABLED) \ if (SRSLTE_DEBUG_ENABLED) \
log_h->debug(fmt, ##__VA_ARGS__) log_h->debug(fmt, ##__VA_ARGS__)
using namespace asn1::rrc;
namespace srsue { namespace srsue {
static srslte::rf_buffer_t zeros_multi(1); static srslte::rf_buffer_t zeros_multi(1);

@ -33,8 +33,6 @@
#include "srslte/common/pcap.h" #include "srslte/common/pcap.h"
#include "srsue/hdr/stack/mac/mac.h" #include "srsue/hdr/stack/mac/mac.h"
using namespace asn1::rrc;
namespace srsue { namespace srsue {
mac::mac(const char* logname) : mac::mac(const char* logname) :

@ -28,7 +28,6 @@
#define CHECK_SIM_PIN 0 #define CHECK_SIM_PIN 0
using namespace srslte; using namespace srslte;
using namespace asn1::rrc;
namespace srsue { namespace srsue {

@ -24,7 +24,6 @@
#include <sstream> #include <sstream>
using namespace srslte; using namespace srslte;
using namespace asn1::rrc;
namespace srsue { namespace srsue {

Loading…
Cancel
Save