5G-LENA nr-v4.0
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
lena-error-model.h
1// Copyright (c) 2019 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
2//
3// SPDX-License-Identifier: GPL-2.0-only
4
5#ifndef LENA_ERROR_MODEL_H
6#define LENA_ERROR_MODEL_H
7
8#include "nr-lte-mi-error-model.h"
9
10namespace ns3
11{
12
41{
42 public:
47 static TypeId GetTypeId();
48
53
57 ~LenaErrorModel() override;
58
69 uint32_t GetPayloadSize(uint32_t usefulSC,
70 uint8_t mcs,
71 uint8_t rank,
72 uint32_t rbNum,
73 Mode mode) const override;
74};
75
76} // namespace ns3
77
78#endif // LENA_ERROR_MODEL_H
LENA error model.
LenaErrorModel()
NrLteMiErrorModel constructor.
uint32_t GetPayloadSize(uint32_t usefulSC, uint8_t mcs, uint8_t rank, uint32_t rbNum, Mode mode) const override
Get the payload size, following the MCSs in LTE.
~LenaErrorModel() override
~NrLteMiErrorModel
static TypeId GetTypeId()
GetTypeId.
Mode
Indicate the mode (UL or DL)