libwifi 0.0.3
An 802.11 Frame Parsing and Generation library in C
reassoc_request.c File Reference
#include "reassoc_request.h"
#include "../../core/frame/tag_iterator.h"
#include "common.h"
#include <errno.h>
#include <stdlib.h>
#include <string.h>

Go to the source code of this file.

Functions

int libwifi_parse_reassoc_req (struct libwifi_sta *sta, struct libwifi_frame *frame)
 libwifi_parse_reassoc_req will parse useful fields into a struct libwifi_sta. More...
 

Function Documentation

◆ libwifi_parse_reassoc_req()

int libwifi_parse_reassoc_req ( struct libwifi_sta sta,
struct libwifi_frame frame 
)

libwifi_parse_reassoc_req will parse useful fields into a struct libwifi_sta.

Parse a reassociation request into a libwifi_sta.

This function also checks to see if the transmitter address can be ANDed with 0x02, to determine a likelihood of randomized addresses.

┌─────────────────────────────────────────────┐ │ Header (Ordered or Unordered) │ ── Ressociation Request Header ├─────────────────────────────────────────────┤ │ Fixed Parameters │ ─┐ ├─────────────────────────────────────────────┤ |── Ressociation Request Body │ Tagged Parameters │ ─┘ └─────────────────────────────────────────────┘

Definition at line 38 of file reassoc_request.c.