wifi: (fixes #917) Add missing STA-ID in GetMode() call from YansErrorRateModel
This commit is contained in:
@@ -206,7 +206,7 @@ YansErrorRateModel::DoGetChunkSuccessRate(WifiMode mode,
|
||||
if (mode.GetModulationClass() >= WIFI_MOD_CLASS_ERP_OFDM)
|
||||
{
|
||||
uint64_t phyRate;
|
||||
if ((txVector.IsMu() && (staId == SU_STA_ID)) || (mode != txVector.GetMode()))
|
||||
if ((txVector.IsMu() && (staId == SU_STA_ID)) || (mode != txVector.GetMode(staId)))
|
||||
{
|
||||
phyRate = mode.GetPhyRate(txVector.GetChannelWidth() >= 40
|
||||
? 20
|
||||
|
||||
Reference in New Issue
Block a user