18
Corso di Reti mobili Wi-Fi and Bluetooth Francesco Potortì http://fly.isti.cnr.it/didattica

Corso di Reti mobili - CNRfly.isti.cnr.it/didattica/Reti-mobili-wifi-bt.pdf · 2007-03-05 · Quality of Service A single ACL per slave Parameters for request type of QoS (none, best

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Corso di Reti mobili - CNRfly.isti.cnr.it/didattica/Reti-mobili-wifi-bt.pdf · 2007-03-05 · Quality of Service A single ACL per slave Parameters for request type of QoS (none, best

Corso di Reti mobili

Wi-Fi and Bluetooth

Francesco Potortìhttp://fly.isti.cnr.it/didattica

Page 2: Corso di Reti mobili - CNRfly.isti.cnr.it/didattica/Reti-mobili-wifi-bt.pdf · 2007-03-05 · Quality of Service A single ACL per slave Parameters for request type of QoS (none, best

OverviewWi-Fi (802.11)

Accessing the networkAd hoc mode and infrastructure mode The MAC levelWMM: Wi-Fi Multimedia

Bluetooth (802.15.1)Accessing the networkConnection-oriented and connectionless linksThe MAC levelQuality of service

Page 3: Corso di Reti mobili - CNRfly.isti.cnr.it/didattica/Reti-mobili-wifi-bt.pdf · 2007-03-05 · Quality of Service A single ACL per slave Parameters for request type of QoS (none, best

Wi-FiWi-Fi Alliance for interoperabilityThe “wireless Ethernet”MAC address as in 802.x802.11 and b, a, g amendments802.11n: MIMO (2008?)

Page 4: Corso di Reti mobili - CNRfly.isti.cnr.it/didattica/Reti-mobili-wifi-bt.pdf · 2007-03-05 · Quality of Service A single ACL per slave Parameters for request type of QoS (none, best

Entering a BSS

Scan and selectAd hoc mode

optional authentication

Infrastructure modeauthenticationassociationWPA authentication

Page 5: Corso di Reti mobili - CNRfly.isti.cnr.it/didattica/Reti-mobili-wifi-bt.pdf · 2007-03-05 · Quality of Service A single ACL per slave Parameters for request type of QoS (none, best

MAC addressing

MAC address for the nodeMAC address for the APThe ESS802.11D, r, s: roaming

Page 6: Corso di Reti mobili - CNRfly.isti.cnr.it/didattica/Reti-mobili-wifi-bt.pdf · 2007-03-05 · Quality of Service A single ACL per slave Parameters for request type of QoS (none, best

DCF

Distributed coordination functionCSMA/CA methodoptional RTS/CTS

IFS: the interframe spacingif no one transmits, go onif the channel is busy, back off randomlyalso back off if want to transmit again after a transmission

Page 7: Corso di Reti mobili - CNRfly.isti.cnr.it/didattica/Reti-mobili-wifi-bt.pdf · 2007-03-05 · Quality of Service A single ACL per slave Parameters for request type of QoS (none, best

ARQ

Automatic Repeat RequestAfter transmitting, wait for ACKIf no ACK received, retransmitGive up after a maximum number of retransmissions

Page 8: Corso di Reti mobili - CNRfly.isti.cnr.it/didattica/Reti-mobili-wifi-bt.pdf · 2007-03-05 · Quality of Service A single ACL per slave Parameters for request type of QoS (none, best

WMM: QoS

Priority with guarantees8 priorities in four classes

voicevideobest-effortbackground

priority is obtained bychanging the IFS for each classchanging the backoff for each class

Page 9: Corso di Reti mobili - CNRfly.isti.cnr.it/didattica/Reti-mobili-wifi-bt.pdf · 2007-03-05 · Quality of Service A single ACL per slave Parameters for request type of QoS (none, best

Dynamic multi-rate switching

802.11: 1, 2 Mb/s802.11b: add 5.5, 11 Mb/s802.11g: add 6, 9, 12, 18, 24, 36, 48, 54 Mb/sswitching based on

RSSISNRframe loss ratio

Page 10: Corso di Reti mobili - CNRfly.isti.cnr.it/didattica/Reti-mobili-wifi-bt.pdf · 2007-03-05 · Quality of Service A single ACL per slave Parameters for request type of QoS (none, best

Bluetooth

Small devicesShort rangeWPAN: wireless personal area networkSeveral power ranges

Class 1 1 mW – 100 mWClass 2 0.25 – 2.5 mWClass 3 - 1 mW

Page 11: Corso di Reti mobili - CNRfly.isti.cnr.it/didattica/Reti-mobili-wifi-bt.pdf · 2007-03-05 · Quality of Service A single ACL per slave Parameters for request type of QoS (none, best

Accessing the network

A Piconet is made of a Master and up to seven slavesA Scatternet is made of several piconetsMaster and slave can exchange rolesAny node can belong to more than one piconet

Page 12: Corso di Reti mobili - CNRfly.isti.cnr.it/didattica/Reti-mobili-wifi-bt.pdf · 2007-03-05 · Quality of Service A single ACL per slave Parameters for request type of QoS (none, best

Start as master

Periodically send an Inquiry to discover new slaves and get their addressSend a Page request to bring the slave into the piconetAfter paging, Authentication optionally takes place

Page 13: Corso di Reti mobili - CNRfly.isti.cnr.it/didattica/Reti-mobili-wifi-bt.pdf · 2007-03-05 · Quality of Service A single ACL per slave Parameters for request type of QoS (none, best

Start as slave

Wait for an inquiry from the masterget the master's addresssyncronise the clock

Wait for a page request from the master

synchronise the hopping sequence

Page 14: Corso di Reti mobili - CNRfly.isti.cnr.it/didattica/Reti-mobili-wifi-bt.pdf · 2007-03-05 · Quality of Service A single ACL per slave Parameters for request type of QoS (none, best

Channel access

MAC address is 48 bitBand is 2.4 GHz, like Wi-FiFHSS (frequency hopping spread spectrum), 1 Mb/s79 channels in most of the world1600 hops/s: slot is 625μs long

Page 15: Corso di Reti mobili - CNRfly.isti.cnr.it/didattica/Reti-mobili-wifi-bt.pdf · 2007-03-05 · Quality of Service A single ACL per slave Parameters for request type of QoS (none, best

Hopping sequence

Unique for each piconetDepends on Master's address

Hopping sequence virtually infiniteMaster uses even slots, slave uses odd slotsMessage lasts for 1, 3 or 5 consecutive slots

Sequence stops during multislot

Page 16: Corso di Reti mobili - CNRfly.isti.cnr.it/didattica/Reti-mobili-wifi-bt.pdf · 2007-03-05 · Quality of Service A single ACL per slave Parameters for request type of QoS (none, best

Synchronous links

SCO (synchronous connection-oriented) link

guaranteed delay and bandwidthno retransmissionno CRCoptional 1/3 or 2/3 FEC protectionfixed 64 kb/s bandwidth, symmetric or unidirectional

eSCO up to 288 kb/s with ARQ

Page 17: Corso di Reti mobili - CNRfly.isti.cnr.it/didattica/Reti-mobili-wifi-bt.pdf · 2007-03-05 · Quality of Service A single ACL per slave Parameters for request type of QoS (none, best

Asynchronous links

ACL (asynchronous connectionless) linkSymmetric and asymmetric with different preset bandwidth up to 0.7 Mb/sBluetooth 2 + EDR (extended data rate) goes up to 3 Mb/s16-bit CRC, optional FEC and ARQ

Page 18: Corso di Reti mobili - CNRfly.isti.cnr.it/didattica/Reti-mobili-wifi-bt.pdf · 2007-03-05 · Quality of Service A single ACL per slave Parameters for request type of QoS (none, best

Quality of Service

A single ACL per slaveParameters for request

type of QoS (none, best effort, guaranteed best effort), token rate, token bucket size, peak bandwidth, latency, delay variation

Parameters on acceptancepoll interval, N

BC