17 #ifndef HH_SENF_Ext_NetEmu_WLAN_WLANInterface_ 18 #define HH_SENF_Ext_NetEmu_WLAN_WLANInterface_ 1 28 class WLANModulationParameterRegistry;
42 static boost::uint16_t
modulationId(
Type _type,
unsigned _rate,
unsigned _bandwidth,
43 unsigned _index,
unsigned _streams,
bool _shortGI);
47 unsigned _bandwidth,
Type _type,
unsigned _streams=1,
48 unsigned _index=0,
bool _shortGI=
false);
50 virtual boost::uint16_t v_modulationId()
const;
52 virtual void v_dump(std::ostream & os)
const;
53 virtual void v_dumpTableHeader(std::ostream & os)
const;
54 virtual void v_dumpTableRow(std::ostream & os)
const;
63 :
private boost::noncopyable
78 static std::vector<LegacyModulationInfo> getLegacyModulationInfos11b();
79 static std::vector<LegacyModulationInfo> getLegacyModulationInfosOFDM();
98 typedef boost::unordered_map<ModulationParameter::id_t, WLANModulationParameter> Modulations;
99 Modulations modulations_;
100 boost::unordered_map<boost::uint16_t, ModulationParameter::id_t> idMap_;
110 template <
class Output,
class Input>
120 unsigned maxNSS()
const;
126 virtual boost::uint8_t v_linkTypeId()
const;
WirelessInterfaceAPI public header.
static boost::uint16_t modulationId(Type _type, unsigned _rate, unsigned _bandwidth, unsigned _index, unsigned _streams, bool _shortGI)
unsigned bandwidth
Bandwidth in KHz.
Wireless modulation parameter.
SENF_CONSOLE_REGISTER_ENUM_MEMBER(DVBModulationParameter, fec_rate_t,(FEC_NONE)(FEC_1_2)(FEC_2_3)(FEC_3_4)(FEC_4_5)(FEC_5_6)(FEC_6_7)(FEC_7_8)(FEC_8_9)(FEC_AUTO)(FEC_3_5)(FEC_9_10))
Interface API base class specialization for wireless interfaces.
unsigned rate
Bitrate in kbit/s.
friend class WLANModulationParameterRegistry
Receive capable wireless interface base class.
boost::uint8_t linkTypeId
static WLANModulationParameterRegistry & instance()
Transmit capable wireless interface base class.
ModulationParameter::id_t modulation() const
Get current modulation parameter configuration id.