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
wifi-default-gcr-manager.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2023 DERONNE SOFTWARE ENGINEERING
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Author: Sébastien Deronne <sebastien.deronne@gmail.com>
7
*/
8
9
#ifndef WIFI_DEFAULT_GCR_MANAGER_H
10
#define WIFI_DEFAULT_GCR_MANAGER_H
11
12
#include "
gcr-manager.h
"
13
14
namespace
ns3
15
{
16
17
/**
18
* @ingroup wifi
19
*
20
* WifiDefaultGcrManager is the default implementation for groupcast with retries GCR, as defined in
21
* 802.11aa. Since the standard does not describe how to map GCR-capable STAs to a given GCR group,
22
* the default implementation assumes all GCR-capable STAs are part of all GCR groups. Also, it is
23
* left left open to implementation which individual address to use to use while protecting a GCR
24
* transmission. The default implementation decides to pick the address of the first associated
25
* GCR-capable STA.
26
*/
27
class
WifiDefaultGcrManager
:
public
GcrManager
28
{
29
public
:
30
/**
31
* @brief Get the type ID.
32
* @return the object TypeId
33
*/
34
static
TypeId
GetTypeId
();
35
36
WifiDefaultGcrManager
();
37
~WifiDefaultGcrManager
()
override
;
38
39
Mac48Address
GetIndividuallyAddressedRecipient
(
40
const
Mac48Address
& groupcastAddress)
const override
;
41
};
42
43
}
// namespace ns3
44
45
#endif
/* WIFI_DEFAULT_GCR_MANAGER_H */
ns3::GcrManager
GcrManager is a base class defining the API to handle 802.11aa GCR.
Definition
gcr-manager.h:49
ns3::Mac48Address
an EUI-48 address
Definition
mac48-address.h:35
ns3::TypeId
a unique identifier for an interface.
Definition
type-id.h:49
ns3::WifiDefaultGcrManager
WifiDefaultGcrManager is the default implementation for groupcast with retries GCR,...
Definition
wifi-default-gcr-manager.h:28
ns3::WifiDefaultGcrManager::~WifiDefaultGcrManager
~WifiDefaultGcrManager() override
Definition
wifi-default-gcr-manager.cc:37
ns3::WifiDefaultGcrManager::GetIndividuallyAddressedRecipient
Mac48Address GetIndividuallyAddressedRecipient(const Mac48Address &groupcastAddress) const override
Get the MAC address of the individually addressed recipient to use for a groupcast frame or for a pro...
Definition
wifi-default-gcr-manager.cc:43
ns3::WifiDefaultGcrManager::WifiDefaultGcrManager
WifiDefaultGcrManager()
Definition
wifi-default-gcr-manager.cc:32
ns3::WifiDefaultGcrManager::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition
wifi-default-gcr-manager.cc:23
gcr-manager.h
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
wifi
model
wifi-default-gcr-manager.h
Generated on Tue Apr 8 2025 15:27:20 for ns-3 by
1.11.0