16#ifndef LIBWIFI_GEN_ASSOCREQUEST_H
17#define LIBWIFI_GEN_ASSOCREQUEST_H
19#include "../../core/frame/frame.h"
20#include "../../core/frame/management/assoc_request.h"
21#include "../../core/frame/management/common.h"
35 const unsigned char receiver[6],
36 const unsigned char transmitter[6],
37 const unsigned char address3[6],
struct libwifi_radiotap_channel channel
size_t libwifi_dump_assoc_req(struct libwifi_assoc_req *assoc_req, unsigned char *buf, size_t buf_len)
Dump a libwifi_assoc_req into a raw format for packet injection.
void libwifi_free_assoc_req(struct libwifi_assoc_req *assoc_req)
Free any memory claimed by a libwifi_assoc_req back to the system.
size_t libwifi_get_assoc_req_length(struct libwifi_assoc_req *assoc_req)
Get the length of a given libwifi_assoc_req.
int libwifi_create_assoc_req(struct libwifi_assoc_req *assoc_req, const unsigned char receiver[6], const unsigned char transmitter[6], const unsigned char address3[6], const char *ssid, uint8_t channel)
Create a new association request.