libwifi 0.0.3
An 802.11 Frame Parsing and Generation library in C
|
#include "../../core/frame/frame.h"
#include "../../core/frame/management/assoc_request.h"
#include "../../core/frame/management/common.h"
Go to the source code of this file.
Functions | |
int | libwifi_parse_assoc_req (struct libwifi_sta *sta, struct libwifi_frame *frame) |
Parse a association request into a libwifi_sta. More... | |
int libwifi_parse_assoc_req | ( | struct libwifi_sta * | sta, |
struct libwifi_frame * | frame | ||
) |
Parse a association request into a libwifi_sta.
sta | A libwifi_sta |
frame | A libwifi_frame |
Parse a association 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) │ ── Association Request Header ├─────────────────────────────────────────────┤ │ Fixed Parameters │ ─┐ ├─────────────────────────────────────────────┤ ├── Association Request Body │ Tagged Parameters │ ─┘ └─────────────────────────────────────────────┘
Definition at line 38 of file assoc_request.c.