5#ifndef COMPONENT_CARRIER_GNB_H
6#define COMPONENT_CARRIER_GNB_H
8#include "nr-component-carrier.h"
11#include "ns3/nstime.h"
12#include "ns3/object.h"
58 void SetPhy(Ptr<NrGnbPhy> s);
63 void SetMac(Ptr<NrGnbMac> s);
112 Ptr<NrMacScheduler> m_scheduler;
113 uint16_t m_cellId{0};
GNB bandwidth part representation.
void DoDispose() override
DoDispose method inherited from Object.
void SetPhy(Ptr< NrGnbPhy > s)
void SetUlBandwidth(uint16_t bw) override
Ptr< NrMacScheduler > GetScheduler()
void SetNrMacScheduler(Ptr< NrMacScheduler > s)
void SetCellId(uint16_t cellId)
void SetDlBandwidth(uint16_t bw) override
void SetAsPrimary(bool primaryCarrier)
Set this bandwidth part as primary.
void SetMac(Ptr< NrGnbMac > s)
static TypeId GetTypeId()
Get the type ID.
uint16_t GetCellId() const
uint16_t m_dlBandwidth
downlink bandwidth in RBs */
uint16_t m_ulBandwidth
uplink bandwidth in RBs */