A Discrete-Event Network Simulator
API
wimax-net-device.h
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2 /*
3  * Copyright (c) 2007,2008, 2009 INRIA, UDcast
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License version 2 as
7  * published by the Free Software Foundation;
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17  *
18  * Authors: Jahanzeb Farooq <jahanzeb.farooq@sophia.inria.fr>
19  * Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
20  */
21 
22 #ifndef WIMAX_NET_DEVICE_H
23 #define WIMAX_NET_DEVICE_H
24 
25 #include "ns3/net-device.h"
26 #include "ns3/event-id.h"
27 #include "ns3/mac48-address.h"
28 #include "cid.h"
29 #include "wimax-connection.h"
30 #include "cid-factory.h"
31 #include "mac-messages.h"
32 #include "dl-mac-messages.h"
33 #include "ul-mac-messages.h"
34 #include "ns3/traced-callback.h"
35 #include "ns3/nstime.h"
36 #include "ns3/log.h"
37 #include "wimax-phy.h"
38 #include "wimax-mac-header.h"
39 
40 namespace ns3 {
41 
42 class Node;
43 class Packet;
44 class TraceContext;
45 class TraceResolver;
46 class Channel;
47 class WimaxChannel;
48 class PacketBurst;
49 class BurstProfileManager;
50 class ConnectionManager;
51 class ServiceFlowManager;
52 class BandwidthManager;
53 class UplinkScheduler;
54 
68 class WimaxNetDevice : public NetDevice
69 {
70 public:
72  enum Direction
73  {
76  };
77 
80  {
85  };
86 
91  static TypeId GetTypeId (void);
92  WimaxNetDevice (void);
93  virtual ~WimaxNetDevice (void);
98  void SetTtg (uint16_t ttg);
103  uint16_t GetTtg (void) const;
108  void SetRtg (uint16_t rtg);
113  uint16_t GetRtg (void) const;
123  void SetPhy (Ptr<WimaxPhy> phy);
128  Ptr<WimaxPhy> GetPhy (void) const;
129 
134  void SetChannel (Ptr<WimaxChannel> wimaxChannel);
135 
141  uint64_t GetChannel (uint8_t index) const;
142 
147  void SetNrFrames (uint32_t nrFrames);
152  uint32_t GetNrFrames (void) const;
162  Mac48Address GetMacAddress (void) const;
167  void SetState (uint8_t state);
172  uint8_t GetState (void) const;
183 
188  void SetCurrentDcd (Dcd dcd);
193  Dcd GetCurrentDcd (void) const;
198  void SetCurrentUcd (Ucd ucd);
203  Ucd GetCurrentUcd (void) const;
209 
214  virtual void SetConnectionManager (Ptr<ConnectionManager> connectionManager );
215 
221 
226  void SetBurstProfileManager (Ptr<BurstProfileManager> burstProfileManager);
227 
233 
238  void SetBandwidthManager (Ptr<BandwidthManager> bandwidthManager);
239 
243  void CreateDefaultConnections (void);
244 
246  virtual void Start (void) = 0;
248  virtual void Stop (void) = 0;
249 
251  void SetReceiveCallback (void);
252 
259  void ForwardUp (Ptr<Packet> packet, const Mac48Address &source, const Mac48Address &dest);
260 
268  virtual bool Enqueue (Ptr<Packet> packet, const MacHeaderType &hdrType, Ptr<WimaxConnection> connection) = 0;
274  void ForwardDown (Ptr<PacketBurst> burst, WimaxPhy::ModulationType modulationType);
275 
276  // temp, shall be private
277  static uint8_t m_direction;
278 
280 
285  virtual void SetName (const std::string name);
290  virtual std::string GetName (void) const;
295  virtual void SetIfIndex (const uint32_t index);
300  virtual uint32_t GetIfIndex (void) const;
305  virtual Ptr<Channel> GetPhyChannel (void) const;
310  virtual Ptr<Channel> GetChannel (void) const;
315  virtual void SetAddress (Address address);
320  virtual Address GetAddress (void) const;
326  virtual bool SetMtu (const uint16_t mtu);
331  virtual uint16_t GetMtu (void) const;
336  virtual bool IsLinkUp (void) const;
341  virtual void SetLinkChangeCallback (Callback<void> callback);
346  virtual bool IsBroadcast (void) const;
351  virtual Address GetBroadcast (void) const;
356  virtual bool IsMulticast (void) const;
361  virtual Address GetMulticast (void) const;
367  virtual Address MakeMulticastAddress (Ipv4Address multicastGroup) const;
372  virtual bool IsPointToPoint (void) const;
380  virtual bool Send (Ptr<Packet> packet, const Address& dest, uint16_t protocolNumber);
385  virtual void SetNode (Ptr<Node> node);
390  virtual Ptr<Node> GetNode (void) const;
395  virtual bool NeedsArp (void) const;
405  virtual void AddLinkChangeCallback (Callback<void> callback);
414  virtual bool SendFrom (Ptr<Packet> packet, const Address& source, const Address& dest, uint16_t protocolNumber);
429  virtual bool SupportsSendFrom (void) const;
430 
441  typedef void (* TxRxTracedCallback)
442  (Ptr<const Packet> packet, const Mac48Address & mac);
459 
460  virtual void DoDispose (void);
461  virtual Address GetMulticast (Ipv6Address addr) const;
462  virtual Address GetMulticast (Ipv4Address multicastGroup) const;
463  virtual bool IsBridge (void) const;
464 
469  bool IsPromisc (void);
475 
476 private:
484 
486  static const uint16_t MAX_MSDU_SIZE = 1500;
488  static const uint16_t DEFAULT_MSDU_SIZE = 1400;
489 
498  virtual bool DoSend (Ptr<Packet> packet,
499  const Mac48Address& source,
500  const Mac48Address& dest,
501  uint16_t protocolNumber) = 0;
506  virtual void DoReceive (Ptr<Packet> packet) = 0;
511  virtual Ptr<WimaxChannel> DoGetChannel (void) const;
516  void Receive (Ptr<const PacketBurst> burst);
518  void InitializeChannels (void);
519 
524 
525  uint32_t m_ifIndex;
526  std::string m_name;
527  bool m_linkUp;
529  mutable uint16_t m_mtu;
530 
532  static uint32_t m_nrFrames;
533 
535  std::vector<uint64_t> m_dlChannels;
536 
538  uint8_t m_state;
539  uint32_t m_symbolIndex;
540 
542  uint16_t m_ttg;
544  uint16_t m_rtg;
545 
548 
551 
555 
557 
558 };
559 
560 } // namespace ns3
561 
562 #endif /* WIMAX_NET_DEVICE_H */
ns3::TypeId
a unique identifier for an interface.
Definition: type-id.h:59
ns3::WimaxNetDevice::m_direction
static uint8_t m_direction
downlink or uplink
Definition: wimax-net-device.h:277
ns3::WimaxNetDevice::SetBurstProfileManager
void SetBurstProfileManager(Ptr< BurstProfileManager > burstProfileManager)
Set the burst profile manager.
Definition: wimax-net-device.cc:493
ns3::WimaxNetDevice::m_phy
Ptr< WimaxPhy > m_phy
the phy
Definition: wimax-net-device.h:521
ns3::WimaxNetDevice::m_mobility
Ptr< Object > m_mobility
modility model
Definition: wimax-net-device.h:556
ns3::WimaxNetDevice::ForwardUp
void ForwardUp(Ptr< Packet > packet, const Mac48Address &source, const Mac48Address &dest)
Forward a packet to the next layer above the device.
Definition: wimax-net-device.cc:348
ns3::WimaxNetDevice::GetTtg
uint16_t GetTtg(void) const
Get transmission/receive transition gap.
Definition: wimax-net-device.cc:183
ns3::WimaxNetDevice::Direction
Direction
Direction enumeration.
Definition: wimax-net-device.h:73
ns3::WimaxNetDevice::GetConnectionManager
Ptr< ConnectionManager > GetConnectionManager(void) const
Get the connection manager of the device.
Definition: wimax-net-device.cc:475
ns3::WimaxNetDevice::ForwardDown
void ForwardDown(Ptr< PacketBurst > burst, WimaxPhy::ModulationType modulationType)
Forward a packet down the stack.
Definition: wimax-net-device.cc:583
ns3::Callback< void >
ns3::WimaxNetDevice::GetRtg
uint16_t GetRtg(void) const
Get receive/transmit transition gap.
Definition: wimax-net-device.cc:195
ns3::WimaxNetDevice::AddLinkChangeCallback
virtual void AddLinkChangeCallback(Callback< void > callback)
Add link change callback function.
Definition: wimax-net-device.cc:643
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::WimaxNetDevice::m_linkChange
Callback< void > m_linkChange
link change callback
Definition: wimax-net-device.h:528
ns3::WimaxNetDevice::SetLinkChangeCallback
virtual void SetLinkChangeCallback(Callback< void > callback)
Set link change callback function.
Definition: wimax-net-device.cc:262
ns3::WimaxNetDevice::SetMtu
virtual bool SetMtu(const uint16_t mtu)
Set MTU value for the device.
Definition: wimax-net-device.cc:237
ns3::WimaxNetDevice::SetState
void SetState(uint8_t state)
Set the device state.
Definition: wimax-net-device.cc:427
ns3::WimaxNetDevice::MakeMulticastAddress
virtual Address MakeMulticastAddress(Ipv4Address multicastGroup) const
Make multicast address.
Definition: wimax-net-device.cc:292
ns3::WimaxNetDevice::TxRxTracedCallback
void(* TxRxTracedCallback)(Ptr< const Packet > packet, const Mac48Address &mac)
TracedCallback signature for packet and Mac48Address.
Definition: wimax-net-device.h:442
ns3::WimaxNetDevice::GetBurstProfileManager
Ptr< BurstProfileManager > GetBurstProfileManager(void) const
Get the burst profile manager.
Definition: wimax-net-device.cc:487
ns3::WimaxNetDevice::SupportsSendFrom
virtual bool SupportsSendFrom(void) const
Check if device supports the SendFrom method.
Definition: wimax-net-device.cc:577
ns3::WimaxNetDevice::SetPromiscReceiveCallback
virtual void SetPromiscReceiveCallback(PromiscReceiveCallback cb)
Set promiscious receive callback function.
Definition: wimax-net-device.cc:559
ns3::WimaxNetDevice::DEFAULT_MSDU_SIZE
static const uint16_t DEFAULT_MSDU_SIZE
recommended by wimax forum.
Definition: wimax-net-device.h:488
cid-factory.h
third.channel
channel
Definition: third.py:92
ns3::WimaxNetDevice::m_mtu
uint16_t m_mtu
MTU.
Definition: wimax-net-device.h:529
ns3::MacHeaderType
This class Represents the HT (Header Type) field of generic MAC and bandwidth request headers.
Definition: wimax-mac-header.h:37
ns3::WimaxNetDevice::GetChannel
virtual Ptr< Channel > GetChannel(void) const
Get the channel.
Definition: wimax-net-device.cc:225
ns3::WimaxNetDevice::GetMulticast
virtual Address GetMulticast(void) const
Get multicast address.
Definition: wimax-net-device.cc:286
ul-mac-messages.h
ns3::Ipv4Address
Ipv4 addresses are stored in host order in this class.
Definition: ipv4-address.h:41
ns3::Ipv6Address
Describes an IPv6 address.
Definition: ipv6-address.h:50
ns3::Mac48Address
an EUI-48 address
Definition: mac48-address.h:44
ns3::WimaxNetDevice::m_promiscRx
NetDevice::PromiscReceiveCallback m_promiscRx
promiscious receive fcallback function
Definition: wimax-net-device.h:523
ns3::WimaxNetDevice::~WimaxNetDevice
virtual ~WimaxNetDevice(void)
Definition: wimax-net-device.cc:153
third.mac
mac
Definition: third.py:99
ns3::WimaxNetDevice::Start
virtual void Start(void)=0
Start function.
ns3::WimaxNetDevice::m_name
std::string m_name
service name
Definition: wimax-net-device.h:526
ns3::WimaxNetDevice::RangingStatus
RangingStatus
RangingStatus enumeration.
Definition: wimax-net-device.h:80
ns3::WimaxNetDevice::IsMulticast
virtual bool IsMulticast(void) const
Check if multicast enabled.
Definition: wimax-net-device.cc:280
ns3::WimaxNetDevice::CreateDefaultConnections
void CreateDefaultConnections(void)
Creates the initial ranging and broadcast connections.
Definition: wimax-net-device.cc:511
ns3::WimaxNetDevice::RANGING_STATUS_EXPIRED
@ RANGING_STATUS_EXPIRED
Definition: wimax-net-device.h:81
ns3::WimaxNetDevice::DoReceive
virtual void DoReceive(Ptr< Packet > packet)=0
Receive a packet.
ns3::WimaxNetDevice::SetName
virtual void SetName(const std::string name)
Set device name.
Definition: wimax-net-device.cc:201
ns3::WimaxNetDevice::m_traceRx
TracedCallback< Ptr< const Packet >, const Mac48Address & > m_traceRx
Definition: wimax-net-device.h:450
ns3::WimaxNetDevice::RANGING_STATUS_SUCCESS
@ RANGING_STATUS_SUCCESS
Definition: wimax-net-device.h:84
ns3::WimaxNetDevice::GetInitialRangingConnection
Ptr< WimaxConnection > GetInitialRangingConnection(void) const
Get the initial ranging connection.
Definition: wimax-net-device.cc:439
ns3::WimaxNetDevice::Receive
void Receive(Ptr< const PacketBurst > burst)
Receive a packet burst.
Definition: wimax-net-device.cc:518
ns3::WimaxNetDevice::m_bandwidthManager
Ptr< BandwidthManager > m_bandwidthManager
badnwidth manager
Definition: wimax-net-device.h:554
ns3::WimaxNetDevice::IsBroadcast
virtual bool IsBroadcast(void) const
Check if broadcast enabled.
Definition: wimax-net-device.cc:268
ns3::WimaxNetDevice::InitializeChannels
void InitializeChannels(void)
Initialize channels function.
Definition: wimax-net-device.cc:591
ns3::WimaxNetDevice::IsLinkUp
virtual bool IsLinkUp(void) const
Check if link is up.
Definition: wimax-net-device.cc:254
ns3::WimaxNetDevice::m_ifIndex
uint32_t m_ifIndex
IF index.
Definition: wimax-net-device.h:525
ns3::WimaxNetDevice::IsBridge
virtual bool IsBridge(void) const
Return true if the net device is acting as a bridge.
Definition: wimax-net-device.cc:610
ns3::WimaxNetDevice::m_nrFrames
static uint32_t m_nrFrames
temp, shall be in BS. defined here to allow SS to access. SS shall actually determine it from DLFP,...
Definition: wimax-net-device.h:532
ns3::Ptr
Smart pointer class similar to boost::intrusive_ptr.
Definition: ptr.h:74
ns3::WimaxNetDevice::m_initialRangingConnection
Ptr< WimaxConnection > m_initialRangingConnection
initial rnaging connection
Definition: wimax-net-device.h:549
ns3::WimaxNetDevice::GetIfIndex
virtual uint32_t GetIfIndex(void) const
Get interface index.
Definition: wimax-net-device.cc:219
ns3::WimaxNetDevice
Hold together all WiMAX-related objects in a NetDevice.
Definition: wimax-net-device.h:69
ns3::WimaxNetDevice::SetIfIndex
virtual void SetIfIndex(const uint32_t index)
Set interface index.
Definition: wimax-net-device.cc:213
ns3::WimaxNetDevice::m_dlChannels
std::vector< uint64_t > m_dlChannels
not sure if it shall be included here
Definition: wimax-net-device.h:535
ns3::WimaxNetDevice::GetPromiscReceiveCallback
NetDevice::PromiscReceiveCallback GetPromiscReceiveCallback(void)
Get promiscious receive callback function.
ns3::WimaxNetDevice::Enqueue
virtual bool Enqueue(Ptr< Packet > packet, const MacHeaderType &hdrType, Ptr< WimaxConnection > connection)=0
Enqueue a packet.
ns3::WimaxPhy::ModulationType
ModulationType
ModulationType enumeration.
Definition: wimax-phy.h:50
ns3::WimaxNetDevice::DIRECTION_UPLINK
@ DIRECTION_UPLINK
Definition: wimax-net-device.h:75
wimax-mac-header.h
ns3::Address
a polymophic address class
Definition: address.h:91
ns3::WimaxNetDevice::Attach
void Attach(Ptr< WimaxChannel > channel)
Attach device to channel.
Definition: wimax-net-device.cc:357
ns3::WimaxNetDevice::GetNode
virtual Ptr< Node > GetNode(void) const
Get node pointer.
Definition: wimax-net-device.cc:324
mac-messages.h
ns3::WimaxNetDevice::SetTtg
void SetTtg(uint16_t ttg)
Set transmission/receive transition gap.
Definition: wimax-net-device.cc:177
ns3::WimaxNetDevice::GetCurrentUcd
Ucd GetCurrentUcd(void) const
Get the current UCD.
Definition: wimax-net-device.cc:469
ns3::WimaxNetDevice::GetState
uint8_t GetState(void) const
Get the device state.
Definition: wimax-net-device.cc:433
wimax-phy.h
ns3::WimaxNetDevice::DoSend
virtual bool DoSend(Ptr< Packet > packet, const Mac48Address &source, const Mac48Address &dest, uint16_t protocolNumber)=0
Send a packet.
ns3::WimaxNetDevice::SetPhy
void SetPhy(Ptr< WimaxPhy > phy)
Set the physical layer object.
Definition: wimax-net-device.cc:363
ns3::WimaxNetDevice::GetAddress
virtual Address GetAddress(void) const
Get address of the device.
Definition: wimax-net-device.cc:415
ns3::WimaxNetDevice::m_address
Mac48Address m_address
MAC address.
Definition: wimax-net-device.h:537
ns3::WimaxNetDevice::m_connectionManager
Ptr< ConnectionManager > m_connectionManager
connection manager
Definition: wimax-net-device.h:552
wimax-connection.h
ns3::WimaxNetDevice::IsPromisc
bool IsPromisc(void)
Check if device is promiscious.
Definition: wimax-net-device.cc:565
first.address
address
Definition: first.py:44
ns3::Time
Simulation virtual time values and global simulation resolution.
Definition: nstime.h:104
ns3::WimaxNetDevice::m_node
Ptr< Node > m_node
the node
Definition: wimax-net-device.h:520
ns3::WimaxNetDevice::GetMacAddress
Mac48Address GetMacAddress(void) const
Get the MAC address.
Definition: wimax-net-device.cc:421
ns3::WimaxNetDevice::SetBandwidthManager
void SetBandwidthManager(Ptr< BandwidthManager > bandwidthManager)
Set the bandwidth manager on the device.
Definition: wimax-net-device.cc:505
ns3::WimaxNetDevice::MAX_MSDU_SIZE
static const uint16_t MAX_MSDU_SIZE
Maximum MSDU size.
Definition: wimax-net-device.h:486
ns3::WimaxNetDevice::GetNrFrames
uint32_t GetNrFrames(void) const
Get the number of frames.
Definition: wimax-net-device.cc:396
ns3::WimaxNetDevice::DIRECTION_DOWNLINK
@ DIRECTION_DOWNLINK
Definition: wimax-net-device.h:74
ns3::WimaxNetDevice::GetCurrentDcd
Dcd GetCurrentDcd(void) const
Get the current DCD.
Definition: wimax-net-device.cc:457
ns3::WimaxNetDevice::GetPhyChannel
virtual Ptr< Channel > GetPhyChannel(void) const
Get the channel (this method is redundant with GetChannel())
Definition: wimax-net-device.cc:231
ns3::WimaxNetDevice::RANGING_STATUS_CONTINUE
@ RANGING_STATUS_CONTINUE
Definition: wimax-net-device.h:82
ns3::WimaxNetDevice::Send
virtual bool Send(Ptr< Packet > packet, const Address &dest, uint16_t protocolNumber)
Send function.
Definition: wimax-net-device.cc:304
ns3::WimaxNetDevice::m_forwardUp
NetDevice::ReceiveCallback m_forwardUp
forward up callback function
Definition: wimax-net-device.h:522
cid.h
ns3::WimaxNetDevice::GetBroadcastConnection
Ptr< WimaxConnection > GetBroadcastConnection(void) const
Get the broadcast connection.
Definition: wimax-net-device.cc:445
ns3::WimaxNetDevice::SetRtg
void SetRtg(uint16_t rtg)
Set receive/transmit transition gap.
Definition: wimax-net-device.cc:189
ns3::WimaxNetDevice::m_symbolIndex
uint32_t m_symbolIndex
symbol index
Definition: wimax-net-device.h:539
ns3::WimaxNetDevice::SetCurrentUcd
void SetCurrentUcd(Ucd ucd)
Set the current UCD.
Definition: wimax-net-device.cc:463
ns3::WimaxNetDevice::m_broadcastConnection
Ptr< WimaxConnection > m_broadcastConnection
broadcast connection
Definition: wimax-net-device.h:550
ns3::WimaxNetDevice::GetBroadcast
virtual Address GetBroadcast(void) const
Get broadcast address.
Definition: wimax-net-device.cc:274
ns3::WimaxNetDevice::GetName
virtual std::string GetName(void) const
Get device name.
Definition: wimax-net-device.cc:207
dl-mac-messages.h
ns3::WimaxNetDevice::m_currentUcd
Ucd m_currentUcd
UCD.
Definition: wimax-net-device.h:547
ns3::WimaxNetDevice::SetNode
virtual void SetNode(Ptr< Node > node)
Set node pointer.
Definition: wimax-net-device.cc:318
ns3::WimaxNetDevice::GetBandwidthManager
Ptr< BandwidthManager > GetBandwidthManager(void) const
Get the bandwidth manager on the device.
Definition: wimax-net-device.cc:499
ns3::WimaxNetDevice::NeedsArp
virtual bool NeedsArp(void) const
Check if device needs ARP.
Definition: wimax-net-device.cc:330
ns3::WimaxNetDevice::m_linkUp
bool m_linkUp
link up?
Definition: wimax-net-device.h:527
ns3::WimaxNetDevice::DoDispose
virtual void DoDispose(void)
Destructor implementation.
Definition: wimax-net-device.cc:158
ns3::WimaxNetDevice::SetReceiveCallback
void SetReceiveCallback(void)
Set receive callback function.
Definition: wimax-net-device.cc:538
ns3::WimaxNetDevice::NotifyPromiscTrace
void NotifyPromiscTrace(Ptr< Packet > p)
Notify promiscious trace of a packet arrival.
Definition: wimax-net-device.cc:571
ns3::WimaxNetDevice::SetMacAddress
void SetMacAddress(Mac48Address address)
Set the MAC address.
Definition: wimax-net-device.cc:409
ns3::WimaxNetDevice::m_frameStartTime
static Time m_frameStartTime
temp, to determine the frame start time at SS side, shall actually be determined by frame start pream...
Definition: wimax-net-device.h:279
ns3::WimaxNetDevice::SetChannel
void SetChannel(Ptr< WimaxChannel > wimaxChannel)
Set the channel object.
Definition: wimax-net-device.cc:375
ns3::TracedCallback
Forward calls to a chain of Callback.
Definition: traced-callback.h:53
ns3::WimaxNetDevice::Stop
virtual void Stop(void)=0
Stop function.
ns3::WimaxNetDevice::m_currentDcd
Dcd m_currentDcd
DCD.
Definition: wimax-net-device.h:546
ns3::WimaxNetDevice::GetMtu
virtual uint16_t GetMtu(void) const
Get MTU of the device.
Definition: wimax-net-device.cc:248
ns3::WimaxNetDevice::m_ttg
uint16_t m_ttg
length of TTG in units of PSs
Definition: wimax-net-device.h:542
ns3::WimaxNetDevice::SetNrFrames
void SetNrFrames(uint32_t nrFrames)
Set the number of frames.
Definition: wimax-net-device.cc:391
ns3::WimaxNetDevice::SetAddress
virtual void SetAddress(Address address)
Set address of the device.
Definition: wimax-net-device.cc:403
ns3::WimaxNetDevice::RANGING_STATUS_ABORT
@ RANGING_STATUS_ABORT
Definition: wimax-net-device.h:83
ns3::WimaxNetDevice::m_burstProfileManager
Ptr< BurstProfileManager > m_burstProfileManager
burst profile manager
Definition: wimax-net-device.h:553
ns3::WimaxNetDevice::IsPointToPoint
virtual bool IsPointToPoint(void) const
Check if device is a point-to-point device.
Definition: wimax-net-device.cc:298
ns3::Ucd
This class implements the UCD message as described by "IEEE Standard for Local and metropolitan area ...
Definition: ul-mac-messages.h:318
ns3::WimaxNetDevice::m_traceTx
TracedCallback< Ptr< const Packet >, const Mac48Address & > m_traceTx
Definition: wimax-net-device.h:458
ns3::WimaxNetDevice::WimaxNetDevice
WimaxNetDevice(const WimaxNetDevice &)
copy constructor (disabled)
ns3::WimaxNetDevice::m_rtg
uint16_t m_rtg
length of RTG in units of PSs
Definition: wimax-net-device.h:544
ns3::WimaxNetDevice::SendFrom
virtual bool SendFrom(Ptr< Packet > packet, const Address &source, const Address &dest, uint16_t protocolNumber)
Send a packet.
Definition: wimax-net-device.cc:544
ns3::Dcd
This class implements Downlink channel descriptor as described by "IEEE Standard for Local and metrop...
Definition: dl-mac-messages.h:356
ns3::WimaxNetDevice::WimaxNetDevice
WimaxNetDevice(void)
Definition: wimax-net-device.cc:138
ns3::WimaxNetDevice::GetPhy
Ptr< WimaxPhy > GetPhy(void) const
Get the physical layer object.
Definition: wimax-net-device.cc:369
third.phy
phy
Definition: third.py:93
ns3::NetDevice
Network layer to device interface.
Definition: net-device.h:96
ns3::WimaxNetDevice::SetCurrentDcd
void SetCurrentDcd(Dcd dcd)
Set the current DCD.
Definition: wimax-net-device.cc:451
ns3::WimaxNetDevice::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition: wimax-net-device.cc:52
ns3::WimaxNetDevice::operator=
WimaxNetDevice & operator=(const WimaxNetDevice &)
assignment operator (disabled)
ns3::WimaxNetDevice::DoGetChannel
virtual Ptr< WimaxChannel > DoGetChannel(void) const
Get the channel.
Definition: wimax-net-device.cc:532
ns3::WimaxNetDevice::SetConnectionManager
virtual void SetConnectionManager(Ptr< ConnectionManager > connectionManager)
Set the connection manager of the device.
Definition: wimax-net-device.cc:481
ns3::WimaxNetDevice::m_state
uint8_t m_state
state
Definition: wimax-net-device.h:538