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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.