5G-LENA nr-v3.3-67-g8257369a
The 5G/NR module for the ns-3 simulator
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
nr-mac-header-fs-ul.h
1// Copyright (c) 2020 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
2//
3// SPDX-License-Identifier: GPL-2.0-only
4
5#ifndef NR_MAC_HEADER_FS_UL_H
6#define NR_MAC_HEADER_FS_UL_H
7
8#include "nr-mac-header-fs.h"
9
10namespace ns3
11{
12
32{
33 public:
38 static TypeId GetTypeId();
43 TypeId GetInstanceTypeId() const override;
44
49
53 ~NrMacHeaderFsUl() override;
54
55 // CCCH_LARGE = 0, //!< CCCH of size 64 bit (is it fixed or variable?)
56 // CCCH_SMALL = 52, //!< CCCH of size 48 (is it fixed or variable?)
57 static const uint8_t BIT_RATE_QUERY = 53;
58 static const uint8_t CONFIGURED_GRANT_CONFIRMATION = 55;
59 static const uint8_t SINGLE_ENTRY_PHR = 57;
60 static const uint8_t C_RNTI = 58;
61 static const uint8_t SHORT_TRUNCATED_BSR = 59;
62 static const uint8_t SHORT_BSR = 61;
63
72 void SetLcId(uint8_t lcId) override;
73
78 bool IsFixedSizeHeader() const;
79};
80
81} // namespace ns3
82
83#endif /* NR_MAC_HEADER_FS_UL_H */
Mac Fixed-Size Header.
Mac fixed-size Header for UL.
static const uint8_t SINGLE_ENTRY_PHR
Single entry PHR.
static TypeId GetTypeId()
GetTypeId.
TypeId GetInstanceTypeId() const override
GetInstanceTypeId.
static const uint8_t CONFIGURED_GRANT_CONFIRMATION
Configured Grant Confirmation.
bool IsFixedSizeHeader() const
Check if it really a fixed-size header.
static const uint8_t SHORT_TRUNCATED_BSR
Short Truncated BSR.
~NrMacHeaderFsUl() override
~NrMacHeaderFsUl
static const uint8_t BIT_RATE_QUERY
Recommended bit rate query.
void SetLcId(uint8_t lcId) override
Set the LC ID.
NrMacHeaderFsUl()
NrMacHeaderFsUl constructor.
static const uint8_t SHORT_BSR
Short BSR.
static const uint8_t C_RNTI
C-RNTI.