Professional Documents
Culture Documents
The Ieee 802
The Ieee 802
card
(NIC).
A station could be a laptop PC, handheld device, or an Access Point. Stations may be mobile, portable, or
stationary and all stations support the 802.11 station services of authentication, de-authentication, privacy,
and data delivery.
- Basic Service Set (BSS) is a set of stations that communicate with one another. A BSS does not generally
refer to a particular area, due to the uncertainties of electromagnetic propagation. When all of the stations in
the BSS are mobile stations and there is no connection to a wired network, the BSS is called independent
BSS (IBSS). IBSS is typically short-lived network, with a small number of stations that is created for a
particular purpose. When a BSS includes an access point (AP), the BSS is called infrastructure BSS.
When there is an AP, if one mobile station in the BSS must communicate with another mobile station, the
communication is sent first to the AP and then from the AP to the other mobile station.
- Extended Service Set (ESS) is a set of infrastructure BSSs, where the Aps communicate among themselves
to forward traffic from one BSS to another and to facilitate the movement of mobile stations from one BSS
to another. The Aps perform this communication via an abstract medium called the distribution system (DS).
The ESS and all of its mobile stations appears to be a single MAC-layer network where all stations are
physically stationary. Thus, the ESS hides the mobility of the mobile stations from everything outside the
ESS.
- Distribution System: The (DS) is the mechanism by which one AP communicates with another to exchange
frames for stations in their BSSs, forward frames to follow mobile stations from one BSS to another, and
exchange frames with wired network.
connected via the wireless media in a peer-to-peer fashion. This form of network topology is referred to as
an Independent Basic Service Set (IBSS) or an Ad-hoc network.
In an IBSS, see figure 2.1, the mobile stations communicate directly with each other. Every mobile station
may not be able to communicate with every other station due to the range limitations. There are no relay
functions in an IBSS therefore all stations need to be within range of each other and communicate directly.
BSS
Distribution System
As IEEE 802.11 describes it, the distribution system is not necessarily a network nor does the standard place
any restrictions on how the distribution system is implemented, only on the services it must provide. Thus
the distribution system may be a wired network like 803.2 or a special purpose box that interconnects the
access points and provides the required distribution services
Extending coverage via an Extended Service Set (ESS) 802.11, see figure 2.3, extends the range of mobility
to an arbitrary range through the Extended Service Set (ESS). An extended service set is a set of
infrastructure BSSs, where the access points communicate among themselves to forward traffic from one
BSS to another to facilitate movement of stations between BSSs.
The access point performs this communication through the distribution system. The distribution system is
the backbone of the wireless LAN and may be constructed of either a wired LAN or wireless network.
Typically the distribution system is a thin layer in each access point that determines the destination for traffic
received from a BSS. The distribution system determines if traffic should be relayed back to a destination in
the same BSS, forwarded on the distribution system to another access point, or sent into the wired network
to a destination not in the extended service set. Communications received by an access point from the
distribution system are transmitted to the BSS to be received by the destination mobile station.
Network equipment outside of the extended service set views the ESS and all of its mobile stations as a
single MAC-layer network where all stations are physically stationary. Thus, the ESS hides the mobility of
the mobile stations from everything outside the ESS. This level of indirection provided by the 802.11
architecture allows existing network protocols that have no concept of mobility to operate correctly with a
wireless LAN where there is mobility.
Infrared
the
functionality
performed
standard
usually
by
MAC
Layers, the 802.11 MAC performs other functions that are typically related to upper layer protocols, such as
Fragmentation, Packet Retransmissions, and Acknowledges.
to the higher Bit Error Rate of a radio link, the probability of a packet getting corrupted increases
case of packet corruption (either due to collision or noise), the smaller the packet, and the less
On
a Frequency Hopping system, the medium is interrupted periodically for hopping (in our case every
20 milliseconds), so, the smaller the packet, the smaller the chance that the transmission will be postponed.
However, it doesnt make sense to introduce a new LAN protocol that cannot deal with packets 1518 bytes
long, which are used on Ethernet, so the committee decided to solve the problem by adding a simple
fragmentation/reassembly mechanism at the MAC Layer.
The mechanism is a simple Send-and-Wait algorithm, where the transmitting station is not allowed to
transmit a new fragment until one of the following happens:
1. Receives an ACK for the said fragment.
2. Decides that the fragment was retransmitted too many times and drops the whole frame. It should be
noted that the standard does allow the station to transmit to a different address between retransmissions of a
given fragment. This is particularly useful when an AP has several outstanding packets to different
destinations and one of them does not respond.
IEEE 802.11 defines several standard Inter-Frame Space (IFS) that defer a stations access to the medium
and provides various levels of priority. They are shown in
Figure 2.5.
1. DIFS (Distributed IFS): most general, provides lower priority than PCF based transmission. DIFS Is the
Inter frame space used for a station willing to start a new transmission, which is calculated as PIFS plus one
slot time.
2. SIFS (Short IFS): provides the highest priority level for some frames to access the medium before others,
such as ACK, CTS frame, etc. SIFS is used to separate transmissions belonging to a single dialog (e.g.
Fragment-Ack), and is the minimum Inter Frame Space. There is always at most one single station to
transmit at any given time, therefore giving it priority over all other stations. This value is a fixed value per
PHY and is calculated in such a way that the transmitting station will be able to switch back to receive mode
and be capable of decoding the incoming packet. On the 802.11 FH PHY this value is set to 28
microseconds.
3. PIFS (PCF IFS): Is the interval of time that stations operate under PCF mode. This provides priority over
frames sent by the distributed coordination function. PIFS is used by the Access Point (or Point Coordinator,
as called in this case), to gain access to the medium before any other station. This value is SIFS plus a Slot
Time, i.e. 78 microseconds.
4. EIFS (Extended IFS): goes beyond the time of a DIFS interval for some special cases, such as bad
reception of the frame. This interval provides enough time for the receiving station to send an ACK frame.
Control
Frames: which are used to control access to the medium (e.g. RTS, CTS, and ACK).
Management
Frames: which are frames that are transmitted the same manner as data frames to exchange
management information, but are not forwarded to upper layers (e.g. beacon frames).
Each frame type is subdivided into different Subtypes, according to their specific function.
The figure below shows the general MAC frame format:
frame
control
duration
/ID
adress
1
address addres
2
3
sequence
control
address
4
frame
Body
crc
Frame control
Duration
Receiver
Address
Transmitter
Address
CRC
Duration
Receiver
Address
Transmitter
Address
CRC
Duration
Receiver Address
CRC
with a value equal to the Duration field value of the last frame transmission sensed on the medium and
counting down to zero.
station (STA) that is able to respond to CF_POLL is referred to as being CF_POLLABLE. When the PC
polls the CF_POLLABLE station, this CF_POLLABLE STA may transmit only one MPDU, which can be
to any destination (not just to PC) and may piggyback the ACK of the frame received from the PC using
particular data frame subtypes for this transmission. If the data frame is not acknowledged, the
CF_POLLABLE STA does not retransmit the frame unless the PC polls it again, or it decides to retransmit
during CP.
The beacon frame initiates the CFP repetition interval, where the AP transmits the beacon frame when the
medium is determined to be idle for one period PIFS. After the initial beacon frame, the PC waits for at least
one SIFS period and transmits one of the following: a data frame, a CF_POLL frame, a data + CF_POLL, a
CF_END frame. If there is no traffic and no polls to send at the PC, a CF_END frame should be transmitted
immediately after the initial beacon. At the beginning of each CFP repetition interval, all stations in the BSS
update their NAV to the max length of the (CF-MAX-DURATION).
During the CFP, the only time the stations are permitted to transmit is in respond to a poll from the PC or for
transmission of an ACK. (SIFS) after the receipt of a MPDU. If the PC receives a DATA+CF-ACK frame
from a station, the PC can send a DATA+CF-POLL+CF-ACK frame to different stations. If the PC received
no respond for a polled station after waiting for PIFS, it polls the next station, or ends the CFP. The PC
continues polling other station until the CFP expires. A specific control frame called CF-END is transmitted
by the CP as the last frame within the CFP to signal the end of the CFP.
The ability to combine polling and ACK frame with data frames has been designed to improve the
efficiency.
Figure 2.11 shows the PC to station transmission. If the PC failed to receive an ACK for a transmitted data
frame, the PC waits a PIFS and continues transmitting to the next station in the polling list. Figure 2.12
shows the transmission between two stations.