Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3128)

Unified Diff: src/devices/wifi/nist-error-rate-model.cc

Issue 862041: ns-3: Initial support for the 802.11g PHY (Closed)
Patch Set: Updated draft patchset for 802.11g support in ns-3 Created 14 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/devices/wifi/mgt-headers.cc ('k') | src/devices/wifi/nqap-wifi-mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/devices/wifi/nist-error-rate-model.cc
===================================================================
--- a/src/devices/wifi/nist-error-rate-model.cc
+++ b/src/devices/wifi/nist-error-rate-model.cc
@@ -190,7 +190,8 @@
double
NistErrorRateModel::GetChunkSuccessRate (WifiMode mode, double snr, uint32_t nbits) const
{
- if (mode.GetModulationClass () == WIFI_MOD_CLASS_OFDM)
+ if (mode.GetModulationClass () == WIFI_MOD_CLASS_ERP_OFDM ||
+ mode.GetModulationClass () == WIFI_MOD_CLASS_OFDM)
{
if (mode.GetConstellationSize () == 2)
{
« no previous file with comments | « src/devices/wifi/mgt-headers.cc ('k') | src/devices/wifi/nqap-wifi-mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b