diff -r 2f8e35b43d11 -r 17a71cd49da3 src/wifi/model/wifi-mac.h --- a/src/wifi/model/wifi-mac.h Tue Aug 13 10:37:49 2013 -0700 +++ b/src/wifi/model/wifi-mac.h Tue Aug 13 22:05:25 2013 -0700 @@ -65,6 +65,11 @@ * \param pifs the pifs duration. */ virtual void SetPifs (Time pifs) = 0; +/** + * \param rifs the rifs duration. + */ + + virtual void SetRifs (Time rifs) = 0; /** * \param ctsTimeout the duration of a CTS timeout. */ @@ -79,6 +84,11 @@ * Unused for now. */ void SetMaxPropagationDelay (Time delay); +/** + * \returns the current RIFS duration. + */ + + virtual Time GetRifs (void) const = 0; /** * \returns the current PIFS duration. @@ -233,6 +243,7 @@ static Time GetDefaultMaxPropagationDelay (void); static Time GetDefaultSlot (void); static Time GetDefaultSifs (void); + static Time GetDefaultRifs (void); static Time GetDefaultEifsNoDifs (void); static Time GetDefaultCtsAckDelay (void); static Time GetDefaultCtsAckTimeout (void); @@ -259,6 +270,8 @@ void Configure80211_5Mhz (); void Configure80211p_CCH (void); void Configure80211p_SCH (void); + void Configure80211n_2_4Ghz (void); + void Configure80211n_5Ghz (void); /** * The trace source fired when packets come into the "top" of the device