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

Unified Diff: ns-3.13/src/wifi/model/yans-wifi-phy.h

Issue 6201059: New IEEE 802.11 indoor wireless channel models for ns-3
Patch Set: Created 11 years, 10 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 | « ns-3.13/src/wifi/helper/yans-wifi-helper.cc ('k') | ns-3.13/src/wifi/model/yans-wifi-phy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ns-3.13/src/wifi/model/yans-wifi-phy.h
diff --git a/ns-3.13/src/wifi/model/yans-wifi-phy.h b/ns-3.13/src/wifi/model/yans-wifi-phy.h
index 814e977c39a5f0a4a02bd809ddcce6f8318464bb..b4cb22f1e6861fe2eb4f6128bacda29f766018f5 100644
--- a/ns-3.13/src/wifi/model/yans-wifi-phy.h
+++ b/ns-3.13/src/wifi/model/yans-wifi-phy.h
@@ -36,6 +36,8 @@
#include "wifi-phy-standard.h"
#include "interference-helper.h"
+#include "ns3/error-model.h"
+
namespace ns3 {
@@ -105,6 +107,9 @@ public:
void SetEdThreshold (double threshold);
void SetCcaMode1Threshold (double threshold);
void SetErrorRateModel (Ptr<ErrorRateModel> rate);
+
+ void SetErrorModel (Ptr<ErrorModel> errorModel);
+
void SetDevice (Ptr<Object> device);
void SetMobility (Ptr<Object> mobility);
double GetRxNoiseFigure (void) const;
@@ -113,6 +118,7 @@ public:
double GetEdThreshold (void) const;
double GetCcaMode1Threshold (void) const;
Ptr<ErrorRateModel> GetErrorRateModel (void) const;
+ Ptr<ErrorModel> GetErrorModel (void) const;
Ptr<Object> GetDevice (void) const;
Ptr<Object> GetMobility (void);
@@ -220,6 +226,10 @@ private:
InterferenceHelper m_interference;
Time m_channelSwitchDelay;
+ UniformVariable m_ranvar;
+ Ptr<ErrorModel> m_errorModel;
+
+
};
} // namespace ns3
« no previous file with comments | « ns-3.13/src/wifi/helper/yans-wifi-helper.cc ('k') | ns-3.13/src/wifi/model/yans-wifi-phy.cc » ('j') | no next file with comments »

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