2

Why, at the start of every diagram representing DCF is there no contention window and it just senses the channel for DIFS before sending RTS? Every other station that has waited for NAV must sense for DIFS and then the contention window and if activity occurs on the medium during the contention window it waits until the full frame has been received and then waits for NAV time.

enter image description here

enter image description here

Is this just how it is? The very first transmission the device makes, it doesn't have to wait for the contention window as well? Or perhaps after some time elapses of the medium being quiet and no packets being sent from any device and all devices have already sensed the medium for a DIFS interval and already waited their contention window when a device wishes to transmit again it has to sense for DIFS again. Perhaps this is what the start of these diagrams are representing?

A device waits for NAV+DIFS and then the contention window occurs and it immediately sends an RTS without sensing the medium for DIFS. So I suppose the question could be reformulated as when does the device sense a medium for DIFS? Perhaps if a device has something ready to send during the contention window then it can send it immediately without sensing for DIFS. But if data becomes ready to send a few seconds after it has to sense the channel for a DIFS interval. Perhaps the contention window is only used by all devices after a successful transmission or by the sending device after a failed transmission. In the exposed node scenario, if B sends an RTS to A, C sets NAV(RTS) but when it doesn't hear a CTS it cancels NAV(RTS) and then senses for DIFS before sending RTS to D. I don't think a contention window is used in this case.

1
  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can provide and accept your own answer.
    – Ron Maupin
    Dec 15, 2019 at 1:55

1 Answer 1

1

In your diagram, A is the first station that sends a packet. It senses the channel to be idle for DIFS, and begins its transmission without going through the backoff process (finite contention window). The backoff process is only necessary when the channel is sensed to be busy. In this case, A finds it to be idle.

The subsequent stations find the channel to be busy (with A's transmissions) and employ the contention window accordingly.

I'm guessing that most figures in textbooks start off with the assumption that the very first station begins transmission on an idle channel, while subsequent stations find the channel to be busy.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.