[ns] Problems in implementing 802.11e in ns2.27

Mohammad Ibraheem Channa ibraheem_channa at hotmail.com
Mon Apr 4 02:04:02 PDT 2005


Hi all,

I found the following errors while implementing 802.11e MAC in ns-2.27.

mac/802_11e/mac-802_11e.cc: In member function `void
   Mac802_11e::transmit(Packet*, double)':
mac/802_11e/mac-802_11e.cc:72: `ETHER_HDR_LEN11' undeclared (first use this
   function)
mac/802_11e/mac-802_11e.cc:72: (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: `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: `ETHER_ACK_LEN' undeclared (first use this
   function)
mac/mac-802_11.h: In member function `virtual int Mac802_11e::command(int,
   const char* const*)':
mac/mac-802_11.h:290: `u_int32_t MAC_MIB::ShortRetryLimit' is private
mac/802_11e/mac-802_11e.cc:240: within this context
mac/mac-802_11.h:290: `u_int32_t MAC_MIB::ShortRetryLimit' is private
mac/802_11e/mac-802_11e.cc:247: within this context
mac/mac-802_11.h: In member function `void Mac802_11e::tx_resume()':
mac/mac-802_11.h:289: `u_int32_t MAC_MIB::RTSThreshold' is private
mac/802_11e/mac-802_11e.cc:502: within this context
mac/802_11e/mac-802_11e.cc: In member function `int
   Mac802_11e::check_pktCTRL(int)':
mac/802_11e/mac-802_11e.cc:728: `ETHER_CTS_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: `ETHER_RTS_LEN' undeclared (first use this
   function)
mac/mac-802_11.h: In member function `void Mac802_11e::sendRTS(int, int)':
mac/mac-802_11.h:289: `u_int32_t MAC_MIB::RTSThreshold' is private
mac/802_11e/mac-802_11e.cc:854: within this context
mac/mac-802_11.h: In member function `void Mac802_11e::RetransmitRTS(int)':
mac/mac-802_11.h:290: `u_int32_t MAC_MIB::ShortRetryLimit' is private
mac/802_11e/mac-802_11e.cc:1047: within this context
mac/mac-802_11.h: In member function `void Mac802_11e::RetransmitDATA(int)':
mac/mac-802_11.h:289: `u_int32_t MAC_MIB::RTSThreshold' is private
mac/802_11e/mac-802_11e.cc:1126: within this context
mac/mac-802_11.h:290: `u_int32_t MAC_MIB::ShortRetryLimit' is private
mac/802_11e/mac-802_11e.cc:1128: within this context
mac/mac-802_11.h:291: `u_int32_t MAC_MIB::LongRetryLimit' is private
mac/802_11e/mac-802_11e.cc:1132: within this context
mac/802_11e/mac-802_11e.cc: In member function `double
   Mac802_11e::txtime(double, double)':
mac/802_11e/mac-802_11e.cc:1484: `PLCP_HDR_LEN' undeclared (first use this
   function)
mac/mac-802_11.h: In member function `void Mac802_11e::recvDATA(Packet*)':
mac/mac-802_11.h:289: `u_int32_t MAC_MIB::RTSThreshold' is private
mac/802_11e/mac-802_11e.cc:1553: within this context
mac/mac-802_11.h: In member function `void Mac802_11e::recvACK(Packet*)':
mac/mac-802_11.h:289: `u_int32_t MAC_MIB::RTSThreshold' is private
mac/802_11e/mac-802_11e.cc:1654: within this context
mac/mac-802_11.h:289: `u_int32_t MAC_MIB::RTSThreshold' is private
mac/802_11e/mac-802_11e.cc:1668: within this context
mac/mac-802_11.h: In member function `bool 
Mac802_11e::inc_retryCounter(int)':
mac/mac-802_11.h:289: `u_int32_t MAC_MIB::RTSThreshold' is private
mac/802_11e/mac-802_11e.cc:1807: within this context
mac/mac-802_11.h:290: `u_int32_t MAC_MIB::ShortRetryLimit' is private
mac/802_11e/mac-802_11e.cc:1810: within this context
mac/mac-802_11.h:291: `u_int32_t MAC_MIB::LongRetryLimit' is private
mac/802_11e/mac-802_11e.cc:1815: within this context
make: *** [mac/802_11e/mac-802_11e.o] Error 1

If any body has some idea, kindly help me. Thanks in advance.

Regards,

Ibraheem Channa

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



More information about the Ns-users mailing list