src/devices/wifi/wifi-mac.h
changeset 3517 5ba130a7f519
parent 3212 0c00342d6a73
child 3596 6c39b712a535
equal deleted inserted replaced
3515:88e9cee20461 3517:5ba130a7f519
   146    *
   146    *
   147    * The packet should be enqueued in a tx queue, and should be
   147    * The packet should be enqueued in a tx queue, and should be
   148    * dequeued as soon as the DCF function determines that
   148    * dequeued as soon as the DCF function determines that
   149    * access it granted to this MAC.
   149    * access it granted to this MAC.
   150    */
   150    */
   151   virtual void Enqueue (Ptr<const Packet> packet, Mac48Address to) = 0;
   151   virtual void Enqueue (Ptr<const Packet> packet, Mac48Address to, Mac48Address from) = 0;
   152   /**
   152   /**
   153    * \param phy the physical layer attached to this MAC.
   153    * \param phy the physical layer attached to this MAC.
   154    */
   154    */
   155   virtual void SetWifiPhy (Ptr<WifiPhy> phy) = 0;
   155   virtual void SetWifiPhy (Ptr<WifiPhy> phy) = 0;
   156   /**
   156   /**