pub enum WlanPhyType {
Dsss,
Hr,
Ofdm,
Erp,
Ht,
Dmg,
Vht,
Tvht,
S1G,
Cdmg,
Cmmg,
He,
// some variants omitted
}
Expand description
PHY types supporting different MCS and payload data rates. Based off of dot11PHYType from IEEE 802.11-2016/2020 Annex C + Amendments
Variants§
Dsss
IEEE 802.11-2016 Clause 15: Direct Sequence Spread Spectrum Supports 1, 2 Mbps.
Hr
IEEE 802.11-2016 Clause 16: High Rate DSSS Supports 5.5, 11 Mbps. Also referred to as ERP-CCK
Ofdm
IEEE 802.11a/g or IEEE 802.11-2016 Clause 17: Orthogonal Frequency Division Multiplexing Supports 6, 9, 12, 18, 24, 36, 48, and 54 Mbps.
Erp
IEEE 802.11g or IEEE 802.11-2016 Clause 18: Extended Rate PHY Supports 1, 2, 5.5, 11, 12, 24 Mbps + optionally 6, 54 Mbps. Encompasses DSSS/HR/OFDM rates and modulation.
Ht
IEEE 802.11n or IEEE 802.11-2016 Clause 19: High Throughput PHY Supports rates up to 495 Mbps.
Dmg
802.11ad or IEEE 802.11-2016 Clause 20: Directional Multi-Gigabit PHY
Vht
IEEE 802.11ac or IEEE 802.11-2016 Clause 21: Very High Throughput PHY Supports rates up to 6.9 Gbps.
Tvht
IEEE 802.11af or IEEE 802.11-2016 Clause 22: Television Very High Throughput PHY Supports rates of up to 568.9 Mbps in TV spectrum
S1G
IEEE 802.11ah or IEEE 802.11-2020 Clause 23: Sub 1-GHz PHY
Cdmg
IEEE 802.11aj or IEEE 802.11-2020 Clause 24: China Directional Multi-Gigabit PHY
Cmmg
IEEE 802.11aj or IEEE 802.11-2020 Clause 25: China Millimeter-wave Multi-Gigabit PHY
He
IEEE 802.11ax: High Efficiency PHY Supports rates of up to 9.6 Gbps (whew!)
Implementations§
Source§impl WlanPhyType
impl WlanPhyType
pub fn from_primitive(prim: u32) -> Option<Self>
pub fn from_primitive_allow_unknown(prim: u32) -> Self
pub fn unknown() -> Self
pub const fn into_primitive(self) -> u32
pub fn is_unknown(&self) -> bool
Trait Implementations§
Source§impl Clone for WlanPhyType
impl Clone for WlanPhyType
Source§fn clone(&self) -> WlanPhyType
fn clone(&self) -> WlanPhyType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for WlanPhyType
impl Debug for WlanPhyType
Source§impl<D: ResourceDialect> Decode<WlanPhyType, D> for WlanPhyType
impl<D: ResourceDialect> Decode<WlanPhyType, D> for WlanPhyType
Source§impl<D: ResourceDialect> Encode<WlanPhyType, D> for WlanPhyType
impl<D: ResourceDialect> Encode<WlanPhyType, D> for WlanPhyType
Source§impl Hash for WlanPhyType
impl Hash for WlanPhyType
Source§impl Ord for WlanPhyType
impl Ord for WlanPhyType
Source§fn cmp(&self, other: &WlanPhyType) -> Ordering
fn cmp(&self, other: &WlanPhyType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for WlanPhyType
impl PartialEq for WlanPhyType
Source§impl PartialOrd for WlanPhyType
impl PartialOrd for WlanPhyType
Source§impl TypeMarker for WlanPhyType
impl TypeMarker for WlanPhyType
Source§type Owned = WlanPhyType
type Owned = WlanPhyType
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align
.Source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read moreSource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.Source§impl ValueTypeMarker for WlanPhyType
impl ValueTypeMarker for WlanPhyType
Source§type Borrowed<'a> = WlanPhyType
type Borrowed<'a> = WlanPhyType
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read more