Wireless MAC.

Slides:



Advertisements
Similar presentations
IEEE CSMA/CA DCF CSE 6590 Fall /7/20141.
Advertisements

Networks: Wireless LANs1 Wireless Local Area Networks.
– Wireless PHY and MAC Stallings Types of Infrared FHSS (frequency hopping spread spectrum) DSSS (direct sequence.
© Kemal AkkayaWireless & Network Security 1 Department of Computer Science Southern Illinois University Carbondale CS591 – Wireless & Network Security.
1 Power Management in IEEE Yu-Chee 1. Possible Access Sequences for a STA in PS Mode 2. PS in Infrastructure Network 3. PS in Ad.
Network Technology CSE Network Technology CSE3020 Week 9.
1 CSE401n:Computer Networks Lecture 16 Wireless Link & LANs WS: ch-14 KR: 5.7.
1 Power Management in IEEE Yu-Chee 1. Possible Access Sequences for a STA in PS Mode 2. PS in Infrastructure Network 3. PS in Ad.
20 – Collision Avoidance, : Wireless and Mobile Networks6-1.
Networks: Wireless LANs1 Wireless Local Area Networks.
5-1 Data Link Layer r What is Data Link Layer? r Wireless Networks m Wi-Fi (Wireless LAN) r Comparison with Ethernet.
Network Security Wireless LAN. Network Security About WLAN  IEEE standard  Use wireless transmission medium such as radio, microwave, infrared.
Overview of Wireless LANs Use wireless transmission medium Issues of high prices, low data rates, occupational safety concerns, & licensing requirements.
MAC layer Taekyoung Kwon. Media access in wireless - start with IEEE In wired link, –Carrier Sense Multiple Access with Collision Detection –send.
IEEE Project started by IEEE for setting standard for LAN. This project started in (1980, February), Name given to project is year and month.
Ethernet. Problem In an Ethernet, suppose there are three stations very close to each other, A, B and C. Suppose at time 0, all of them have a frame to.
CWNA Guide to Wireless LANs, Second Edition
IEEE Wireless LAN Standard. Medium Access Control-CSMA/CA IEEE defines two MAC sublayers Distributed coordination function (DCF) Point coordination.
F ACULTY OF C OMPUTER S CIENCE & E NGINEERING Chapter 05. MAC and Physical Layers.
1 Chapter 8 Power Management in IEEE Yu-Chee 1. Possible Access Sequences for a STA in PS Mode 2. PS in Infrastructure Network 3.
Ch 14. Wireless LANs IEEE Specification for a wireless LAN – Cover physical and data link layers Basic service sets (BSS) and extended service.
Wi-Fi. Basic structure: – Stations plus an access point – Stations talk to the access point, then to outside – Access point talks to stations – Stations.
Universität Karlsruhe Institut für Telematik ECE 591
WLAN. Networks: Wireless LANs2 Distribute Coordination Function (DCF) Distributed access protocol Contention-Based Uses CSMA/ CA – Uses both physical.
WLAN.
MAC Sublayer MAC layer tasks: – Control medium access – Roaming, authentication, power conservation Traffic services – DCF (Distributed Coordination.
Wireless Protocols. 2 Outline MACA 3 ISM: Industry, Science, Medicine unlicensed frequency spectrum: 900Mhz, 2.4Ghz, 5.1Ghz, 5.7Ghz.
MAC Layer Protocols for Wireless Networks. What is MAC? MAC stands for Media Access Control. A MAC layer protocol is the protocol that controls access.
DSSS PHY packet format Synchronization SFD (Start Frame Delimiter)
Copyright © 2003 OPNET Technologies, Inc. Confidential, not for distribution to third parties. Wireless LANs Session
IEEE Wireless LAN. Wireless LANs: Characteristics Types –Infrastructure based –Ad-hoc Advantages –Flexible deployment –Minimal wiring difficulties.
CS440 Computer Networks 1 Wireless LAN (IEEE ) Neil Tang 10/01/2008.
Wireless Data Networks
Wireless Networks & MAC
Outline What is Wireless LAN Wireless Transmission Types
Wireless MAC.
Wireless Data Networks
EA C451 (Internetworking Technologies)
Medium Access Control MAC protocols: design goals, challenges,
CSE 5345 – Fundamentals of Wireless Networks
The University of Adelaide, School of Computer Science
Wireless MAC.
Wireless Networks & MAC
Wireless LANs Wireless proliferating rapidly.
Computer Communication Networks
Wireless MAC.
Lecture 27 WLAN Part II Dr. Ghalib A. Shah
Wireless NETWORKS NET 434 Topic No 6 Wireless LANS
CS 457 – Lecture 7 Wireless Networks
Wireless Local Area Networks (LANs)
Wireless NETWORKS NET 434 Topic No 6 Wireless LANS
Computer Communication & Networks
IEEE Wireless LAN wireless LANs: untethered (often mobile) networking
Specification overview
Chapter 6 Medium Access Control Protocols and Local Area Networks
Specification overview
Protocol Details John Bellardo UCSD.
Introduction to Wireless Networks
Specification overview
Specification overview
Performance Evaluation of an Integrated-service IEEE Network
MAC continued.
Wireless LAN Simulation IEEE MAC Protocol
Is for “Wireless Fidelity” Or IEEE Standard By Greg Goldman
Specification overview
EEC-484/584 Computer Networks
Specification overview
ECSE-4730: Computer Communication Networks (CCN)
Specification overview
Chapter 15 Wireless LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Presentation transcript:

Wireless MAC

Puzzle Two great mathematicians S & P S knows the sum of two positive integers (> 1) x and y P knows the product of x and y S calls P and says “You cannot find the two numbers” P replies “I know the two numbers” S responds “I know the two numbers too” What are the two numbers?!! Hint: 1 < x < 100, 1 < y < 100

Puzzle: (4,13) S says “You cannot find the two nos.” Constraint 1: The sum cannot be split into two prime numbers or cannot have a unique split 17: (2,15), (3,14), (4,13), (5,12), (6,11), (7,10), (8,9) P says “I have found the two nos.” Constraint 2: For all possible combinations of factors of the product, there is only one combination for which constraint 1 is satisfied 52: (2,26), (4,13) S says “I have found the two nos.” For all possible combinations of splits of the sum, there is only one combination that satisfied Constraint 2

Hidden Terminal Problem Collision A B C A talks to B C senses the channel C does not hear A’s transmission (out of range) C talks to B Signals from A and B collide

Exposed Terminal Problem Not possible A B C D B talks to A C wants to talk to D C senses channel and finds it to be busy C stays quiet (when it could have ideally transmitted)

Hidden and Exposed Terminal Problems Hidden Terminal More collisions Wastage of resources Exposed Terminal Underutilization of channel Lower effective throughput

IEEE 802.11 The 802.11 standard provides MAC and PHY functionality for wireless connectivity of fixed, portable and moving stations moving at pedestrian and vehicular speeds within a local area. Specific features of the 802.11 standard include the following: Support of asynchronous and time-bounded delivery service Continuity of service within extended areas via a Distribution System, such as Ethernet. Accommodation of transmission rates of 1, 2, 5.5, 11 Mbps (802.11b), 6Mbps to 54Mbps (802.11a, g) Support of most market applications Multicast (including broadcast) services Network management services Registration and authentication services

IEEE 802.11 Topology Independent Basic Service Set (IBSS) Networks Stand-alone BSS that has no backbone infrastructure and consists of at-least two wireless stations Often referred to as an ad-hoc network Applications include single room, sale floor, hospital wing

Infrastructure BSS Use of an access point Access points used for all communication including for communication between nodes in the same service area Association with a specific access point required for the mobile node to be served

IEEE 802.11 Topology (contd.) Extended Service Set (ESS) Networks Large coverage networks of arbitrary size and complexity Consists of multiple cells interconnected by access points and a distribution system, such as Ethernet Consist of multiple Infrastructure BSS’

IEEE 802.11 Logical Architecture The logical architecture of the 802.11 standard that applies to each station consists of a single MAC and one of multiple PHYs Frequency hopping PHY Direct sequence PHY Infrared light PHY OFDM PHY 802.11 MAC uses CSMA/CA (carrier sense multiple access with collision avoidance)

IEEE 802.11 MAC Layer Primary operations Wireless medium access Accessing the wireless medium (!) Joining the network Providing authentication and privacy Wireless medium access Distributed Coordination Function (DCF) mode Point Coordination Function (PCF) mode

IEEE 802.11 MAC Layer Primary operations Wireless medium access Accessing the wireless medium Joining the network Providing authentication and privacy Wireless medium access Distributed Coordination Function (DCF) mode Point Coordination Function (PCF) mode

IEEE 802.11 MAC (contd.) DCF PCF CSMA/CA – A contention based protocol PCF Contention-free access protocol usable on infrastructure network configurations containing a controller called a point coordinator within the access points Both the DCF and PCF can operate concurrently within the same BSS to provide alternative contention and contention-free periods

CSMA with Collision Avoidance Carrier Sense Multiple Access with Collision Avoidance (CSMA/CA) Control packet transmissions precede data packet transmissions to facilitate collision avoidance 4-way (RTS, CTS, Data, ACK) exchange for every data packet transmission

CSMA/CA (Contd.) A B C C knows B is listening RTS A B C CTS C knows B is listening to A. Will not attempt to transmit to B. Data ACK Hidden Terminal Problem Solved through RTS-CTS exchange!

CSMA/CA (Contd.) Can there be collisions? Control packet collisions (C transmitting RTS at the same time as A) C does not register B’s CTS C moves into B’s range after B’s CTS

CSMA/CA Algorithm Sense channel (CS) If busy Else Back-off to try again later Else Send RTS If CTS not received Send Data If ACK not received Next packet processing

CSMA/CA Algorithm (Contd.) Maintain a value CW (Contention-Window) If Busy, Wait till channel is idle. Then choose a random number between 0 and CW and start a back-off timer for proportional amount of time (Why?). If transmissions within back-off amount of time, freeze back-off timer and start it once channel becomes idle again (Why?) If Collisions (Control or Data) Binary exponential increase (doubling) of CW (Why?)

Carrier Sensing and Network Allocation Vector Both physical carrier sensing and virtual carrier sensing used in 802.11 If either function indicates that the medium is busy, 802.11 treats the channel to be busy Virtual carrier sensing is provided by the NAV (Network Allocation Vector)

NAV Most 802.11 frames carry a duration field which is used to reserve the medium for a fixed time period Tx sets the NAV to the time for which it expects to use the medium Other stations start counting down from NAV to 0 When NAV > 0, medium is busy

Illustration SIFS Sender RTS DATA SIFS SIFS Receiver CTS ACK NAV RTS

Interframe Spacing 802.11 uses 4 different interframe spacings Interframe spacing plays a large role in coordinating access to the transmission medium Varying interframe spacings create different priority levels for different types of traffic!

Types of IFS SIFS DIFS Short interframe space Used for highest priority transmissions – RTS/CTS frames and ACKs DIFS DCF interframe space Minimum idle time for contention-based services (> SIFS)

Types (contd.) PIFS EIFS PCF interframe space Minimum idle time for contention-free service (>SIFS, <DIFS) EIFS Extended interframe space Used when there is an error in transmission

Power Saving Mode (PS) 802.11 stations can maximize battery life by shutting down the radio transceiver and sleeping periodically During sleeping periods, access points buffer any data for sleeping stations The data is announced by subsequent beacon frames To retrieve buffered frames, newly awakened stations use PS-poll frames Access point can choose to respond immediately with data or promise to delivery it later

IEEE 802.11 MAC Frame Format Overall structure: Frame control (2 octets) Duration/ID (2 octets) Address 1 (6 octets) Address 2 (6 octets) Address 3 (6 octets) Sequence control (2 octets) Address 4 (6 octets) Frame body (0-2312 octets) FCS (4 octets)

TCP/IP in relation to the OSI model                                                 TCP/IP in relation to the OSI model

Puzzle Man in a boat floating in a swimming pool  He has a large solid iron ball If he drops the ball into the water, what happens to the level of water in the swimming pool? (increases, decreases, stays the same?)