--- a/src/wave/model/vsa-manager.cc Fri Sep 04 22:18:04 2015 +0200
+++ b/src/wave/model/vsa-manager.cc Fri Sep 04 22:18:05 2015 +0200
@@ -174,6 +174,7 @@
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));
--- a/src/wave/model/wave-mac-low.cc Fri Sep 04 22:18:04 2015 +0200
+++ b/src/wave/model/wave-mac-low.cc Fri Sep 04 22:18:05 2015 +0200
@@ -82,6 +82,7 @@
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))
--- a/src/wave/model/wave-net-device.cc Fri Sep 04 22:18:04 2015 +0200
+++ b/src/wave/model/wave-net-device.cc Fri Sep 04 22:18:05 2015 +0200
@@ -408,6 +408,7 @@
}
}
WifiTxVector txVector;
+ txVector.SetChannelWidth (10);
txVector.SetTxPowerLevel (txInfo.txPowerLevel);
txVector.SetMode (txInfo.dataRate);
HigherLayerTxVectorTag tag = HigherLayerTxVectorTag (txVector, false);