335 * frequency to which the receiver is tuned, and this can be |
335 * frequency to which the receiver is tuned, and this can be |
336 * different than the frequency at which the packet was originally |
336 * different than the frequency at which the packet was originally |
337 * transmitted. This is because it is possible to have the receiver |
337 * transmitted. This is because it is possible to have the receiver |
338 * tuned on a given channel and still to be able to receive packets |
338 * tuned on a given channel and still to be able to receive packets |
339 * on a nearby channel. |
339 * on a nearby channel. |
|
340 * @param channelNumber the channel on which the packet is received |
340 * @param rate the PHY data rate in units of 500kbps (i.e., the same |
341 * @param rate the PHY data rate in units of 500kbps (i.e., the same |
341 * units used both for the radiotap and for the prism header) |
342 * units used both for the radiotap and for the prism header) |
342 * @param isShortPreamble true if short preamble is used, false otherwise |
343 * @param isShortPreamble true if short preamble is used, false otherwise |
343 * @param signalDbm signal power in dBm |
344 * @param signalDbm signal power in dBm |
344 * @param noiseDbm noise power in dBm |
345 * @param noiseDbm noise power in dBm |
349 /** |
350 /** |
350 * |
351 * |
351 * Public method used to fire a PromiscSniffer trace for a wifi packet being transmitted. Implemented for encapsulation |
352 * Public method used to fire a PromiscSniffer trace for a wifi packet being transmitted. Implemented for encapsulation |
352 * purposes. |
353 * purposes. |
353 * |
354 * |
354 * @param packet the packet being received |
355 * @param packet the packet being transmitted |
355 * @param channelFreqMhz the frequency in MHz at which the packet is |
356 * @param channelFreqMhz the frequency in MHz at which the packet is |
356 * received. Note that in real devices this is normally the |
357 * transmitted. |
357 * frequency to which the receiver is tuned, and this can be |
358 * @param channelNumber the channel on which the packet is transmitted |
358 * different than the frequency at which the packet was originally |
|
359 * transmitted. This is because it is possible to have the receiver |
|
360 * tuned on a given channel and still to be able to receive packets |
|
361 * on a nearby channel. |
|
362 * @param rate the PHY data rate in units of 500kbps (i.e., the same |
359 * @param rate the PHY data rate in units of 500kbps (i.e., the same |
363 * units used both for the radiotap and for the prism header) |
360 * units used both for the radiotap and for the prism header) |
364 * @param isShortPreamble true if short preamble is used, false otherwise |
361 * @param isShortPreamble true if short preamble is used, false otherwise |
365 */ |
362 */ |
366 void NotifyPromiscSniffTx (Ptr<const Packet> packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble); |
363 void NotifyPromiscSniffTx (Ptr<const Packet> packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble); |