33
NIST WiMAX Module NIST WiMAX Module 徐徐徐

NIST WiMAX Module

  • Upload
    indiya

  • View
    39

  • Download
    0

Embed Size (px)

DESCRIPTION

NIST WiMAX Module. 徐士欽. Introduction. 美國國家標準技術局 (National Institute of Standards and Technology, NIST) 經過 NS-2 官方網站一連串的相關測試成為內建模組 IEEE 802.16e 延伸,支援掃描與換手 我可以用這個模組做些什麼 ?. Overview. Try First !. The example “test-be.tcl” in /ns-allinone-2.29/ns-2.29/tcl/wimax. 要做什麼 ?. 到底要怎麼用 ? - PowerPoint PPT Presentation

Citation preview

Page 1: NIST WiMAX Module

NIST WiMAX ModuleNIST WiMAX Module

徐士欽

Page 2: NIST WiMAX Module

Introduction Introduction

美國國家標準技術局 (National Institute of Standards and Technology, NIST)

經過 NS-2 官方網站一連串的相關測試成為內建模組

IEEE 802.16e 延伸,支援掃描與換手我可以用這個模組做些什麼 ?

Page 3: NIST WiMAX Module

OverviewOverview

Available features Summary of features NOT implemented

-WirelessMAN-OFDM physical layer with configurable modulation

-Time Division duplexing (TDD)

-Management messages to execute network entry (without authentication)

-Default scheduler providing round robin uplink allocation to registered Mobile Stations (MSs) according to bandwidth requested

-IEEE 802.16e extensions to support scanning and handovers

-Fragmentation and reassembly of frames

-WirelessMAN-OFDMA

-Frequency Division duplexing (FDD)

-ARQ (Automatic Repeat Request)

-Service Flow and Quality of Service (QoS) scheduling

-Periodic ranging and power adjustments

Packing

-Error Correction

Page 4: NIST WiMAX Module

Try First !

The example “test-be.tcl” in

/ns-allinone-2.29/ns-2.29/tcl/wimax

Page 5: NIST WiMAX Module

要做什麼 ?

到底要怎麼用 ?跟普通的有什麼不一樣 ?來看看 TCL 吧 !

Page 6: NIST WiMAX Module

還記得什麼還記得什麼 ????

設定 WiMAX 基本參數 RTG 、 TTG 、、等

設定 PHY 為 OFDM!設定涵蓋範圍設定 Mobile node config (OPT 系列 ) ,尤其是 MAC!

初始化 BS 位置,設定 node初始化 SS 位置,設定與 BS 相依設定 DIUC

Page 7: NIST WiMAX Module

幾個小問題幾個小問題

怎麼都沒看到 mobile node?Create God ?

Storing connectivity information of the topology. http://0rz.tw/df3cX

set opt(adhocRouting) DSDV 可以不設嗎 ? 有哪些選擇 ? DSDV 、 DSR 、 AODV 和 TORA

Page 8: NIST WiMAX Module

本週小練習本週小練習

請改寫 test-be.tcl 使得無法在 NAM 上顯示所有定義的 mobile node 的問題得以解決。

請至少能顯示 10 個 nodes相對的,完成此作業的前提是要安裝成功

NIST 的 module

Page 9: NIST WiMAX Module

再深入一點再深入一點

MAC 層模組架構 Mac802_16(Class) 繼承 NS-2 原有的 Mac 類別,負責處理封包的傳送與接收 。

Frame structure Time Division Duplex , TDD Uplink & Downlink

IEEE 802.16e Scanning Handoff 

Page 10: NIST WiMAX Module

MAC module structure

Page 11: NIST WiMAX Module

幾個重要的元件幾個重要的元件

ServiceFlowHandler is responsible for handling flow requests/responses. It also stores the list of flows for the node.

The class PeerNodePeerNode contains information about the peer, such as its connections and status.

ConnectionManager ConnectionManager contains the list of incoming and outgoing connections.

Page 12: NIST WiMAX Module

更多的重要元件

The WimaxSchedulerWimaxScheduler abstract class is used to create an interface with the MAC. (SS & BS)

StatWatchStatWatch and ThroughputWatchThroughputWatch objects for packet and traffic information. The values are used to trigger events

Page 13: NIST WiMAX Module

MAC802_16 MAC802_16 內容貌似很重要內容貌似很重要 !!

Page 14: NIST WiMAX Module

封包資訊都藏在哪裡封包資訊都藏在哪裡 ??

/ns-allinone-2.29/ns-2.29/wimax/mac802_16.cc

Page 15: NIST WiMAX Module

HeaderHeader 裡的重要資訊裡的重要資訊

A virtual physical header of type phy_info_t. This structure is used to carry physical information

A generic MAC header of type gen_mac_header_tgen_mac_header_t containing the generic MAC information.

Page 16: NIST WiMAX Module

SchedulerScheduler

The class structure allows for specifying different data services namely UGS, rtPS, nrTPS, and Best Effort. The services are specified in the ServiceFlow class.

BS scheduler & SS scheduler.

Page 17: NIST WiMAX Module

Packet Processing Flow

OFDM Physical layer

Upper layer protocols

Classifiers

Frame reassembly

Outgoing queues with fragmentation per CID

Service Flow Handler

Service flows

Scheduler

STA: process synchronization messages from BS. Schedule uplink

traffic. BS: generate synchronization

