57
Wireless VoIP Wireless VoIP C3 C3 R94922096 R94922096 謝謝謝 謝謝謝 R94922088 R94922088 謝謝謝 謝謝謝

Wireless VoIP

  • Upload
    kyoko

  • View
    59

  • Download
    0

Embed Size (px)

DESCRIPTION

Wireless VoIP. C3 R94922096 謝明龍 R94922088 關尚儒. Outline. Problems to use V oIP on wireless network Voice over WLAN MAC method 802.11e Dual queue scheme VoIP and 802.11x standards. VoIP on Wireless Network. Wireless network – lower speed , noise - PowerPoint PPT Presentation

Citation preview

Page 1: Wireless VoIP

Wireless VoIPWireless VoIP

C3C3

R94922096 R94922096 謝明龍謝明龍R94922088 R94922088 關尚儒關尚儒

Page 2: Wireless VoIP

OutlineOutline

Problems to use VoIP on wireless networkProblems to use VoIP on wireless network

Voice over WLANVoice over WLAN MAC methodMAC method

802.11e802.11e

Dual queue schemeDual queue scheme

VoIP and 802.11x standardsVoIP and 802.11x standards

Page 3: Wireless VoIP

VoIP on Wireless NetworkVoIP on Wireless Network

Wireless network – lower speed , noiseWireless network – lower speed , noise Upgrade physical speed , reduce noises (PHY)Upgrade physical speed , reduce noises (PHY) Real-time packet Real-time packet prioritize prioritize (MAC)(MAC)

1AP-to-many Station 1AP-to-many Station Upgrade the capacity of single APUpgrade the capacity of single AP Admission control Admission control

RoamingRoaming

Mobile device powerMobile device power

Wireless securityWireless security

Page 4: Wireless VoIP

Voice over WLANVoice over WLAN

Page 5: Wireless VoIP

802.11 supplements glossary802.11 supplements glossary

802.11a – 5GHz OFDM PHY layer 802.11a – 5GHz OFDM PHY layer 802.11b – 2.4GHz CCK PHY layer 802.11b – 2.4GHz CCK PHY layer 802.11c – bridging tables 802.11c – bridging tables 802.11d – international roaming 802.11d – international roaming 802.11e – quality of service MAC802.11e – quality of service MAC802.11f – inter-access point protocols 802.11f – inter-access point protocols 802.11g – 2.4GHz OFDM PHY 802.11g – 2.4GHz OFDM PHY 802.11h – European regulatory extensions 802.11h – European regulatory extensions 802.11i – enhanced security802.11i – enhanced security802.11n – MIMO ODFM PHY802.11n – MIMO ODFM PHY

Page 6: Wireless VoIP

PHY PHY 802.11n 802.11n

2.4GHz+5GHz (a/b/g)2.4GHz+5GHz (a/b/g)

MIMO+OFDM MIMO+OFDM MIMO (Multiple-In, Multiple-Out)MIMO (Multiple-In, Multiple-Out)

Page 7: Wireless VoIP

IEEE 802.11 MAC IEEE 802.11 MAC

Page 8: Wireless VoIP

Dual Queue StrategyDual Queue Strategy

Page 9: Wireless VoIP

Dual Queue StrategyDual Queue Strategy

The 802.11e MAC implementation cannot The 802.11e MAC implementation cannot be done by just upgrading the firmware of be done by just upgrading the firmware of an existing MAC controller chip onlyan existing MAC controller chip only

It is difficult to Upgrade (replace) the existiIt is difficult to Upgrade (replace) the existing APsng APs

Page 10: Wireless VoIP

Dual Queue StrategyDual Queue Strategy

aboveabove 802.11 the MAC controller 802.11 the MAC controller Original NIC driver Original NIC driver FIFO queue FIFO queue New NIC driver New NIC driver RT + NRT queue RT + NRT queue

Strict priority queuing Strict priority queuing

Effect of MAC HW QueueEffect of MAC HW Queue

Page 11: Wireless VoIP

Dual Queue StrategyDual Queue Strategy

Page 12: Wireless VoIP

VOIP AND ADMISSION CONTROL

VoIP VoIP codec codec G.711 G.711

64 kbps stream8-bit pulse coded modulation (PCM)sampling rate : 8000 samples/second

A VoIP Packet per 20msA VoIP Packet per 20ms

160-byte DATA + 12-byte RTP header + 8-byte UDP header+ 20-byte IP header + 8-byte SNAP header

= 208 bytes per VoIP packet

Page 13: Wireless VoIP

VOIP AND ADMISSION CONTROL

VoIP Admission ControlVoIP Admission Control assumptionsassumptions

ACK Packet transmitted with 2MbpsACK Packet transmitted with 2MbpsLong PHY preambleLong PHY preamble

