YansWifiPhy:SendPacket(0x7f8dcac255b0, 0x7f8dcac69360, ErpOfdmRate54Mbps, 0, 0, 0)
YansWifiPhy:StartReceivePacket(0x7f8dcaf1d260, 0x7f8dcac62bb0, 17.0206, ErpOfdmRate54Mbps, 0, 0)
sync to signal (power=0.0633957W)
YansWifiPhy:EndReceive(0x7f8dcaf1d260, 0x7f8dcac62bb0, 0x7f8dcac64630)
mode=54000000, snr=1.58001e+11, per=0, size=1536
[mac=00:00:00:00:00:01] MacLow:StartTransmission(0x7fbc52702170, 0x7fbc527361b0, 0x7fbc52517858, [send rts=0, next size=0, dur=+0.0ns, ack=normal], 0x7fbc525157c0)
[mac=00:00:00:00:00:01] MacLow:CancelAllEvents(0x7fbc52702170)
[mac=00:00:00:00:00:01] startTx size=1536, to=00:00:00:00:00:02, listener=0x7fbc525157c0
[mac=00:00:00:00:00:01] MacLow:SendDataPacket(0x7fbc52702170)
[mac=00:00:00:00:00:01] MacLow:ForwardDown(0x7fbc52702170, 0x7fbc52736250, 0x7fbc52702308, mode:ErpOfdmRate54Mbps txpwrlvl:0 retries:0 Short GI: 0 Nss: 1 Ness: 0 STBC: 0)
[mac=00:00:00:00:00:01] send DATA, to=00:00:00:00:00:02, size=1536, mode=ErpOfdmRate54Mbps, duration=+44000.0ns, seq=0x100
YansWifiPhy:SendPacket(0x7fbc52518780, 0x7fbc52736250, ErpOfdmRate54Mbps, 0, 0, 0)
[mac=00:00:00:00:00:02] MacLow:StartTransmission(0x7fbc5260e930, 0x7fbc52650ea0, 0x7fbc5260fff8, [send rts=0, next size=0, dur=+0.0ns, ack=normal], 0x7fbc5260fd20)
[mac=00:00:00:00:00:02] MacLow:CancelAllEvents(0x7fbc5260e930)
[mac=00:00:00:00:00:02] startTx size=1536, to=00:00:00:00:00:01, listener=0x7fbc5260fd20
[mac=00:00:00:00:00:02] MacLow:SendDataPacket(0x7fbc5260e930)
[mac=00:00:00:00:00:02] MacLow:ForwardDown(0x7fbc5260e930, 0x7fbc52534bd0, 0x7fbc5260eac8, mode:ErpOfdmRate54Mbps txpwrlvl:0 retries:0 Short GI: 0 Nss: 1 Ness: 0 STBC: 0)
[mac=00:00:00:00:00:02] send DATA, to=00:00:00:00:00:01, size=1536, mode=ErpOfdmRate54Mbps, duration=+44000.0ns, seq=0x2a0
YansWifiPhy:SendPacket(0x7fbc52610f70, 0x7fbc52534bd0, ErpOfdmRate54Mbps, 0, 0, 0)
YansWifiPhy:StartReceivePacket(0x7fbc52610f70, 0x7fbc525341e0, 17.0206, ErpOfdmRate54Mbps, 0, 0)
drop packet because already in Tx (power=0.0633957W)
YansWifiPhy:StartReceivePacket(0x7fbc52518780, 0x7fbc52534f30, 17.0206, ErpOfdmRate54Mbps, 0, 0)
drop packet because already in Tx (power=0.0633957W)
[mac=00:00:00:00:00:01] MacLow:NormalAckTimeout(0x7fbc52702170)
[mac=00:00:00:00:00:01] normal ack timeout
[mac=00:00:00:00:00:02] MacLow:NormalAckTimeout(0x7fbc5260e930)
[mac=00:00:00:00:00:02] normal ack timeout
...
// thermal noise at 290K in J/s = W
static const double BOLTZMANN = 1.3803e-23;
// Nt is the power of thermal noise in W
double Nt = BOLTZMANN * 290.0 * mode.GetBandwidth ();
// receiver noise Floor (W) which accounts for thermal noise and non-idealities of the receiver
double noiseFloor = m_noiseFigure * Nt;
double noise = noiseFloor + noiseInterference;
double snr = signal / noise;
YansWifiChannelHelper wifiChannel = YansWifiChannelHelper::Default ();
wifiChannel.SetPropagationDelay ("ns3::ConstantSpeedPropagationDelayModel");
wifiChannel.AddPropagationLoss ("ns3::LogDistancePropagationLossModel", "Exponent", StringValue ("2.7"));
The script is borrowed and modified from another project (using ns-3 to simulate molecular motors and biological communication). Nothing remotely related to wifi. Sorry, I did not bother to remove it.
Maybe what I should do is erase my ns-3 completely and try re-installing from scratch and start again making sure the 3 x 3 mesh works properly. The goal is to simulate an 11s comprised of thousands of nodes over a metropolitan area and see how well it matches the real implementation. I'm particularly interested in proactive tree formation under a variety of RF conditions (to be added later).
There may be opportunities here.