pub struct CsiConfig {
pub lltf_en: bool,
pub htltf_en: bool,
pub stbc_htltf2_en: bool,
pub ltf_merge_en: bool,
pub channel_filter_en: bool,
pub manu_scale: bool,
pub shift: u8,
pub dump_ack_en: bool,
}csi and unstable only.Expand description
Channel state information (CSI) configuration.
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Fields§
§lltf_en: boolEnable to receive legacy long training field(lltf) data.
htltf_en: boolEnable to receive HT long training field(htltf) data.
stbc_htltf2_en: boolEnable to receive space time block code HT long training field(stbc-htltf2) data.
ltf_merge_en: boolEnable to generate htlft data by averaging lltf and ht_ltf data when receiving HT packet. Otherwise, use ht_ltf data directly.
channel_filter_en: boolEnable to turn on channel filter to smooth adjacent sub-carrier. Disable it to keep independence of adjacent sub-carrier.
manu_scale: boolManually scale the CSI data by left shifting or automatically scale the CSI data. If set true, please set the shift bits. false: automatically. true: manually.
shift: u8Manually left shift bits of the scale of the CSI data. The range of the left shift bits is 0~15.
dump_ack_en: boolEnable to dump 802.11 ACK frame.
Trait Implementations§
impl Eq for CsiConfig
impl StructuralPartialEq for CsiConfig
Auto Trait Implementations§
impl Freeze for CsiConfig
impl RefUnwindSafe for CsiConfig
impl Send for CsiConfig
impl Sync for CsiConfig
impl Unpin for CsiConfig
impl UnsafeUnpin for CsiConfig
impl UnwindSafe for CsiConfig
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)