Commit 08a6f653 authored by aligungr's avatar aligungr

Performance improvements

parent 1888647d
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
// and subject to the terms and conditions defined in LICENSE file. // and subject to the terms and conditions defined in LICENSE file.
// //
#pragma once
#include "rls_pdu.hpp" #include "rls_pdu.hpp"
#include <lib/rrc/rrc.hpp> #include <lib/rrc/rrc.hpp>
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
#include <lib/nas/nas.hpp> #include <lib/nas/nas.hpp>
#include <ue/nas/storage.hpp> #include <ue/nas/storage.hpp>
#include <ue/nas/usim/usim.hpp> #include <ue/nas/usim/usim.hpp>
#include <ue/nts.hpp>
#include <ue/task.hpp> #include <ue/task.hpp>
#include <ue/types.hpp> #include <ue/types.hpp>
#include <utils/nts.hpp> #include <utils/nts.hpp>
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#include <array> #include <array>
#include <bitset> #include <bitset>
#include <lib/nas/nas.hpp> #include <lib/nas/nas.hpp>
#include <ue/nts.hpp>
#include <ue/task.hpp> #include <ue/task.hpp>
#include <ue/types.hpp> #include <ue/types.hpp>
#include <utils/nts.hpp> #include <utils/nts.hpp>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <vector> #include <vector>
#include <lib/rrc/rrc.hpp> #include <lib/rrc/rrc.hpp>
#include <ue/nts.hpp> #include <lib/rls/rls_base.hpp>
#include <ue/types.hpp> #include <ue/types.hpp>
#include <utils/nts.hpp> #include <utils/nts.hpp>
...@@ -41,8 +41,7 @@ class RlsCtlLayer ...@@ -41,8 +41,7 @@ class RlsCtlLayer
void handleRlsMessage(int cellId, rls::RlsMessage &msg); void handleRlsMessage(int cellId, rls::RlsMessage &msg);
void assignCurrentCell(int cellId); void assignCurrentCell(int cellId);
void handleUplinkRrcDelivery(int cellId, uint32_t pduId, rrc::RrcChannel channel, OctetString &&data); void handleUplinkRrcDelivery(int cellId, uint32_t pduId, rrc::RrcChannel channel, OctetString &&data);
void handleUplinkDataDelivery(int psi, uint8_t* buffer, size_t size); void handleUplinkDataDelivery(int psi, uint8_t *buffer, size_t size);
}; };
} // namespace nr::ue } // namespace nr::ue
\ No newline at end of file
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#include "layer.hpp" #include "layer.hpp"
#include <lib/rrc/encode.hpp> #include <lib/rrc/encode.hpp>
#include <ue/nts.hpp>
#include <ue/task.hpp> #include <ue/task.hpp>
#include <utils/random.hpp> #include <utils/random.hpp>
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#include "layer.hpp" #include "layer.hpp"
#include <lib/rrc/encode.hpp> #include <lib/rrc/encode.hpp>
#include <ue/nts.hpp>
#include <ue/task.hpp> #include <ue/task.hpp>
namespace nr::ue namespace nr::ue
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#include <lib/asn/utils.hpp> #include <lib/asn/utils.hpp>
#include <lib/rrc/encode.hpp> #include <lib/rrc/encode.hpp>
#include <ue/nts.hpp>
#include <ue/task.hpp> #include <ue/task.hpp>
#include <utils/common.hpp> #include <utils/common.hpp>
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#include "layer.hpp" #include "layer.hpp"
#include <lib/rrc/encode.hpp> #include <lib/rrc/encode.hpp>
#include <ue/nts.hpp>
#include <ue/task.hpp> #include <ue/task.hpp>
#include <asn/rrc/ASN_RRC_DLInformationTransfer-IEs.h> #include <asn/rrc/ASN_RRC_DLInformationTransfer-IEs.h>
......
...@@ -122,6 +122,7 @@ struct UeConfig ...@@ -122,6 +122,7 @@ struct UeConfig
/* Assigned by program */ /* Assigned by program */
bool configureRouting{}; bool configureRouting{};
bool prefixLogger{}; bool prefixLogger{};
bool disableCmd{};
[[nodiscard]] std::string getNodeName() const [[nodiscard]] std::string getNodeName() const
{ {
......
...@@ -38,4 +38,7 @@ struct cons ...@@ -38,4 +38,7 @@ struct cons
static constexpr const char *PROC_TABLE_DIR = "/tmp/UERANSIM.proc-table/"; static constexpr const char *PROC_TABLE_DIR = "/tmp/UERANSIM.proc-table/";
static constexpr const char *PROCESS_DIR = "/proc/"; static constexpr const char *PROCESS_DIR = "/proc/";
static constexpr const char DIR_SEPARATOR = '/'; static constexpr const char DIR_SEPARATOR = '/';
static constexpr const char *UE_DOMAIN_SOCKET_PREFIX = "/tmp/UERANSIM.ue.";
static constexpr const char *UE_DOMAIN_SOCKET_POSTFIX = ".socket";
}; };
...@@ -20,8 +20,9 @@ class FdBase ...@@ -20,8 +20,9 @@ class FdBase
static constexpr const int PS_END = 15; static constexpr const int PS_END = 15;
static constexpr const int RLS_IP4 = 16; static constexpr const int RLS_IP4 = 16;
static constexpr const int RLS_IP6 = 17; static constexpr const int RLS_IP6 = 17;
static constexpr const int CMD = 18;
static constexpr const int SIZE = 18; static constexpr const int SIZE = 19;
private: private:
std::array<int, SIZE> m_fd; std::array<int, SIZE> m_fd;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment