libwifi 0.0.3
An 802.11 Frame Parsing and Generation library in C
assoc_response.c File Reference
#include "../../core/frame/management/assoc_response.h"
#include "../../core/frame/frame.h"
#include "../../core/frame/tag.h"
#include "../../core/frame/tag_iterator.h"
#include "../../core/misc/types.h"
#include "../../parse/misc/security.h"
#include "assoc_response.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_assoc_resp (struct libwifi_bss *bss, struct libwifi_frame *frame)
 libwifi_parse_assoc_resp will parse useful information out of a Probe Response into a struct libwifi_bss. More...
 

Function Documentation

◆ libwifi_parse_assoc_resp()

int libwifi_parse_assoc_resp ( struct libwifi_bss bss,
struct libwifi_frame frame 
)

libwifi_parse_assoc_resp will parse useful information out of a Probe Response into a struct libwifi_bss.

Parse an association response frame into a libwifi_bss.

As Probe Response frames are very similar to Beacon frames, they can be treated in much the same way.

┌─────────────────────────────────────────────┐ │ Header (Ordered or Unordered) │ ── Probe Response Header ├─────────────────────────────────────────────┤ │ Fixed Parameters │ ─┐ ├─────────────────────────────────────────────┤ ├── Probe Response Body │ Tagged Parameters │ ─┘ └─────────────────────────────────────────────┘

Definition at line 42 of file assoc_response.c.