HOME

TheInfoList



OR:

Carrier-sense multiple access with collision avoidance (CSMA/CA) in
computer network A computer network is a collection of communicating computers and other devices, such as printers and smart phones. In order to communicate, the computers and devices must be connected by wired media like copper cables, optical fibers, or b ...
ing, is a
link layer In computer networking, the link layer is the lowest layer in the Internet protocol suite, the networking architecture of the Internet. The link layer is the group of methods and communications protocols confined to the link that a host is phys ...
multiple access method in which carrier sensing is used. Under CSMA/CA,
node In general, a node is a localized swelling (a "knot") or a point of intersection (a vertex). Node may refer to: In mathematics * Vertex (graph theory), a vertex in a mathematical graph *Vertex (geometry), a point where two or more curves, lines ...
s attempt to avoid collisions by beginning transmission only after the channel is sensed to have no traffic. When they do transmit, nodes transmit frames in their entirety. This technique is primarily used in wireless networks, where the alternative with collision detection CSMA/CD is not possible due to wireless transmitters de-sensing (turning off) their receivers during packet transmission. CSMA/CA is unreliable due to the
hidden node problem In wireless networking, the hidden node problem or hidden terminal problem occurs when a Node (networking), node can communicate with a wireless access point (AP), but cannot directly communicate with other nodes that are communicating with that ...
.


Details

