|
|
| 688 |
double ackSnr, WifiMode ackMode, double dataSnr); |
688 |
double ackSnr, WifiMode ackMode, double dataSnr); |
| 689 |
/** |
689 |
/** |
| 690 |
* Should be invoked after calling ReportRtsFailed if |
690 |
* Should be invoked after calling ReportRtsFailed if |
| 691 |
* NeedRtsRetransmission returns false |
691 |
* NeedRetransmission returns false |
| 692 |
* |
692 |
* |
| 693 |
* \param address the address of the receiver |
693 |
* \param address the address of the receiver |
| 694 |
* \param header MAC header of the DATA packet |
694 |
* \param header MAC header of the DATA packet |
|
|
| 696 |
void ReportFinalRtsFailed (Mac48Address address, const WifiMacHeader *header); |
696 |
void ReportFinalRtsFailed (Mac48Address address, const WifiMacHeader *header); |
| 697 |
/** |
697 |
/** |
| 698 |
* Should be invoked after calling ReportDataFailed if |
698 |
* Should be invoked after calling ReportDataFailed if |
| 699 |
* NeedDataRetransmission returns false |
699 |
* NeedRetransmission returns false |
| 700 |
* |
700 |
* |
| 701 |
* \param address the address of the receiver |
701 |
* \param address the address of the receiver |
| 702 |
* \param header MAC header of the DATA packet |
702 |
* \param header MAC header of the DATA packet |
|
|
| 753 |
* \param header MAC header |
753 |
* \param header MAC header |
| 754 |
* \param packet the packet to send |
754 |
* \param packet the packet to send |
| 755 |
* |
755 |
* |
| 756 |
* \return true if we want to restart a failed RTS/CTS handshake, |
|
|
| 757 |
* false otherwise. |
| 758 |
*/ |
| 759 |
bool NeedRtsRetransmission (Mac48Address address, const WifiMacHeader *header, |
| 760 |
Ptr<const Packet> packet); |
| 761 |
/** |
| 762 |
* \param address remote address |
| 763 |
* \param header MAC header |
| 764 |
* \param packet the packet to send |
| 765 |
* |
| 766 |
* \return true if we want to resend a packet after a failed transmission attempt, |
756 |
* \return true if we want to resend a packet after a failed transmission attempt, |
| 767 |
* false otherwise. |
757 |
* false otherwise. |
| 768 |
*/ |
758 |
*/ |
| 769 |
bool NeedDataRetransmission (Mac48Address address, const WifiMacHeader *header, |
759 |
bool NeedRetransmission (Mac48Address address, const WifiMacHeader *header, |
| 770 |
Ptr<const Packet> packet); |
760 |
Ptr<const Packet> packet); |
| 771 |
/** |
761 |
/** |
| 772 |
* \param address remote address |
762 |
* \param address remote address |
| 773 |
* \param header MAC header |
763 |
* \param header MAC header |
|
|
| 1083 |
/** |
1073 |
/** |
| 1084 |
* \param station the station that we need to communicate |
1074 |
* \param station the station that we need to communicate |
| 1085 |
* \param packet the packet to send |
1075 |
* \param packet the packet to send |
| 1086 |
* \param normally indicates whether the normal 802.11 rts enable mechanism would |
|
|
| 1087 |
* request that the rts is retransmitted or not. |
| 1088 |
* |
| 1089 |
* \return true if we want to restart a failed RTS/CTS handshake, |
| 1090 |
* false otherwise. |
| 1091 |
* |
| 1092 |
* Note: This method is called after an rts/cts handshake has been attempted |
| 1093 |
* and has failed. |
| 1094 |
*/ |
| 1095 |
virtual bool DoNeedRtsRetransmission (WifiRemoteStation *station, |
| 1096 |
Ptr<const Packet> packet, bool normally); |
| 1097 |
/** |
| 1098 |
* \param station the station that we need to communicate |
| 1099 |
* \param packet the packet to send |
| 1100 |
* \param normally indicates whether the normal 802.11 data retransmission mechanism |
1076 |
* \param normally indicates whether the normal 802.11 data retransmission mechanism |
| 1101 |
* would request that the data is retransmitted or not. |
1077 |
* would request that the data is retransmitted or not. |
| 1102 |
* \return true if we want to resend a packet after a failed transmission attempt, |
1078 |
* \return true if we want to resend a packet after a failed transmission attempt, |
| 1103 |
* false otherwise. |
1079 |
* false otherwise. |
| 1104 |
* |
1080 |
* |
| 1105 |
* Note: This method is called after a unicast packet transmission has been attempted |
1081 |
* Note: This method is called after any unicast packet transmission (control, management, |
| 1106 |
* and has failed. |
1082 |
* or data) has been attempted and has failed. |
| 1107 |
*/ |
1083 |
*/ |
| 1108 |
virtual bool DoNeedDataRetransmission (WifiRemoteStation *station, |
1084 |
virtual bool DoNeedRetransmission (WifiRemoteStation *station, |
| 1109 |
Ptr<const Packet> packet, bool normally); |
1085 |
Ptr<const Packet> packet, bool normally); |
| 1110 |
/** |
1086 |
/** |
| 1111 |
* \param station the station that we need to communicate |
1087 |
* \param station the station that we need to communicate |