|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
NIST - Bug??Hi, With the real equipment is possible to have: dlratio= 56% channel size= 3.500 mhz Frame duration= 5 mseg and dlratio= 56% channel size= 7 mhz Frame duration= 10 mseg Why that's not possible in the NIST module? with another combinations the program works, but with these ones, no.. The proof is: If i change the file datarate.tcl, after the line "# Configure Wimax" in this way: # Configure Wimax WimaxScheduler/BS set dlratio_ 0.56 Mac/802_16 set debug_ 0 Mac/802_16 set frame_duration_ 0.005 Mac/802_16 set fbandwidth_ 3.5e+6 Mac/802_16 set queue_length_ 500 Mac/802_16 set client_timeout_ 50 ;#to avoid BS disconnecting the SS I got this error message, after running the command to simulate: "Segmentation fault" and if i change to: # Configure Wimax WimaxScheduler/BS set dlratio_ 0.56 Mac/802_16 set debug_ 0 Mac/802_16 set frame_duration_ 0.010 Mac/802_16 set fbandwidth_ 7e+6 Mac/802_16 set queue_length_ 500 Mac/802_16 set client_timeout_ 50 ;#to avoid BS disconnecting the SS I got this error message, after running the command to simulate: "Couldn't schedule timer" kindly, Tiago Junqueira |
|
|
Re: NIST - Bug??Hello Tiago,
I have one question regarding WimaxScheduler/BS. I am unable to set this parameter for WIMAX, there is an error message pointing to unknown command. How did you distinguish the BS and the SS? I tried with : $BSWithWiMax node-config -macType Mac/802_16/BS -phyType Phy/WirelessPhy/OFDM and with : $SSWithWiMax node-config -macType Mac/802_16/SS -phyType Phy/WirelessPhy/OFDM but it again fails with unknown parameter "SS" or "BS". I have checked in the mac_16.cc and relative header files and no macros regarding BS and SS we defined. I do not know i am not able to use WimaxScheduler even if i am running version 2.29. I double check for the latest version but it seems that the mac-16.cc and header are the same. All help will be appreciated. Thank you in advance. Regards, Venelin
|
|
|
Re: NIST - Bug??Hi,
I didnt see the message, it wasnt sent to my mail, so i'll answer just now. Why you dont config like in the example datarate.tcl, first all the options for the configuration of the wireless node that will after be created, and then just change the different parameters for the MN or SS. If you can run that example without receiving an error message is because your sintax is not correct probably. But also probably you already solved that problem:). kindly, Tiago Junqueira $ns node-config -adhocRouting $opt(adhocRouting) \ -llType $opt(ll) \ -macType Mac/802_16/BS \ -ifqType $opt(ifq) \ -ifqLen $opt(ifqlen) \ -antType $opt(ant) \ -propType $opt(prop) \ -phyType $opt(netif) \ -channel [new $opt(chan)] \ -topoInstance $topo \ -wiredRouting ON \ -agentTrace ON \ -routerTrace ON \ -macTrace ON \ -movementTrace OFF #puts "Configuration of base station" set bstation [$ns node 1.0.0] $ns node-config -macType Mac/802_16/SS \ -wiredRouting OFF \ -macTrace ON ;# Mobile nodes cannot do routing. set wl_node [$ns node 1.0.1] ;# create the node with given @. |
|
|
Re: NIST - Bug??Hello Junkeira, Thank you for your respond. I had tried the way you described below but i again ran to the same error message: $ ns wimax1.tcl num_nodes is set 5 invalid command name "Mac/802_16/BS" while executing "Mac/802_16/BS create _o19 " invoked from within "catch "$className create $o $args" msg" invoked from within "if [catch "$className create $o $args" msg] { if [string match "__FAILED_SHADOW_OBJECT_" $msg] { delete $o return "" } global errorInfo error "class $..." (procedure "new" line 3) invoked from within "new $mactype" (procedure "_o14" line 10) (Node/MobileNode add-interface line 10) invoked from within "$node add-interface $chan $propInstance_ $llType_ $macType_ $ifqType_ $ifqlen_ $phyType_ $antType_ $topoInstance_ $inerrProc_ $outerrProc_ $FECProc_" (procedure "_o3" line 70) (Simulator create-wireless-node line 70) invoked from within "_o3 create-wireless-node" ("eval" body line 1) invoked from within "eval $self create-wireless-node $args" (procedure "_o3" line 23) (Simulator node line 23) invoked from within "$ns node" invoked from within "set node_(0) [$ns node]" (file "wimax1.tcl" line 208) Do you have any idea how to fix this one? What is wrong with my values аssigning? #=================================== # Node #=================================== $ns node-config -adhocRouting $val(rp) \ -llType $opt(ll) \ -macType Mac/802_16/BS \ ; # THIS IS THE FAILING ROW -ifqType $opt(ifq) \ -ifqLen $opt(ifqlen) \ -antType $opt(ant) \ -propType $opt(prop) \ -phyType $opt(netif) \ -channel [new $opt(chan)] \ -topoInstance $topo \ -wiredRouting ON \ -agentTrace ON \ -routerTrace ON \ -macTrace ON \ -movementTrace OFF #0Node set node_(0) [$ns node] $node_(0) set X_ 536 $node_(0) set Y_ 668 $node_(0) set Z_ 0.0 $ns initial_node_pos $node_(0) 20 $ns node-config -macType Mac/802_16/SS \ -wiredRouting OFF \ -macTrace ON . #1Node set node_(1) [$ns node] $node_(1) set X_ 676 $node_(1) set Y_ 680 $node_(1) set Z_ 0.0 $ns initial_node_pos $node_(1) 20 I am currently using NS version 2.29 and the wimax module is the embedded in it. I download this copy from here: http://140.116.72.80/~smallko/ns2/ns-allinone-2.29_wimax.rar I do not know whether this is from the version that i am using or anything else that is why all help will be very appreciated. I am looking forward to hearing from you. Thank you in advance. Best Regards, Venelin Petkov Junkeira <tiago.junkeira@...> wrote: Hi, I didnt see the message, it wasnt sent to my mail, so i'll answer just now. Why you dont config like in the example datarate.tcl, first all the options for the configuration of the wireless node that will after be created, and then just change the different parameters for the MN or SS. If you can run that example without receiving an error message is because your sintax is not correct probably. But also probably you already solved that problem:). kindly, Tiago Junqueira $ns node-config -adhocRouting $opt(adhocRouting) \ -llType $opt(ll) \ -macType Mac/802_16/BS \ -ifqType $opt(ifq) \ -ifqLen $opt(ifqlen) \ -antType $opt(ant) \ -propType $opt(prop) \ -phyType $opt(netif) \ -channel [new $opt(chan)] \ -topoInstance $topo \ -wiredRouting ON \ -agentTrace ON \ -routerTrace ON \ -macTrace ON \ -movementTrace OFF #puts "Configuration of base station" set bstation [$ns node 1.0.0] $ns node-config -macType Mac/802_16/SS \ -wiredRouting OFF \ -macTrace ON ;# Mobile nodes cannot do routing. set wl_node [$ns node 1.0.1] ;# create the node with given @. -- View this message in context: http://www.nabble.com/NIST---Bug---tf3849528.html#a11368605 Sent from the ns-users mailing list archive at Nabble.com. --------------------------------- Yahoo! Mail now has unlimited storage, which means you can have spam control and more space for those important e-mails. |
| Free embeddable forum powered by Nabble | Forum Help |