A Discrete-Event Network Simulator
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 
27 {
28  public:
30 
35  static TypeId GetTypeId();
36 
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
Smart pointer class similar to boost::intrusive_ptr.
Definition: ptr.h:77
spectrum-aware transmit filter object
a unique identifier for an interface.
Definition: type-id.h:59
static TypeId GetTypeId()
Get the type ID.
int64_t DoAssignStreams(int64_t stream) override
Assign a fixed random variable stream number to the random variables used by this model.
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...
Every class exported by the ns3 library is enclosed in the ns3 namespace.
params
Fit Fluctuating Two Ray model to the 3GPP TR 38.901 using the Anderson-Darling goodness-of-fit ##.