Solutions to Exercise Session 4,

Similar documents
Outline. CS5984 Mobile Computing. IEEE 802 Architecture 1/7. IEEE 802 Architecture 2/7. IEEE 802 Architecture 3/7. Dr. Ayman Abdel-Hamid, CS5984

Unit 7 Media Access Control (MAC)

ICE 1332/0715 Mobile Computing (Summer, 2008)

Chapter 6 Wireless and Mobile Networks. Csci 4211 David H.C. Du

Data Communications. Data Link Layer Protocols Wireless LANs

4.3 IEEE Physical Layer IEEE IEEE b IEEE a IEEE g IEEE n IEEE 802.

Data and Computer Communications. Chapter 13 Wireless LANs

Wireless Protocols. Training materials for wireless trainers

CHAPTER 8: LAN Standards

MAC. Fall Data Communications II 1

Telecommunication Protocols Laboratory Course. Lecture 2

04/11/2011. Wireless LANs. CSE 3213 Fall November Overview

Chapter 6 Medium Access Control Protocols and Local Area Networks

Topics for Today. More on Ethernet. Wireless LANs Readings. Topology and Wiring Switched Ethernet Fast Ethernet Gigabit Ethernet. 4.3 to 4.

MAC in /20/06

Mobile Communications Chapter 7: Wireless LANs

Wireless Communication and Networking CMPT 371

IEEE MAC Sublayer (Based on IEEE )

Computer Communication III

Introduction to Wireless Networking CS 490WN/ECE 401WN Winter Lecture 4: Wireless LANs and IEEE Part II

CS 348: Computer Networks. - WiFi (contd.); 16 th Aug Instructor: Sridhar Iyer IIT Bombay

Mohamed Khedr.

Computer Networks. Wireless LANs

ECE442 Communications Lecture 3. Wireless Local Area Networks

Mobile & Wireless Networking. Lecture 7: Wireless LAN

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

Multiple Access Links and Protocols

Lecture (08) Wireless Traffic Flow and AP Discovery

Wireless Local Area Networks (WLANs) Part I

Lecture 16: QoS and "

Total /75 xxxxxxxxxx

Local Area Networks. Lecture 17 Fall Token Ring and FDDI

Page 1. Outline : Wireless Networks Lecture 11: MAC. Standardization of Wireless Networks. History. Frequency Bands

Lesson 2-3: The IEEE x MAC Layer

Introduction to IEEE

IEEE Medium Access Control. Medium Access Control

Wireless Networks (MAC) Kate Ching-Ju Lin ( 林靖茹 ) Academia Sinica

Local Area Networks NETW 901

Advanced Computer Networks WLAN

CSE 461: Wireless Networks

CSCD 433 Network Programming Fall Lecture 7 Ethernet and Wireless

Wireless LAN -Architecture

Wireless LANs. Outline. Outline II. Benefits Applications Technologies Issues Configurations Overview of Standard

Wireless LANs. ITS 413 Internet Technologies and Applications

IEEE WLAN (802.11) Copyright. Nomadic Communications

Wireless Networks (MAC)

WLAN (802.11) Nomadic Communications. Renato Lo Cigno - Tel: Dipartimento di Ingegneria e Scienza dell Informazione

WiFi Networks: IEEE b Wireless LANs. Carey Williamson Department of Computer Science University of Calgary Winter 2018

Mobile Communications Chapter 7: Wireless LANs

Overview. Wireless networks basics IEEE (Wi-Fi) a/b/g/n ad Hoc MAC protocols ad Hoc routing DSR AODV

Wireless Communication Session 4 Wi-Fi IEEE standard

CSC344 Wireless and Mobile Computing. Department of Computer Science COMSATS Institute of Information Technology

Nomadic Communications WLAN MAC Fundamentals

Transmission Control Protocol over Wireless LAN

IEEE WLANs (WiFi) Part II/III System Overview and MAC Layer

Wireless Communication and Networking CMPT 371

Department of Electrical and Computer Systems Engineering

Wireless Network and Mobility

Wireless Local Area Networks. Networks: Wireless LANs 1

IEEE Technical Tutorial. Introduction. IEEE Architecture

WLAN 1 IEEE Basic Connectivity. Manuel Ricardo. Faculdade de Engenharia da Universidade do Porto

