A Discrete-Event Network Simulator
lorawan @ (+)
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
j
l
m
n
o
p
q
r
s
t
w
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Symbols
:
a
b
c
d
e
g
h
i
j
l
m
n
o
p
q
r
s
t
u
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
e
l
v
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
dsss-parameter-set.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2016 Sébastien Deronne
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Author: Sébastien Deronne <sebastien.deronne@gmail.com>
7
*/
8
9
#ifndef DSSS_PARAMETER_SET_H
10
#define DSSS_PARAMETER_SET_H
11
12
#include "ns3/wifi-information-element.h"
13
14
namespace
ns3
15
{
16
17
/**
18
* @brief The DSSS Parameter Set
19
* @ingroup wifi
20
*
21
* This class knows how to serialise and deserialise the DSSS Parameter Set.
22
*/
23
class
DsssParameterSet
:
public
WifiInformationElement
24
{
25
public
:
26
DsssParameterSet
();
27
28
// Implementations of pure virtual methods of WifiInformationElement
29
WifiInformationElementId
ElementId
()
const override
;
30
31
/**
32
* Set the Current Channel field in the DsssParameterSet information element.
33
*
34
* @param currentChannel the CurrentChannel field in the DsssParameterSet information element
35
*/
36
void
SetCurrentChannel
(uint8_t currentChannel);
37
38
private
:
39
uint16_t
GetInformationFieldSize
()
const override
;
40
void
SerializeInformationField
(
Buffer::Iterator
start)
const override
;
41
uint16_t
DeserializeInformationField
(
Buffer::Iterator
start, uint16_t length)
override
;
42
43
uint8_t
m_currentChannel
;
///< current channel number
44
};
23
class
DsssParameterSet
:
public
WifiInformationElement
{
…
};
45
46
}
// namespace ns3
47
48
#endif
/* DSSS_PARAMETER_SET_H */
ns3::Buffer::Iterator
iterator in a Buffer instance
Definition
buffer.h:89
ns3::DsssParameterSet
The DSSS Parameter Set.
Definition
dsss-parameter-set.h:24
ns3::DsssParameterSet::m_currentChannel
uint8_t m_currentChannel
current channel number
Definition
dsss-parameter-set.h:43
ns3::DsssParameterSet::DeserializeInformationField
uint16_t DeserializeInformationField(Buffer::Iterator start, uint16_t length) override
Deserialize information (i.e., the body of the IE, not including the Element ID and length octets)
Definition
dsss-parameter-set.cc:44
ns3::DsssParameterSet::SetCurrentChannel
void SetCurrentChannel(uint8_t currentChannel)
Set the Current Channel field in the DsssParameterSet information element.
Definition
dsss-parameter-set.cc:26
ns3::DsssParameterSet::DsssParameterSet
DsssParameterSet()
Definition
dsss-parameter-set.cc:14
ns3::DsssParameterSet::GetInformationFieldSize
uint16_t GetInformationFieldSize() const override
Length of serialized information (i.e., the length of the body of the IE, not including the Element I...
Definition
dsss-parameter-set.cc:32
ns3::DsssParameterSet::ElementId
WifiInformationElementId ElementId() const override
Get the wifi information element ID.
Definition
dsss-parameter-set.cc:20
ns3::DsssParameterSet::SerializeInformationField
void SerializeInformationField(Buffer::Iterator start) const override
Serialize information (i.e., the body of the IE, not including the Element ID and length octets)
Definition
dsss-parameter-set.cc:38
ns3::WifiInformationElement
Information element, as defined in 802.11-2007 standard.
Definition
wifi-information-element.h:285
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::WifiInformationElementId
uint8_t WifiInformationElementId
This type is used to represent an Information Element ID.
Definition
wifi-information-element.h:34
src
wifi
model
non-ht
dsss-parameter-set.h
Generated on Tue Apr 8 2025 15:27:20 for ns-3 by
1.11.0