版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
6:WirelessandMobileNetworks6-1Chapter6:WirelessandMobileNetworksBackground:
#wireless(mobile)phonesubscribersnowexceeds#wiredphonesubscribers!computernets:laptops,palmtops,PDAs,Internet-enabledphonepromiseanytimeuntetheredInternetaccesstwoimportant(butdifferent)challengeswireless:communicationoverwirelesslinkmobility:handlingthemobileuserwhochangespointofattachmenttonetwork6:WirelessandMobileNetworks6-2Chapter6outline6.1IntroductionWireless6.2Wirelesslinks,characteristicsCDMA6.3IEEE802.11wirelessLANs(“wi-fi”)6.4CellularInternetAccessarchitecturestandards(e.g.,GSM)Mobility6.5Principles:addressingandroutingtomobileusers6.6MobileIP6.7Handlingmobilityincellularnetworks6.8Mobilityandhigher-layerprotocols6.9Summary6:WirelessandMobileNetworks6-3Elementsofawirelessnetworknetworkinfrastructurewirelesshostslaptop,PDA,IPphonerunapplicationsmaybestationary(non-mobile)ormobilewirelessdoesnotalwaysmeanmobility6:WirelessandMobileNetworks6-4Elementsofawirelessnetworknetworkinfrastructure
basestationtypicallyconnectedtowirednetworkrelay-responsibleforsendingpacketsbetweenwirednetworkandwirelesshost(s)inits“area”e.g.,celltowers,802.11accesspoints6:WirelessandMobileNetworks6-5Elementsofawirelessnetworknetworkinfrastructure
wirelesslinktypicallyusedtoconnectmobile(s)tobasestationalsousedasbackbonelinkmultipleaccessprotocolcoordinateslinkaccessvariousdatarates,transmissiondistance6:WirelessandMobileNetworks6-6CharacteristicsofselectedwirelesslinkstandardsIndoor10-30mOutdoor50-200mMid-rangeoutdoor200m–4KmLong-rangeoutdoor5Km–20Km.056.384145-1154IS-95,CDMA,GSM2GUMTS/WCDMA,CDMA20003G802.15802.11b802.11a,gUMTS/WCDMA-HSPDA,CDMA2000-1xEVDO3Gcellularenhanced802.16(WiMAX)802.11a,gpoint-to-point200802.11nDatarate(Mbps)data6:WirelessandMobileNetworks6-7Elementsofawirelessnetworknetworkinfrastructure
infrastructuremodebasestationconnectsmobilesintowirednetworkhandoff:mobilechangesbasestationprovidingconnectionintowirednetwork6:WirelessandMobileNetworks6-8Elementsofawirelessnetworkadhocmodenobasestationsnodescanonlytransmittoothernodeswithinlinkcoveragenodesorganizethemselvesintoanetwork:routeamongthemselves6:WirelessandMobileNetworks6-9Wirelessnetworktaxonomysinglehopmultiplehopsinfrastructure(e.g.,APs)noinfrastructurehostconnectstobasestation(WiFi,WiMAX,cellular)whichconnectstolargerInternetnobasestation,noconnectiontolargerInternet(Bluetooth,adhocnets)hostmayhavetorelaythroughseveralwirelessnodestoconnecttolargerInternet:meshnetnobasestation,noconnectiontolargerInternet.MayhavetorelaytoreachotheragivenwirelessnodeMANET,VANET6:WirelessandMobileNetworks6-10WirelessLinkCharacteristics(1)Differencesfromwiredlink….decreasedsignalstrength:radiosignalattenuatesasitpropagatesthroughmatter(pathloss)interferencefromothersources:standardizedwirelessnetworkfrequencies(e.g.,2.4GHz)sharedbyotherdevices(e.g.,phone);devices(motors)interfereaswellmultipathpropagation:radiosignalreflectsoffobjectsground,arrivingaddestinationatslightlydifferenttimes….makecommunicationacross(evenapointtopoint)wirelesslinkmuchmore“difficult”6:WirelessandMobileNetworks6-11WirelessLinkCharacteristics(2)SNR:signal-to-noiseratiolargerSNR–easiertoextractsignalfromnoise(a“goodthing”)SNRversusBERtradeoffsgivenphysicallayer:increasepower->increaseSNR->decreaseBERgivenSNR:choosephysicallayerthatmeetsBERrequirement,givinghighestthroughputSNRmaychangewithmobility:dynamicallyadaptphysicallayer(modulationtechnique,rate)10203040QAM256(8Mbps)QAM16(4Mbps)BPSK(1Mbps)SNR(dB)BER10-110-210-310-510-610-710-46:WirelessandMobileNetworks6-12WirelessnetworkcharacteristicsMultiplewirelesssendersandreceiverscreateadditionalproblems(beyondmultipleaccess):ABCHiddenterminalproblemB,AheareachotherB,CheareachotherA,CcannotheareachothermeansA,CunawareoftheirinterferenceatBABCA’ssignalstrengthspaceC’ssignalstrengthSignalattenuation:B,AheareachotherB,CheareachotherA,CcannotheareachotherinterferingatB6:WirelessandMobileNetworks6-13WirelessnetworkcharacteristicsHiddenNodeProblemBCA6:WirelessandMobileNetworks6-14WirelessnetworkcharacteristicsExposedNodeProblemBCADX6:WirelessandMobileNetworks6-15Chapter6outline6.1Introduction
Wireless6.2Wirelesslinks,characteristicsCDMA6.3IEEE802.11wirelessLANs(“wi-fi”)6.4cellularInternetaccessarchitecturestandards(e.g.,GSM)Mobility6.5Principles:addressingandroutingtomobileusers6.6MobileIP6.7Handlingmobilityincellularnetworks6.8Mobilityandhigher-layerprotocols6.9Summary6:WirelessandMobileNetworks6-16IEEE802.11WirelessLAN802.11b2.4-5GHzunlicensedspectrumupto11Mbpsdirectsequencespreadspectrum(DSSS)inphysicallayerallhostsusesamechippingcode802.11a
5-6GHzrangeupto54Mbps802.11g
2.4-5GHzrangeupto54Mbps802.11n:multipleantennae2.4-5GHzrangeupto200MbpsalluseCSMA/CAformultipleaccessallhavebase-stationandad-hocnetworkversions6:WirelessandMobileNetworks6-17802.11LANarchitecturewirelesshostcommunicateswithbasestationbasestation=accesspoint(AP)BasicServiceSet(BSS)(aka“cell”)ininfrastructuremodecontains:wirelesshostsaccesspoint(AP):basestationadhocmode:hostsonlyBSS1BSS2Internethub,switchorrouterAPAP6:WirelessandMobileNetworks6-18802.11:Channels,association802.11b:2.4GHz-2.485GHzspectrumdividedinto11channelsatdifferentfrequenciesAPadminchoosesfrequencyforAPinterferencepossible:channelcanbesameasthatchosenbyneighboringAP!host:mustassociatewithanAPscanschannels,listeningforbeaconframescontainingAP’sname(SSID)andMACaddressselectsAPtoassociatewithmayperformauthentication[Chapter8]willtypicallyrunDHCPtogetIPaddressinAP’ssubnet6:WirelessandMobileNetworks6-19802.11:passive/activescanningAP2AP1H1BBS2BBS112234ActiveScanning:ProbeRequestframebroadcastfromH1ProbesresponseframesentfromAPsAssociationRequestframesent:H1toselectedAPAssociationResponseframesent:H1toselectedAPAP2AP1H1BBS2BBS11231PassiveScanning:
beaconframessentfromAPsassociationRequestframesent:H1toselectedAPassociationResponseframesent:H1toselectedAP6:WirelessandMobileNetworks6-20IEEE802.11:multipleaccessavoidcollisions:2+nodestransmittingatsametime802.11:CSMA-sensebeforetransmittingdon’tcollidewithongoingtransmissionbyothernode802.11:nocollisiondetection!difficulttoreceive(sensecollisions)whentransmittingduetoweakreceivedsignals(fading)can’tsenseallcollisionsinanycase:hiddenterminal,fadinggoal:avoidcollisions:CSMA/C(ollision)A(voidance)ABCABCA’ssignalstrengthspaceC’ssignalstrength6:WirelessandMobileNetworks6-21IEEE802.11MACProtocol:CSMA/CA802.11sender1ifsensechannelidleforDIFS
then
transmitentireframe(noCD)2if
sensechannelbusythen
startrandombackofftimetimercountsdownwhilechannelidletransmitwhentimerexpiresifnoACK,increaserandombackoffinterval,repeat2802.11receiver-ifframereceivedOK
returnACKafterSIFS(ACKneededduetohiddenterminalproblem)senderreceiverDIFSdataSIFSACK6:WirelessandMobileNetworks6-22CSMA/CAinIEEE802.11Physicalcarriersense,andVirtualcarriersenseusingNetworkAllocationVector(NAV)NAVisupdatedbasedonoverheardRTS/CTS/DATA/ACKpackets,eachofwhichspecifieddurationofapendingtransmissionBackoffintervalsusedtoreducecollisionprobability6:WirelessandMobileNetworks6-23BackoffIntervalWhentransmittingapacket,chooseabackoffintervalintherange[0,cw]cwiscontentionwindowCountdownthebackoffintervalwhenmediumisidleCount-downissuspendedifmediumesbusyWhenbackoffintervalreaches0,transmitRTS6:WirelessandMobileNetworks6-24DCFExample1datawaitB1=5B2=15B1=25B2=20datawaitB1andB2arebackoffintervalsatnodes1and2cw=31B2=106:WirelessandMobileNetworks6-25DIFSDIFSDIFSDCFExample26:WirelessandMobileNetworks6-26BackoffIntervalThetimespentcountingdownbackoffintervalsisapartofMACoverheadChoosingalargecw
leadstolargebackoffintervalsandcanresultinlargeroverheadChoosingasmallcwleadstoalargernumberofcollisions(whentwonodescountdownto0simultaneously)6:WirelessandMobileNetworks6-27Sincethenumberofnodesattemptingtotransmitsimultaneouslymaychangewithtime,somemechanismtomanagecontentionisneededIEEE802.11DCF:contentionwindowcwischosendynamicallydependingoncollisionoccurrenceBackoffInterval6:WirelessandMobileNetworks6-28BinaryExponentialBackoffinDCFWhenanodefailstoreceiveCTSinresponsetoitsRTS,itincreasesthecontentionwindowcwisdoubled(uptoanupperbound)Whenanodesuccessfullycompletesadatatransfer,itrestorescwtoCwmincwfollowsasawtoothcurve6:WirelessandMobileNetworks6-29Avoidingcollisions(more)idea:
allowsenderto“reserve”channelratherthanrandomaccessofdataframes:avoidcollisionsoflongdataframessenderfirsttransmitssmallrequest-to-send(RTS)packetstoBSusingCSMARTSsmaystillcollidewitheachother(butthey’reshort)BSbroadcastsclear-to-sendCTSinresponsetoRTSCTSheardbyallnodessendertransmitsdataframeotherstationsdefertransmissionsavoiddataframecollisionscompletelyusingsmallreservationpackets!6:WirelessandMobileNetworks6-30CollisionAvoidance:RTS-CTSexchangeAPABtimeRTS(A)RTS(B)RTS(A)CTS(A)CTS(A)DATA(A)ACK(A)ACK(A)reservationcollisiondefer6:WirelessandMobileNetworks6-31RTS/CTS/DATA/ACK
6:WirelessandMobileNetworks6-32framecontroldurationaddress1address2address4address3payloadCRC22666260-23124seqcontrol802.11frame:addressingAddress2:MACaddressofwirelesshostorAPtransmittingthisframeAddress1:MACaddressofwirelesshostorAPtoreceivethisframeAddress3:MACaddressofrouterinterfacetowhichAPisattachedAddress4:usedonlyinadhocmode6:WirelessandMobileNetworks6-33InternetrouterAPH1R1APMACaddrH1
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 護膚行業(yè)員工合同范例
- 技術(shù)合作開發(fā)合同范例
- 會議介紹合同范例
- 影樓用工合同范例
- 萬盛區(qū)?;愤\輸合同范例
- 委托銷售酒合同范例
- 房產(chǎn)抵押短期借款合同范例
- 供銷碎石合同范例
- 收購勞務(wù)公司合同范例
- 五黑雞購買合同范例
- 單位車輛領(lǐng)取免檢標志委托書范本
- 2023-2024學(xué)年江蘇省泰州市姜堰市數(shù)學(xué)六年級第一學(xué)期期末質(zhì)量檢測試題含答案
- 供銷社建設(shè)項目可行性研究報告
- 治安案件報案登記表(標準范本)
- 婦產(chǎn)科名詞解釋及簡答題
- 高級英語-張漢熙-第一冊-答案
- 河南省定點醫(yī)療機構(gòu)申請表
- 臨床工程技師在血液凈化中心的作用和職責
- 《掘進機檢修(維護)工》考試試題
- 鄉(xiāng)土中國知識點匯總 統(tǒng)編版高中語文必修上冊
- 《電力設(shè)備預(yù)防性試驗規(guī)程》
評論
0/150
提交評論