Hello everyone
Now the default preamble of the packet is WIFI_PREAMBLE_LONG. I want to sent the preamble of the packet to WIFI_PREAMBLE_SHORT, but it seemed that there isn't any attribute to set. Can anyone please tell me how to set?
Thanks
in advance,
Best
Regards,
Thank you for your reply.
I have used
WifiHelper wifi = WifiHelper::Default ();
wifi.SetStandard (WIFI_PHY_STANDARD_80211g);
to set the standard to 802.11g, and also set DataMode and ControlMode like this
wifi.SetRemoteStationManager ("ns3::ConstantRateWifiManager","DataMode", StringValue("ErpOfdmRate24Mbps"),
"ControlMode", StringValue("ErpOfdmRate24Mbps"));
I used OnOffApplication to send packet.But when I traced by
MonitorSnifferRxCallback (Ptr< const Packet > packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, WifiPreamble preamble, WifiTxVector txVector, struct mpduInfo aMpdu, struct signalNoiseDbm signalNoise)
The preambles of all packets are WIFI_PREAMBLE_LONG, but not WIFI_PREAMBLE_SHORT.
Can you help me to deal with this problem?
Thanks in
advance,
Best Regards,
Thanks a lot. I will try 3.25.
Best regards.