A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
wave-mac-low.h
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2008 INRIA
4
* Copyright (c) 2013 Dalian University of Technology
5
*
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License version 2 as
8
* published by the Free Software Foundation;
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
*
19
* Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
20
* Junling Bu <linlinjavaer@gmail.com>
21
*/
22
#ifndef WAVE_MAC_LOW_H
23
#define WAVE_MAC_LOW_H
24
25
#include "ns3/mac-low.h"
26
27
namespace
ns3 {
39
class
WaveMacLow
:
public
MacLow
40
{
41
public
:
42
static
TypeId
GetTypeId
(
void
);
43
WaveMacLow
(
void
);
44
virtual
~WaveMacLow
(
void
);
45
private
:
46
virtual
WifiTxVector
GetDataTxVector
(
Ptr<const Packet>
packet,
const
WifiMacHeader
*hdr)
const
;
47
};
48
49
}
// namespace ns3
50
51
#endif
/* WAVE_MAC_LOW_H*/
ns3::Ptr< const Packet >
ns3::WaveMacLow
This class allows higher layer control data rate and tx power level.
Definition:
wave-mac-low.h:39
ns3::WifiTxVector
This class mimics the TXVECTOR which is to be passed to the PHY in order to define the parameters whi...
Definition:
wifi-tx-vector.h:47
ns3::WaveMacLow::GetTypeId
static TypeId GetTypeId(void)
Definition:
wave-mac-low.cc:33
ns3::WaveMacLow::WaveMacLow
WaveMacLow(void)
Definition:
wave-mac-low.cc:41
ns3::WaveMacLow::GetDataTxVector
virtual WifiTxVector GetDataTxVector(Ptr< const Packet > packet, const WifiMacHeader *hdr) const
Return a TXVECTOR for the DATA frame given the destination.
Definition:
wave-mac-low.cc:51
ns3::WaveMacLow::~WaveMacLow
virtual ~WaveMacLow(void)
Definition:
wave-mac-low.cc:45
ns3::MacLow
handle RTS/CTS/DATA/ACK transactions.
Definition:
mac-low.h:411
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:49
ns3::WifiMacHeader
Implements the IEEE 802.11 MAC header.
Definition:
wifi-mac-header.h:80
src
wave
model
wave-mac-low.h
Generated on Sat Apr 19 2014 14:07:10 for ns-3 by
1.8.6