src/wifi/model/wifi-mac.cc
changeset 11665 bb52e7eaaf33
parent 11628 243b71de25a0
equal deleted inserted replaced
11664:f09955ef98e5 11665:bb52e7eaaf33
   348 
   348 
   349 void
   349 void
   350 WifiMac::Configure80211g (void)
   350 WifiMac::Configure80211g (void)
   351 {
   351 {
   352   SetSifs (MicroSeconds (10));
   352   SetSifs (MicroSeconds (10));
   353   //Note: no support for Short Slot Time yet
   353   // Slot time defaults to the "long slot time" of 20 us in the standard
       
   354   // according to mixed 802.11b/g deployments.  Short slot time is supported
       
   355   // if the user sets the slot to 9 us *after* calling Configure80211g().
       
   356   // The other parameters below should also be adjusted accordingly as they
       
   357   // depend on slot time.
   354   SetSlot (MicroSeconds (20));
   358   SetSlot (MicroSeconds (20));
   355   SetEifsNoDifs (MicroSeconds (10 + 304));
   359   SetEifsNoDifs (MicroSeconds (10 + 304));
   356   SetPifs (MicroSeconds (10 + 20));
   360   SetPifs (MicroSeconds (10 + 20));
   357   SetCtsTimeout (MicroSeconds (10 + 304 + 20 + GetDefaultMaxPropagationDelay ().GetMicroSeconds () * 2));
   361   SetCtsTimeout (MicroSeconds (10 + 304 + 20 + GetDefaultMaxPropagationDelay ().GetMicroSeconds () * 2));
   358   SetAckTimeout (MicroSeconds (10 + 304 + 20 + GetDefaultMaxPropagationDelay ().GetMicroSeconds () * 2));
   362   SetAckTimeout (MicroSeconds (10 + 304 + 20 + GetDefaultMaxPropagationDelay ().GetMicroSeconds () * 2));