src/devices/wifi/wifi-channel.h
changeset 2051 83f33d9b66cb
parent 2029 234f9a8c49af
child 2060 fc8e44324a15
--- a/src/devices/wifi/wifi-channel.h	Mon Oct 29 15:04:47 2007 +0100
+++ b/src/devices/wifi/wifi-channel.h	Mon Oct 29 16:34:26 2007 +0100
@@ -64,15 +64,6 @@
    * Overriden from the NetDevice base class.
    */
   virtual uint32_t GetNDevices (void) const;
-  /**
-   * \param i index of the requested network interface.
-   * \returns the requested network interfaces connected to 
-   *          this channel.
-   *
-   * Overriden from the NetDevice base class.
-   * Indexes start at 0 and end at n-1.
-   */
-  virtual Ptr<NetDevice> GetDevice (uint32_t i) const ;
 
   /**
    * \param loss the new propagation loss model.
@@ -110,6 +101,16 @@
   typedef std::vector<std::pair<Ptr<NetDevice>, ReceiveCallback> > DeviceList;
   void Receive (uint32_t i, const Packet &packet, double rxPowerDbm,
                 WifiMode txMode, WifiPreamble preamble) const;
+  /**
+   * \param i index of the requested network interface.
+   * \returns the requested network interfaces connected to 
+   *          this channel.
+   *
+   * Overriden from the NetDevice base class.
+   * Indexes start at 0 and end at n-1.
+   */
+  virtual Ptr<NetDevice> DoGetDevice (uint32_t i) const ;
+
 
   DeviceList m_deviceList;
   Ptr<PropagationLossModel> m_loss;