#include "includes.h"
#include "common.h"
#include "wps_i.h"
#include "wps_dev_attr.h"
Go to the source code of this file.
Functions | |
static int | wps_build_dev_name (struct wps_device_data *dev, struct wpabuf *msg) |
int | wps_build_device_attrs (struct wps_device_data *dev, struct wpabuf *msg) |
static int | wps_build_manufacturer (struct wps_device_data *dev, struct wpabuf *msg) |
static int | wps_build_model_name (struct wps_device_data *dev, struct wpabuf *msg) |
static int | wps_build_model_number (struct wps_device_data *dev, struct wpabuf *msg) |
int | wps_build_os_version (struct wps_device_data *dev, struct wpabuf *msg) |
int | wps_build_primary_dev_type (struct wps_device_data *dev, struct wpabuf *msg) |
int | wps_build_rf_bands (struct wps_device_data *dev, struct wpabuf *msg) |
static int | wps_build_serial_number (struct wps_device_data *dev, struct wpabuf *msg) |
void | wps_device_data_dup (struct wps_device_data *dst, const struct wps_device_data *src) |
void | wps_device_data_free (struct wps_device_data *dev) |
static int | wps_process_dev_name (struct wps_device_data *dev, const u8 *str, size_t str_len) |
int | wps_process_device_attrs (struct wps_device_data *dev, struct wps_parse_attr *attr) |
static int | wps_process_manufacturer (struct wps_device_data *dev, const u8 *str, size_t str_len) |
static int | wps_process_model_name (struct wps_device_data *dev, const u8 *str, size_t str_len) |
static int | wps_process_model_number (struct wps_device_data *dev, const u8 *str, size_t str_len) |
int | wps_process_os_version (struct wps_device_data *dev, const u8 *ver) |
static int | wps_process_primary_dev_type (struct wps_device_data *dev, const u8 *dev_type) |
int | wps_process_rf_bands (struct wps_device_data *dev, const u8 *bands) |
static int | wps_process_serial_number (struct wps_device_data *dev, const u8 *str, size_t str_len) |
static int wps_build_dev_name | ( | struct wps_device_data * | dev, | |
struct wpabuf * | msg | |||
) | [static] |
Definition at line 124 of file wps_dev_attr.c.
int wps_build_device_attrs | ( | struct wps_device_data * | dev, | |
struct wpabuf * | msg | |||
) |
Definition at line 146 of file wps_dev_attr.c.
static int wps_build_manufacturer | ( | struct wps_device_data * | dev, | |
struct wpabuf * | msg | |||
) | [static] |
Definition at line 22 of file wps_dev_attr.c.
static int wps_build_model_name | ( | struct wps_device_data * | dev, | |
struct wpabuf * | msg | |||
) | [static] |
Definition at line 45 of file wps_dev_attr.c.
static int wps_build_model_number | ( | struct wps_device_data * | dev, | |
struct wpabuf * | msg | |||
) | [static] |
Definition at line 68 of file wps_dev_attr.c.
int wps_build_os_version | ( | struct wps_device_data * | dev, | |
struct wpabuf * | msg | |||
) |
Definition at line 159 of file wps_dev_attr.c.
int wps_build_primary_dev_type | ( | struct wps_device_data * | dev, | |
struct wpabuf * | msg | |||
) |
Definition at line 114 of file wps_dev_attr.c.
int wps_build_rf_bands | ( | struct wps_device_data * | dev, | |
struct wpabuf * | msg | |||
) |
Definition at line 169 of file wps_dev_attr.c.
static int wps_build_serial_number | ( | struct wps_device_data * | dev, | |
struct wpabuf * | msg | |||
) | [static] |
Definition at line 91 of file wps_dev_attr.c.
void wps_device_data_dup | ( | struct wps_device_data * | dst, | |
const struct wps_device_data * | src | |||
) |
Definition at line 351 of file wps_dev_attr.c.
void wps_device_data_free | ( | struct wps_device_data * | dev | ) |
Definition at line 370 of file wps_dev_attr.c.
static int wps_process_dev_name | ( | struct wps_device_data * | dev, | |
const u8 * | str, | |||
size_t | str_len | |||
) | [static] |
Definition at line 263 of file wps_dev_attr.c.
int wps_process_device_attrs | ( | struct wps_device_data * | dev, | |
struct wps_parse_attr * | attr | |||
) |
Definition at line 305 of file wps_dev_attr.c.
static int wps_process_manufacturer | ( | struct wps_device_data * | dev, | |
const u8 * | str, | |||
size_t | str_len | |||
) | [static] |
Definition at line 179 of file wps_dev_attr.c.
static int wps_process_model_name | ( | struct wps_device_data * | dev, | |
const u8 * | str, | |||
size_t | str_len | |||
) | [static] |
Definition at line 200 of file wps_dev_attr.c.
static int wps_process_model_number | ( | struct wps_device_data * | dev, | |
const u8 * | str, | |||
size_t | str_len | |||
) | [static] |
Definition at line 221 of file wps_dev_attr.c.
int wps_process_os_version | ( | struct wps_device_data * | dev, | |
const u8 * | ver | |||
) |
Definition at line 323 of file wps_dev_attr.c.
static int wps_process_primary_dev_type | ( | struct wps_device_data * | dev, | |
const u8 * | dev_type | |||
) | [static] |
Definition at line 284 of file wps_dev_attr.c.
int wps_process_rf_bands | ( | struct wps_device_data * | dev, | |
const u8 * | bands | |||
) |
Definition at line 337 of file wps_dev_attr.c.
static int wps_process_serial_number | ( | struct wps_device_data * | dev, | |
const u8 * | str, | |||
size_t | str_len | |||
) | [static] |
Definition at line 242 of file wps_dev_attr.c.