messages and schedule downlink traffic. Also perform admission

control.

DSx frames

Synchronization Messages

DSx frames

Synchronization Messages

Controlsframe transmission

Outgoing packet

Incoming packetOFDM Physical layer

Upper layer protocols

Classifiers

Frame reassembly

Outgoing queues with fragmentation per CIDOutgoing queues with fragmentation per CID

Service Flow Handler

Service flows

Service Flow Handler

Service flows

Scheduler

STA: process synchronization messages from BS. Schedule uplink

traffic. BS: generate synchronization

messages and schedule downlink traffic. Also perform admission

control.

DSx frames

Synchronization Messages

DSx frames

Synchronization Messages

Controlsframe transmission

Outgoing packet

Incoming packet

Page 18: NIST WiMAX Module

classifier

Page 19: NIST WiMAX Module

緊緊相依 相互影響

MAP :描述頻寬分配後的結果, SS 需在指定的時間傳送或接收資料

對進入的封包做 Service flow 的 QoS 設置BS Scheduler 的運作機制SS Scheduler 的運作機制

Page 20: NIST WiMAX Module

QoS & Service Flow

The framework defines structures to support the implementation of schedulers that make use of the different classes of service.

Each Connection can be associated with a ServiceFlow and corresponding QoS parameters.

Page 21: NIST WiMAX Module

Service Flow 如何被實現ns-allinone-2.29/ns-2.29/wimax

Page 22: NIST WiMAX Module

空歡喜

QoS 尚未被實作,空殼定義只有 BE 被實作NO Admission control !

It accepts all the flow request from the MSs.

真遺憾,那我們還能做些什麼 ?? TCL commands

Page 23: NIST WiMAX Module

TCL Command

Replace the default service flow handler.

The parameters are as follows: DL – Downlink, use UL for Uplink 10000 – Data Rate (byte/s) BE - Scheduling Type BE/rtPS/nrtPS/ertPS 700 – Datasize (byte) 2 – Period (For UGS traffic) 1 - To indicate if ARQ is enabled or not 0.01 - ARQ Retransmission timer value (s) 8 - ARQ Window size 1 - counter to indicate when ARQ ACKs have to be sent Configure the list of flows that must be setup after network entry.

mac set-servicehandler FlowHandler

[$wl_node_($i) set mac_(0)] setflow DL 10000 BE 700 2 1 0.01 8 1

Page 24: NIST WiMAX Module

Schedulers (cont.)

In IEEE 802.16, the BS controls the bandwidth allocation.

The model includes an abstract class, WimaxScheduler, created to easily use different packet schedulers.

This class already contains two implementations, an SSscheduler for SSs and a BSscheduler for BSs.

Page 25: NIST WiMAX Module

彈性的架構設計ns-allinone-2.29/ns-2.29/wimax/scheduling

Page 26: NIST WiMAX Module

我想自己做 scheduler!

init (): initialize the scheduler.process (Packet *):

This method is used to process packets received by the scheduler (such as synchronization messages).

start_ulsubframe (): code to be executed at the beginning of a new uplink

subframe.

start_dlsubframe (): code to be executed at the beginning of a new

downlink subframe.

Page 27: NIST WiMAX Module

BS Scheduler TCL commandBS Scheduler TCL command

set scheduler [new WimaxScheduler/BS] Creates a packet scheduler for BS.

$scheduler set-contention-size $size Set the number of contention slots to be allocated for

initial ranging and bandwidth requests in each frame.

WimaxScheduler/BS set dlratio_ 0.3 Indicates 30% of the frame is for downlink and 70%

is for uplink.

Page 28: NIST WiMAX Module

SS Scheduler TCL commandSS Scheduler TCL command

set scheduler [new WimaxScheduler/SS] Creates a packet scheduler for SS.

Page 29: NIST WiMAX Module

DIUC / UIUC

Profile nameProfile name ModulationModulation

DIUC_PROFILE_1, UIUC_PROFILE_1 OFDM_BPSK_1_2

DIUC_PROFILE_1, UIUC_PROFILE_1 OFDM_QPSK_1_2

DIUC_PROFILE_1, UIUC_PROFILE_1 OFDM_QPSK_3_4

DIUC_PROFILE_1, UIUC_PROFILE_1 OFDM_16QAM_1_2

DIUC_PROFILE_1, UIUC_PROFILE_1 OFDM_16QAM_3_4

DIUC_PROFILE_1, UIUC_PROFILE_1 OFDM_64QAM_2_3

DIUC_PROFILE_1, UIUC_PROFILE_1 OFDM_64QAM_3_4

Page 30: NIST WiMAX Module

怎麼設定調變怎麼設定調變

[$SSWithWiMax set mac_(0)] set-diuc 7 The user can select the burst profile to use [1-7] by

TCL.

Note:

By default, the profile (modulation) is the same for BOTH downlink and uplink for communication between an SS and a BS.

Page 31: NIST WiMAX Module

設定設定 schedulerscheduler 與節點的連結與節點的連結

# Add scheduler [$nodeWithWiMax set mac_(0)] set-scheduler $scheduler

Page 32: NIST WiMAX Module

D/UIUC 會不會被調整 ?

Currently there is no algorithm implemented to make use of the ranging capabilities. It is used to add additional latency to the network entry. Periodic ranging and CDMA request are also not implemented.

Page 33: NIST WiMAX Module

謝謝

還有問題嗎 ?