LteHarqUnitTxD2D.h Source File

Simu5G: LteHarqUnitTxD2D.h Source File
Simu5G
LteHarqUnitTxD2D.h
1//
2// Simu5G
3//
4// Copyright (C) 2012-2021 Giovanni Nardini, Giovanni Stea, Antonio Virdis et al. (University of Pisa)
5// Copyright (C) 2022-2026 Giovanni Nardini, Giovanni Stea et al. (University of Pisa)
6//
7// This file is part of a software released under the license included in file
8// "license.pdf". Please read LICENSE and README files before using it.
9// The above files and the present reference are part of the software itself,
10// and cannot be removed from it.
11//
12
13#ifndef _LTE_LTEHARQUNITTXD2D_H_
14#define _LTE_LTEHARQUNITTXD2D_H_
15
16#include "simu5g/stack/mac/buffer/harq/LteHarqUnitTx.h"
17
18namespace simu5g {
19
20using namespace omnetpp;
21
36{
37 protected:
38
39 // D2D Statistics
40 simsignal_t macCellPacketLossD2DSignal_ = SIMSIGNAL_NULL;
41 simsignal_t macPacketLossD2DSignal_ = SIMSIGNAL_NULL;
42 simsignal_t harqErrorRateD2DSignal_ = SIMSIGNAL_NULL;
43 simsignal_t harqErrorRateD2D_1Signal_ = SIMSIGNAL_NULL;
44 simsignal_t harqErrorRateD2D_2Signal_ = SIMSIGNAL_NULL;
45 simsignal_t harqErrorRateD2D_3Signal_ = SIMSIGNAL_NULL;
46 simsignal_t harqErrorRateD2D_4Signal_ = SIMSIGNAL_NULL;
47
48 public:
54 LteHarqUnitTxD2D(Binder *binder, unsigned char acid, Codeword cw, LteMacBase *macOwner, LteMacBase *dstMac);
55
62 bool pduFeedback(HarqAcknowledgment fb) override;
63
71 inet::Packet *extractPdu() override;
72
73};
74
75} //namespace
76
77#endif
78
Definition Binder.h:48
bool pduFeedback(HarqAcknowledgment fb) override
LteHarqUnitTxD2D(Binder *binder, unsigned char acid, Codeword cw, LteMacBase *macOwner, LteMacBase *dstMac)
inet::Packet * extractPdu() override
LteHarqUnitTx(Binder *binder, unsigned char acid, Codeword cw, LteMacBase *macOwner, LteMacBase *dstMac)
MAC Layer.
Definition LteMacBase.h:80
Definition AlertReceiver.h:24
unsigned short Codeword
Codeword.
Definition LteCommon.h:202