parse_action

Function parse_action 

Source
pub fn parse_action(
    frame_control: FrameControl,
    input: &[u8],
) -> Result<Frame, Error>
Expand description

Parse an Action frame.

The general structure is:

  • ManagementHeader
  • Category (indicating the type of action, e.g., spectrum management, QoS)
  • Action (specific action within the category)
  • Dynamic fields (vary depending on the category and action)