CSMA/CACarrier Sense Multiple Access with Collision Avoidance
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە
Definitionپێناسە
Carrier Sense Multiple Access with Collision Avoidance, the rule of Wi-Fi: a station listens, waits a random time even when the channel is free, sends, and waits for an acknowledgement. Radios cannot hear a collision while they send, so they try to avoid one.
A timeline of one radio channel with two senders, laptop A and phone B. First the channel is busy because someone else is sending; both listen. After a short gap A counts down 3, 2, 1, 0 and B counts down 5, 4, 3. A reaches 0 first and sends its data frame; B hears A and freezes its count at 2. After another gap the receiver sends an ACK to A. Then B counts on from 2 to 0 and sends its own data frame. Notes: 1 listen first; 2 after a short gap count down a random number of slots; 3 the first to reach 0 sends and the others freeze their count; 4 the receiver answers with an ACK. No ACK means a collision or a lost frame, and the sender tries again with a longer wait.هێڵێکی کاتی یەک کەناڵی ڕادیۆیی بە دوو نێرەرەوە، لاپتۆپی A و مۆبایلی B. سەرەتا کەناڵە ڕادیۆییەکە سەرقاڵە چونکە کەسێکی تر دەنێرێت؛ هەردووکیان گوێ دەگرن. دوای بۆشاییەکی کورت A دەژمێرێت 3، 2، 1، 0 و B دەژمێرێت 5، 4، 3. A یەکەم جار دەگاتە 0 و فرەیمی دراوەی خۆی دەنێرێت؛ B گوێی لە A دەبێت و ژماردنەکەی لە 2دا ڕادەگرێت. دوای بۆشاییەکی تر وەرگر ACK بۆ A دەنێرێت. پاشان B لە 2ـەوە تا 0 بەردەوام دەبێت و فرەیمی دراوەی خۆی دەنێرێت. تێبینییەکان: 1 سەرەتا گوێ بگرە؛ 2 دوای بۆشاییەکی کورت ژمارەیەکی هەڕەمەکی لە ماوە کورتەکان بۆ دواوە بژمێرە؛ 3 ئەوەی یەکەم جار دەگاتە 0 دەنێرێت و ئەوانی تر ژماردنەکەیان ڕادەگرن؛ 4 وەرگر بە ACK وەڵام دەداتەوە. نەهاتنی ACK واتە پێکدادان یان فرەیمێکی ونبوو و نێرەر بە چاوەڕوانییەکی درێژتر دووپاتە هەوڵ دەداتەوە.
Listen, count down at random, send, get an ACK.گوێ بگرە، بە هەڕەمەکی بژمێرە، بنێرە، ACK وەربگرە.CêIT
Exampleنموونە
Two laptops that both hear a free channel still wait different random times, so usually only one starts sending.