tRTS packetby returningaCTS andenteringa-2-ight read loop, waiting for the data to arrive.
2
n(A timeout prevents a system lockup if the dataever arrives.)AsisstandardforCSMAschemes,nCSMA/CA requires stations to stay off the chan-el when another transmission is already in pro-togress.CSMA/CAalsorequiresany station thaverhears an RTS or CTS packet directed else-twheretoinhibitits transmitter foraspecifiedime.This helps reduce the probability of acol-.TlisionwithasubsequentCTSordatapackethis is the CA or
CollisionAvoidance
partof rpCSMA/CA. However, collisions are not a majoroblem on Localtalk; the network is physicallyarsmall,carriersensingisfairlyrapid,thedatateisrelativelylow,and(ifthenetworkis.Pproperlybuilt)therearenohiddenterminalslain CSMA would work well, but there was lit-Rtle extra cost tothe CAfeature(given that theTS/CTS dialogue was already needed for other
3
reasons) so it was included.
.Turning CSMA/CA into MACA
nsHiddenandexposedterminalsaboundoimplexpacketradiochannels,andthismakestothemverydifferentfromLocaltalkandmosthertypes oflocal area networks.Whenhid-tadenterminalsexist,lackofcarrierdoesn’lwaysmeanit’sOKtotransmit.Conversely,rwhenexposedterminalsexist,presenceofcar-ierdoesn’talwaysmeanthatit’sbadtotltransmit. Inother words, the datacarrier detecine from yourmodemis often useless. SoI’llomakearadicalproposal: let’signore DCD!Intherwords,let’sgetridoftheCSincCSMA/CA.(It’stoohardtobuildgoodDCDircuits anyway...)Instead we’ll extend the CA part of whatk we’ll call MA/CA (or just plainMACA).Theey to collision avoidance is the effect that RTSntand CTS packets have on the other stations ohechannel.Whenastationoverhears anRTSntaddressedtoanotherstation,itinhibitsits owransmitter long enough for the addressed stationn
torespondwithaCTS.Whenastatio
It wouldbe nice ifwe could use this feature onp
2
acket radio with our programmed-I/O HDLC interfaces,i(e.g.,DRSI PCPA,PaccommPC-100).Unfortunatelyfour RTS/CTS packetscarry full source and destina-Ftion call signs, they would not fit into the 3-byte 8530IFOs.So high speed operation will still require eitherDMA oradedicated I/O processor.
overhears a CTS addressed to another station, itoinhibits itsown transmitter longenoughfor thetherstationto send its data.The transmitter isshinhibitedfor theproper time evenifnothingieard in response to an RTS or CTS packet.ZcFigure3showsanexample.StationannothearX’s transmissionstoY,but it
can
aChearY’sCTSpacketstoX.If ZoverhearsTS packet fromYto X,it willknow not toXtransmit until after Y has received its data from.Buthowdoes Zknow how long towaithafteroverhearingY’sCTS?That’s easy.Weave X, the initiator of the dialogue, include inositsRTSpackettheamountofdataitplanstend,and wehaveY, theresponder,echothatoinformationinitsCTSpacket.NoweveryoneverhearingY’sCTSknowsjusthowlongtotmwaittoavoidclobberingadatapacketthatiight not even hear.As long as the link between each pair of sstations in the network is reciprocal (i.e., all thetations have comparable transmitter powers andpreceivernoiselevels),thereceiptofaCTSacket by a station not party to a dialogue tellsiitthatif itwereto transmit,it would probablynterferewiththereceptionofdatabythesiresponder (the sender of the CTS). MACA thunhibitstransmissionwhenordinaryCSMAsrwouldpermitit(andallowacollision),thuelievingthehiddenterminalproblem.(Colli-tlsions are not
totally
avoided; more on this poinater.)Conversely, if a station hears no responsettto anoverheard RTS,thenit mayassume thahe intended recipient of the RTS is either downe4or out of range.An example is shown in figur.StationXis withinrangeof Y,butnotZ.pWhen Y sends traffic to Z, X will hear Y’s RTSacketsbutnotZ’sCTSresponses.Xmayf itherefore transmit on the channel without fear onterferingwithY’sdatatransmissionstoZ,Meventhoughitcanhearthem.In thiscaseACAallowsatransmissiontoproceedwhen,tordinaryCSMA wouldpreventitunnecessarilyhusrelievingtheexposedterminalproblem.a(Because modems have a capture effect, hearingCTS doesn’t
always
mean that you’d cause atycollisionifyoutransmit,sotheproblemisn’et completely solved. More on this point later.)