Skip to content

Commit a083a76

Browse files
committed
Pdcp: NrPdcpEnb::fromLowerLayer() simplified
1 parent 451b56d commit a083a76

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

src/simu5g/stack/pdcp/NrPdcpEnb.cc

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -97,17 +97,7 @@ void NrPdcpEnb::fromLowerLayer(cPacket *pktAux)
9797
return;
9898
}
9999

100-
emit(receivedPacketFromLowerLayerSignal_, pkt);
101-
102-
auto lteInfo = pkt->getTag<FlowControlInfo>();
103-
104-
EV << "LtePdcp : Received packet with CID " << lteInfo->getLcid() << "\n";
105-
EV << "LtePdcp : Packet size " << pkt->getByteLength() << " Bytes\n";
106-
107-
MacCid cid = MacCid(lteInfo->getSourceId(), lteInfo->getLcid()); // TODO: check if you have to get master node id
108-
109-
LteRxPdcpEntity *entity = getOrCreateRxEntity(cid);
110-
entity->handlePacketFromLowerLayer(pkt);
100+
LtePdcpEnbD2D::fromLowerLayer(pktAux);
111101
}
112102

113103
MacNodeId NrPdcpEnb::getDestId(inet::Ptr<FlowControlInfo> lteInfo)

0 commit comments

Comments
 (0)