src/devices/wifi/wifi-phy.h
changeset 4645 d53223aae797
parent 4497 43c7dfd72eb1
child 4680 a52c39181dd4
child 5118 3a0893ec9819
equal deleted inserted replaced
4644:846d7a49f4b7 4645:d53223aae797
   307    * transmitted. This is because it is possible to have the receiver
   307    * transmitted. This is because it is possible to have the receiver
   308    * tuned on a given channel and still to be able to receive packets
   308    * tuned on a given channel and still to be able to receive packets
   309    * on a nearby channel.
   309    * on a nearby channel.
   310    * @param rate the PHY data rate in units of 500kbps (i.e., the same
   310    * @param rate the PHY data rate in units of 500kbps (i.e., the same
   311    * units used both for the radiotap and for the prism header) 
   311    * units used both for the radiotap and for the prism header) 
   312    * @param isPreambleShort true if short preamble is used, false otherwise
   312    * @param isShortPreamble true if short preamble is used, false otherwise
   313    * @param signalDbm signal power in dBm
   313    * @param signalDbm signal power in dBm
   314    * @param noiseDbm  noise power in dBm
   314    * @param noiseDbm  noise power in dBm
   315    */
   315    */
   316   void NotifyPromiscSniffRx (Ptr<const Packet> packet, uint16_t channelFreqMhz, uint32_t rate, bool isShortPreamble, 
   316   void NotifyPromiscSniffRx (Ptr<const Packet> packet, uint16_t channelFreqMhz, uint32_t rate, bool isShortPreamble, 
   317                              double signalDbm, double noiseDbm);
   317                              double signalDbm, double noiseDbm);
   329    * transmitted. This is because it is possible to have the receiver
   329    * transmitted. This is because it is possible to have the receiver
   330    * tuned on a given channel and still to be able to receive packets
   330    * tuned on a given channel and still to be able to receive packets
   331    * on a nearby channel.
   331    * on a nearby channel.
   332    * @param rate the PHY data rate in units of 500kbps (i.e., the same
   332    * @param rate the PHY data rate in units of 500kbps (i.e., the same
   333    * units used both for the radiotap and for the prism header) 
   333    * units used both for the radiotap and for the prism header) 
   334    * @param isPreambleShort true if short preamble is used, false otherwise
   334    * @param isShortPreamble true if short preamble is used, false otherwise
   335    */
   335    */
   336   void NotifyPromiscSniffTx (Ptr<const Packet> packet, uint16_t channelFreqMhz, uint32_t rate, bool isShortPreamble);
   336   void NotifyPromiscSniffTx (Ptr<const Packet> packet, uint16_t channelFreqMhz, uint32_t rate, bool isShortPreamble);
   337   
   337   
   338 
   338 
   339 private:
   339 private: