[ns] Multiple Packet Recetion
Hello everybody, I need to simulate a multi-packet reception network. Does anybody have any sample MAC code (based on mac-802_11) which handles multiple packet reception? Any idea how I can do that? Thank you in advance, Sanaz -- View this message in context: http://www.nabble.com/Multiple-Packet-Recetion-tp25900047p25900047.html Sent from the ns-users mailing list archive at Nabble.com.
[ns] Why do I receive "Invalid MAC Control subtype"?
Dear all, Can somebody tell me why exactly the "Invalid MAC Control subtype" message is being produced by mac-802_11 module? I have changed the ACK packet structure, and have not touched MAC header. This error message that always appears only when I increase the number of nodes in the network. And this makes me believe that my modifications should not be the source of the problem. When I tracked down the problem, I understood that the packet had a correct type and subtype before the defer timer being set, but somehow, the header becomes null when the defer timer expires and MAC goes to check_pktCTRL subroutine. Any idea why this message was originally put in the check_pkt* subroutines? Or any specific reason why the header might become null? Any kind of help is really appreciated. Regards, Sanaz -- View this message in context: http://www.nabble.com/Why-do-I-receive-%22Invalid-MAC-Control-subtype%22--tp25849257p25849257.html Sent from the ns-users mailing list archive at Nabble.com.
[ns] Need expert's help for MAC-802.11 module.
Hello, I am new with NS2. I use MAC-802_11 as my reference MAC, and I need to modify it to fit my needs. Some of my ACK packets need to be processed by 2 specific nodes, instead of one. In 'Mac802_11::recv_timer' function, packets are dropped based on their receiver address in MAC802.11 header not the address in 'ack_frame', therefore I need to add an address variable to my new header. It seems that 'Mac802_11::hdr_src' and 'Mac802_11::hdr_dst' functions are responsible for setting address variables in MAC802.11 header. My problem is that I can not find any other function calling them. Can anybody tell me what invokes these 2 functions? Any help is really appreciated. Regards, Sanaz -- View this message in context: http://www.nabble.com/Need-expert%27s-help-for-MAC-802.11-module.-tp25197238p25197238.html Sent from the ns-users mailing list archive at Nabble.com.
[ns] path setting
Hi there, I tried to set the path as bellow, but it doesn't work.I'll appreciate, if someone can help. þ# .þbashrc þ# þUser specific aliases and functions þ# þSource global definitions if [ -f /etc/bashrc ]; then þ. /þetc/bashrc fi export PATH="$PATH:/root/ns-allinone-2.29/bin:/root/ns-allinone-ýý2.29/tcl8.4.11/unix:/root/ns-allinone-2.29/tk8.4.11/unixþ"þ export LD_LIBRARY_PATH="/root/ns-allinone-2.29/otcl-1.11,/root/ns-allinone-ýý2.29/libþ"þ export TCL_ LIBRARY="/root/ns-allinone-2.29/tcl8.4.11/libraryþ"þ _ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/
[ns] ns-2 examples
i'll appreciate if someone guides me how I can find some ns-2 samples for each OSI level which can be compiled correctly in NS-2. Sincerely, sanaz _ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/
[ns] [bug] tk8.4.11 make failed! Exiting
[Bug Report] - Category: Installation Failure Package: ns 2.29.3 OS:Linux-Red Hat-Fedora core4 Environment Variables: LD_LIBRARY_PATH= TCL_LIBRARY= TK_LIBRARY= - Description: Description of Problem: * Testing for Cygwin environment Cygwin not detected, proceeding with regular install. * Build XGraph-12.1 loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking if malloc debugging is wanted... no checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for X... (cached) no ..