diff --git a/src/wave/model/vsa-manager.cc b/src/wave/model/vsa-manager.cc index 8f2bf060f..ecc57112e 100644 --- a/src/wave/model/vsa-manager.cc +++ b/src/wave/model/vsa-manager.cc @@ -174,6 +174,7 @@ VsaManager::DoSendVsa (enum VsaTransmitInterval interval, uint32_t channel, vsc->AddPacketTag (qosTag); WifiTxVector txVector; + txVector.SetChannelWidth (10); txVector.SetTxPowerLevel (manager->GetManagementPowerLevel (channel)); txVector.SetMode (manager->GetManagementDataRate (channel)); HigherLayerTxVectorTag tag = HigherLayerTxVectorTag (txVector, manager->GetManagementAdaptable (channel)); diff --git a/src/wave/model/wave-mac-low.cc b/src/wave/model/wave-mac-low.cc index 2d0de0510..16bc7a6d7 100644 --- a/src/wave/model/wave-mac-low.cc +++ b/src/wave/model/wave-mac-low.cc @@ -82,6 +82,7 @@ WaveMacLow::GetDataTxVector (Ptr packet, const WifiMacHeader *hdr) WifiTxVector txHigher = datatag.GetTxVector (); WifiTxVector txMac = MacLow::GetDataTxVector (packet, hdr); WifiTxVector txAdapter; + txAdapter.SetChannelWidth (10); // the DataRate set by higher layer is the minimum data rate // which is the lower bound for the actual data rate. if (txHigher.GetMode ().GetDataRate (txHigher.GetChannelWidth (), txHigher.IsShortGuardInterval (), 1) > txMac.GetMode ().GetDataRate (txMac.GetChannelWidth (), txMac.IsShortGuardInterval (), 1)) diff --git a/src/wave/model/wave-net-device.cc b/src/wave/model/wave-net-device.cc index cf5438428..d4858c49e 100644 --- a/src/wave/model/wave-net-device.cc +++ b/src/wave/model/wave-net-device.cc @@ -408,6 +408,7 @@ WaveNetDevice::SendX (Ptr packet, const Address & dest, uint32_t protoco } } WifiTxVector txVector; + txVector.SetChannelWidth (10); txVector.SetTxPowerLevel (txInfo.txPowerLevel); txVector.SetMode (txInfo.dataRate); HigherLayerTxVectorTag tag = HigherLayerTxVectorTag (txVector, false);