fixed Bug 941 - Wifi Dcf attributes not reachable

This commit is contained in:
Nicola Baldo committed 2010-08-03 18:02:55 +02:00
1 parent ee971f238d
commit 7da27a7b09
3 files changed
+6 -7

No files matched your search

+1 -2
View File
@@ -60,7 +60,6 @@ private:
virtual void DoNotifyChannelSwitching (void) {
m_txop->NotifyChannelSwitching ();
}
DcaTxop *m_txop;
};
@@ -101,7 +100,7 @@ TypeId
DcaTxop::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::DcaTxop")
.SetParent<Object> ()
.SetParent (ns3::Dcf::GetTypeId ())
.AddConstructor<DcaTxop> ()
;
return tid;
+4 -4
View File
@@ -26,10 +26,10 @@
#include "ns3/packet.h"
#include "ns3/nstime.h"
#include "ns3/object.h"
#include "wifi-mac-header.h"
#include "wifi-mode.h"
#include "wifi-remote-station-manager.h"
#include "dcf.h"
#include "ns3/wifi-mac-header.h"
#include "ns3/wifi-mode.h"
#include "ns3/wifi-remote-station-manager.h"
#include "ns3/dcf.h"
namespace ns3 {
+1 -1
View File
@@ -124,7 +124,7 @@ TypeId
EdcaTxopN::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::EdcaTxopN")
.SetParent<Object> ()
.SetParent (ns3::Dcf::GetTypeId ())
.AddConstructor<EdcaTxopN> ()
.AddAttribute ("BlockAckThreshold", "If number of packets in this queue reaches this value,\
block ack mechanism is used. If this value is 0, block ack is never used.",