16#include "../../core/frame/management/beacon.h"
17#include "../../core/frame/frame.h"
18#include "../../core/frame/tag.h"
19#include "../../core/frame/tag_iterator.h"
20#include "../../core/misc/types.h"
21#include "../../parse/misc/security.h"
int libwifi_bss_tag_parser(struct libwifi_bss *bss, struct libwifi_tag_iterator *it)
This function is a parser for common and useful tags found in frames usually originating from the BSS...
int libwifi_parse_beacon(struct libwifi_bss *bss, struct libwifi_frame *frame)
libwifi_parse_beacon will parse useful fields out of a supplied beacon frame in the format of a struc...
uint16_t capabilities_information
struct libwifi_tagged_parameters tags
unsigned char transmitter[6]
unsigned char receiver[6]
struct libwifi_frame_ctrl_flags flags
union libwifi_frame_header header
struct libwifi_frame_ctrl frame_control
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.
#define libwifi_check_capabilities(x, cap)