pub struct BlockAck {
pub frame_control: FrameControl,
pub duration: [u8; 2],
pub source: MacAddress,
pub destination: MacAddress,
pub policy: bool,
pub mode: BlockAckMode,
pub acks: BlockAckInfo,
}
Expand description
Used in a BlockAck session to request acknowledgment of sent packets.
Once the BlockAck session is established the AP and the requesting station can partake in a contention free burst within the scope of the session. After the frame burst is complete, the WLAN station will send a BlockAckRequest to the AP requesting the AP to acknowledge the frames the station just sent.
The AP will then respond with a BlockAck frame, acknowledging all received packets.
Fields
frame_control: FrameControl
duration: [u8; 2]
source: MacAddress
destination: MacAddress
policy: bool
The acknowledgment policy flag.
true
: No immediate acknowledgment is required.
false
: Immediate acknowledgment is required.
mode: BlockAckMode
acks: BlockAckInfo
The TID’s and the respective sequence control bytes, for which the BlockAck has been requested.
Trait Implementations
sourceimpl Addresses for BlockAck
impl Addresses for BlockAck
sourcefn src(&self) -> Option<&MacAddress>
fn src(&self) -> Option<&MacAddress>
Returns the sender of the Frame. This isn’t always send in every frame (e.g. CTS). Read more
sourcefn dest(&self) -> &MacAddress
fn dest(&self) -> &MacAddress
Returns the destination of the Frame. This should always be present. Read more
sourcefn bssid(&self) -> Option<&MacAddress>
fn bssid(&self) -> Option<&MacAddress>
This isn’t always send in every frame (e.g. RTS).
Auto Trait Implementations
impl RefUnwindSafe for BlockAck
impl Send for BlockAck
impl Sync for BlockAck
impl Unpin for BlockAck
impl UnwindSafe for BlockAck
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more