Hi All, I tried simulating (using ns2.29) an infrastructure wireless LAN (hierarchical addressing is used) with energy model enabled, however, no trace is produced for energy consumption. The problem, I guess, is that the if statement "if (thisnode)" in the trace file is always false.
"thisnode" is defined as Node* thisnode = Node::get_node_by_address(src_). Is there any reason why this is happening. Thanks, A. Barnawi