src/wifi/model/arf-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 ARF_WIFI_MANAGER_H
    21 #ifndef ARF_WIFI_MANAGER_H
    21 #define ARF_WIFI_MANAGER_H
    22 #define ARF_WIFI_MANAGER_H
    22 
    23 
    23 #include "wifi-remote-station-manager.h"
    24 #include "wifi-remote-station-manager.h"
    24 
    25 
    44 public:
    45 public:
    45   static TypeId GetTypeId (void);
    46   static TypeId GetTypeId (void);
    46   ArfWifiManager ();
    47   ArfWifiManager ();
    47   virtual ~ArfWifiManager ();
    48   virtual ~ArfWifiManager ();
    48 
    49 
       
    50 
    49 private:
    51 private:
    50   // overriden from base class
    52   //overriden from base class
    51   virtual WifiRemoteStation * DoCreateStation (void) const;
    53   virtual WifiRemoteStation * DoCreateStation (void) const;
    52   virtual void DoReportRxOk (WifiRemoteStation *station,
    54   virtual void DoReportRxOk (WifiRemoteStation *station,
    53                              double rxSnr, WifiMode txMode);
    55                              double rxSnr, WifiMode txMode);
    54   virtual void DoReportRtsFailed (WifiRemoteStation *station);
    56   virtual void DoReportRtsFailed (WifiRemoteStation *station);
    55   virtual void DoReportDataFailed (WifiRemoteStation *station);
    57   virtual void DoReportDataFailed (WifiRemoteStation *station);
    65 
    67 
    66   uint32_t m_timerThreshold;
    68   uint32_t m_timerThreshold;
    67   uint32_t m_successThreshold;
    69   uint32_t m_successThreshold;
    68 };
    70 };
    69 
    71 
    70 } // namespace ns3
    72 } //namespace ns3
    71 
    73 
    72 #endif /* ARF_WIFI_MANAGER_H */
    74 #endif /* ARF_WIFI_MANAGER_H */