A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
Loading...
Searching...
No Matches
constant-obss-pd-algorithm.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2018 University of Washington
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Author: Sébastien Deronne <sebastien.deronne@gmail.com>
7
*/
8
9
#ifndef CONSTANT_OBSS_PD_ALGORITHM_H
10
#define CONSTANT_OBSS_PD_ALGORITHM_H
11
12
#include "
obss-pd-algorithm.h
"
13
14
namespace
ns3
15
{
16
17
/**
18
* \brief Constant OBSS PD algorithm
19
* \ingroup wifi
20
*
21
* This constant OBSS_PD algorithm is a simple OBSS_PD algorithm which evaluates if a receiving
22
* signal should be accepted or rejected based on a constant threshold.
23
*
24
* Once a HE-SIG-A has been received by the PHY, the ReceiveHeSigA method is
25
* triggered. The algorithm then checks whether this is an OBSS frame by comparing its own BSS
26
* color with the BSS color of the received preamble. If this is an OBSS frame, it compares the
27
* received RSSI with its configured OBSS_PD level value. The PHY then gets reset to IDLE state
28
* in case the received RSSI is lower than that constant OBSS PD level value, and is informed
29
* about TX power restrictions that might be applied to the next transmission.
30
*/
31
class
ConstantObssPdAlgorithm
:
public
ObssPdAlgorithm
32
{
33
public
:
34
ConstantObssPdAlgorithm
();
35
36
/**
37
* \brief Get the type ID.
38
* \return the object TypeId
39
*/
40
static
TypeId
GetTypeId
();
41
42
void
ConnectWifiNetDevice
(
const
Ptr<WifiNetDevice>
device)
override
;
43
void
ReceiveHeSigA
(
HeSigAParameters
params)
override
;
44
};
45
46
}
// namespace ns3
47
48
#endif
/* CONSTANT_OBSS_PD_ALGORITHM_H */
ns3::ConstantObssPdAlgorithm
Constant OBSS PD algorithm.
Definition
constant-obss-pd-algorithm.h:32
ns3::ConstantObssPdAlgorithm::ConnectWifiNetDevice
void ConnectWifiNetDevice(const Ptr< WifiNetDevice > device) override
Connect the WifiNetDevice and setup eventual callbacks.
Definition
constant-obss-pd-algorithm.cc:46
ns3::ConstantObssPdAlgorithm::ReceiveHeSigA
void ReceiveHeSigA(HeSigAParameters params) override
Definition
constant-obss-pd-algorithm.cc:62
ns3::ConstantObssPdAlgorithm::ConstantObssPdAlgorithm
ConstantObssPdAlgorithm()
Definition
constant-obss-pd-algorithm.cc:29
ns3::ConstantObssPdAlgorithm::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition
constant-obss-pd-algorithm.cc:36
ns3::ObssPdAlgorithm
OBSS PD algorithm interface.
Definition
obss-pd-algorithm.h:37
ns3::Ptr
Smart pointer class similar to boost::intrusive_ptr.
Definition
mpi-test-fixtures.h:37
ns3::TypeId
a unique identifier for an interface.
Definition
type-id.h:48
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
obss-pd-algorithm.h
ns3::HeSigAParameters
Parameters for received HE-SIG-A for OBSS_PD based SR.
Definition
he-phy.h:44
src
wifi
model
he
constant-obss-pd-algorithm.h
Generated on Fri Nov 8 2024 13:59:07 for ns-3 by
1.11.0