This code simuates the Superframe Structure, CAP(CSMA), CFP(GTS) and Synchronization in STAR topology of the IEEE 802.15.4 Standards. Other parts, such as PAN coordinator association/disassociation, are not implemented. Four major files are in the mac directory: mac-802_15_4-type.h Packet format defined in the IEEE 802.15.4 standard, such as beacon structure mac-802_15_4.h Data structure used in the simulation mac-802_15_4-timer.h Timers used in the simulation mac-802_15_4.cc The implementation There are also some modifications to tcl/lib/ns-lib.tcl, tcl/lib/ns-mobilenode.tcl, etc. A sample tcl code is in the pan directory: cbr-49-test-3 Defines the traffic load in the simulation scen-49-test Defines the topology of the simulation, as well as some configuration cbrgrid.tcl The configuration file for the simulation Author: Gang Lu, ganglu@usc.edu June 15, 2004 Autonomous Networks Research Group, USC http://ceng.usc.edu/~anrg/ *************** Important Notes ********************* Update 2:40 PM 7/30/2004 Our apologies. we just realized Two files are missing in the source code. Please copy the mac-802_11.h and mac-802_11.cc files from any NS2 distribution to the mac folder of the untared code. We will be updating the tar file with these shortly.