Bug 985

Summary: WiMAX Invalid management message type on wimax-simple
Product: ns-3 Reporter: Tom Henderson <tomh>
Component: wimaxAssignee: Flavio Kubota <kubota>
Status: RESOLVED FIXED    
Severity: normal CC: ns-bugs
Priority: P3    
Version: ns-3.9   
Hardware: All   
OS: All   
Attachments: Patch to fix bug 985

Description Tom Henderson 2010-08-23 21:28:38 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."
Comment 1 José Francisco Lombera 2010-09-30 02:10:58 UTC
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.
Comment 2 Tom Henderson 2010-11-30 11:06:05 UTC
*** Bug 1035 has been marked as a duplicate of this bug. ***
Comment 3 Flavio Kubota 2010-12-28 19:42:55 UTC
The proposed patch resolves the bug.