src/devices/wifi/yans-wifi-phy.h
changeset 3912 4d1a61f80745
parent 3906 01acc159ffb1
child 4263 fec2f830d015
--- a/src/devices/wifi/yans-wifi-phy.h	Tue Nov 04 14:06:26 2008 +0100
+++ b/src/devices/wifi/yans-wifi-phy.h	Tue Nov 04 14:06:34 2008 +0100
@@ -84,12 +84,16 @@
   void SetEdThreshold (double threshold);
   void SetCcaMode1Threshold (double threshold);
   void SetErrorRateModel (Ptr<ErrorRateModel> rate);
+  void SetDevice (Ptr<Object> device);
+  void SetMobility (Ptr<Object> mobility);
   double GetRxNoise (void) const;
   double GetTxGain (void) const;
   double GetRxGain (void) const;
   double GetEdThreshold (void) const;
   double GetCcaMode1Threshold (void) const;
   Ptr<ErrorRateModel> GetErrorRateModel (void) const;
+  Ptr<Object> GetDevice (void) const;
+  Ptr<Object> GetMobility (void);
 
 
   virtual double GetTxPowerStart (void) const;
@@ -139,6 +143,8 @@
   uint32_t m_nTxPower;
 
   Ptr<YansWifiChannel> m_channel;
+  Ptr<Object> m_device;
+  Ptr<Object> m_mobility;
   Modes m_modes;
   EventId m_endSyncEvent;
   UniformVariable m_random;