17#include "../../core/frame/tag_iterator.h"
65 const unsigned char *tagged_params = frame->
body;
int libwifi_sta_tag_parser(struct libwifi_sta *sta, struct libwifi_tag_iterator *it)
This function is a parser for common and useful tags found in frames usually originating from the STA...
int libwifi_parse_assoc_req(struct libwifi_sta *sta, struct libwifi_frame *frame)
libwifi_parse_assoc_req will parse useful fields into a struct libwifi_sta.
struct libwifi_frame_ctrl_flags flags
union libwifi_frame_header header
struct libwifi_frame_ctrl frame_control
struct libwifi_tagged_parameters tags
unsigned char transmitter[6]
A libwifi_tag_iterator is used to iterate through a list of tagged parameters in a wifi frame.
unsigned char * parameters
int libwifi_tag_iterator_init(struct libwifi_tag_iterator *it, const void *tags_start, size_t data_len)
Initialise a libwifi frame tag iterator.