Outline / Wireless Networks and Applications Lecture 9: Wireless LANs Aloha and 802 Wireless. Regular Ethernet CSMA/CD

Certified Wireless Network Administrator (CWNA) PW Chapter Medium Access. Chapter 8 Overview

WLAN Technology: LAN: a review WLAN: applications & key parameters. protocol architectures

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

IEEE Wireless LANs

CSMC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. Fall 2018 CMSC417 Set 1 1

Logical Link Control (LLC) Medium Access Control (MAC)

Performance anomaly of b

3.1. Introduction to WLAN IEEE

Internet Protocol Stack

A Finite State Model for IEEE Wireless LAN MAC DCF

Wireless Local Area Networks (WLANs)) and Wireless Sensor Networks (WSNs) Computer Networks: Wireless Networks 1

Guide to Wireless Communications, Third Edition. Objectives

Chapter 12 Multiple Access 12.1

Mohammad Hossein Manshaei 1393

02/21/08 TDC Branch Offices. Headquarters SOHO. Hot Spots. Home. Wireless LAN. Customer Sites. Convention Centers. Hotel

Overview : Computer Networking. Spectrum Use Comments. Spectrum Allocation in US Link layer challenges and WiFi WiFi

Wireless and Mobile Networks

Chapter 7: Wireless LANs

original standard a transmission at 5 GHz bit rate 54 Mbit/s b support for 5.5 and 11 Mbit/s e QoS

Wireless# Guide to Wireless Communications. Objectives

Wireless Local Area Network (IEEE )

Wireless Communication

Data and Computer Communications

A SURVEY OF QOS TECHNIQUES IN Drabu, Yasir Department of Computer Science, Kent State University

Data Link Layer -2- Network Access

WLAN 1 IEEE Manuel Ricardo. Faculdade de Engenharia da Universidade do Porto

Topic 4. Wireless LAN IEEE

ECE 435 Network Engineering Lecture 8

An Efficient Scheduling Scheme for High Speed IEEE WLANs

MSIT 413: Wireless Technologies Week 8

Getting Connected (Chapter 2 Part 4) Networking CS 3470, Section 1 Sarah Diesburg

Wireless Communications

WLAN Performance Aspects

CMPE 257: Wireless and Mobile Networking

Investigation of WLAN

Chapter 7: Wireless LANs

IEEE , Token Rings. 10/11/06 CS/ECE UIUC, Fall

Mobile Communications Chapter 7: Wireless LANs

Transcription:

Solutions to Exercise Session 4, 27.4.2012 I.1. Chapter 14: 2, 4, 5, 7, 8, 21, 23, 24-26 2. a 4. b, c 5. c 7. b 8. a 21. a 23. a 24. 25.

26. Token bus networks are intended for factory automation; hence they are not likely candidates to connect/extend with other networks. I.2. Chapter 15: 2, 5, 12-14, 16-19, 20-23 2. c 5. c 12. c 13. d 14. d 16. a 17. d 18. b 19. c 20. Types of mobility Movement inside BSS Movement between BSSs No transition yes no no Movement between ESSs BSS Transition yes yes no ESS Transition yes yes yes 21. CSMA/CD CSMA/CA 1. Both sense the medium to see if it s idle before transmitting. 2. If idle, it depends on persistence strategy if frame transmitted immediately or not. 3. If busy, it depends on persistence strategy if medium continuously sensed for idleness or a random amount of time is waited and then sense again. 4. If after a predefined amount of time a collision is detected, then jam signal, wait for corresponding backoff time and resend frame. 22. DCF 2. If idle, a random amount of time is waited, then transmission takes place. 3. If busy, it waits a random amount of time, then senses medium and if idle, it waits for a further IFS, then if still idle it waits for corresponding back-off time and if medium still idle, it transmits. 4. If no acknowledgement comes in due time, an error of some sort is assumed and the frame is retransmitted.

