mac 802.11p

282 views
Skip to first unread message

aziz.sa...@gmail.com

unread,
Jun 12, 2017, 10:32:56 PM6/12/17
to Network Simulator 2 (NS2)
Hello, Who can offer me the protocol patch mac 802.11p. thank you

knudfl

unread,
Jun 13, 2017, 8:07:21 AM6/13/17
to Network Simulator 2 (NS2)
Please do not shout : Huge characters means shouting !

802.11p : 802_11Ext, already included since ns-2.33 :
See e.g. ns-2.35/mac/{mac-802_11Ext.cc, mac-802_11Ext.h, wireless-phyExt.cc, wireless-phyExt.h}

Examples, 802.11p : ns-2.35/tcl/ex/802.11/{ broadcast_validation.tcl, unicast_validation.tcl }
... and the code snippets ns-2.35/tcl/ex/802.11/{ IEEE802-11a.tcl, IEEE802-11p.tcl }.

Other 802.11p example  https://groups.google.com/forum/?fromgroups#!topic/ns-users/GvYSQrRh96E

-------------------------------



knudfl

unread,
Jun 13, 2017, 8:48:07 AM6/13/17
to Network Simulator 2 (NS2)
Other examples, 802.11p :   n-802.11p-vanet.tcl, 802_11p-vanet.tcl

→ Vanet-examples-Jun05.17.tar.gz
→ → https://drive.google.com/file/d/0B7S255p3kFXNVkpnall5bzNIcW8/view?usp=sharing

----------------------------------

aziz slem

unread,
Jun 13, 2017, 9:38:17 PM6/13/17
to ns-u...@googlegroups.com
thank you sir

--
You received this message because you are subscribed to a topic in the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-users/EQNIrAWSueM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-users+unsubscribe@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.
For more options, visit https://groups.google.com/d/optout.

aziz slem

unread,
Jun 14, 2017, 2:21:09 PM6/14/17
to ns-u...@googlegroups.com
i have this error sir:


lazid@lazid-VirtualBox:~/test2.35/ns2/ns-allinone-2.35/ns-2.35/ex-vanet-Jun05.17$ ns urban-VANET-t30.tcl invalid command name "Agent/OLSR" while executing "Agent/OLSR set use_mac_ true" (file "urban-VANET-t30.tcl" line 123)

knudfl

unread,
Jun 14, 2017, 4:14:24 PM6/14/17
to Network Simulator 2 (NS2)
@aziz slem :   Please do not use colors for text. Makes the text unreadable.
Color is for a single word. But bold should be preferred for a single word: The B botton.

For code, and for error output it is the code button : {} , like this
lazid@lazid-VirtualBox:~/test2.35/ns2/ns-allinone-2.35/ns-2.35/ex-vanet-Jun05.17$ ns urban-VANET-t30.tcl
invalid command name
"Agent/OLSR"
   
while executing
"Agent/OLSR set use_mac_    true"
   
(file "urban-VANET-t30.tcl" line 123)

OK, it is the Vanet examples, and OLSR is an often used protocol because the included GSR:
Geographic Source Routing.

The idea of the Vanet-examples download link was to let you have the two default 802.11p examples ...
802_11p-vanet.tcl, n-802.11p-vanet.tcl


OLSR : https://groups.google.com/forum/?fromgroups#!topic/ns-users/5fgmU2nfEFs → Apr 10 2017.

Note: You can have as many ns-allinone-2.(35) as you want, installed at the same time.
But : Do never add any *PATH text to .bashrc . Not required.

-------------------------------


aziz slem

unread,
Jun 15, 2017, 1:57:44 PM6/15/17
to ns-u...@googlegroups.com
thank you sir

knudfl

unread,
Jun 15, 2017, 4:15:53 PM6/15/17
to Network Simulator 2 (NS2)
@aziz slem :   Easy to create new examples,  802_11p
https://sites.google.com/site/nahoons2/english-con/ns2-simulation-with-802-11p
source IEEE802-11p-2008-10-29.tcl   ;#Set to your 802-11P.tcl path

#Change Phy and Mac
set val(netif)          Phy/WirelessPhyExt            ;# network interface type
set val(mac)            Mac/802_11Ext                 ;# MAC type

Three random examples .... DSDV, DSR, AODV were edited to 802_11Ext : Attached ... + IEEE802-11p-2008-10-29.tcl
Note :
The file IEEE802-11p-2008-10-29.tcl is different (and a few days younger) than the ns-2.xx file IEEE802-11p.tcl
----------------------


On Thursday, June 15, 2017 at 7:57:44 PM UTC+2, aziz slem wrote:
thank you sir

2017-06-14 22:14 GMT+02:00 knudfl <knu...@ofir.dk>:
@aziz slem :   Please do not use colors for text. Makes the text unreadable.
Color is for a single word. But bold should be preferred for a single word: The B botton.

For code, and for error output it is the code button : {} , like this
lazid@lazid-VirtualBox:~/test2.35/ns2/ns-allinone-2.35/ns-2.35/ex-vanet-Jun05.17$ ns urban-VANET-t30.tcl
invalid command name
"Agent/OLSR"
   
while executing
"Agent/OLSR set use_mac_    true"
   
(file "urban-VANET-t30.tcl" line 123)

OK, it is the Vanet examples, and OLSR is an often used protocol because the included GSR:
Geographic Source Routing.

The idea of the Vanet-examples download link was to let you have the two default 802.11p examples ...
802_11p-vanet.tcl, n-802.11p-vanet.tcl


OLSR : https://groups.google.com/forum/?fromgroups#!topic/ns-users/5fgmU2nfEFs → Apr 10 2017.

Note: You can have as many ns-allinone-2.(35) as you want, installed at the same time.
But : Do never add any *PATH text to .bashrc . Not required.

-------------------------------


--
You received this message because you are subscribed to a topic in the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-users/EQNIrAWSueM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-users+u...@googlegroups.com.
p-802.11p_aodv-10.tcl
IEEE802-11p-2008-10-29.tcl
DSR_802.11p_-50-2015.tcl
02-802.11p_msg12973.tcl

adil sheraz

unread,
Jun 21, 2017, 4:17:51 PM6/21/17
to Network Simulator 2 (NS2)
Dear Sir knudfl,
I need some guidance to work on 802.15.4 specially for nodes/Coordinator association, could you plz guide me with some helping material to understand the existing codes in nsallinone~/wpan directory. or with some modified patches???
plz sir help me I am stucked...

adil sheraz

unread,
Jun 21, 2017, 4:18:40 PM6/21/17
to Network Simulator 2 (NS2)
Dear Sir knudfl,
I need some guidance to work on 802.15.4 specially for nodes/Coordinator association, could you plz guide me with some helping material to understand the existing codes in nsallinone~/wpan directory. or with some modified patches???
plz sir help me I am stucked...

knudfl

unread,
Jun 21, 2017, 4:31:48 PM6/21/17
to Network Simulator 2 (NS2)
@adil sheraz :    This thread is about 802_11p.

Please start a new thread with your 802.15.4 questions.

--------------------------------------------------------------------
Reply all
Reply to author
Forward
0 new messages