pub struct StandardProfile;Expand description
Default profile: generic chip-level radio tuning only, no extended bring-up.
Trait Implementations§
Source§impl RadioProfile for StandardProfile
impl RadioProfile for StandardProfile
Source§fn tune_protocols(
&self,
kind: &Node,
_protocol: Protocol,
base: Protocols,
) -> Protocols
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
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<'_>)
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)
fn before_sta_config(&self)
Fired inside
sta_init, immediately before set_config(Station).Source§fn before_ap_config(&self)
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<'_>)
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<'_>)
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)
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§
impl Freeze for StandardProfile
impl RefUnwindSafe for StandardProfile
impl Send for StandardProfile
impl Sync for StandardProfile
impl Unpin for StandardProfile
impl UnsafeUnpin for StandardProfile
impl UnwindSafe for StandardProfile
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