equal
deleted
inserted
replaced
372 void |
372 void |
373 WifiMac::Configure80211n_2_4Ghz (void) |
373 WifiMac::Configure80211n_2_4Ghz (void) |
374 { |
374 { |
375 Configure80211g (); |
375 Configure80211g (); |
376 SetRifs(MicroSeconds (2)); |
376 SetRifs(MicroSeconds (2)); |
377 SetCtsTimeout (MicroSeconds (10 + 52 + 20 + GetDefaultMaxPropagationDelay ().GetMicroSeconds () * 2)); |
|
378 SetAckTimeout (MicroSeconds (10 + 52 + 20 + GetDefaultMaxPropagationDelay ().GetMicroSeconds () * 2)); |
|
379 SetBasicBlockAckTimeout (GetSifs () + GetSlot () + GetDefaultBasicBlockAckDelay () + GetDefaultMaxPropagationDelay () * 2); |
377 SetBasicBlockAckTimeout (GetSifs () + GetSlot () + GetDefaultBasicBlockAckDelay () + GetDefaultMaxPropagationDelay () * 2); |
380 SetCompressedBlockAckTimeout (GetSifs () + GetSlot () + GetDefaultCompressedBlockAckDelay () + GetDefaultMaxPropagationDelay () * 2); |
378 SetCompressedBlockAckTimeout (GetSifs () + GetSlot () + GetDefaultCompressedBlockAckDelay () + GetDefaultMaxPropagationDelay () * 2); |
381 } |
379 } |
382 void |
380 void |
383 WifiMac::Configure80211n_5Ghz (void) |
381 WifiMac::Configure80211n_5Ghz (void) |
384 { |
382 { |
385 Configure80211a (); |
383 Configure80211a (); |
386 SetRifs(MicroSeconds (2)); |
384 SetRifs(MicroSeconds (2)); |
387 SetCtsTimeout (MicroSeconds (10 + 52 + 20 + GetDefaultMaxPropagationDelay ().GetMicroSeconds () * 2)); |
|
388 SetAckTimeout (MicroSeconds (10 + 52 + 20 + GetDefaultMaxPropagationDelay ().GetMicroSeconds () * 2)); |
|
389 SetBasicBlockAckTimeout (GetSifs () + GetSlot () + GetDefaultBasicBlockAckDelay () + GetDefaultMaxPropagationDelay () * 2); |
385 SetBasicBlockAckTimeout (GetSifs () + GetSlot () + GetDefaultBasicBlockAckDelay () + GetDefaultMaxPropagationDelay () * 2); |
390 SetCompressedBlockAckTimeout (GetSifs () + GetSlot () + GetDefaultCompressedBlockAckDelay () + GetDefaultMaxPropagationDelay () * 2); |
386 SetCompressedBlockAckTimeout (GetSifs () + GetSlot () + GetDefaultCompressedBlockAckDelay () + GetDefaultMaxPropagationDelay () * 2); |
391 } |
387 } |
392 |
388 |
393 void |
389 void |