Bugzilla – Bug 985
WiMAX Invalid management message type on wimax-simple
Last modified: 2010-12-28 19:42:55 UTC
Reported by kwong on ns-3-users list; I confirmed it now. Not sure it is an error or a correct output, so filing here to track. "Just downloaded ns3.9 and rerun the wimax-simple example in Verbose mode. I'm getting "Invalid management message type" error message ... scattered in the output. Have not figured out if this is significant or which module is generating this....yet."
Created attachment 986 [details] Patch to fix bug 985 The problem arises when using Pcap tracing in WiMax devices. Is an error in functions "PcapSniffTxEvent" and "PcapSniffRxEvent" in "src/helpers/wimax-helper.cc". These functions are writing captured packets to the Pcap file. These functions modify the captured packet to match the correct format in the pcap file, but this format is incorrect for WiMax device. So, when Pcap tracing is enabled in WiMax devices, BS and SS nodes can't comunicate correctly. Hence SS nodes never get registered, and Ip packets never go out! Simply working in a copy of the packet in these functions solve the problem.
*** Bug 1035 has been marked as a duplicate of this bug. ***
The proposed patch resolves the bug.