libwifi 0.0.3
An 802.11 Frame Parsing and Generation library in C
|
#include "../../core/frame/management/beacon.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 "beacon.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_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 struct libwifi_frame. More... | |
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 struct libwifi_frame.
Parse useful properties from a beacon frame into a libwifi_bss.
┌─────────────────────────────────────────────┐ │ Header (Ordered or Unordered) │ ── Beacon Header ├─────────────────────────────────────────────┤ │ Fixed Parameters │ ─┐ ├─────────────────────────────────────────────┤ ├── Beacon Body │ Tagged Parameters │ ─┘ └─────────────────────────────────────────────┘