src/wifi/model/aarf-wifi-manager.h
changeset 11450 9f4ae69f12b7
parent 10139 17a71cd49da3
equal deleted inserted replaced
11449:99300a162f1c 11450:9f4ae69f12b7
    15  * along with this program; if not, write to the Free Software
    15  * along with this program; if not, write to the Free Software
    16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    17  *
    17  *
    18  * Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
    18  * Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
    19  */
    19  */
       
    20 
    20 #ifndef AARF_WIFI_MANAGER_H
    21 #ifndef AARF_WIFI_MANAGER_H
    21 #define AARF_WIFI_MANAGER_H
    22 #define AARF_WIFI_MANAGER_H
    22 
    23 
    23 #include "arf-wifi-manager.h"
    24 #include "arf-wifi-manager.h"
    24 
    25 
    38 public:
    39 public:
    39   static TypeId GetTypeId (void);
    40   static TypeId GetTypeId (void);
    40   AarfWifiManager ();
    41   AarfWifiManager ();
    41   virtual ~AarfWifiManager ();
    42   virtual ~AarfWifiManager ();
    42 private:
    43 private:
    43   // overriden from base class
    44   //overriden from base class
    44   virtual WifiRemoteStation * DoCreateStation (void) const;
    45   virtual WifiRemoteStation * DoCreateStation (void) const;
    45   virtual void DoReportRxOk (WifiRemoteStation *station,
    46   virtual void DoReportRxOk (WifiRemoteStation *station,
    46                              double rxSnr, WifiMode txMode);
    47                              double rxSnr, WifiMode txMode);
    47   virtual void DoReportRtsFailed (WifiRemoteStation *station);
    48   virtual void DoReportRtsFailed (WifiRemoteStation *station);
    48   virtual void DoReportDataFailed (WifiRemoteStation *station);
    49   virtual void DoReportDataFailed (WifiRemoteStation *station);
    61   double m_successK;
    62   double m_successK;
    62   uint32_t m_maxSuccessThreshold;
    63   uint32_t m_maxSuccessThreshold;
    63   double m_timerK;
    64   double m_timerK;
    64 };
    65 };
    65 
    66 
    66 } // namespace ns3
    67 } //namespace ns3
    67 
       
    68 
    68 
    69 #endif /* AARF_WIFI_MANAGER_H */
    69 #endif /* AARF_WIFI_MANAGER_H */