|
Lines 318-325
calculated from the transmission power and adjusted based on the Tx gain
|
Link Here
|
|---|
|
| 318 |
of the transmitter, Rx gain of the receiver, and any path loss propagation |
318 |
of the transmitter, Rx gain of the receiver, and any path loss propagation |
| 319 |
model in effect. |
319 |
model in effect. |
| 320 |
|
320 |
|
| 321 |
The packet reception occurs in two stages. First, an event is scheduled |
321 |
The packet reception occurs in three stages. First, an event is scheduled |
| 322 |
for when the PLCP header has been received. PLCP header is often transmitted |
322 |
for when PHY preamble has been detected. This decides whether the preamble |
|
|
323 |
can be detected, by calling a preamble detection model. In case there is no |
| 324 |
preamble detection model attached to the PHY, it assumes preamble is always detected. |
| 325 |
Currently, there is only a simple threshold-based preamble detection model in ns-3, |
| 326 |
called ``ThresholdPreambleDetectionModel``. If PHY preamble has been successfully detected, |
| 327 |
it schedules a second event for when PHY header has been received. PHY header is often transmitted |
| 323 |
at a lower modulation rate than is the payload. The portion of the packet |
328 |
at a lower modulation rate than is the payload. The portion of the packet |
| 324 |
corresponding to the PLCP header is evaluated for probability of error |
329 |
corresponding to the PLCP header is evaluated for probability of error |
| 325 |
based on the observed SNR. The InterferenceHelper object returns a value |
330 |
based on the observed SNR. The InterferenceHelper object returns a value |