--- a/src/devices/wifi/dsss-error-rate-model.cc Tue Jun 15 10:28:51 2010 -0700
+++ b/src/devices/wifi/dsss-error-rate-model.cc Tue Jun 15 11:27:51 2010 -0700
@@ -17,8 +17,11 @@
*
* Author: Gary Pei <guangyu.pei@boeing.com>
*/
+#include "ns3/log.h"
#include "dsss-error-rate-model.h"
+NS_LOG_COMPONENT_DEFINE ("DsssErrorRateModel");
+
namespace ns3 {
#ifndef ENABLE_GSL
--- a/src/helper/wifi-helper.cc Tue Jun 15 10:28:51 2010 -0700
+++ b/src/helper/wifi-helper.cc Tue Jun 15 11:27:51 2010 -0700
@@ -135,6 +135,7 @@
LogComponentEnable ("Cara", LOG_LEVEL_ALL);
LogComponentEnable ("DcaTxop", LOG_LEVEL_ALL);
LogComponentEnable ("DcfManager", LOG_LEVEL_ALL);
+ LogComponentEnable ("DsssErrorRateModel", LOG_LEVEL_ALL);
LogComponentEnable ("EdcaTxopN", LOG_LEVEL_ALL);
LogComponentEnable ("InterferenceHelper", LOG_LEVEL_ALL);
LogComponentEnable ("Jakes", LOG_LEVEL_ALL);
@@ -142,6 +143,7 @@
LogComponentEnable ("MacRxMiddle", LOG_LEVEL_ALL);
LogComponentEnable ("MsduAggregator", LOG_LEVEL_ALL);
LogComponentEnable ("MsduStandardAggregator", LOG_LEVEL_ALL);
+ LogComponentEnable ("NistErrorRateModel", LOG_LEVEL_ALL);
LogComponentEnable ("NqapWifiMac", LOG_LEVEL_ALL);
LogComponentEnable ("NqstaWifiMac", LOG_LEVEL_ALL);
LogComponentEnable ("OnoeWifiRemoteStation", LOG_LEVEL_ALL);