美国国家标准技术局

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

NISTWiMAXModule徐士欽Introduction美國國家標準技術局(NationalInstituteofStandardsandTechnology,NIST)經過NS-2官方網站一連串的相關測試成為內建模組IEEE802.16e延伸,支援掃描與換手我可以用這個模組做些什麼?OverviewAvailablefeaturesSummaryoffeaturesNOTimplemented-WirelessMAN-OFDMphysicallayerwithconfigurablemodulation-TimeDivisionduplexing(TDD)-Managementmessagestoexecutenetworkentry(withoutauthentication)-DefaultschedulerprovidingroundrobinuplinkallocationtoregisteredMobileStations(MSs)accordingtobandwidthrequested-IEEE802.16eextensionstosupportscanningandhandovers-Fragmentationandreassemblyofframes-WirelessMAN-OFDMA-FrequencyDivisionduplexing(FDD)-ARQ(AutomaticRepeatRequest)-ServiceFlowandQualityofService(QoS)scheduling-PeriodicrangingandpoweradjustmentsPacking-ErrorCorrectionTryFirst!Theexample“test-be.tcl”in/ns-allinone-2.29/ns-2.29/tcl/wimax要做什麼?到底要怎麼用?跟普通的有什麼不一樣?來看看TCL吧!還記得什麼??設定WiMAX基本參數RTG、TTG、、等設定PHY為OFDM!設定涵蓋範圍設定Mobilenodeconfig(OPT系列),尤其是MAC!初始化BS位置,設定node初始化SS位置,設定與BS相依設定DIUC幾個小問題怎麼都沒看到mobilenode?CreateGod?Storingconnectivityinformationofthetopology.setopt(adhocRouting)DSDV可以不設嗎?有哪些選擇?DSDV、DSR、AODV和TORA本週小練習請改寫test-be.tcl使得無法在NAM上顯示所有定義的mobilenode的問題得以解決。請至少能顯示10個nodes相對的,完成此作業的前提是要安裝成功NIST的module再深入一點MAC層模組架構Mac802_16(Class)繼承NS-2原有的Mac類別,負責處理封包的傳送與接收。FramestructureTimeDivisionDuplex,TDDUplink&DownlinkIEEE802.16eScanningHandoffMACmodulestructure幾個重要的元件ServiceFlowHandlerisresponsibleforhandlingflowrequests/responses.Italsostoresthelistofflowsforthenode.TheclassPeerNodecontainsinformationaboutthepeer,suchasitsconnectionsandstatus.ConnectionManagercontainsthelistofincomingandoutgoingconnections.更多的重要元件TheWimaxSchedulerabstractclassisusedtocreateaninterfacewiththeMAC.(SS&BS)StatWatchandThroughputWatchobjectsforpacketandtrafficinformation.ThevaluesareusedtotriggereventsMAC802_16內容貌似很重要!封包資訊都藏在哪裡?/ns-allinone-2.29/ns-2.29/wimax/mac802_16.ccHeader裡的重要資訊Avirtualphysicalheaderoftypephy_info_t.ThisstructureisusedtocarryphysicalinformationAgenericMACheaderoftypegen_mac_header_tcontainingthegenericMACinformation.SchedulerTheclassstructureallowsforspecifyingdifferentdataservicesnamelyUGS,rtPS,nrTPS,andBestEffort.TheservicesarespecifiedintheServiceFlowclass.BSscheduler&SSscheduler.PacketProcessingFlowOFDMPhysicallayerUpperlayerprotocolsClassifiersFramereassemblyOutgoingqueueswithfragmentationperCIDServiceFlowHandlerServiceflowsSchedulerSTA:processsynchronizationmessagesfromBS.Scheduleuplinktraffic.BS:generatesynchronizationmessagesandscheduledownlinktraffic.Alsoperformadmissioncontrol.DSxframesSynchronizationMessagesDSxframesSynchronizationMessagesControlsframetransmissionOutgoingpacketIncomingpacketOFDMPhysicallayerUpperlayerprotocolsClassifiersFramereassemblyOutgoingqueueswithfragmentationperCIDOutgoingqueueswithfragmentationperCIDServiceFlowHandlerServiceflowsServiceFlowHandlerServiceflowsSchedulerSTA:processsynchronizationmessagesfromBS.Scheduleuplinktraffic.BS:generatesynchronizationmessagesandscheduledownlinktraffic.Alsoperformadmissioncontrol.DSxframesSynchronizationMessagesDSxframesSynchronizationMessagesControlsframetransmissionOutgoingpacketIncomingpacketclassifier緊緊相依相互影響MAP:描述頻寬分配後的結果,SS需在指定的時間傳送或接收資料對進入的封包做Serviceflow的QoS設置BSScheduler的運作機制SSScheduler的運作機制QoS&ServiceFlowTheframeworkdefinesstructurestosupporttheimplementationofschedulersthatmakeuseofthedifferentclassesofservice.EachConnectioncanbeassociatedwithaServiceFlowandcorrespondingQoSparameters.ServiceFlow如何被實現ns-allinone-2.29/ns-2.29/wimax空歡喜QoS尚未被實作,空殼定義只有BE被實作NOAdmissioncontrol!ItacceptsalltheflowrequestfromtheMSs.真遺憾,那我們還能做些什麼??TCLcommandsTCLCommandReplacethedefaultserviceflowhandler.Theparametersareasfollows:DL–Downlink,useULforUplink10000–DataRate(byte/s)BE-SchedulingTypeBE/rtPS/nrtPS/ertPS700–Datasize(byte)2–Period(ForUGStraffic)1-ToindicateifARQisenabledornot0.01-ARQRetransmissiontimervalue(s)8-ARQWindowsize1-countertoindicatewhenARQACKshavetobesentConfigurethelistofflowsthatmustbesetupafternetworkentry.macset-servicehandlerFlowHandler[$wl_node_($i)setmac_(0)]setflowDL10000BE700210.0181Schedulers(cont.)InIEEE802.16,theBScontrolsthebandwidthallocation.Themodelincludesanabstractclass,WimaxScheduler,createdtoeasilyusedifferentpacketschedulers.Thisclassalreadycontainstwoimplementations,anSSschedulerforSSsandaBSschedulerforBSs.彈性的架構設計ns-allinone-2.29/ns-2.29/wimax/scheduling我想自己做scheduler!init():initializethescheduler.process(Packet*):Thismethodisusedtoprocesspacketsreceivedbythescheduler(suchassynchronizationmessages).start_ulsubframe():codetobeexecutedatthebeginningofanewuplinksubframe.start_dlsubframe():codetobeexecutedatthebeginningofanewdownlinksubframe.BSSchedulerTCLcommandsetscheduler[newWimaxScheduler/BS]CreatesapacketschedulerforBS.$schedulerset-contention-size$sizeSetthenumberofcontentionslotstobeallocatedforinitialrangingandbandwidthrequestsineachframe.WimaxScheduler/BSsetdlratio_0.3Indicates30%oftheframeisfordownlinkand70%isforuplink.SSSchedulerTCLcommandsetscheduler[newWimaxScheduler

1 / 33
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功