A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
wifi-bandwidth-filter.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022 University of Washington
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation;
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program; if not, write to the Free Software
15
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
*/
17
18
#ifndef WIFI_BANDWIDTH_FILTER_H
19
#define WIFI_BANDWIDTH_FILTER_H
20
21
#include <ns3/spectrum-transmit-filter.h>
22
23
namespace
ns3
24
{
25
26
class
WifiBandwidthFilter
:
public
SpectrumTransmitFilter
27
{
28
public
:
29
WifiBandwidthFilter
();
30
35
static
TypeId
GetTypeId
();
36
46
bool
DoFilter
(
Ptr<const SpectrumSignalParameters>
params
,
47
Ptr<const SpectrumPhy>
receiverPhy)
override
;
48
49
protected
:
50
int64_t
DoAssignStreams
(int64_t stream)
override
;
51
};
52
53
}
// namespace ns3
54
55
#endif
ns3::Ptr
Smart pointer class similar to boost::intrusive_ptr.
Definition:
ptr.h:77
ns3::SpectrumTransmitFilter
spectrum-aware transmit filter object
Definition:
spectrum-transmit-filter.h:40
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:59
ns3::WifiBandwidthFilter
Definition:
wifi-bandwidth-filter.h:27
ns3::WifiBandwidthFilter::WifiBandwidthFilter
WifiBandwidthFilter()
Definition:
wifi-bandwidth-filter.cc:36
ns3::WifiBandwidthFilter::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition:
wifi-bandwidth-filter.cc:42
ns3::WifiBandwidthFilter::DoAssignStreams
int64_t DoAssignStreams(int64_t stream) override
Assign a fixed random variable stream number to the random variables used by this model.
Definition:
wifi-bandwidth-filter.cc:141
ns3::WifiBandwidthFilter::DoFilter
bool DoFilter(Ptr< const SpectrumSignalParameters > params, Ptr< const SpectrumPhy > receiverPhy) override
Ignore the signal being received if it is a Wi-Fi PPDU whose TX band (including guard bands) does not...
Definition:
wifi-bandwidth-filter.cc:52
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
two-ray-to-three-gpp-ch-calibration.params
params
Fit Fluctuating Two Ray model to the 3GPP TR 38.901 using the Anderson-Darling goodness-of-fit ##.
Definition:
two-ray-to-three-gpp-ch-calibration.py:514
src
wifi
model
wifi-bandwidth-filter.h
Generated on Sun Mar 3 2024 17:11:12 for ns-3 by
1.9.1