ECEN 489, Prof. Xi Zhang Medium Access Control Protocols, Local Area Networks, and Wireless Local Area Networks Lecture Note 11.

Slides:



Advertisements
Similar presentations
Networks: Wireless LANs1 Wireless Local Area Networks.
Advertisements

Contents IEEE MAC layer operation Basic CSMA/CA operation
Lecture 5: IEEE Wireless LANs (Cont.). Mobile Communication Technology according to IEEE (examples) Local wireless networks WLAN a.
ECE 683 Computer Network Design & Analysis
Wireless LAN (not assessed) Dr Sandra I. Woolley.
– 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.
Comp 361, Spring 20056:Basic Wireless 1 Chapter 6: Basic Wireless (last updated 02/05/05) r A quick intro to CDMA r Basic
IEEE b Wireless LANs Carey Williamson Department of Computer Science University of Calgary.
Studying st lecture ~Overview of IEEE ~ Tadashi YASUMOTO.
14.1 Chapter 14 Wireless LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Network Technology CSE Network Technology CSE3020 Week 9.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 15 Wireless LANs.
P. Bhagwat Specification overview. P. Bhagwat Specifications PLCP Sublayer PHY layer Management PMD Sublayer MAC sublayer MAC Layer Management.
1 CSE401n:Computer Networks Lecture 16 Wireless Link & LANs WS: ch-14 KR: 5.7.
Wireless Networking So we talked about wired networks. What about wireless?
Introduction to Wireless LANs: Supports both Asynchronous data transfer and time bound services Asynchronous: traffic insensitive to time.
20 – Collision Avoidance, : Wireless and Mobile Networks6-1.
Networks: Wireless LANs1 Wireless Local Area Networks.
110/15/2003CS211 IEEE Standard Why we study this standard: overall architecture physical layer spec. –direct sequence –frequency hopping MAC layer.
5-1 Data Link Layer r What is Data Link Layer? r Wireless Networks m Wi-Fi (Wireless LAN) r Comparison with Ethernet.
IEEE Wireless LAN Standard Chapter 14. IEEE 802 Protocol Layers.
6: Wireless and Mobile Networks6-1 Elements of a wireless network network infrastructure wireless hosts r laptop, PDA, IP phone r run applications r may.
Network Security Wireless LAN. Network Security About WLAN  IEEE standard  Use wireless transmission medium such as radio, microwave, infrared.
Lecture #2 Chapter 14 Wireless LANs.
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.
1 Kyung Hee University Chapter 15 Wireless LANs. 2 Kyung Hee University IEEE 802 Standards Working Groups WiMAX, an acronym that stands for Worldwide.
IEEE Project started by IEEE for setting standard for LAN. This project started in (1980, February), Name given to project is year and month.
IEEE Wireless LAN Part II Access Point, Power Management, Polling, and Frame Format 14-1.
14.1 Chapter 14 Wireless LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CSE 6590 Wireless LANs and IEEE MAC 15 October 2015.
IEEE Wireless LAN Standard
IEEE Wireless LAN Standard. Medium Access Control-CSMA/CA IEEE defines two MAC sublayers Distributed coordination function (DCF) Point coordination.
CSC 581 Communication Networks II Chapter 6c: Local Area Network (Wireless LAN – ) Dr. Cheer-Sun Yang.
IEEE Wireless LAN Part I Introduction, Physical layer, basic MAC 13-1.
IEEE WLAN.
Chapter 6 Medium Access Control Protocols and Local Area Networks Wireless LAN.
Ch 14. Wireless LANs IEEE Specification for a wireless LAN – Cover physical and data link layers Basic service sets (BSS) and extended service.
IEEE Wireless LAN Standard
WLAN. Networks: Wireless LANs2 Distribute Coordination Function (DCF) Distributed access protocol Contention-Based Uses CSMA/ CA – Uses both physical.
Lecture 27 University of Nevada – Reno Computer Science & Engineering Department Fall 2015 CPE 400 / 600 Computer Communication Networks Prof. Shamik Sengupta.
Chapter 14 Wireless LANs.
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.
802.11: Introduction Reference: “IEEE : moving closer to practical wireless LANs”; Stallings, W.; IT Professional, Volume: 3 Issue: 3, May- June.
MAC for WLAN Doug Young Suh Last update : Aug 1, 2009 WLAN DCF PCF.
1 Chapter 4 MAC Layer – Wireless LAN Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida.
DSSS PHY packet format Synchronization SFD (Start Frame Delimiter)
Wireless LAN Requirements (1) Same as any LAN – High capacity, short distances, full connectivity, broadcast capability Throughput: – efficient use wireless.
IEEE Wireless LAN. Wireless LANs: Characteristics Types –Infrastructure based –Ad-hoc Advantages –Flexible deployment –Minimal wiring difficulties.
1 Wireless Networks Lecture 26 Wireless LAN / IEEE Dr. Ghalib A. Shah.
Chapter 15 Wireless LANs.
Wireless MAC.
EA C451 (Internetworking Technologies)
Computer Communication Networks
Lecture 27 WLAN Part II Dr. Ghalib A. Shah
Chapter 2 Wireless LANS and PANS
Wireless Local Area Networks (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.
Specification overview
Specification overview
Specification overview
Specification overview
Specification overview
Presentation transcript:

ECEN 489, Prof. Xi Zhang Medium Access Control Protocols, Local Area Networks, and Wireless Local Area Networks Lecture Note 11

ECEN 489, Prof. Xi Zhang Medium Access Control Protocols, Local Area Networks, and Wireless Local Area Networks Part III: Wireless LAN

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks Wireless Data Communications  Wireless communications compelling Easy, low-cost deployment Mobility & roaming: Access information anywhere Supports personal devices PDAs, laptops, data-cell-phones Supports communicating devices Cameras, location devices, wireless identification  Signal strength varies in space & time  Signal can be captured by snoopers  Spectrum is limited & usually regulated

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks B D C A Ad Hoc Communications  Temporary association of group of stations  Within range of each other  Need to exchange information  E.g. Presentation in meeting, or distributed computer game, or both

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks A2 B2 B1 A1 AP1 AP2 Distribution System Server Gateway to the Internet Portal BSS A BSS B Infrastructure Network  Permanent Access Points provide access to Internet

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks A transmits data frame (a) Data Frame A B C C transmits data frame & collides with A at B (b) C senses medium, station A is hidden from C Data Frame B C A Hidden Terminal Problem  New MAC: CSMA with Collision Avoidance

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks RTS A requests to send B C (a) CTS A B C B announces A ok to send (b) Data Frame A sends B C remains quiet (c) CSMA with Collision Avoidance

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks IEEE Wireless LAN  Stimulated by availability of unlicensed spectrum  U.S. Industrial, Scientific, Medical (ISM) bands  MHz, GHz, GHz  Targeted wireless 20 Mbps  MAC for high speed wireless LAN  Ad Hoc & Infrastructure networks  Variety of physical layers

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks Definitions  Basic Service Set (BSS)  Group of stations that coordinate their access using a given instance of MAC  Located in a Basic Service Area (BSA)  Stations in BSS can communicate with each other  Distinct collocated BSS ’ s can coexist  Extended Service Set (ESS)  Multiple BSSs interconnected by Distribution System (DS)  Each BSS is like a cell and stations in BSS communicate with an Access Point (AP)  Portals attached to DS provide access to Internet

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks A2 B2 B1 A1 AP1 AP2 Distribution System Server Gateway to the Internet Portal BSS A BSS B Infrastructure Network

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks Distribution Services  Stations within BSS can communicate directly with each other  DS provides distribution services:  Transfer MAC SDUs between APs in ESS  Transfer MSDUs between portals & BSSs in ESS  Transfer MSDUs between stations in same BSS  Multicast, broadcast, or stations ’ s preference  ESS looks like single BSS to LLC layer

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks Infrastructure Services  Select AP and establish association with AP  Then can send/receive frames via AP & DS  Reassociation service to move from one AP to another AP  Dissociation service to terminate association  Authentication service to establish identity of other stations  Privacy service to keep contents secret

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks IEEE MAC  MAC sublayer responsibilities  Channel access  PDU addressing, formatting, error checking  Fragmentation & reassembly of MAC SDUs  MAC security service options  Authentication & privacy  MAC management services  Roaming within ESS  Power management

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks MAC Services  Contention Service: Best effort  Contention-Free Service: time-bounded transfer  MAC can alternate between Contention Periods (CPs) & Contention-Free Periods (CFPs) Physical Distribution coordination function (CSMA-CA) Point coordination function Contention- free service Contention service MAC MSDUs

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks Distributed Coordination Function (DCF)  DCF provides basic access service  Asynchronous best-effort data transfer  All stations contend for access to medium  CSMA-CA  Ready stations wait for completion of transmission  All stations must wait Interframe Space (IFS) DIFS PIFS SIFS Contention window Next frame Defer access Wait for reattempt time Time Busy medium

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks Priorities through Interframe Spacing  High-Priority frames wait Short IFS (SIFS)  Typically to complete exchange in progress  ACKs, CTS, data frames of segmented MSDU, etc.  PCF IFS (PIFS) to initiate Contention-Free Periods  DCF IFS (DIFS) to transmit data & MPDUs DIFS PIFS SIFS Contention window Next frame Defer access Wait for reattempt time Time Busy medium

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks Contention & Backoff Behavior  If channel is still idle after DIFS period, ready station can transmit an initial MPDU  If channel becomes busy before DIFS, then station must schedule backoff time for reattempt  Backoff period is integer # of idle contention time slots  Waiting station monitors medium & decrements backoff timer each time an idle contention slot transpires  Station can contend when backoff timer expires  A station that completes a frame transmission is not allowed to transmit immediately  Must first perform a backoff procedure

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks RTS CTS Data Frame A requests to send B C A A sends B B C C remains quiet B announces A ok to send (a) (b) (c) ACK B (d) ACK B sends ACK

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks Carrier Sensing in  Physical Carrier Sensing  Analyze all detected frames  Monitor relative signal strength from other sources  Virtual Carrier Sensing at MAC sub- layer  Source stations informs other stations of transmission time (in  sec) for an MPDU  Carried in Duration field of RTS & CTS  Stations adjust Network Allocation Vector to indicate when channel will become idle  Channel busy if either sensing is busy

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks Data DIFS SIFS Defer Access Wait for Reattempt Time ACK DIFS NAV Source Destination Other Transmission of MPDU without RTS/CTS

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks Data SIFS Defer access Ack DIFS NAV (RTS) Source Destination Other RTS DIFS SIFS CTS SIFS NAV (CTS) NAV (Data) Transmission of MPDU with RTS/CTS

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks Collisions, Losses & Errors  Collision Avoidance  When station senses channel busy, it waits until channel becomes idle for DIFS period & then begins random backoff time (in units of idle slots)  Station transmits frame when backoff timer expires  If collision occurs, recompute backoff over interval that is twice as long  Receiving stations of error-free frames send ACK  Sending station interprets non-arrival of ACK as loss  Executes backoff and then retransmits  Receiving stations use sequence numbers to identify duplicate frames

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks Point Coordination Function  PCF provides connection-oriented, contention-free service through polling  Point coordinator (PC) in AP performs PCF  Polling table up to implementor  CFP repetition interval  Determines frequency with which CFP occurs  Initiated by beacon frame transmitted by PC in AP  Contains CFP and CP  During CFP stations may only transmit to respond to a poll from PC or to send ACK

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks CF End NAV PIFS B D1 + Poll SIFS U 1 + ACK D2+Ack+ Poll SIFS U 2 + ACK SIFS Contention-free repetition interval Contention period CF_Max_duration Reset NAV D1, D2 = frame sent by point coordinator U1, U2 = frame sent by polled station TBTT = target beacon transmission time B = beacon frame TBTT PCF Frame Transfer

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks Frame Types  Management frames  Station association & disassociation with AP  Timing & synchronization  Authentication & deauthentication  Control frames  Handshaking  ACKs during data transfer  Data frames  Data transfer

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks Address 2 Frame Control Duration/ ID Address 1 Address 3 Sequence control Address 4 Frame body CRC MAC header (bytes) Frame Structure  MAC Header: 30 bytes  Frame Body: bytes  CRC: CCITT-32 4 bytes CRC over MAC header & frame body

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks Address 2 Frame Control Duration/ ID Address 1 Address 3 Sequence control Address 4 Frame body CRC Protocol version TypeSubtype To DS From DS More frag Retry Pwr mgt More data WEPRsvd MAC header (bytes) Frame Control (1)  Protocol version = 0  Type: Management (00), Control (01), Data (10)  Subtype within frame type  Type=00, subtype=association; Type=01, subtype=ACK  More Frag=1 if another fragment of MSDU to follow

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks To DS From DS Address 1 Address 2 Address 3 Address 4 00 Destination address Source address BSSIDN/A 01 Destination address BSSID Source address N/A 10BSSID Source address Destination address N/A 11 Receiver address Transmitter address Destination address Source address Meaning Data frame from station to station within a BSS Data frame exiting the DS Data frame destined for the DS WDS frame being distributed from AP to AP Address 2 Frame Control Duration/ ID Address 1 Address 3 Sequence control Address 4 Frame body CRC Protocol version TypeSubtype To DS From DS More frag Retry Pwr mgt More data WEPRsvd To DS = 1 if frame goes to DS; From DS = 1 if frame exiting DS Frame Control (2)

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks Address 2 Frame Control Duration/ ID Address 1 Address 3 Sequence control Address 4 Frame body CRC Protocol version TypeSubtype To DS From DS More frag Retry Pwr mgt More data WEPRsvd MAC header (bytes) Frame Control (3)  Retry=1 if mgmt/control frame is a retransmission  Power Management used to put station in/out of sleep mode  More Data =1 to tell station in power-save mode more data buffered for it at AP  WEP=1 if frame body encrypted

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks Physical layer LLC Physical layer convergence procedure Physical medium dependent MAC layer PLCP preamble LLC PDU MAC SDU MAC header CRC PLCP header PLCP PDU Physical Layers  designed to  Support LLC  Operate over many physical layers

Prof. Xi Zhang ECEN 489, Computer & Comm. Wireless Networks IEEE Physical Layer Options Frequenc y Band Bit RateModulation Scheme GHz1-2 Mbps Frequency-Hopping Spread Spectrum, Direct Sequence Spread Spectrum b2.4 GHz11 Mbps Complementary Code Keying & QPSK g2.4 GHz54 Mbps Orthogonal Frequency Division Multiplexing & CCK for backward compatibility with b a5-6 GHz54 Mbps Orthogonal Frequency Division Multiplexing