16.05.2014 Views

Wireless Security.pdf - PDF Archive

Wireless Security.pdf - PDF Archive

Wireless Security.pdf - PDF Archive

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Wireless</strong> Network Logical Architecture 35<br />

Device A<br />

Data packet<br />

Time<br />

Device B<br />

attempts to send<br />

Medium busy<br />

Carrier<br />

sensing<br />

Medium free<br />

Collision<br />

Random<br />

backoff<br />

Data packet<br />

Device C<br />

attempts to send<br />

Medium busy Medium free Collision Medium busy Medium free<br />

Carrier<br />

sensing<br />

Random<br />

backoff<br />

Slot time<br />

Carrier<br />

sensing<br />

Figure 2.6 : Ethernet CSMA/CD timing<br />

Data packet<br />

2.3.3.1 Carrier Sense Multiple Access/Collision Detection (CSMA/CD)<br />

The most commonly used MAC method to control device transmission, and the one<br />

specified for Ethernet based networks, is carrier sense multiple access/collision detection<br />

(CSMA/CD) ( Figure 2.6 ). When a device has a data frame to transmit onto a network that<br />

uses this method, it first checks the physical medium (carrier sensing) to see if any other<br />

device is already transmitting. If the device senses another transmitting device it waits<br />

until the transmission has finished. As soon as the carrier is free, it begins to transmit<br />

data, while at the same time continuing to listen for other transmissions.<br />

If it detects another device transmitting at the same time (collision detection), it stops<br />

transmitting and sends a short jam signal to tell other devices that a collision has occurred.<br />

Each of the devices that were trying to transmit then computes a random back-off period<br />

within a range 0 to t max , and tries to transmit again when this period has expired. The<br />

device that by chance waits the shortest time will be the next to gain access to the medium,<br />

and the other devices will sense this transmission and go back into carrier sensing mode.<br />

A very busy medium may result in a device experiencing repeated collisions. When this<br />

happens t max is doubled for each new attempt, up to a maximum of 10 doublings, and if<br />

the transmission is unsuccessful after 16 attempts the frame is dropped and the device<br />

reports an “ excessive collision error. ”<br />

2.3.3.2 Other Wired Network MAC Methods<br />

Another common form of media access control for wired networks, defined by the IEEE<br />

802.5 standard, involves passing an electronic “ token ” between devices on the network in<br />

www.newnespress.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!