Struct netlink_wi::wiphy::Frequency
source · pub struct Frequency {
pub frequency: u32,
pub disabled: bool,
pub no_ir: bool,
pub radar_detection: bool,
pub max_tx_power: u32,
}
Expand description
Frequency information.
Fields§
§frequency: u32
Frequency in MHz.
disabled: bool
Channel is disabled in current regulatory domain.
no_ir: bool
No mechanisms that initiate radiation are permitted on this channel.
radar_detection: bool
Radar detection is mandatory on this channel in current regulatory domain.
max_tx_power: u32
Maximum transmission power in mBm (100 * dBm).
Trait Implementations§
source§impl TryFrom<AttrHandle<'_, GenlBuffer<FrequencyAttr, Buffer>, Nlattr<FrequencyAttr, Buffer>>> for Frequency
impl TryFrom<AttrHandle<'_, GenlBuffer<FrequencyAttr, Buffer>, Nlattr<FrequencyAttr, Buffer>>> for Frequency
Auto Trait Implementations§
impl RefUnwindSafe for Frequency
impl Send for Frequency
impl Sync for Frequency
impl Unpin for Frequency
impl UnwindSafe for Frequency
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more