26 Mart 2019 Salı

Carrier Sense Multiple Access With Collision Avoidance - CSMA/CA

Giriş
Temel olarak CSMA/CA da yayın yapmaya başladıktan sonra collision olup olmadığını anlamanın yolu yok. Bu yüzden paketin gidip gitmediğini anlamak için Acknowledgement paketleri kullanıyor.

Hattın Boş Olduğunu Anlamak
Açıklaması şöyle.
IEEE 802.11 releases use CSMA/CA (Collision Avoidance) instead of CSMA/CD (Collision Detection) which is used in wired networks.

OFDM, on the other hand, is just an advanced digital modulation scheme which divides the data stream being exchanged between the node and the AP to multiple individual streams of lower rate and transmits them on different, closely-spaced carrier frequencies simultaneously (multiplexing). Making the signal more robust against error--thus allowing higher data rates--is what OFDM does in a nutshell.
Açıklaması şöyle.
802.11 is half-duplex. This means that only once device can talk at a time, even with one client device, this means there are two devices that must share the "airtime" (i.e. number of timeslots available to transmit) when trying to transmit.
Hat Boş Değilse
Bir bekleme süresi algoritması çalıştırılıyor. Açıklaması şöyle.
In CSMA/CA, as soon as a node receives a packet that is to be sent, it checks to be sure the channel is clear (no other node is transmitting at the time). If the channel is clear, then the packet is sent. If the channel is not clear, the node waits for a randomly chosen period of time, and then checks again to see if the channel is clear. This period of time is called the backoff factor, and is counted down by a backoff counter. If the channel is clear when the backoff counter reaches zero, the node transmits the packet. If the channel is not clear when the backoff counter reaches zero, the backoff factor is set again, and the process is repeated.
Kontrol Mesajları
Kontrol mesajları ile ilgili açıklama şöyle. Kontrol mesajları sanırım opsiyonel.
The physical characteristics of WiFi make it impossible and impractical for the CSMA/CD mechanism to be used. This is due to CSMA/CD’s nature of ‘listening’ if the medium is free before transmitting packets. Using CSMA/CD, if a collision is detected on the medium, end-devices would have to wait a random amount of time before they can start the retransmission process. For this reason, CSMA/CD works well for wired networks, however, in wireless networks, there is no way for the sender to detect collisions the same way CSMA/CD does since the sender is only able to transmit and receive packets on the medium but is not able to sense data traversing that medium. Therefore, CSMA/CA is used on wireless networks. CSMA/CA doesn’t detect collisions (unlike CSMA/CA) but rather avoids them through the use of a control message. Should the control message collide with another control message from another node, it means that the medium is not available for transmission and the back-off algorithm needs to be applied before attempting retransmission.
802.11 mesajları ile ilgili açıklamaı şöyle.
There are three main types of frames
- Data Frames : which are used for data transmission
- Control Frames : which are used to control access to the medium (e.g. RTS,CTS and ACK), and
- Management Frames : which are frames that are transmitted the same way as data frames to exchange management information, but are not forwarded to upper layers

Each of these types is as well subdivided into different Subtypes, according to their specific function
RTS/CTS mesajları ile ilgili açıklama şöyle.
CSMA/CA can optionally be supplemented by the exchange of a Request to Send (RTS) packet sent by the sender S, and a Clear to Send (CTS) packet sent by the intended receiver R. Thus alerting all nodes within range of the sender, receiver or both, to not transmit for the duration of the main transmission. This is known as the IEEE 802.11 RTS/CTS exchange. Implementation of RTS/CTS helps to partially solve the hidden node problem that is often found in wireless networking.[7][8]
Hidden Node Problem
Açıklaması şöyle.
Then "hidden-node-problem", which happens when the clients A & C are connected with the router B, but can't "hear" each other due to the distance between them (f.e. each of them is on the other side), so they are "listening" and don't hear anything (Also if the other client is sending) and therefore just send their data with a collision as a result.

Hiç yorum yok:

Yorum Gönder