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-units.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2024
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Authors: Jiwoong Lee <porce@berkeley.edu>
7
* Sébastien Deronne <sebastien.deronne@gmail.com>
8
*/
9
10
#ifndef WIFI_UNITS_H
11
#define WIFI_UNITS_H
12
13
#include <cstdint>
14
15
/**
16
* @file
17
* @ingroup wifi
18
* Declaration of the SI units (as weak types aliases) used across wifi module
19
*/
20
21
namespace
ns3
22
{
23
24
using
mWatt_u
=
double
;
//!< mWatt weak type
25
using
Watt_u
=
double
;
//!< Watt weak type
26
using
dBW_u
=
double
;
//!< dBW weak type
27
using
dBm_u
=
double
;
//!< dBm weak type
28
using
dB_u
=
double
;
//!< dB weak type
29
using
dBr_u
=
dB_u
;
//!< dBr weak type
30
using
Hz_u
=
double
;
//!< Hz weak type
31
using
MHz_u
=
double
;
//!< MHz weak type
32
using
meter_u
=
double
;
//!< meter weak type
33
using
ampere_u
=
double
;
//!< ampere weak type
34
using
volt_u
=
double
;
//!< volt weak type
35
using
degree_u
=
double
;
//!< degree weak type (angle)
36
using
joule_u
=
double
;
//!< joule weak type
37
using
dBm_per_Hz_u
=
double
;
//!< dBm/Hz weak type
38
using
dBm_per_MHz_u
=
double
;
//!< dBm/MHz weak type
39
40
}
// namespace ns3
41
42
#endif
// WIFI_UNITS_H
double
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::Hz_u
double Hz_u
Hz weak type.
Definition
wifi-units.h:30
ns3::MHz_u
double MHz_u
MHz weak type.
Definition
wifi-units.h:31
ns3::ampere_u
double ampere_u
ampere weak type
Definition
wifi-units.h:33
ns3::dBm_u
double dBm_u
dBm weak type
Definition
wifi-units.h:27
ns3::Watt_u
double Watt_u
Watt weak type.
Definition
wifi-units.h:25
ns3::dB_u
double dB_u
dB weak type
Definition
wifi-units.h:28
src
wifi
model
wifi-units.h
Generated on Wed Dec 4 2024 18:20:53 for ns-3 by
1.11.0