IEEE 802.11 Common routines. More...
Go to the source code of this file.
Data Structures | |
struct | ieee802_11_elems |
Enumerations | |
enum | ParseRes { ParseOK = 0, ParseUnknown = 1, ParseFailed = -1 } |
Functions | |
ParseRes | ieee802_11_parse_elems (u8 *start, size_t len, struct ieee802_11_elems *elems, int show_errors) |
Parse information elements in management frames. | |
int | ieee802_11_ie_count (const u8 *ies, size_t ies_len) |
struct wpabuf * | ieee802_11_vendor_ie_concat (const u8 *ies, size_t ies_len, u32 oui_type) |
IEEE 802.11 Common routines.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
Alternatively, this software may be distributed under the terms of BSD license.
See README and COPYING for more details.
Definition in file ieee802_11_common.h.
ParseRes ieee802_11_parse_elems | ( | u8 * | start, | |
size_t | len, | |||
struct ieee802_11_elems * | elems, | |||
int | show_errors | |||
) |
Parse information elements in management frames.
start | Pointer to the start of IEs | |
len | Length of IE buffer in octets | |
elems | Data structure for parsed elements | |
show_errors | Whether to show parsing errors in debug log |
Definition at line 136 of file ieee802_11_common.c.