Hi , First, thanks for you reply,
I am using NS2.35 and I have followed the steps I have install the patch and when i run ./install i got many errors about " *wireless-phyExt*" mac/wireless-phyExt.cc:456:30: error: no ‘int WirelessPhyExt::getState()’ member function declared in class ‘WirelessPhyExt’ mac/wireless-phyExt.cc:477:1: error: ‘PowerTimer’ does not name a type mac/wireless-phyExt.cc:484:6: error: ‘PowerTimer’ has not been declared mac/wireless-phyExt.cc: In function ‘void expire(Event*)’: mac/wireless-phyExt.cc:487:21: error: ‘powerMonitor’ was not declared in this scope mac/wireless-phyExt.cc:488:54: error: ‘signalPower’ was not declared in this scope mac/wireless-phyExt.cc:503:2: error: ‘PowerTimerList’ was not declared in this scope mac/wireless-phyExt.cc:503:19: error: ‘plist’ was not declared in this scope mac/wireless-phyExt.cc:504:2: error: ‘PowerTimerList’ is not a class or namespace mac/wireless-phyExt.cc:504:27: error: expected ‘;’ before ‘it’ mac/wireless-phyExt.cc:506:3: error: ‘it’ was not declared in this scope mac/wireless-phyExt.cc:509:15: error: invalid use of ‘this’ in non-member function mac/wireless-phyExt.cc:519:9: error: invalid use of ‘this’ in non-member function mac/wireless-phyExt.cc: In constructor ‘PowerMonitor::PowerMonitor(WirelessPhyExt*)’: mac/wireless-phyExt.cc:529:2: error: ‘state’ was not declared in this scope mac/wireless-phyExt.cc: In member function ‘void PowerMonitor::recordPowerLevel(double, double)’: mac/wireless-phyExt.cc:536:2: error: ‘PowerTimer’ was not declared in this scope mac/wireless-phyExt.cc:536:15: error: ‘pTimer’ was not declared in this scope mac/wireless-phyExt.cc:541:16: error: expected type-specifier before ‘PowerTimer’ mac/wireless-phyExt.cc:541:16: error: expected ‘;’ before ‘PowerTimer’ mac/wireless-phyExt.cc:544:2: error: ‘powerTimerList’ was not declared in this scope mac/wireless-phyExt.cc:547:6: error: ‘state’ was not declared in this scope mac/wireless-phyExt.cc: In member function ‘virtual void PowerMonitor::expire(Event*)’: mac/wireless-phyExt.cc:604:22: error: ‘class WirelessPhyExt’ has no member named ‘getState’ make: *** [mac/wireless-phyExt.o] Error 1 *Ns make failed!* is this problem because of the NS2 version? thanks for reading my message 2014-07-03 7:01 GMT+02:00 Behnaz Bostanipour <behnaz.bostanip...@unil.ch>: > > > Begin forwarded message: > > *From: *Behnaz Bostanipour <behnaz.bostanip...@unil.ch> > *Subject: **Re: [ns] MAC 802.11p standard in NS2* > *Date: *July 3, 2014 7:00:34 AM GMT+02:00 > *To: *"ns-users@ISI.EDU" <ns-users@isi.edu> > > Hello, > look at this: > > *802.11Ext* A team from Mercedes-Benz Research and Development North > America and from University of Karlsruhe have collaborated to develop a > completely new 802.11 Mac and Phy model, called Mac802_11Ext and > WirelessPhyExt, respectively. The new model contains the following > features: > > - Structured design of MAC functionality modules: transmission, > reception, transmission coordination, reception coordination, backoff > manager, and channel state monitor > - Cumulative SINR computation > - MAC frame capture capabbilities > - Multiple modulation scheme support > - Packet drop tracing at the PHY layer > - Nakagami fading model > > This model should be used as a replacement for the existing models. The > example scripts show how to do this. > > - *Key files:* apps/pbc.{cc,h}, mac/mac-802_11Ext.{cc,h}, > mac/wireless-phyExt.{cc,h}, mobile/nakagami.{cc,h} > - *Documentation:* http://dsn.tm.uni-karlsruhe.de/Overhaul_NS-2.php > - *Example scripts:* tcl/ex/802.11/ directory: IEEE802-11a.tcl > IEEE802-11p.tcl broadcast_validation.tcl unicast_validation.tcl > - *Test suite:* tcl/test/test-suite-wireless-lan-newnode-80211Ext.tcl > > Best, > Behnaz > On Jul 2, 2014, at 11:36 PM, Hana Amira <djanah...@gmail.com> wrote: > > > Hi every body > > I would like to know how to implement of IEEE MAC 802.11p standard in NS2 > > I have followed the steps in > > https://sites.google.com/site/nahoons2/english-con/ns2-simulation-with-802-11p > but it dosen't work, > > Thanks in advance i you have any ideas about this topic > > > Thanks > > > >