Csma ca how does it work




















This procedure is the focus of collision avoidance: a complex time structure that makes it possible to avoid collisions. DCF takes various intervals into account when creating the time structure. The slot time is the time it takes data to pass through the maximum length of the network. This procedure is upstream of the actual data transmission.

If a participant determines that the transmission medium is free, the device first sends an RTS frame to the participant that is to receive the data. With this, the output computer makes it clear that it wants to start a transmission and will occupy the transmission medium for a certain time. The receiver, in turn, sends a CTS frame to the original sender. As with the RTS frame, all other participants in the range are informed that the transmission is currently occupied and the transmitter is enabled for transmission.

Only then does the original device start transmitting the data. Now it is not possible for the participants in a wireless network to detect collisions or other interference during transmission. For this reason, the receiving station needs to send an acknowledgement ACK when the data packet has arrived correctly. The three frame types each consist of several fields. However, the sender field is only of interest when first contacting the recipient, so that the recipient knows which node he is now communicating with.

It is still likely that two participants will send a request to send to the same station at the same time. In cases like this, however, the receiver does not send a CTS frame because the RTS frames have not arrived correctly. The situation is initially the same as with the hidden station problem: one station is in the middle of two other stations so that they cannot reach each other.

One of the two devices now wants to send data to the station in the middle. All accessible nodes receive the CTS frame that stops them from broadcasting. This avoids the hidden station problem, but creates a new one. A third station is now prevented from transmitting, even if a completely different, fourth station would have been the destination of the transmission.

This transmission would not cause a collision, but it still has to be prevented, which leads to the entire network slowing down. Before a device in the network starts a transmission, it first sends information in the duration field of the RTS frame to all other participants. The station reveals how long the network will be occupied by the transmission.

Every other device enters this information in its very personal network allocation vector which is not really a vector from a mathematical point of view. This is managed internally and specifies the time when a delivery attempt is possible again. The network allocation vector NAV counts down continuously and is only replenished by new information from other stations.

A NAV can increase the timer by a maximum of 33ms This is the maximum duration for which a transmitter may block the medium. The devices in the network are inactive while the network allocation vector has not yet expired. This saves energy.

Only when the counter is set to 0 does the subscriber become active again and check the network. The latter is the signal for all participants to reset the NVA to 0, when the medium is free again. If participants in a wireless network follow Carrier Sense Multiple Access with Collision Avoidance, certain steps must be adhered to. First, the stations monitor the transmission medium.

When it comes to WLAN, this means that carrier sense monitors the radio channel and checks whether other network participants — as long as they are visible to the respective device — are currently transmitting. If it turns out that the transmission medium is currently occupied, a random backoff is initiated: the station waits a random amount of time until a new check starts. All other stations, which are not busy with sending or receiving, experience the same.

The random waiting time ensures that the participants do not start to check the network at the same time and cannot start transmitting data at the same time. View Full Term. By clicking sign up, you agree to receive emails from Techopedia and agree to our Terms of Use and Privacy Policy.

By: Justin Stoltzfus Contributor, Reviewer. By: Satish Balakrishnan. Dictionary Dictionary Term of the Day. Machine Intelligence. Techopedia Terms.

Connect with us. Sign up. Term of the Day. Collisions are a natural occurrence on Ethernets. CSMA is a network access method used on shared network topologies such as Ethernet to control access to the network. This method has the highest chance of collision because two or more stations may find channel to be idle at the same time and transmit their frames.

One of the simpler forms of collision detection is between two rectangles that are axis aligned — meaning no rotation. The algorithm works by ensuring there is no gap between any of the 4 sides of the rectangles.

Any gap means a collision does not exist. This method was developed to decrease the chances of collisions when two or more stations start sending their signals over the datalink layer. Carrier Sense multiple access requires that each station first check the state of the medium before sending. Either a physical bus with a logical bus, or a physical star with a logical bus by using Hub. As the number of devices on the network increases, so does the number of collisions.

In 1-persistent CSMA, when a transmitting station has a frame to send and it senses a busy channel, it waits for the end of the transmission, and transmits immediately. Like Ethernet, WiFi has no central process that controls which device is allowed to transmit data at any point in time. Because of the difficulties in detecting collisions at a wireless receiver, the IEEE



0コメント

  • 1000 / 1000