Re: [ns] Problems with 802.11e EDCF and ns 2.31
On Jul 30, 2007, at 11:31 PM, Ciro Nicolas Correa Fenick wrote: Hello guys, i'm write from chile I have been several days fighting with this patch (802.11e EDCF) , but nothing work. Hi, just use: - ns-2.28 for the EDCA patch, or - ns-2.26 for the (mature) EDCF model. Best regards, Sven here this the problem when i doing make In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/ backward/stream.h:31, from mac/802_11e/mac-802_11e.cc:8: /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/ backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the X header for the X.h header for C++ includes, or iostream instead of the deprecated header iostream.h . To disable this warning use -Wno-deprecated. mac/802_11e/mac-802_11e.cc: In member function 'void Mac802_11e::transmit(Packet*, double)': mac/802_11e/mac-802_11e.cc:72: error: 'ETHER_HDR_LEN11' was not declared in this scope mac/802_11e/mac-802_11e.cc: At global scope: mac/802_11e/mac-802_11e.cc:113: error: scalar object 'EDCF_MMIB' requires one element in initializer mac/802_11e/mac-802_11e.cc:113: confused by earlier errors, bailing out make: *** [mac/802_11e/mac-802_11e.o] Error 1 I dont know what to do with this. Saludos a todos desde la Univerisad Diego Portales en Chile! --- Sven Wiethoelter, http://www.tkn.tu-berlin.de/~wiethoel Telecommunication Networks Group (TKN) / TU Berlin
Re: [ns] 802.11e TKN, little error. i give a nice website in return
On Jun 14, 2007, at 6:43 AM, Sim Tec wrote: Hello NS Users, Sven, Matthias, hilal, and Pepe I managed to get rid of the dh_da dh_sa problems that I mentioned in the previous post. BUT the rest of the make errors remain. I am worried now. Because this makes me think that I need to use a different version of NS, because Pete Barbe had a similar problem as seen at http://mailman.isi.edu/pipermail/ns-users/2004-December/ 046055.html Please tell me if I have to switch versions of NS. ??? Hi, the EDCA model was released for ns-2.28. Just download this version of ns-2 (http://www.isi.edu/nsnam/dist/ns-allinone-2.28.tar.gz) and install it. Afterwards, you can apply the EDCA patch. Best regards, Sven I do not know how to switch versions of NS. This is because I am new to NS. Can someone please give me quick advice on how to switch versions. Is their a quick way??? Thank you very much! Here is my Make problem: In file included from ./common/mobilenode.h:63, from mac/802_11e/mac-802_11e.cc:7: ./mobile/gridkeeper.h:17:1: warning: this is the location of the previous definition mac/802_11e/mac-802_11e.cc: In member function `void Mac802_11e::transmit(Packet*, double)': mac/802_11e/mac-802_11e.cc:72: error: `ETHER_HDR_LEN11' undeclared (first use this function) mac/802_11e/mac-802_11e.cc:72: error: (Each undeclared identifier is reported only once for each function it appears in.) mac/802_11e/mac-802_11e.cc: At global scope: mac/802_11e/mac-802_11e.cc:112: error: `EDCF_MMIB' must be initialized by constructor, not by `{...}' mac/802_11e/mac-802_11e.cc: In constructor `Mac802_11e::Mac802_11e (EDCF_PHY_MIB*, MAC_MIB*)': mac/802_11e/mac-802_11e.cc:182: error: `ETHER_ACK_LEN' undeclared (first use this function) mac/802_11e/mac-802_11e.cc: In member function `virtual int Mac802_11e::command(int, const char* const*)': ./mac/mac-802_11.h:204: error: `u_int32_t MAC_MIB::ShortRetryLimit' is private mac/802_11e/mac-802_11e.cc:240: error: within this context ./mac/mac-802_11.h:204: error: `u_int32_t MAC_MIB::ShortRetryLimit' is private mac/802_11e/mac-802_11e.cc:247: error: within this context mac/802_11e/mac-802_11e.cc: In member function `void Mac802_11e::tx_resume()': ./mac/mac-802_11.h:203: error: `u_int32_t MAC_MIB::RTSThreshold' is private mac/802_11e/mac-802_11e.cc:502: error: within this context mac/802_11e/mac-802_11e.cc: In member function `void Mac802_11e::sendHandler()': mac/802_11e/mac-802_11e.cc:590: warning: unused variable 's' mac/802_11e/mac-802_11e.cc: In member function `void Mac802_11e::send_timer()': mac/802_11e/mac-802_11e.cc:653: warning: unused variable 's' mac/802_11e/mac-802_11e.cc: In member function `int Mac802_11e::check_pktCTRL(int)': mac/802_11e/mac-802_11e.cc:728: error: `ETHER_CTS_LEN' undeclared (first use this function) mac/802_11e/mac-802_11e.cc:733: error: `ETHER_ACK_LEN' undeclared (first use this function) mac/802_11e/mac-802_11e.cc: In member function `int Mac802_11e::check_pktRTS(int)': mac/802_11e/mac-802_11e.cc:777: error: `ETHER_RTS_LEN' undeclared (first use this function) mac/802_11e/mac-802_11e.cc:780: error: `ETHER_CTS_LEN' undeclared (first use this function) mac/802_11e/mac-802_11e.cc: In member function `int Mac802_11e::check_pktTx(int)': mac/802_11e/mac-802_11e.cc:820: error: `ETHER_ACK_LEN' undeclared (first use this function) mac/802_11e/mac-802_11e.cc: In member function `void Mac802_11e::sendRTS(int, int)': ./mac/mac-802_11.h:203: error: `u_int32_t MAC_MIB::RTSThreshold' is private mac/802_11e/mac-802_11e.cc:854: error: within this context mac/802_11e/mac-802_11e.cc:863: error: `ETHER_RTS_LEN' undeclared (first use this function) mac/802_11e/mac-802_11e.cc:890: error: `ETHER_CTS_LEN' undeclared (first use this function) mac/802_11e/mac-802_11e.cc:894: error: `ETHER_ACK_LEN' undeclared (first use this function) mac/802_11e/mac-802_11e.cc: In member function `void Mac802_11e::sendCTS(int, int, double)': mac/802_11e/mac-802_11e.cc:912: error: `ETHER_CTS_LEN' undeclared (first use this function) mac/802_11e/mac-802_11e.cc: In member function `void Mac802_11e::sendACK(int, int)': mac/802_11e/mac-802_11e.cc:956: error: `ETHER_ACK_LEN' undeclared (first use this function) mac/802_11e/mac-802_11e.cc: In member function `void Mac802_11e::sendDATA(int, Packet*)': mac/802_11e/mac-802_11e.cc:997: error: `ETHER_HDR_LEN11' undeclared (first use this function) mac/802_11e/mac-802_11e.cc:1020: error: `ETHER_ACK_LEN' undeclared (first use this function) mac/802_11e/mac-802_11e.cc: In member function `void Mac802_11e::RetransmitRTS(int)': ./mac/mac-802_11.h:204: error: `u_int32_t MAC_MIB::ShortRetryLimit' is private mac/802_11e/mac-802_11e.cc:1047: error: within this context mac/802_11e/mac-802_11e.cc:1058: error: `ETHER_HDR_LEN11' undeclared (first use this function)
Re: [ns] 802.11e TKN, little error. i give a nice website in return
On Jun 11, 2007, at 8:05 AM, Sim Tec wrote: Hello I am simulating with 802.11e and would love to use TKN I have the exact same problem that many people have had, but there is no solution posted for it. Hi, the solution is always the same: Check your changes in the tcl files ;-) (see further below) -In return, here is the Best website for NS-2 that I have found on the Internet. It is a very recent website also. http://academic.csuohio.edu/yuc/mobile07/ i am trying to apply the 802.11e patch for EDCA from TKN Berlin named 'EDCA_ns-2_28-v1-0-1.tgz' on ns-2.30. i have followed all the steps given in the README, but in vein..i am getting error when i run the sample tcl script named edca_multi_udpflows.tcl provided in the package. I tried another wireless scripts using the command set val (mac) Mac/802_11e to get the following error --- invalid command name Mac/802_11e while executing Mac/802_11e create _o54 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 _o44 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 66) (Simulator create-wireless-node line 66) invoked from within _o3 create-wireless-node 1.0.0 (eval body line 1) invoked from within eval $self create-wireless-node $args (procedure _o3 line 14) (Simulator node line 14) invoked from within $ns node 1.0.0 invoked from within set BS(0) [$ns node 1.0.0] (file edca_multi_udpflows.tcl line 92) initially I thought that i might have made mistake in make the object file for mac-802_11e may not have been created, but when i checked the mac directory the object files corresponding to all the .cc scripts in the patch were present.. This relates to C++ stuff only. Tcl code is not compiled by make. Thus, a successful make is not an indication that the Tcl stuff is correct, too. what shall i do? Check all your tcl settings. I guess that step 6 of the readme has not been applied properly: 6. add to tcl/lan/ns-mac.tcl: if [TclObject is-class Mac/802_11e] { ... copy settings of MAC/802.11 (which are contained in this file) into this section and at an e at the end of the Mac/802_11 terms ... Mac/802_11e set cfb_ 0 ;# disables CFB } Best regards, Sven please someone help.. Can you please tell me how you overcame this, as I have the exact same problem. http://academic.csuohio.edu/yuc/mobile07/ Enjoy, and regards from Ireland.
Re: [ns] error in multi_udpflows.tcl its urgent...
Hi, the problem appears if the installation has not been 100 percent successful wrt the tcl files. Please check all settings described in README again, especially in Makefile.in, ns-lib.tcl, and ns-mac.tcl. BR, Sven On Aug 21, 2006, at 10:25 AM, mayank kanthali wrote: hi nsusers i have NS2.28 on my system and to work on ieee802.11e. so i downloaded the required module form http://www.tkn.tu-berlin.de/research/802.11e_ns2/ i did according to instruction given in README file. when i ran the multi_udpflows.tcl, i got the following errors ... num_nodes is set 5 wired node 0 created wired node 1 created wired node 2 created (_o56 cmd line 1) invoked from within _o56 cmd Prio 0 PF 2 invoked from within catch $self cmd $args ret invoked from within if [catch $self cmd $args ret] { set cls [$self info class] global errorInfo set savedInfo $errorInfo error error when calling class $cls: $args $... (procedure _o56 line 2) (SplitObject unknown line 2) invoked from within $ifq Prio 0 PF 2 (procedure priority line 4) invoked from within priority ifq (procedure _o45 line 91) (Node/MobileNode add-interface line 91) invoked from within $node add-interface $chan $propInstance_ $llType_ $macType_ $ifqType_ $ifqlen_ $phyType_ $antType_ $topoInstance_ $inerrProc_ $outerrProc_ $FECProc_ (procedure _o4 line 66) (Simulator create-wireless-node line 66) invoked from within _o4 create-wireless-node 1.0.0 (eval body line 1) invoked from within eval $self create-wireless-node $args (procedure _o4 line 14) (Simulator node line 14) invoked from within $ns node 1.0.0 invoked from within set BS(0) [$ns node 1.0.0] (file multi_udpflows.tcl line 92) can anyone solve it... thanks __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- Sven Wiethoelter, http://www.tkn.tu-berlin.de/~wiethoel Telecommunication Networks Group (TKN) / TU Berlin
Re: [ns] virtual collision handler in 802.11e
On Jul 25, 2006, at 7:05 PM, Aleksander Bai wrote: Does anybody know how the virtual collision handler in the TKN module for 802.11e is implemented? It seems to me they have simply omitted it.. Hi, the collision handler is included inherently in the BackoffTimer implementation. Details (and design reasons) are described in the technical reports available at project's web-site (http://www.tkn.tu- berlin.de/research/802.11e_ns2). BR, Sven Regards, Alex
Re: [ns] How to change parameters
Hi, up to now there's no other way for changing the priority parameters instead of editing priority.tcl and running make afterwards. Best regards, Sven On Jul 26, 2006, at 8:51 AM, B. A. Hirantha Sithira Abeysekera wrote: Hi all, I have installed TKN model for 802.11e and I want to know the way to change parameters like TXOP, CWmin, CWmax etc. of a special node (like Access-Point) through the simulation TCL file without editing priority. tcl and doing make all the time. I searched for ns2 mailing list but there was no any good idea to do that. Could anyone please tell me any kind of idea. Thank you! With ragards, Hirantha Abeysekera
Re: [ns] TKN 802.11e and Wireless Channell Error Model
Hi, usually the Error Model is independent of the MAC itself. If the Error Model determines that a packet is erroneous, it just sets the error flag (struct HDR_CMN) of the packet. This field is evaluated by MAC and the (same) actions are taken in the 11e as well 11 model if the packet is marked accordingly. Actually, what kind of drops did you observe in the trace for the legacy model that do not appear for 11e? Are parameters for both models similar? If the settings are different ( e.g., 11a/b/g, RTS/CTS enabled or disabled etc.) also the packet loss rate might vary greatly. Best regards, Sven On Jul 18, 2006, at 10:21 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi NS users, I have a problem with 802.11e Model of TKN of Berlin. If I set an Error Model for the wireless channel using Mac 802.11e, no one packet is dropped in the trace file. If I use the same simulation just changing MAC 802.11e with MAC 802.11 I see that some packet get lost in the wireless channell. Does anybody knows how to use Error Model with 802.11e Model? Thanks a lot, Michele Nuti
Re: [ns] Problems in the running the demo tcl in EDCF PATCH
Hi, this has been discussed on the list before: http://mailman.isi.edu/pipermail/ns-users/2004-March/040611.html Best regards, Sven On Apr 16, 2006, at 6:19 AM, Saurabh Sinha wrote: Hi I'm working on the EDCF patch : avaialble at: http://sourceforge.net/project/showfiles.php?group_id=136544. But in that i'm facing a problem in the demo tcl multi_udpflows.tcl script, that all the packets are dropped; with the warning : warning: Route to base_stn not known: dropping pkt Can any one plz get me the reason, and also the problem in the routing algo. -- Saurabh Sinha Department of Computer Science, University of Delhi.
Re: [ns] backoff decrement and transmission in 802.11e tkn code
On Mar 15, 2006, at 1:40 PM, Jongman Heo wrote: According to section 9.9.1.3 in the IEEE 802.11e standard, one and only one of the following actions is allowed at slot boundaries: - decrement of backoff timer, or - initiate transmission, or - backoff procedure due to internal collision, or - do nothing. So, 1. Backoff counter is resumed one slot time before the AIFS expiration. 2. However, since a single MAC operation per slot is permitted (backoff decrement or packet transmission), when the backoff counter decrements to 0, the station cannot transmit immediately, but has to wait for a further backoff slot if the medium is idle, or a further AIFS expiration if the medium is busy. Hi, exactly this has been included in the new EDCA model for ns-2.28. The updated backoff code can be found in mac-timers_802_11e.cc/h. Best regards, Sven I think that 802.11e TKN code is a good implementation of IEEE 802.11e. However, it seems that the implementation conforms to the requirement 1, but do not to the requirement 2. Am I correct? ps. The following paper can be a good guide. Giuseppe Bianchi, Understanding 802.11e Contention-Based Prioritization Mechanisms and Their Coexistence with Legacy 802.11 Stations, IEEE Network, 2005