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.

Guide.

Fields

frame_control: FrameControlduration: [u8; 2]source: MacAddressdestination: MacAddresspolicy: bool

The acknowledgment policy flag.

true: No immediate acknowledgment is required.
false: Immediate acknowledgment is required.

mode: BlockAckModeacks: BlockAckInfo

The TID’s and the respective sequence control bytes, for which the BlockAck has been requested.

Trait Implementations

Returns the sender of the Frame. This isn’t always send in every frame (e.g. CTS). Read more

Returns the destination of the Frame. This should always be present. Read more

This isn’t always send in every frame (e.g. RTS).

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Converts to this type from the input type.

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.