j'ai bien compris ces étapes 'add wimax directoru in the ns installation' veut dire dans le dossier ns-allinone ???
pourrez vous m'explique
step1: add the wimax directory in the ns installation
step2: add the tcl/wimax directory
step3: add the tcl/lib/ns-wimax.tcl file
step4: add the mac/mac-stat.h file
step5: edit Makefile.in and:
* add -I ./wimax to the list of directories to include (in the definition of INCLUDE)
* add the object files before the last line (@V_STLOBJ@) of the OBJ_CC list:
wimax/ofdmphy.o \
wimax/mac802_16pkt.o \
wimax/serviceflowqos.o \
wimax/serviceflow.o \
wimax/serviceflowhandler.o \
wimax/connection.o \
wimax/connectionmanager.o \
wimax/peernode.o \
wimax/mac802_16.o \
wimax/mac802_16SS.o \
wimax/mac802_16BS.o \
wimax/sduclassifier.o \
wimax/destclassifier.o \
wimax/mac802_16timer.o \
wimax/wimaxneighborentry.o \
wimax/neighbordb.o \
wimax/scheduling/wimaxscheduler.o \
wimax/scheduling/bsscheduler.o \
wimax/scheduling/ssscheduler.o \
wimax/scheduling/ulsubframetimer.o \
wimax/scheduling/dlsubframetimer.o \
wimax/scheduling/burst.o \
wimax/scheduling/contentionslot.o \
wimax/scheduling/contentionrequest.o \
wimax/scheduling/contentiontimer.o \
wimax/scheduling/dlburst.o \
wimax/scheduling/ulburst.o \
wimax/scheduling/framemap.o \
wimax/scheduling/phypdu.o \
wimax/scheduling/profile.o \
wimax/scheduling/subframe.o \
wimax/scheduling/scanningstation.o \
wimax/scheduling/wimaxctrlagent.o \
* add the ns-wimax.tcl entry before (@V_NS_TCL_LIB_STL@):
tcl/lib/ns-wimax.tcl \
step6: edit the file common/packet.h and add a new packet type PT_WIMAXBS into the packet_t enumeration and "name_[PT_WIMAXBS]="wimaxCtrl";" to the class p_info
step7: edit the file tcl/lib/ns-lib.tcl and add the line "source ns-wimax.tcl"
step8: edit the file tcl/lib/ns-packet.tcl and add "802_16" to the list defined in the list of packets (look for "foreach prot")
step9: re-run "./configure ; make clean ; make" in the ns-2.31 directory.
Partager