src/wifi/model/wifi-phy.h
changeset 8981 7e1c95c4d1a7
parent 8867 743aeb2fef78
child 10139 17a71cd49da3
equal deleted inserted replaced
8980:0202e0b04282 8981:7e1c95c4d1a7
   447    * units used both for the radiotap and for the prism header)
   447    * units used both for the radiotap and for the prism header)
   448    * @param isShortPreamble true if short preamble is used, false otherwise
   448    * @param isShortPreamble true if short preamble is used, false otherwise
   449    */
   449    */
   450   void NotifyMonitorSniffTx (Ptr<const Packet> packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble);
   450   void NotifyMonitorSniffTx (Ptr<const Packet> packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble);
   451 
   451 
       
   452  /**
       
   453   * Assign a fixed random variable stream number to the random variables
       
   454   * used by this model.  Return the number of streams (possibly zero) that
       
   455   * have been assigned.
       
   456   *
       
   457   * \param stream first stream index to use
       
   458   * \return the number of stream indices assigned by this model
       
   459   */
       
   460   virtual int64_t AssignStreams (int64_t stream) = 0;
       
   461 
   452 
   462 
   453 private:
   463 private:
   454   /**
   464   /**
   455    * The trace source fired when a packet begins the transmission process on
   465    * The trace source fired when a packet begins the transmission process on
   456    * the medium.
   466    * the medium.