|
|
| 166 |
*/ |
166 |
*/ |
| 167 |
WifiMode GetRtsMode (Mac48Address address, const WifiMacHeader *header, |
167 |
WifiMode GetRtsMode (Mac48Address address, const WifiMacHeader *header, |
| 168 |
Ptr<const Packet> packet); |
168 |
Ptr<const Packet> packet); |
|
|
169 |
|
| 169 |
/** |
170 |
/** |
| 170 |
* Should be invoked whenever the RtsTimeout associated to a transmission |
171 |
* Should be invoked whenever the RtsTimeout associated to a transmission |
| 171 |
* attempt expires. |
172 |
* attempt expires. |
|
|
| 276 |
|
277 |
|
| 277 |
/** |
278 |
/** |
| 278 |
* \param address remote address |
279 |
* \param address remote address |
| 279 |
* \param rtsMode the transmission mode used to send an RTS we just received |
280 |
* \return the transmission mode to use for the CTS to complete the RTS/CTS |
| 280 |
* \returns the transmission mode to use for the CTS to complete the RTS/CTS |
|
|
| 281 |
* handshake. |
281 |
* handshake. |
| 282 |
*/ |
282 |
*/ |
| 283 |
WifiMode GetCtsMode (Mac48Address address, WifiMode rtsMode); |
283 |
WifiMode GetCtsMode (Mac48Address address, WifiMode rtsMode); |
|
|
| 290 |
WifiMode GetAckMode (Mac48Address address, WifiMode dataMode); |
290 |
WifiMode GetAckMode (Mac48Address address, WifiMode dataMode); |
| 291 |
|
291 |
|
| 292 |
WifiRemoteStationInfo GetInfo (Mac48Address address); |
292 |
WifiRemoteStationInfo GetInfo (Mac48Address address); |
|
|
293 |
|
| 294 |
/** |
| 295 |
* \param address remote address |
| 296 |
* \param header MAC header |
| 297 |
* \param packet the packet to send |
| 298 |
* \param fullPacketSize the size of the packet after its 802.11 MAC header has been added. |
| 299 |
* \return the transmission power level to use to send this packet |
| 300 |
*/ |
| 301 |
uint8_t GetDataTxPowerLevel (Mac48Address address, const WifiMacHeader *header, |
| 302 |
Ptr<const Packet> packet, uint32_t fullPacketSize); |
| 303 |
/** |
| 304 |
* \param address remote address |
| 305 |
* \param header MAC header |
| 306 |
* \param packet the packet to send |
| 307 |
* \returns the transmission power level to use to send the RTS prior to the |
| 308 |
* transmission of the data packet itself. |
| 309 |
*/ |
| 310 |
uint8_t GetRtsTxPowerLevel (Mac48Address address, const WifiMacHeader *header, |
| 311 |
Ptr<const Packet> packet); |
| 312 |
|
| 313 |
/** |
| 314 |
* \param address remote address |
| 315 |
* \returns the tx power level to use for the CTS to complete the RTS/CTS |
| 316 |
* handshake. |
| 317 |
*/ |
| 318 |
uint8_t GetCtsTxPowerLevel (Mac48Address address); |
| 319 |
|
| 320 |
/** |
| 321 |
* \param address |
| 322 |
* \param d the transmission mode used to send an ACK we just received |
| 323 |
* \return the tx power level to use for the ACK to complete the data/ACK |
| 324 |
* handshake. |
| 325 |
*/ |
| 326 |
uint8_t GetAckTxPowerLevel (Mac48Address address); |
| 327 |
|
| 293 |
protected: |
328 |
protected: |
| 294 |
virtual void DoDispose (void); |
329 |
virtual void DoDispose (void); |
| 295 |
// for convenience |
330 |
// for convenience |