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
aarf-wifi-manager.h
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2005,2006 INRIA
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
* Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
19
*/
20
21
#ifndef AARF_WIFI_MANAGER_H
22
#define AARF_WIFI_MANAGER_H
23
24
#include "
arf-wifi-manager.h
"
25
26
namespace
ns3
{
27
37
class
AarfWifiManager
:
public
WifiRemoteStationManager
38
{
39
public
:
40
static
TypeId
GetTypeId
(
void
);
41
AarfWifiManager
();
42
virtual
~AarfWifiManager
();
43
private
:
44
//overriden from base class
45
virtual
WifiRemoteStation
*
DoCreateStation
(
void
)
const
;
46
virtual
void
DoReportRxOk
(
WifiRemoteStation
*station,
47
double
rxSnr,
WifiMode
txMode);
48
virtual
void
DoReportRtsFailed
(
WifiRemoteStation
*station);
49
virtual
void
DoReportDataFailed
(
WifiRemoteStation
*station);
50
virtual
void
DoReportRtsOk
(
WifiRemoteStation
*station,
51
double
ctsSnr,
WifiMode
ctsMode,
double
rtsSnr);
52
virtual
void
DoReportDataOk
(
WifiRemoteStation
*station,
53
double
ackSnr,
WifiMode
ackMode,
double
dataSnr);
54
virtual
void
DoReportFinalRtsFailed
(
WifiRemoteStation
*station);
55
virtual
void
DoReportFinalDataFailed
(
WifiRemoteStation
*station);
56
virtual
WifiTxVector
DoGetDataTxVector
(
WifiRemoteStation
*station);
57
virtual
WifiTxVector
DoGetRtsTxVector
(
WifiRemoteStation
*station);
58
virtual
bool
IsLowLatency
(
void
)
const
;
59
60
uint32_t
m_minTimerThreshold
;
61
uint32_t
m_minSuccessThreshold
;
62
double
m_successK
;
63
uint32_t
m_maxSuccessThreshold
;
64
double
m_timerK
;
65
};
66
67
}
//namespace ns3
68
69
#endif
/* AARF_WIFI_MANAGER_H */
ns3::AarfWifiManager::m_minSuccessThreshold
uint32_t m_minSuccessThreshold
Definition:
aarf-wifi-manager.h:61
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:61
ns3::AarfWifiManager::m_successK
double m_successK
Definition:
aarf-wifi-manager.h:62
ns3::WifiMode
represent a single transmission modeA WifiMode is implemented by a single integer which is used to lo...
Definition:
wifi-mode.h:99
ns3::AarfWifiManager::DoReportDataFailed
virtual void DoReportDataFailed(WifiRemoteStation *station)
It is important to realize that "recovery" mode starts after failure of the first transmission after ...
Definition:
aarf-wifi-manager.cc:133
ns3::AarfWifiManager::DoReportRxOk
virtual void DoReportRxOk(WifiRemoteStation *station, double rxSnr, WifiMode txMode)
This method is a pure virtual method that must be implemented by the sub-class.
Definition:
aarf-wifi-manager.cc:180
ns3::AarfWifiManager::DoGetRtsTxVector
virtual WifiTxVector DoGetRtsTxVector(WifiRemoteStation *station)
Definition:
aarf-wifi-manager.cc:245
ns3::AarfWifiManager::DoReportRtsOk
virtual void DoReportRtsOk(WifiRemoteStation *station, double ctsSnr, WifiMode ctsMode, double rtsSnr)
This method is a pure virtual method that must be implemented by the sub-class.
Definition:
aarf-wifi-manager.cc:187
ns3::AarfWifiManager::DoReportFinalDataFailed
virtual void DoReportFinalDataFailed(WifiRemoteStation *station)
This method is a pure virtual method that must be implemented by the sub-class.
Definition:
aarf-wifi-manager.cc:225
ns3::AarfWifiManager::DoReportRtsFailed
virtual void DoReportRtsFailed(WifiRemoteStation *station)
This method is a pure virtual method that must be implemented by the sub-class.
Definition:
aarf-wifi-manager.cc:117
ns3::AarfWifiManager::IsLowLatency
virtual bool IsLowLatency(void) const
Definition:
aarf-wifi-manager.cc:270
ns3::AarfWifiManager::m_minTimerThreshold
uint32_t m_minTimerThreshold
Definition:
aarf-wifi-manager.h:60
ns3::WifiRemoteStationManager
hold a list of per-remote-station state.
Definition:
wifi-remote-station-manager.h:88
ns3::AarfWifiManager
AARF Rate control algorithmThis class implements the AARF rate control algorithm which was initially ...
Definition:
aarf-wifi-manager.h:37
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
arf-wifi-manager.h
ns3::AarfWifiManager::m_timerK
double m_timerK
Definition:
aarf-wifi-manager.h:64
ns3::AarfWifiManager::DoReportDataOk
virtual void DoReportDataOk(WifiRemoteStation *station, double ackSnr, WifiMode ackMode, double dataSnr)
This method is a pure virtual method that must be implemented by the sub-class.
Definition:
aarf-wifi-manager.cc:195
ns3::AarfWifiManager::~AarfWifiManager
virtual ~AarfWifiManager()
Definition:
aarf-wifi-manager.cc:93
ns3::AarfWifiManager::AarfWifiManager
AarfWifiManager()
Definition:
aarf-wifi-manager.cc:88
ns3::AarfWifiManager::DoReportFinalRtsFailed
virtual void DoReportFinalRtsFailed(WifiRemoteStation *station)
This method is a pure virtual method that must be implemented by the sub-class.
Definition:
aarf-wifi-manager.cc:219
ns3::AarfWifiManager::DoCreateStation
virtual WifiRemoteStation * DoCreateStation(void) const
Definition:
aarf-wifi-manager.cc:99
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:58
ns3::AarfWifiManager::m_maxSuccessThreshold
uint32_t m_maxSuccessThreshold
Definition:
aarf-wifi-manager.h:63
ns3::WifiRemoteStation
hold per-remote-station state.
Definition:
wifi-remote-station-manager.h:1312
ns3::AarfWifiManager::GetTypeId
static TypeId GetTypeId(void)
Definition:
aarf-wifi-manager.cc:54
ns3::AarfWifiManager::DoGetDataTxVector
virtual WifiTxVector DoGetDataTxVector(WifiRemoteStation *station)
Definition:
aarf-wifi-manager.cc:231
src
wifi
model
aarf-wifi-manager.h
Generated on Thu Mar 24 2016 00:46:56 for ns-3 by
1.8.9.1