src/devices/wifi/wifi-mac.h
changeset 4680 a52c39181dd4
parent 4272 b40ce56e0247
child 4720 15221757964f
equal deleted inserted replaced
4679:7555c9a0564b 4680:a52c39181dd4
   204   /**
   204   /**
   205    * Public method used to fire a MacRxDrop trace.  Implemented for encapsulation 
   205    * Public method used to fire a MacRxDrop trace.  Implemented for encapsulation 
   206    * purposes.
   206    * purposes.
   207    */
   207    */
   208   void NotifyRxDrop (Ptr<const Packet> packet);
   208   void NotifyRxDrop (Ptr<const Packet> packet);
       
   209   /**
       
   210    * \param standard the wifi standard to be configured
       
   211    */
       
   212   void SetStandard (enum WifiPhyStandard standard);
   209 
   213 
   210 private:
   214 private:
   211   static Time GetDefaultMaxPropagationDelay (void);
   215   static Time GetDefaultMaxPropagationDelay (void);
   212   static Time GetDefaultSlot (void);
   216   static Time GetDefaultSlot (void);
   213   static Time GetDefaultSifs (void);
   217   static Time GetDefaultSifs (void);
   215   static Time GetDefaultCtsAckDelay (void);
   219   static Time GetDefaultCtsAckDelay (void);
   216   static Time GetDefaultCtsAckTimeout (void);
   220   static Time GetDefaultCtsAckTimeout (void);
   217 
   221 
   218   Time m_maxPropagationDelay;
   222   Time m_maxPropagationDelay;
   219   uint32_t m_maxMsduSize;
   223   uint32_t m_maxMsduSize;
       
   224   WifiPhyStandard m_standard;
       
   225 
       
   226   void Configure80211a (void);
       
   227   void Configure80211b (void);
       
   228   void Configure80211_10Mhz (void);
       
   229   void Configure80211_5Mhz ();
   220 
   230 
   221   /**
   231   /**
   222    * The trace source fired when packets come into the "top" of the device
   232    * The trace source fired when packets come into the "top" of the device
   223    * at the L3/L2 transition, before being queued for transmission.
   233    * at the L3/L2 transition, before being queued for transmission.
   224    *
   234    *