User's Manual

42
Chapter4
|
WirelessSettings
RadioSettings
WMMOperationWMMusestrafficprioritybasedonthefourACs;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(ArbitrationInterFrameSpaceNumber),anumberusedto
calculate theminimumtimebetweendataframes
CW(ContentionWindow),anumberusedtocalculatearandombackofftime
Afteracollisiondetection,abackoffwaittimeiscalculated.Thetotalwaittime is
thesumofaminimumwaittime(ArbitrationInterFrameSpace,orAIFS)
determinedfromtheAIFSN,andarandombackofftimecalculatedfromavalue
selectedfromzerototheCW.TheCWvaluevarieswithinaconfigurablerange.
It
startsatCWMinanddoublesaftereverycollisionuptoamaximumvalue,
CWMax.
Afterasuccessfultransmission,theCWvalueisresettoitsCWMin
value.
Figure30: WMMBackoffWaitTimes
Forhighprioritytraffic,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