|
|
| 228 |
virtual bool NeedFragmentation (Ptr<const Packet> packet); |
228 |
virtual bool NeedFragmentation (Ptr<const Packet> packet); |
| 229 |
/** |
229 |
/** |
| 230 |
* \param packet the packet to send |
230 |
* \param packet the packet to send |
| 231 |
* \returns the number of fragments which should be used for this packet. |
|
|
| 232 |
*/ |
| 233 |
virtual uint32_t GetNFragments (Ptr<const Packet> packet); |
| 234 |
/** |
| 235 |
* \param packet the packet to send |
| 236 |
* \param fragmentNumber the fragment index of the next fragment to send (starts at zero). |
231 |
* \param fragmentNumber the fragment index of the next fragment to send (starts at zero). |
| 237 |
* \returns the size of the corresponding fragment. |
232 |
* \returns the size of the corresponding fragment. |
| 238 |
*/ |
233 |
*/ |
| 239 |
virtual uint32_t GetFragmentSize (Ptr<const Packet> packet, uint32_t fragmentNumber); |
234 |
virtual uint32_t GetFragmentSize (Ptr<const Packet> packet, uint32_t fragmentNumber); |
|
|
235 |
/** |
| 236 |
* \param packet the packet to send |
| 237 |
* \param fragmentNumber the fragment index of the next fragment to send (starts at zero). |
| 238 |
* \returns the offset within the original packet where this fragment starts. |
| 239 |
*/ |
| 240 |
virtual uint32_t GetFragmentOffset (Ptr<const Packet> packet, uint32_t fragmentNumber); |
| 240 |
/** |
241 |
/** |
| 241 |
* \param packet the packet to send |
242 |
* \param packet the packet to send |
| 242 |
* \param fragmentNumber the fragment index of the next fragment to send (starts at zero). |
243 |
* \param fragmentNumber the fragment index of the next fragment to send (starts at zero). |
|
|
| 262 |
virtual Ptr<WifiRemoteStationManager> GetManager (void) const = 0; |
263 |
virtual Ptr<WifiRemoteStationManager> GetManager (void) const = 0; |
| 263 |
virtual WifiMode DoGetDataMode (uint32_t size) = 0; |
264 |
virtual WifiMode DoGetDataMode (uint32_t size) = 0; |
| 264 |
virtual WifiMode DoGetRtsMode (void) = 0; |
265 |
virtual WifiMode DoGetRtsMode (void) = 0; |
|
|
266 |
uint32_t GetNFragments (Ptr<const Packet> packet); |
| 265 |
protected: |
267 |
protected: |
| 266 |
virtual void DoReportRtsFailed (void) = 0; |
268 |
virtual void DoReportRtsFailed (void) = 0; |
| 267 |
virtual void DoReportDataFailed (void) = 0; |
269 |
virtual void DoReportDataFailed (void) = 0; |