Documente Academic
Documente Profesional
Documente Cultură
11e
Guan-Hsiung Liaw () ghliaw@yahoo.com.tw
2005/10/27
Outlines
Introduction Traffic Differentiation Hybrid Coordination Function (HCF)
Contention-Based Channel Access EDCA Controlled Channel Access HCCA
Block Acknowledgement Direct Link Protocol (DLP) Automatic Power-Save Delivery (APSD) Performance Evaluation
2005/10/27
Introduction
2005/10/27
802.1 802.1 Management Management 802.1d 802.1d Bridging Bridging 802.1q 802.1q VLAN VLAN
802.2 Logical link control (LLC) 802.2 Logical link control (LLC) 802.3 802.3 802.3 MAC MAC 802.5 802.5 802.5 MAC MAC 802.11 802.11 MAC 802.11 MAC
LLC sublayer
MAC sublayer
802.11 802.11
802.11 802.11
802.11a 802.11a
802.11b/g 802.11b/g
Physical layer
2005/10/27
802.11 MAC
802.11e / TGe MAC Enhancements - QoS 802.11f / TGf Inter-Access Point Protocol 802.11i / TGi Enhanced Security Mechanisms
2005/10/27
Music
Uncompressed e.g. CD: 16bit, 44.1khz Compressed: e.g. MP2, MP3, Medium bit rate & Variable/Constant bit rate
Video
Compressed e.g. Mpeg-1, Mpeg-2, Mpeg-4, High bit rate & Variable/Constant bit rate
2005/10/27
Sampling
PCM Stream
10110101 11010011 11001001
Encoding
G.729 Frames
11010011 10101111 01010000
Packing
8kbps
64kbps
RTP
1packet / 20ms
Delay
Jitter
Internet Internet
G.729 Frames
11010011 10101111 01010000
Analog
2005/10/27
64kbps
Playout
Decoding
An Overview of IEEE 802.11e
8kbps
Unplaking
7
QoS Requirement
Parameters of traffic stream
Controlled transmission rate
Peak rate & Average rate
Requirements
Bounded Delay ! ( Bounded Jitter ! ( for real-time & smooth interaction) for smooth playout)
Prioritized QoS:
Loose QoS requirement expressed in terms of relative delivery priority
2005/10/27
10
2005/10/27
11
Enhanced Distributed Channel Access (EDCA) (ContentionBased) HCF Controlled Channel Access (HCCA) (Contention Free)
2005/10/27
12
Terms
QoS Facility
The mechanisms for QoS defined in 802.11e
QAP
Access Point supporting QoS facility
QSTA
Station supporting QoS facility
2005/10/27
QBSS Hybrid Coorinator (HC) Access Category (AC) User Priority (UP) Traffic Category (TC) Traffic Specification (TSPEC) Traffic Stream (TS) Traffic Identifier (TID)
13
Traffic Differentiation
2005/10/27
14
15
User Priority
8 User Priorities:
Identical to IEEE 802.1D priority tags
Priority User Priority (same as 802.1D user priority 1 2 0 3 4 5 highest
2005/10/27
802.1D Access Designation category (AC) BK BE EE CL VI VO NC AC_BK AC_BK AC_BE AC_BE AC_VI AC_VI AC_VO AC_VO
Designation (Informative) Background Background Best Effort Video Video Video Voice Voice
16
Lowest
6 7
Indirectly:
defined in TSPECs
2005/10/27
17
In EDCA, the size of Contention-Window (CW) and Inter-frame space (IFS) is dependent on AC
2005/10/27
18
Traffic Specification
Traffic Specification (TSPEC)
Characteristics of traffic streams created by negotiation between QSTA and HC HC can schedule the polling within CFP and the data transmission of the TS accordingly At most 8 TSPEC can be registered Identified by TSID (0~7) Use Management Frame with new subtype Action
ADDTS request & ADDTS response: for TSPEC setup DELTS: for TSPEC delete
2005/10/27
19
(Source: Draft11)
2005/10/27
20
2005/10/27
21
2005/10/27
22
2005/10/27
23
TS Info:
2005/10/27
24
Fields in TS Info
802.11e Traffic Type TSID Direction 1 3 2 10 0~7 I)Uplink II)Downlink III)Direct link IV)Bi-directional link EDCA HCCA 802.11eAPSD EDCA 802.11 Access PolicyEDCA TSPECQoS APSD1
2 1
1 3 2 1
2005/10/27
26
27
Schedule Element
HC contains Schedule element in ADDTS response if incoming ADDTS requests TS_INFO.Schedule = 1. If TS_Info.Access_Policy includes EDCA, the schedule element indicate the polling schedule for this TS in HCF If TS_Info.APSD = 1, the schedule element indicate the wakeup schedule for transmission
2005/10/27
28
2005/10/27
29
HCF Brief
In 802.11, two access methods are
Distributed Coordination Function (DCF) Point Coordination Function (PCF)
30
MAC Architecture
2005/10/27
31
EDCA
Difference from original DCF
Contention between ACs (Not STAs) AC Contends for Transmission Opportunity (TXOP) in unit of 32 microseconds. New Inter-frame Space (IFS) for each AC: Arbitration Interframe Space (AIFS)
2005/10/27
32
Reference Implementation
2005/10/27
33
2005/10/27
34
DCF Example
Packet arrival at MAC DIFS DIFS Backoff=9 DIFS 9-5=4 DIFS 4-2=2
Station 1
Backoff=5
busy
Station 2 busy
Backoff=7
busy
Station 3
7-5=2
Station 4
busy
2005/10/27
35
data
2005/10/27
time
36
37
1 1
CW size is smaller than DCFs For QSTA: AIFS=DIFS For QAP: AIFS<DIFS
2005/10/27
39
40
2005/10/27
41
PCF
PIFS SIFS PC STA1 CP STA2 STA3 SIFS SIFS PIFS SIFS SIFS Data+Poll
Beacon DATA+ACK Data+Poll Data+Poll
CF-End ACK CP
NAV Reset
Station 2 sets NAV(Network Allocation Vector) Station 3 is hidden to the PC, it does not set the NAV. It continues to operate in DCF.
Time
2005/10/27
42
43
2005/10/27
44
2005/10/27
45
Comparison
PC 802.11 periodic Superframe CFP(Contention Free Period) CP(Contention Period) CF-End CF-Poll
DATA DATA DATA DATA DATA
HC STAs Beacon
DATA DATA DATA DATA
QoS CF-Poll
DATA DATA DATA DATA DATA
TXOP
EDCA TXOP
Polled TXOP
Polled TXOP
Polled TXOP
EDCA TXOP
46
2005/10/27
2005/10/27
47
Motivation of DLS
Wake up the recipient in PS mode via QAP Exchange information between sender and recipient
2005/10/27
48
QAP
Sender
DL
Recipient
Notes: 1. DLS Request and DLS Response are both Action management frame 2. The direct link will become inactive if no frames have been exchanged for DLPTimeoutValue duration. 3. Recipient shall not go into power save for DLPTimeoutValue duration. 4. After timeout, the frames are transmitted via AP again.
2005/10/27
49
Block Acknowledgement
2005/10/27
50
Two types
Immediate Block Ack
Suitable for High-bandwidth, low latency traffic
2005/10/27
51
Setup
Tear Down
Originator
2005/10/27
Recipient
An Overview of IEEE 802.11e
DELBA
2005/10/27
53
2005/10/27
54
2005/10/27
55
2005/10/27
56
Brief of APSD
Enhancing PS-mode in QBSS QAP deliver downlink frames, which belong to some specified AC, to powersaving stations automatically Two type of delivery mechanism
Unscheduled APSD (U-APSD) Scheduled APSD (S-APSD)
2005/10/27
57
QAP
QSTA
Trigger frame
Steps:
Power-saving QSTA wakes up and send a trigger data frame belonging to trigger-enabled AC to QAP After receiving trigger frame, a service period (SP) is started QAP send frames belonging to delivery-enabled AC to QSTA The limit of SP is Max SP Length given by the QSTA at association (Frames not in delivery-enabled AC are delivered via original PS-poll mechanism)
An Overview of IEEE 802.11e
58
2005/10/27
= all,2,4,6 frames
2005/10/27
59
Imply which AC
2005/10/27
60
61
Implementation-Dependent Issues
HC scheduling
Mixture of downlink and polled TXOP scheduling
QSTA scheduling
During a polled TXOP, schedule frame transmissions
Admission control by HC
To decide whether to admit a TS or not
2005/10/27
62
Performance Evaluation
2005/10/27
63
Brief
Source:
Stefan Mangold, et al., Analysis of IEEE 2003.
802.11e for QoS support in wireless LANs , IEEE Wireless Communications, Dec.
64
Scenario 1
Assumption
IEEE 802.11e MAC + IEEE 802.11a PHY Control frames are sent at 6 Mbps Data frames are sent at 24 Mbps Each stream 250 kbps 1 station (HC) transmits to 3 stations one stream per AC Default EDCA parameters are used
2005/10/27
65
Result 1
2005/10/27
66
Result 2
2005/10/27
67
Scenario 2
Two scenarios Two scenarios Transmission Rate Transmission Rate Three TCs Three TCs
Data Frame: 24 Mbit/s Data Frame: 24 Mbit/s Others: 6 Mbit/s Others: 6 Mbit/s High: constant arrival (5ms), MSDU 80 bytes, 128 High: constant arrival (5ms), MSDU 80 bytes, 128 kbps kbps Medium & low: Poisson arrival, MSDU 200 bytes, 160 Medium & low: Poisson arrival, MSDU 200 bytes, 160 kbps kbps
TXOP allows for transmitting one data frame TXOP allows for transmitting one data frame Beacon interval: 102.4 ms Beacon interval: 102.4 ms
2005/10/27
68
Result 3
2005/10/27
69
Thank You!
Q&A
2005/10/27
70