Bugzilla – Full Text Bug Listing |
Summary: | Set Radiotap modulation type flags correctly | ||
---|---|---|---|
Product: | ns-3 | Reporter: | Dean Armstrong <deanarm> |
Component: | wifi | Assignee: | Nicola Baldo <nicola> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | deanarm, ns-bugs |
Priority: | P5 | ||
Version: | ns-3-dev | ||
Hardware: | All | ||
OS: | All | ||
Attachments: |
minimal patch
corrected minimal patch |
Description
Dean Armstrong
2011-02-28 06:39:22 EST
Thank for this contribution! Radiotap support was introduced before 802.11g support, so you're right it should be fixed. The biggest issue I see in your proposed change is here: http://code.nsnam.org/deanarm/ns-3-dev-wifi-spectrum/rev/110ddcce20bb I see that you replaced the PHY rate with a WifiMode. The current design was chosen to avoid introducing a dependency on the wifi module: http://groups.google.com/group/ns-3-reviews/browse_thread/thread/7e59007015ac4fa4/d5aa7dc657cd9987?lnk=gst&q=radiotap#d5aa7dc657cd9987 I am not sure wheter this problem is still actual, after the PCAP helper refactoring and the recent module refactoring. Created attachment 1063 [details]
minimal patch
Here is a minimal patch that should fix the problem without changing the PcapSniff API.
Created attachment 1064 [details]
corrected minimal patch
whoops I forgot the TX and RX events are separate
I did some tests and the new proposed patch works correctly, hence I pushed it. changeset: 7012:67ca195ea166 |