Collision avoidance is used to improve the performance of the CSMA method by attempting to divide the channel somewhat equally among all transmitting nodes within the collision domain. # Carrier Sense: prior to transmitting, a node first listens to the shared medium (such as listening for wireless signals in a wireless network) to determine whether another node is transmitting or not. Note that the
hidden node problem In wireless networking, the hidden node problem or hidden terminal problem occurs when a Node (networking), node can communicate with a wireless access point (AP), but cannot directly communicate with other nodes that are communicating with that ...
means another node may be transmitting which goes undetected at this stage. # Collision Avoidance: if another node was heard, we wait for a period of time (usually random) for the node to stop transmitting before listening again for a free communications channel. ::* Request to Send/Clear to Send (RTS/CTS) may optionally be used at this point to mediate access to the shared medium. This goes some way to alleviating the problem of hidden nodes because, for instance, in a wireless network, the Access Point only issues a ''Clear to Send'' to one node at a time. However, wireless 802.11 implementations do not typically implement RTS/CTS for all transmissions; they may turn it off completely, or at least not use it for small packets (the overhead of RTS, CTS and transmission is too great for small data transfers). ::* Transmission: if the medium was identified as being clear ''or'' the node received a CTS to explicitly indicate it can send, it sends the frame in its entirety. Unlike CSMA/CD, it is very challenging for a wireless node to listen at the same time as it transmits (its transmission will dwarf any attempt to listen). Continuing the wireless example, the node awaits receipt of an acknowledgement packet from the Access Point to indicate the packet was received and checksummed correctly. If such acknowledgement does not arrive in a timely manner, it assumes the packet collided with some other transmission, causing the node to enter a period of binary exponential backoff prior to attempting to re-transmit. Although CSMA/CA has been used in a variety of wired communication systems, it is particularly beneficial in a
wireless LAN A wireless LAN (WLAN) is a wireless computer network that links two or more devices using wireless communication to form a local area network (LAN) within a limited area such as a home, school, computer laboratory, campus, or office building ...
due to a common problem of multiple stations being able to see the Access Point, but not each other. This is due to differences in transmit power, and receive sensitivity, as well as distance, and location with respect to the AP. This will cause a station to not be able to 'hear' another station's broadcast. This is the so-called ' hidden node', or 'hidden station' problem. Devices utilizing 802.11 based standards can enjoy the benefits of collision avoidance (RTS / CTS handshake, also
Point coordination function Point Coordination Function (PCF) is a media access control (MAC) technique used in IEEE 802.11 based WLANs, including Wi-Fi. It resides in a point coordinator also known as access point (AP), to coordinate the communication within the network. ...
), although they do not do so by default. By default they use a Carrier sensing mechanism called ''exponential backoff'' (or Distributed coordination function), that relies upon a station attempting to 'listen' for another station's broadcast before sending. CA, or PCF relies upon the AP (or the 'receiver' for Ad hoc networks) granting a station the exclusive right to transmit for a given period of time after requesting it (Request to Send / Clear to Send). CSMA-CA requires a determination of whether a channel is 'idle', even when incompatible standards and overlapping transmission frequencies are used. Per the standards, for 802.11/Wi-Fi transmitters on the same channel, transmitters must take turns to transmit if they can detect each other even 3 dB above the
noise floor In signal theory, the noise floor is the measure of the signal created from the sum of all the noise sources and unwanted signals within a measurement system, where noise is defined as any signal other than the one being monitored. In radio com ...
(the thermal noise floor is around -101 dBm for 20 MHz channels). On the other hand, transmitters will ignore transmitters with incompatible standards or on overlapping channels if the received signal strength from them is below a threshold Pth which, for non
Wi-Fi 6 Wi-Fi 6, or IEEE 802.11ax, is an IEEE standard from the Wi-Fi Alliance, for wireless networks (WLANs). It operates in the 2.4 GHz and 5 GHz bands, with an extended version, Wi-Fi 6E, that adds the 6 GHz band. It is an upgrade from Wi-Fi 5 ( ...
systems, is between -76 and -80 dBm.Effect of adjacent-channel interference in IEEE 802.11 WLANs - Eduard Garcia Villegas; Elena Lopez-Aguilera; Rafael Vidal; Josep Paradells (2007)


IEEE 802.11 RTS/CTS Exchange

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 In wireless networking, the hidden node problem or hidden terminal problem occurs when a Node (networking), node can communicate with a wireless access point (AP), but cannot directly communicate with other nodes that are communicating with that ...
that is often found in wireless networking.Comer, Douglas. (2009). Computer Networks and Internets. Upper Saddle River, NJ: Pearson Education Inc. .


Performance

CSMA/CA performance is based largely upon the modulation technique used to transmit the data between nodes. Studies show that under ideal propagation conditions (simulations),
direct-sequence spread spectrum In telecommunications, direct-sequence spread spectrum (DSSS) is a spread-spectrum modulation technique primarily used to reduce overall signal interference. The direct-sequence modulation makes the transmitted signal wider in bandwidth tha ...
(DSSS) provides the highest throughput for all nodes on a network when used in conjunction with CSMA/CA and the IEEE 802.11 RTS/CTS exchange under light network load conditions. Frequency hopping spread spectrum (FHSS) follows distantly behind DSSS with regard to throughput with a greater throughput once network load becomes substantially heavy. However, the throughput is generally the same under real world conditions due to radio propagation factors.


Usage

* GNET – an early proprietary LAN protocol * Apple's LocalTalk implemented CSMA/CA on an electrical bus using a three-byte jamming signal. * 802.11 RTS/CTS implements virtual carrier sensing using short request to send and clear to send messages for
WLAN A wireless LAN (WLAN) is a wireless computer network that links two or more devices using wireless communication to form a local area network (LAN) within a limited area such as a home, school, computer laboratory, campus, or office buildin ...
s ( 802.11 mainly relies on physical carrier sensing though). * IEEE 802.15.4 (Wireless PAN) uses CSMA/CA * NCR WaveLAN – an early proprietary wireless network protocol * HomePNA * The
ITU-T The International Telecommunication Union Telecommunication Standardization Sector (ITU-T) is one of the three Sectors (branches) of the International Telecommunication Union (ITU). It is responsible for coordinating Standardization, standards fo ...
G.hn Gigabit Home Networking (G.hn) is a specification for wired home networking that supports speeds up to 2 Gbit/s and operates over four types of legacy wires: telephone wiring, Coaxial cable, coaxial cables, Power line, power lines and pla ...
standard, which provides a way to create a high-speed (up to 1 Gigabit/s)
local area network A local area network (LAN) is a computer network that interconnects computers within a limited area such as a residence, campus, or building, and has its network equipment and interconnects locally managed. LANs facilitate the distribution of da ...
using existing home wiring ( power lines, phone lines and coaxial cables), uses CSMA/CA as a
channel access method In telecommunications and computer networks, a channel access method or multiple access method allows more than two terminals connected to the same transmission medium to transmit over it and to share its capacity. Examples of shared physical ...
for flows that do not require guaranteed
quality of service Quality of service (QoS) is the description or measurement of the overall performance of a service, such as a telephony or computer network, or a cloud computing service, particularly the performance seen by the users of the network. To quantitat ...
, specifically the CSMA/CARP variant.


See also

*
Carrier-sense multiple access Carrier-sense multiple access (CSMA) is a medium access control (MAC) protocol in which a node verifies the absence of other traffic before transmitting on a shared transmission medium, such as an electrical bus or a band of the electromagnetic ...
* Carrier-sense multiple access with collision detection * IEEE 802.11 RTS/CTS * Network allocation vector


References

* Computer Networks: a Systems Approach. Peterson & Davie.
Morgan Kaufmann Morgan Kaufmann Publishers is a Burlington, Massachusetts (San Francisco, California until 2008) based publisher specializing in computer science and engineering content. Since 1984, Morgan Kaufmann has been publishing contents on information te ...
, Burlington, MA, USA. . pp128–139


External links

{{DEFAULTSORT:Carrier Sense Multiple Access With Collision Avoidance IEEE 802.11 he:Carrier sense multiple access#CSMA/CA zh:载波侦听多路访问#CSMA/CA