Hi Sampath,
Thanks for your response...please keep this conversation going as I need your help
Firstly,
FlowMonitor can only capture packets at Network level. Hence packet losses at MAC/PHY due to congestion etc, will not be obtained by FlowMonitor.
So even if I use IdealWifiManager, should I be able to specifically say what is collision level and congestion etc that is causing packet losses and justify the saturation of network at around 50 s?
Next,
I am trying to use ConstantRateWifiManager as you mentioned for 802.11n using ns-3.26, thus --
YansWifiChannelHelper channel = YansWifiChannelHelper::Default ();
YansWifiPhyHelper phy = YansWifiPhyHelper::Default ();
phy.SetChannel (channel.Create ());
//phy.Set ("ChannelNumber", UintegerValue(48));
WifiHelper wifi;
wifi.SetStandard(WIFI_PHY_STANDARD_80211n_2_4GHZ);
//std::string phyMode ("OfdmRate135MbpsBW40MHz");
//wifi.SetStandard(WIFI_PHY_STANDARD_80211g);
//wifi.SetRemoteStationManager ("ns3::IdealWifiManager");
wifi.SetRemoteStationManager ("ns3::ConstantRateWifiManager","DataMode", StringValue ("OfdmRate54Mbps"));
// disable RTS/CTS.
Config::SetDefault ("ns3::WifiRemoteStationManager::RtsCtsThreshold", StringValue ("99999999"));
// disable fragmentation
//Config::SetDefault ("ns3::WifiRemoteStationManager::FragmentationThreshold", StringValue ("2222200"));
NqosWifiMacHelper mac = NqosWifiMacHelper::Default ();
But am getting errror as below......
:
msg="Can't find response rate for OfdmRate54Mbps", file=../src/wifi/model/wifi-remote-station-manager.cc, line=1273
terminate called without an active exception
Command ['/home/sourav/Desktop/research/ns-allinone-3.26/ns-3.26/build/scratch/onlyWifi_ConstantRate', '--numberOfNodes=100'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").
Can you suggest how to rectify this?
REgards,
Sourav