Skip to main content

StandardProfile

Struct StandardProfile 

Source
pub struct StandardProfile;
Expand description

Default profile: generic chip-level radio tuning only, no extended bring-up.

Trait Implementations§

Source§

impl RadioProfile for StandardProfile

Source§

fn tune_protocols( &self, kind: &Node, _protocol: Protocol, base: Protocols, ) -> Protocols

Adjust the protocol set before it is applied. base is Protocols::default().with_2_4(only(protocol)); return it unchanged to keep the default, or rebuild it entirely.
Source§

fn wants_bringup(&self, _kind: &Node, _protocol: Option<Protocol>) -> bool

Whether this profile takes over the extended bring-up sequence (bandwidth lock / pre-config forcing / post-config re-apply) for the given node and requested protocol. false keeps the plain path.
Source§

fn apply_bandwidth(&self, _controller: &mut WifiController<'_>)

Lock/adjust bandwidth just before station bring-up (only called when Self::wants_bringup is true).
Source§

fn before_sta_config(&self)

Fired inside sta_init, immediately before set_config(Station).
Source§

fn before_ap_config(&self)

Fired inside ap_init’s recv-suspended closure, immediately before set_config(AccessPoint).
Source§

fn apply_protocols_post(&self, _controller: &mut WifiController<'_>)

Re-apply protocols after a set_config restart (station and AP paths).
Source§

fn apply_sniffer_radio(&self, _controller: &mut WifiController<'_>)

Radio setup for the promiscuous sniffer path after the channel lock.
Source§

fn tune_csi_acquisition(&self, _raw: &mut CsiConfig)

Mutate the raw esp-radio CSI config before it is applied, e.g. to enable additional acquisition modes. Default leaves it untouched.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.