examples/wifi-ap.cc
changeset 3553 065488d0420c
parent 3174 efeb6e5c276d
child 3906 01acc159ffb1
equal deleted inserted replaced
3552:b822851cb95d 3553:065488d0420c
   108 
   108 
   109 
   109 
   110 
   110 
   111 int main (int argc, char *argv[])
   111 int main (int argc, char *argv[])
   112 {
   112 {
   113   Packet::EnableMetadata ();
   113   Packet::EnablePrinting ();
   114 
   114 
   115   // enable rts cts all the time.
   115   // enable rts cts all the time.
   116   Config::SetDefault ("ns3::WifiRemoteStationManager::RtsCtsThreshold", StringValue ("0"));
   116   Config::SetDefault ("ns3::WifiRemoteStationManager::RtsCtsThreshold", StringValue ("0"));
   117   // disable fragmentation
   117   // disable fragmentation
   118   Config::SetDefault ("ns3::WifiRemoteStationManager::FragmentationThreshold", StringValue ("2200"));
   118   Config::SetDefault ("ns3::WifiRemoteStationManager::FragmentationThreshold", StringValue ("2200"));