libwifi 0.0.3
An 802.11 Frame Parsing and Generation library in C
|
#include "radiotap.h"
#include "../../core/radiotap/radiotap_iter.h"
#include <errno.h>
#include <endian.h>
#include <stdint.h>
Go to the source code of this file.
Functions | |
int | libwifi_parse_radiotap_info (struct libwifi_radiotap_info *info, const unsigned char *frame, size_t frame_len) |
The libwifi radiotap parser uses the usual ieee80211_radiotap_iterator to parse incoming radiotap headers into a consumable libwifi_radiotap_info struct. More... | |
int8_t | libwifi_parse_radiotap_rssi (const unsigned char *frame) |
A simpler function than the main libwifi_parse_radiotap_info function, designed to extract only the signal strength field. More... | |
int libwifi_parse_radiotap_info | ( | struct libwifi_radiotap_info * | info, |
const unsigned char * | frame, | ||
size_t | frame_len | ||
) |
The libwifi radiotap parser uses the usual ieee80211_radiotap_iterator to parse incoming radiotap headers into a consumable libwifi_radiotap_info struct.
Parse the radiotap information out of a raw frame into a libwifi_radiotap_info.
Definition at line 27 of file radiotap.c.
int8_t libwifi_parse_radiotap_rssi | ( | const unsigned char * | frame | ) |
A simpler function than the main libwifi_parse_radiotap_info function, designed to extract only the signal strength field.
Retrieve the signal strength from a raw frame via radiotap header.
Definition at line 115 of file radiotap.c.