Packet transmission MACPacket transmission MACDIFS deferenceDIFS deferenceBackoffBackoffPacket transmissionPacket transmissionSIFS deferenceSIFS deferenceACK transmissionACK transmission

Page 14: Wireless VoIP

VOIP AND ADMISSION CONTROL

VoIP packet transmission time ≒VoIP packet transmission time ≒ 981μs981μs VoIP MAC packet transmission timeVoIP MAC packet transmission time

192-μs PLCP preamble/header + (24-byte MAC header + 4-192-μs PLCP preamble/header + (24-byte MAC header + 4-byte CRC-32 + 208-byte payload) / 11 Mbits/s = 363 μsbyte CRC-32 + 208-byte payload) / 11 Mbits/s = 363 μs

ACK transmission time at 2 Mbits/sACK transmission time at 2 Mbits/s192-μs PLCP preamble/header + 14-byte ACK packet / 2Mbits/s = 248 μs

Average backoff durationAverage backoff duration 31 (CWmin) * 20 μs (One Slot Time) / 2 = 310 μs

Page 15: Wireless VoIP

VOIP AND ADMISSION CONTROL

Every VoIP sessioinEvery VoIP sessioin inter-activeinter-active 2 senders2 senders one voice packet transmitted every 20ms one voice packet transmitted every 20ms

Every 20ms time intervalEvery 20ms time interval 20 (= 20 ms / 981 20 (= 20 ms / 981 μs) voice packetss) voice packets

Maximum number of VoIP sessions over a Maximum number of VoIP sessions over a 802.11 LAN is 10802.11 LAN is 10

Page 16: Wireless VoIP

COMPARATIVE PERFORMANCE COMPARATIVE PERFORMANCE EVALUATIONEVALUATION

Using the ns-2 simulatorUsing the ns-2 simulator 802.11b PHY 802.11b PHY TrafficTraffic

Voice Voice two-way constant bit rate (CBR) session according to G.711 codec

DataData unidirectional FTP/TCP flow with 1460-byte packet size and 12-packet (or 17520-byte) receive window size.

Page 17: Wireless VoIP

COMPARATIVE PERFORMANCE COMPARATIVE PERFORMANCE EVALUATION EVALUATION

Page 18: Wireless VoIP

EVALUATION RESULTEVALUATION RESULT

Pure VoIPPure VoIP

Effect of VoIP with different TCP session Effect of VoIP with different TCP session numbersnumbers

Performance with Dual queuePerformance with Dual queue

Unfairness of NRT PacketUnfairness of NRT Packet

Effect of MAC HW QueueEffect of MAC HW Queue

Page 19: Wireless VoIP
Page 20: Wireless VoIP

ObservationObservation

Compare to our EvaluationCompare to our Evaluation packet drop ratepacket drop rate

50 packets for the RT queue size50 packets for the RT queue size

Downlink is disadvantagedDownlink is disadvantaged

Simulation results are based on 11 MbpsSimulation results are based on 11 Mbps

Page 21: Wireless VoIP

EVALUATION RESULTEVALUATION RESULT

Pure VoIPPure VoIP

Effect of VoIP with different TCP session Effect of VoIP with different TCP session numbersnumbers

Performance with Dual queuePerformance with Dual queue

Unfairness of NRT PacketUnfairness of NRT Packet

Effect of MAC HW QueueEffect of MAC HW Queue

Page 22: Wireless VoIP
Page 23: Wireless VoIP

ObservationObservation

Effect of queue sizeEffect of queue size

Page 24: Wireless VoIP

EVALUATION RESULTEVALUATION RESULT

Pure VoIPPure VoIP

Effect of VoIP with different TCP session Effect of VoIP with different TCP session numbersnumbers

Performance with Dual queuePerformance with Dual queue

Unfairness of NRT PacketUnfairness of NRT Packet

Effect of MAC HW QueueEffect of MAC HW Queue

Page 25: Wireless VoIP
Page 26: Wireless VoIP

ObservationObservation

worst case delay 11msworst case delay 11ms Queuing delay with the single queue MAC HW queue wireless channel access

NRT queuesNRT queues Size = 50 or 100 increase as the number of

TCP flows increases Size = 500 almost no change in delay

Page 27: Wireless VoIP

EVALUATION RESULTEVALUATION RESULT

Pure VoIPPure VoIP

Effect of VoIP with different TCP session Effect of VoIP with different TCP session numbersnumbers

Performance with Dual queuePerformance with Dual queue

Unfairness of NRT PacketUnfairness of NRT Packet

Effect of MAC HW QueueEffect of MAC HW Queue

Page 28: Wireless VoIP
Page 29: Wireless VoIP

ObservationObservation

Unfairness Unfairness between upstream and downstream TCP flow

