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: |