User's Manual
–
42
–
Chapter4
|
WirelessSettings
RadioSettings
WMMOperation—WMMusestrafficprioritybasedonthefourACs;Voice,
Video,
BestEffort,andBackground.ThehighertheACpriority,thehigherthe probability
thatdataistransmitted.
Whentheaccesspointforwardstraffic,WMMaddsdatapacketstofour
independenttransmitqueues,oneforeachAC,dependingonthe802.1D priority
tagofthepacket.Datapacketswithoutaprioritytagarealwaysadded
totheBest
EffortACqueue.Fromthefourqueues,aninternal“virtual”collision
resolution
mechanismfirstselectsdatawiththehighestprioritytobegranteda transmit
opportunity.Thenthesamecollisionresolutionmechanismisused
externallyto
determinewhichdevicehasaccesstothewirelessmedium.
ForeachACqueue,thecollisionresolutionmechanismisdependentontwo
timingparameters:
◆AIFSN(ArbitrationInter‐FrameSpaceNumber),anumberusedto
calculate theminimumtimebetweendataframes
◆CW(ContentionWindow),anumberusedtocalculatearandombackofftime
Afteracollisiondetection,abackoffwaittimeiscalculated.Thetotalwaittime is
thesumofaminimumwaittime(ArbitrationInter‐FrameSpace,orAIFS)
determinedfromtheAIFSN,andarandombackofftimecalculatedfromavalue
selectedfromzerototheCW.TheCWvaluevarieswithinaconfigurablerange.
It
startsatCWMinanddoublesaftereverycollisionuptoamaximumvalue,
CWMax.
Afterasuccessfultransmission,theCWvalueisresettoitsCWMin
value.
Figure30: WMMBackoffWaitTimes
Forhigh‐prioritytraffic,theAIFSNandCWvaluesaresmaller.Thesmallervalues
equatetolessbackoffandwaittime,andthereforemoretransmit
opportunities.
High Priority
Low Priority
Time
CWMin CWMax
A
IFS
Random Backof
f
Minimum Wait Time
Random Wait Time
CWMin CWMax
A
IFS
Random Backof
f
Minimum Wait Time Random Wait Time