s with the queue sizes of 50 and 100

Queue size for the AP should be large enoQueue size for the AP should be large enough - This is good for usugh - This is good for us

Page 30: Wireless VoIP

EVALUATION RESULTEVALUATION RESULT

Pure VoIPPure VoIP

Effect of VoIP with different TCP session Effect of VoIP with different TCP session numbersnumbers

Performance with Dual queuePerformance with Dual queue

Unfairness of NRT PacketUnfairness of NRT Packet

Effect of MAC HW QueueEffect of MAC HW Queue

Page 31: Wireless VoIP
Page 32: Wireless VoIP

ObservationObservation

Delay of downlink voice packetsDelay of downlink voice packets increases linearly proportional to the MAC HW queue

size

Another effectAnother effect with the MAC HW queue size of 8, the worst delay is

observed with a single VoIP session

Large MAC HW queue size is still aceptableLarge MAC HW queue size is still aceptable <25ms

Page 33: Wireless VoIP

Brief SummaryBrief Summary

Driver of the 802.11 MAC controllerDriver of the 802.11 MAC controller

Strict priority queuingStrict priority queuing

Bottleneck of TCP in WLAN Bottleneck of TCP in WLAN downlink downlink

Page 34: Wireless VoIP

VoIP and 802.11e QoS stanVoIP and 802.11e QoS standardsdards

Page 35: Wireless VoIP

What’s the difference between What’s the difference between Wireless/Wired VoIP?Wireless/Wired VoIP?

MobilityMobility RoamingRoaming

SecuritySecurity Hidden UAHidden UA

Quality of ServiceQuality of Service Guarantee of voice qualityGuarantee of voice quality

Page 36: Wireless VoIP

Hidden Node ProblemHidden Node Problem

Page 37: Wireless VoIP

Quality of ServiceQuality of Service

QoS problemsQoS problems

802.11e QoS standard802.11e QoS standard

A non-standard solution –A non-standard solution –

Dual Queue StrategyDual Queue Strategy

Page 38: Wireless VoIP

QoS ProblemsQoS Problems

Dropped PacketsDropped PacketsDelayDelayJitterJitterOut-of-order DeliveryOut-of-order DeliveryErrorError

VoIP requires strict limits on jitter and VoIP requires strict limits on jitter and delay delay

Page 39: Wireless VoIP

Quality of ServiceQuality of Service

QoS problemsQoS problems

802.11e QoS standard802.11e QoS standard

A non-standard solution –A non-standard solution –

Dual Queue StrategyDual Queue Strategy

Page 40: Wireless VoIP

IEEE 802.11eIEEE 802.11e

A draft standard of July 2005A draft standard of July 2005

It defines a set of QoS enhancements for It defines a set of QoS enhancements for WLAN applicationsWLAN applications

and enhances the IEEE 802.11 Media and enhances the IEEE 802.11 Media Access Control (MAC) layerAccess Control (MAC) layer

Page 41: Wireless VoIP

Coordination FunctionCoordination Function

For stations to decide which one has the For stations to decide which one has the right to deliver its packetsright to deliver its packets

802.11: DCF & PCF802.11: DCF & PCF

802.11e: EDCF & HCF802.11e: EDCF & HCF

Page 42: Wireless VoIP

Original 802.11 MACOriginal 802.11 MAC

Distributed Coordination Function (DCF)Distributed Coordination Function (DCF)

Point Coordination Function (PCF)Point Coordination Function (PCF)

Page 43: Wireless VoIP

Distributed Coordination Function Distributed Coordination Function (DCF)(DCF)

Share the medium between multiple Share the medium between multiple stationsstations

Rely on CSMA/CA and optional 802.11 Rely on CSMA/CA and optional 802.11 RTS/CTSRTS/CTS

Page 44: Wireless VoIP

How DCF works?How DCF works?

Page 45: Wireless VoIP

DCF LimitationsDCF Limitations

When many collisions occur, the available When many collisions occur, the available bandwidth will be lowerbandwidth will be lower

No notion of high or low priority trafficNo notion of high or low priority traffic

A station may keep the mediumA station may keep the medium

If the station has a lower bitrate, all other If the station has a lower bitrate, all other stations will suffer from thatstations will suffer from that

No QoS guaranteesNo QoS guarantees

Page 46: Wireless VoIP

Original 802.11 MACOriginal 802.11 MAC

Distributed Coordination Function (DCF)Distributed Coordination Function (DCF)

Point Coordination Function (PCF)Point Coordination Function (PCF)

Page 47: Wireless VoIP

Point Coordination Function (PCF)Point Coordination Function (PCF)

Available only in "infrastructure" modeAvailable only in "infrastructure" mode

