27 #include <ns3/lte-enb-rrc.h>
28 #include <ns3/lte-enb-net-device.h>
29 #include <ns3/lte-ue-rrc.h>
30 #include <ns3/lte-ue-net-device.h>
56 uint16_t rnti, uint8_t lcid, uint32_t packetSize)
58 NS_LOG_LOGIC (path << rnti << (uint16_t)lcid << packetSize);
64 uint16_t rnti, uint8_t lcid, uint32_t packetSize, uint64_t delay)
66 NS_LOG_LOGIC (path << rnti << (uint16_t)lcid << packetSize << delay);
74 uint16_t rnti, uint8_t lcid, uint32_t packetSize)
76 NS_LOG_LOGIC (path << rnti << (uint16_t)lcid << packetSize);
83 uint16_t rnti, uint8_t lcid, uint32_t packetSize, uint64_t delay)
85 NS_LOG_LOGIC (path << rnti << (uint16_t)lcid << packetSize << delay);
119 Config::Connect (
"/NodeList/*/DeviceList/*/LteUeRrc/RandomAccessSuccessful",
121 Config::Connect (
"/NodeList/*/DeviceList/*/LteEnbRrc/ConnectionReconfiguration",
123 Config::Connect (
"/NodeList/*/DeviceList/*/LteUeRrc/ConnectionReconfiguration",
195 std::ostringstream ueManagerPath;
196 ueManagerPath << context.substr (0, context.rfind (
"/")) <<
"/UeMap/" << (uint32_t) rnti;
207 std::string ueRrcPath = context.substr (0, context.rfind (
"/"));
213 std::string ueManagerPath = it->second;
214 NS_LOG_LOGIC (
this <<
" ueManagerPath: " << ueManagerPath);
221 arg->cellId = cellId;
254 arg->cellId = cellId;
273 arg->cellId = cellId;
284 arg->cellId = cellId;
319 NS_LOG_LOGIC (
this <<
"expected context should match /NodeList/*/DeviceList/*/LteUeRrc/");
320 std::string basePath = context.substr (0, context.rfind (
"/"));
325 arg->cellId = cellId;
341 arg->cellId = cellId;
358 NS_LOG_LOGIC (
this <<
"expected context should match /NodeList/*/DeviceList/*/LteEnbRrc/");
359 std::ostringstream basePath;
360 basePath << context.substr (0, context.rfind (
"/")) <<
"/UeMap/" << (uint32_t) rnti;
365 arg->cellId = cellId;
367 Config::Connect (basePath.str () +
"/DataRadioBearerMap/*/LteRlc/RxPDU",
369 Config::Connect (basePath.str () +
"/DataRadioBearerMap/*/LteRlc/TxPDU",
384 arg->cellId = cellId;
386 Config::Connect (basePath.str () +
"/DataRadioBearerMap/*/LtePdcp/TxPDU",
388 Config::Connect (basePath.str () +
"/DataRadioBearerMap/*/LtePdcp/RxPDU",