radiotap and prism header support

12 views
Skip to first unread message

mathieu...@gmail.com

unread,
May 29, 2009, 8:37:19 AM5/29/09
to nico...@gmail.com, ns-3-r...@googlegroups.com

http://codereview.appspot.com/67125/diff/1/7
File src/common/pcap-writer.h (right):

http://codereview.appspot.com/67125/diff/1/7#newcode26
Line 26: #include "ns3/wifi-mode.h"
oops, you should not include wifi headers from src/common because
src/common is supposed to be dependent on src/core and src/simulator
only. So, either you move the relevant wifi headers in src/common or you
figure out a way to make this code not depend on the wifi types.

A simple way to do this would be to replace the preambl argument with a
bool and the mode argument with an integer containing the data rate in
mbs.

http://codereview.appspot.com/67125

Reply all
Reply to author
Forward
0 new messages