LEFT | RIGHT |
(no file at all) | |
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2004,2005 INRIA | 3 * Copyright (c) 2004,2005 INRIA |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 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 | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 void | 110 void |
111 ConstantRateWifiManager::DoReportFinalDataFailed (WifiRemoteStation *station) | 111 ConstantRateWifiManager::DoReportFinalDataFailed (WifiRemoteStation *station) |
112 { | 112 { |
113 NS_LOG_FUNCTION (this << station); | 113 NS_LOG_FUNCTION (this << station); |
114 } | 114 } |
115 | 115 |
116 WifiTxVector | 116 WifiTxVector |
117 ConstantRateWifiManager::DoGetDataTxVector (WifiRemoteStation *st) | 117 ConstantRateWifiManager::DoGetDataTxVector (WifiRemoteStation *st) |
118 { | 118 { |
119 NS_LOG_FUNCTION (this << st); | 119 NS_LOG_FUNCTION (this << st); |
120 return WifiTxVector (m_dataMode, GetDefaultTxPowerLevel (), GetLongRetryCount
(st), GetPreambleForTransmission (m_dataMode, GetAddress (st)), ConvertGuardInte
rvalToNanoSeconds (m_dataMode, GetShortGuardInterval (st), NanoSeconds (GetGuard
Interval (st))), GetNumberOfAntennas (), Min (GetMaxNumberOfTransmitStreams (),
GetNumberOfSupportedStreams (st)), 0, GetChannelWidth (st), GetAggregation (st),
false); | 120 return WifiTxVector (m_dataMode, GetDefaultTxPowerLevel (), GetLongRetryCount
(st), GetPreambleForTransmission (m_dataMode, GetAddress (st)), ConvertGuardInte
rvalToNanoSeconds (m_dataMode, GetShortGuardInterval (st), NanoSeconds (GetGuard
Interval (st))), GetNumberOfAntennas (), Min (GetMaxNumberOfTransmitStreams (),
GetNumberOfSupportedStreams (st)), 0, GetChannelWidthForTransmission (m_dataMode
, GetChannelWidth (st)), GetAggregation (st), false); |
121 } | 121 } |
122 | 122 |
123 WifiTxVector | 123 WifiTxVector |
124 ConstantRateWifiManager::DoGetRtsTxVector (WifiRemoteStation *st) | 124 ConstantRateWifiManager::DoGetRtsTxVector (WifiRemoteStation *st) |
125 { | 125 { |
126 NS_LOG_FUNCTION (this << st); | 126 NS_LOG_FUNCTION (this << st); |
127 return WifiTxVector (m_ctlMode, GetDefaultTxPowerLevel (), GetShortRetryCount
(st), GetPreambleForTransmission (m_ctlMode, GetAddress (st)), ConvertGuardInter
valToNanoSeconds (m_ctlMode, GetShortGuardInterval (st), NanoSeconds (GetGuardIn
terval (st))), 1, 1, 0, GetChannelWidth (st), GetAggregation (st), false); | 127 return WifiTxVector (m_ctlMode, GetDefaultTxPowerLevel (), GetShortRetryCount
(st), GetPreambleForTransmission (m_ctlMode, GetAddress (st)), ConvertGuardInter
valToNanoSeconds (m_ctlMode, GetShortGuardInterval (st), NanoSeconds (GetGuardIn
terval (st))), 1, 1, 0, GetChannelWidthForTransmission (m_ctlMode, GetChannelWid
th (st)), GetAggregation (st), false); |
128 } | 128 } |
129 | 129 |
130 bool | 130 bool |
131 ConstantRateWifiManager::IsLowLatency (void) const | 131 ConstantRateWifiManager::IsLowLatency (void) const |
132 { | 132 { |
133 NS_LOG_FUNCTION (this); | 133 NS_LOG_FUNCTION (this); |
134 return true; | 134 return true; |
135 } | 135 } |
136 | 136 |
137 } //namespace ns3 | 137 } //namespace ns3 |
LEFT | RIGHT |