Академический Документы
Профессиональный Документы
Культура Документы
1
5.4 WIRELESS LAN(802.11)
2
Components of 802.11 LAN
Access
point Station
4
Access Method
5
No CSMA/CD
6
Hidden stations problem:
Since not all stations are within radio range of each other,
transmissions going on in one part of a cell may not be received
elsewhere in the same cell.
Eg., station C is transmitting to station B. if A senses the
channel, it will not hear and falsely conclude that it may now
start transmitting to B
A B C
A B C D
9
It increments the value of the backoff parameter, waits for a backoff amount
of time, and re-senses the medium
Source Destination Others
DIFS
Note:
The data frame contains a
Data duration field which
indicate the Network
ACK
10
11
RTS
A B C
A B C
12
Before sending a frame, the source station senses the medium by
using a persistence strategy with backoff until the channel is idle.
If the medium is idle, the station waits for a DIFS before it sends
RTS.
After receiving the RTS, the destination station waits for a SIFS
before sending CTS (indicating that it is ready to receive data).
After receiving the CTS, the source station waits for another SIFS
before sending the data frame.
If the data frame is completely and correctly received, the
destination station sends back an acknowledgement after another
SIFS.
Acknowledgement is needed as the source station does not have any
means to check for successful arrival of its data at the destination (In
CSMA/CD, the lack of collision implies that the data have arrived
safely).
13
Source Destination Others
DIFS
RTS
SIFS
CTS
Data
SIFS
ACK
14
Note: NAV is set in both RTS and CTS
Types of Networks
The basic building block of an 802.11 network is the basic service set
(BSS), which is simply a group of stations that communicate with
each other
Communications take place within an area known as the basic
service area
BSSs come in two flavors:
i. Ad hoc network
ii. Infrastructure network
Access
point
Station Station
Station Station
Ad hoc network (BSS without AP) Infrastructure network (BSS with an AP)
15
Ad Hoc Network: Stations in an independent BSS communicate
directly with each other and thus must be within direct communication
range. The smallest possible 802.11 network is a network with two
stations. Typically, ad hoc network are composed of a small number of
stations set up for a specific purpose and for a short period of time
(short-lived network to support a single meeting in a conference
room). They are sometimes referred to as ad hoc BSSs or independent
BSS
Infrastructure BSS: They are distinguished by the use of access
points. Access points are used for all communications in infrastructure
networks, including communication between mobile nodes in the same
service area. If one mobile station in an infrastructure BSS needs to
communicate with a second mobile station, the communication must
take two hops. Stations must associate with an access point to obtain
network services (logically equivalent to plugging in network cable in
Ethernet )
16
Extended Service Set (ESS): 802.11 allows wireless networks of
arbitrarily large size to be created by linking BSSs into an extended
service set. An ESS is created by chaining BSSs together with a
backbone network. All the access points in an ESS are given the same
service set identifier (SSID), which serves as a network “name” for the
users
Distribution system
Server or gateway
17
MAC Frame Format
18
The frame control field is 2 bytes long and is comprised of 11 subfields.
o The protocol version field carry the version of the 802.11 standard.
o Type and subtype fields work together hierarchically to determine
the function of the frame.
o The “To DS” and “From DS” bits indicate that frame is going to or
coming from the intercell distribution system
o The MF bit means more fragments will follow.
o The Retry bit marks a retransmission of a frame sent earlier.
19
o The Power management bit is used by the base station to put
the receiver into sleep state or take it out of sleep state.
o The more bit indicates that the sender has additional frames for
the receiver.
o The W bit specifies that the frame body has been encrypted
using the WEP(Wired Equivalent Privacy) algorithm.
o If the O bit is on, the receiver must process the frame strictly in
order.
Duration/ID field (2 bytes long).
o For data frames, it indicates the time (ms) the channel will be
allocated for successful transmission
o For control frames, it contains an association, or connection
identifier
20
The address fields identify the basic service set, the destination
address, the source address, and the receiver and transmitter
addresses. Each address field is 6 bytes long.
The sequence control field is 2 bytes and is split into 2 subfields:
Fragment number (4 bits) - tells how many fragments the MSDU
is broken into.
Sequence number (12 bits) - indicates the sequence number of the
MSDU.
The frame body (between 0 and 2312 bytes) contains information
based on the type and subtype defined in the FC field
The FCS (4 bytes) contains CRC-32 error detection sequence.
21