#include <senf/Ext/NetEmu/WLAN/Regulatory.hh>
Public Types | |
enum | DFSRegion : std::uint8_t { DFSRegion::Unset = NL80211_DFS_UNSET, DFSRegion::FCC = NL80211_DFS_FCC, DFSRegion::ETSI = NL80211_DFS_ETSI, DFSRegion::JP = NL80211_DFS_JP } |
Public Member Functions | |
RegulatoryDomain () | |
operator bool () const | |
bool | operator< (RegulatoryDomain const &other) const |
bool | operator== (RegulatoryDomain const &other) const |
bool | isEqualKernel (RegulatoryDomain const &other) const |
Public Attributes | |
std::string | alpha2Country |
DFSRegion | dfsRegion |
std::set< RegulatoryRule > | rules |
Definition at line 119 of file Regulatory.hh.
|
strong |
Enumerator | |
---|---|
Unset | |
FCC | |
ETSI | |
JP |
Definition at line 123 of file Regulatory.hh.
|
inline |
Definition at line 134 of file Regulatory.hh.
bool senf::emu::RegulatoryDomain::isEqualKernel | ( | RegulatoryDomain const & | other | ) | const |
Definition at line 241 of file Regulatory.cc.
|
explicit |
Definition at line 187 of file Regulatory.cc.
bool senf::emu::RegulatoryDomain::operator< | ( | RegulatoryDomain const & | other | ) | const |
Definition at line 210 of file Regulatory.cc.
bool senf::emu::RegulatoryDomain::operator== | ( | RegulatoryDomain const & | other | ) | const |
Definition at line 193 of file Regulatory.cc.
std::string senf::emu::RegulatoryDomain::alpha2Country |
Definition at line 130 of file Regulatory.hh.
DFSRegion senf::emu::RegulatoryDomain::dfsRegion |
Definition at line 131 of file Regulatory.hh.
std::set<RegulatoryRule> senf::emu::RegulatoryDomain::rules |
Definition at line 132 of file Regulatory.hh.