InformationElements.cc
Go to the documentation of this file.
1 //
2 // Copyright (c) 2020 Fraunhofer Institute for Applied Information Technology (FIT)
3 // Network Research Group (NET)
4 // Schloss Birlinghoven, 53754 Sankt Augustin, GERMANY
5 // Contact: support@wiback.org
6 //
7 // This file is part of the SENF code tree.
8 // It is licensed under the 3-clause BSD License (aka New BSD License).
9 // See LICENSE.txt in the top level directory for details or visit
10 // https://opensource.org/licenses/BSD-3-Clause
11 //
12 
13 
17 #include "InformationElements.hh"
18 
19 // Custom includes
20 
21 #define prefix_
22 //-/////////////////////////////////////////////////////////////////////////////////////////////////
23 
32 
33 
35  const
36 {
37  os << " WLAN PowerConstraint Information Element\n"
38  << " type: " << unsigned(type()) << "\n"
39  << " length: " << unsigned(length()) << "\n"
40  << " value: " << unsigned(value()) << "\n";
41 }
42 
44  const
45 {
46  os << " WLAN SSID Information Element\n"
47  << " type: " << unsigned(type()) << "\n"
48  << " length: " << unsigned(length()) << "\n"
49  << " value: " << value() << "\n";
50 }
51 
53  const
54 {
55  os << " WLAN SupportedRates Information Element\n"
56  << " type: " << unsigned(type()) << "\n"
57  << " length: " << unsigned(length()) << "\n"
58  << " value: ToDo!\n";
59 }
60 
62  const
63 {
64  os << " WLAN Vendor Specific Information Element\n"
65  << " type: " << unsigned(type()) << "\n"
66  << " length: " << unsigned(length()) << "\n"
67  << " oui: " << std::hex << oui() << "\n"
68  << " value: ToDo!\n";
69 }
70 
72  const
73 {
74  os << " WLAN HT Capabilities Information Element\n"
75  << " type: " << unsigned(type()) << "\n"
76  << " length: " << unsigned(length()) << "\n"
77  << " value: ToDo!\n";
78 }
79 
81  const
82 {
83  os << " WLAN HT Operation Information Element\n"
84  << " type: " << unsigned(type()) << "\n"
85  << " length: " << unsigned(length()) << "\n"
86  << " value: ToDo!\n";
87 }
88 
90  const
91 {
92  os << " WLAN MeshId Information Element\n"
93  << " type: " << unsigned(type()) << "\n"
94  << " length: " << unsigned(length()) << "\n"
95  << " value: " << value() << "\n";
96 }
97 
99  const
100 {
101  os << " WLAN VHT Operation Information Element\n"
102  << " type: " << unsigned(type()) << "\n"
103  << " length: " << unsigned(length()) << "\n"
104  << " value: ToDo!\n";
105 }
106 
108  const
109 {
110  os << " WLAN VHT Operation Information Element\n"
111  << " type: " << unsigned(type()) << "\n"
112  << " length: " << unsigned(length()) << "\n"
113  << " value: ToDo!\n";
114 }
115 
116 //-/////////////////////////////////////////////////////////////////////////////////////////////////
117 #undef prefix_
118 
119 
120 // Local Variables:
121 // mode: c++
122 // fill-column: 100
123 // comment-column: 40
124 // c-file-style: "senf"
125 // indent-tabs-mode: nil
126 // ispell-local-dictionary: "american"
127 // compile-command: "scons -u test"
128 // End:
#define prefix_
WLAN Information Elements public header.
UInt8Parser length() const
void dump(std::ostream &os) const
SENF_PACKET_TLV_REGISTRY_REGISTER(senf::WLANSSIDInfoElementParser)
UInt8Parser type() const
void dump(std::ostream &os) const