PCF - distributed coordination function, mandatory - basic access method, to be implemented on all stations - contention method based on CSMA/CA - includes as basics RTS, CTS, frame, and ACK - for error and flow control it implements timers - fragmentation supported, each fragment has own sequence number and FCS - transmitting the fragments of a frame has priority over starting transmitting a new frame; this is implemented with SIFS and DIFS - point coordination function, optional - implemented on AP station, on top of DCF, to handle time-sensitive transmissions - contention-free access method - based on polling stations for data - SIFS < PIFS < DIFS - can handle power save modes 23. Fields 802.3 field size 802.11 field size DA 6 SA 6 Address 1 6 Address 2 6 Address 3 6 Address 4 6 FC 2 D/ID 2 SC 2 PDU length 2 Data and padding 46-1500 Frame body 0-2132 FCS (CRC) 4 4 II Why does ATM use small, fixed-size cells? Because hardware can be programmed to route small, fixed-size cells and doing routing in hardware is faster (and cheaper?) than in software. Having small cells does not occupy the line too much, ensuring some quality of service and since these cells are guaranteed to arrive in order, this facilitates the multimedia transmissions. III Wireless networks are easy to install, which makes them inexpensive (usually installation costs far overshadow equipment costs). Yet, they also have disadvantages. List some of these disadvantages. - Small data rate compared to current wired networks

- Unreliable and noisy - Wireless protocols are more complex than wired correspondent IV In the following figure from Lecture 6, stations A, B, C, D are shown. Which of the last two do you think it s closer to A and why? Obs: we assume that these are the only stations in our network, for the purpose of this exercise. C is closer to A because it sets the NAV after the RTS is sent. This implies that it hears the RTS, so it is in A s range. D does not hear the RTS (sets its NAV only after hearing the CTS from B), so it s further from A than C. V Assume we have the following WLAN 802.11. Stations A, B, C are within one BSS with AP1 and stations D, E are within another BSS with AP2, where access point stations AP1 and AP2 belong to a wired infrastructure network. Station A successfully sends a frame to C, B successfully sends a frame to D and then, AP1 polls stations A, B, C for data. B and C have some data to send while A has nothing at that time. Show the steps of these communications (including as much details as you consider necessary). We have this WLAN: AP1 AP2 A B C D E a) A successfully transmits to C A first sends an RTS to C: 00011011 00000000 τ1 addressc addressa FCS, where τ1 is the time in milliseconds to send the RTS + the time to get the CTS (plus a SIFS) + the time to send the data frame (plus a SIFS) + the time to get an ACK back (plus a SIFS) ; τ1 occupies 2 bytes, the addresses 6 bytes each and the FCS 4 bytes

C then sends a CTS to A: 00011100 00000000 τ2 addressa FCS, where τ2 is the time in milliseconds to send the CTS + the time to get the data frame (plus a SIFS) + the time to send an ACK back (plus a SIFS) ; it is derived from τ1 A then sends the data to C: 00100000 00000000 τ3 addressc addressa addressap1 seq_nr 6 unused bytes payload FCS, where τ3 is the time in milliseconds to send the data frame + the time to get an ACK back (plus a SIFS) ; it is derived from τ1 Finally C sends back the ACK for correctly receiving the data: 00011101 00000000 τ4 addressa FCS, where τ4 is 0 b) B successfully transmits to D B and D are in different BSSs so there are 2 possibilities. If no PCF is implemented, then a similar RTS/CTS sequence as above is exchanged between B and AP1. Then, the following data frame goes from B to AP1: 0010 0000 10000000 τ addressap1 addressb addressd seq_nr 6 unused bytes payload FCS. Next, after transferring the data to AP2, a similar RTS/CTS exchange takes place between AP2 and D, then AP2 sends the following data frame to D: 0010 0000 01000000 τ addressd addressap2 addressb seq_nr payload FCS. D sends the ACK to AP2, which then communicates with AP1, which then sends the ACK to B. If PCF is implemented, then, when AP1 is polling station B, this one can send the data during that contention-free interval, much like in point c) below. c) AP1 is polling A,B,C for data For this, AP1 is first sending a beacon frame, after waiting a PIFS interval. The FC field of the beacon is 00001000 00000000. Then, the situation can be a similar one to that in next page. Here Vivian and Martha stand for stations B and C, while George (with nothing to send) models station A. The FC fields of the exchanged frames are as follows: Data+CF-Poll: 00100010 Data+CF-ACK: 00100001 Data+CF-ACK+CF-Poll: 00100011 CF-Poll: 00100110 Data(null): 00100100 CF-End: 00011110