Optional mode, only very few APs or Wi-Fi Optional mode, only very few APs or Wi-Fi adapters actually implement itadapters actually implement it

Beacon frame, Contention Period, and CoBeacon frame, Contention Period, and Contention Free Periodntention Free Period

Page 48: Wireless VoIP

How PCF works?How PCF works?

Page 49: Wireless VoIP

802.11 MAC Layer Framework802.11 MAC Layer Framework

Page 50: Wireless VoIP

802.11e MAC Protocol Operation802.11e MAC Protocol Operation

Enhanced DCF (EDCF)Enhanced DCF (EDCF)

Hybrid Coordination Function (HCF)Hybrid Coordination Function (HCF)

Page 51: Wireless VoIP

Enhanced DCF (EDCF)Enhanced DCF (EDCF)

Define Traffic ClassesDefine Traffic Classes

High priority traffic has a higher chance of being High priority traffic has a higher chance of being sent than low priority trafficsent than low priority traffic

A "best effort" QoSA "best effort" QoS

Simple to configure and implementSimple to configure and implement

Page 52: Wireless VoIP

802.11e MAC Protocol Operation802.11e MAC Protocol Operation

Enhanced DCF (EDCF)Enhanced DCF (EDCF)

Hybrid Coordination Function (HCF)Hybrid Coordination Function (HCF)

Page 53: Wireless VoIP

Hybrid Coordination Function Hybrid Coordination Function (HCF)(HCF)

Works a lot like the PCFWorks a lot like the PCFMain difference with the PCF: Define the TMain difference with the PCF: Define the Traffic Classes (TC)raffic Classes (TC)Stations are given a Transmit Opportunity Stations are given a Transmit Opportunity (TXOP)(TXOP)TThe most advanced (and complex) he most advanced (and complex) coordination functioncoordination functionQoS can be configured with great precisioQoS can be configured with great precisionn

Page 54: Wireless VoIP

ConclusionConclusion

Page 55: Wireless VoIP

Paper References 1Paper References 1

Jeonggyun YuJeonggyun Yu,, Sunghyun Choi Sunghyun Choi,, Jaehwan Lee Jaehwan Lee, , “Enhancement of VoI“Enhancement of VoIP over IEEE 802.11 WLAN via Dual Queue Strategy”P over IEEE 802.11 WLAN via Dual Queue Strategy”Moncef Elaoud, David Famolari, and Ahbrajit GhoshMoncef Elaoud, David Famolari, and Ahbrajit Ghosh, , “Experimental “Experimental VoIP Capacity Measurements for 802.11b WLANs”VoIP Capacity Measurements for 802.11b WLANs”Mustafa ErgenMustafa Ergen, , “I-WLAN: Intelligent Wireless Local Area Networking“I-WLAN: Intelligent Wireless Local Area Networking””Gyung-Ho Hwang, Dong-Ho Cho,Gyung-Ho Hwang, Dong-Ho Cho, “New Access Scheme for VoIP P“New Access Scheme for VoIP Packets in IEEE 802.11e Wireless LANs”ackets in IEEE 802.11e Wireless LANs”Sai Shankar NSai Shankar N, , Javier del Prado PavonJavier del Prado Pavon, , Patrick WienertPatrick Wienert, , “Optimal p“Optimal packing of VoIP calls in an IEEE 802.11a/e WLAN in the presence of acking of VoIP calls in an IEEE 802.11a/e WLAN in the presence of QoS Constraints and Channel Errors”QoS Constraints and Channel Errors”

Page 56: Wireless VoIP

Paper Reference 2Paper Reference 2

Experimental VoIP capacity measurements for 802.11b WLANsEnhancement of VolP over IEEE 802.11 WLAN via dual queue strategyAn experimental study of throughput for UDP and VoIP traffic in IEEE 802.11b networksAdmission control for VoIP traffic in IEEE 802.11 networksHow well can the IEEE 802.11 wireless LAN support quality of service

Page 57: Wireless VoIP

Web Site ReferencesWeb Site References

http://www.ieee.or.com/Archive/80211/802_11e_http://www.ieee.or.com/Archive/80211/802_11e_QoS_files/frame.htmQoS_files/frame.htm

http://en.wikipedia.org/wiki/IEEE_802.11http://en.wikipedia.org/wiki/IEEE_802.11

http://www.cs.nthu.edu.tw/~nfhuang/chap13.htmhttp://www.cs.nthu.edu.tw/~nfhuang/chap13.htm#13.1#13.1

http://www.eettaiwan.com/ART_8800360909_67http://www.eettaiwan.com/ART_8800360909_675327_3f3ffd7b_no.HTM5327_3f3ffd7b_no.HTM

http://it.sohu.com/2003/12/11/09/article2167509http://it.sohu.com/2003/12/11/09/article216750985.shtml85.shtml