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) 2005, 2006 INRIA | 3 * Copyright (c) 2005, 2006 INRIA |
4 * Copyright (c) 2009 MIRKO BANCHI | 4 * Copyright (c) 2009 MIRKO BANCHI |
5 * | 5 * |
6 * This program is free software; you can redistribute it and/or modify | 6 * This program is free software; you can redistribute it and/or modify |
7 * it under the terms of the GNU General Public License version 2 as | 7 * it under the terms of the GNU General Public License version 2 as |
8 * published by the Free Software Foundation; | 8 * published by the Free Software Foundation; |
9 * | 9 * |
10 * This program is distributed in the hope that it will be useful, | 10 * This program is distributed in the hope that it will be useful, |
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
544 * false otherwise | 544 * false otherwise |
545 */ | 545 */ |
546 bool NeedRts (void) const; | 546 bool NeedRts (void) const; |
547 /** | 547 /** |
548 * Check if CTS-to-self mechanism should be used for the current packet. | 548 * Check if CTS-to-self mechanism should be used for the current packet. |
549 * | 549 * |
550 * \return true if CTS-to-self mechanism should be used for the current packet
, | 550 * \return true if CTS-to-self mechanism should be used for the current packet
, |
551 * false otherwise | 551 * false otherwise |
552 */ | 552 */ |
553 bool NeedCtsToSelf (void) const; | 553 bool NeedCtsToSelf (void) const; |
554 | |
555 /** | 554 /** |
556 * Notify NAV function. | 555 * Notify NAV function. |
557 * | 556 * |
558 * \param packet the packet | 557 * \param packet the packet |
559 * \param hdr the header | 558 * \param hdr the header |
560 */ | 559 */ |
561 void NotifyNav (Ptr<const Packet> packet,const WifiMacHeader &hdr); | 560 void NotifyNav (Ptr<const Packet> packet,const WifiMacHeader &hdr); |
562 /** | 561 /** |
563 * Reset NAV with the given duration. | 562 * Reset NAV with the given duration. |
564 * | 563 * |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
652 * \param dataTxMode | 651 * \param dataTxMode |
653 * \param dataSnr | 652 * \param dataSnr |
654 */ | 653 */ |
655 void SendAckAfterData (Mac48Address source, Time duration, WifiMode dataTxMode
, double dataSnr); | 654 void SendAckAfterData (Mac48Address source, Time duration, WifiMode dataTxMode
, double dataSnr); |
656 /** | 655 /** |
657 * Send DATA after receiving CTS. | 656 * Send DATA after receiving CTS. |
658 * | 657 * |
659 * \param source | 658 * \param source |
660 * \param duration | 659 * \param duration |
661 */ | 660 */ |
662 void SendDataAfterCts (Mac48Address source, Time duration); | 661 void SendDataAfterCts (Time duration); |
663 | 662 |
664 /** | 663 /** |
665 * Event handler that is usually scheduled to fired at the appropriate time | 664 * Event handler that is usually scheduled to fired at the appropriate time |
666 * after completing transmissions. | 665 * after completing transmissions. |
667 */ | 666 */ |
668 void WaitIfsAfterEndTxFragment (void); | 667 void WaitIfsAfterEndTxFragment (void); |
669 /** | 668 /** |
670 * Event handler that is usually scheduled to fired at the appropriate time | 669 * Event handler that is usually scheduled to fired at the appropriate time |
671 * after sending a packet. | 670 * after sending a packet. |
672 */ | 671 */ |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
911 | 910 |
912 bool m_ctsToSelfSupported; //!< Flag whether CTS-to-self is suppor
ted | 911 bool m_ctsToSelfSupported; //!< Flag whether CTS-to-self is suppor
ted |
913 Ptr<WifiMacQueue> m_aggregateQueue[8]; //!< Queues per TID used for MPDU aggre
gation | 912 Ptr<WifiMacQueue> m_aggregateQueue[8]; //!< Queues per TID used for MPDU aggre
gation |
914 std::vector<Item> m_txPackets[8]; //!< Contain temporary items to be sent
with the next A-MPDU transmission for a given TID, once RTS/CTS exchange has su
cceeded. | 913 std::vector<Item> m_txPackets[8]; //!< Contain temporary items to be sent
with the next A-MPDU transmission for a given TID, once RTS/CTS exchange has su
cceeded. |
915 WifiTxVector m_currentTxVector; //!< TXVECTOR used for the current pack
et transmission | 914 WifiTxVector m_currentTxVector; //!< TXVECTOR used for the current pack
et transmission |
916 }; | 915 }; |
917 | 916 |
918 } //namespace ns3 | 917 } //namespace ns3 |
919 | 918 |
920 #endif /* MAC_LOW_H */ | 919 #endif /* MAC_LOW_H */ |
LEFT | RIGHT |