source: rtems-libbsd/freebsd/contrib/wpa/src/wps/wps_dev_attr.h @ 9c9d11b

55-freebsd-126-freebsd-12
Last change on this file since 9c9d11b was 9c9d11b, checked in by Sichen Zhao <1473996754@…>, on 08/01/17 at 12:43:41

Import wpa from FreeBSD

  • Property mode set to 100644
File size: 1.7 KB
Line 
1/*
2 * Wi-Fi Protected Setup - device attributes
3 * Copyright (c) 2008, Jouni Malinen <j@w1.fi>
4 *
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
7 */
8
9#ifndef WPS_DEV_ATTR_H
10#define WPS_DEV_ATTR_H
11
12struct wps_parse_attr;
13
14int wps_build_manufacturer(struct wps_device_data *dev, struct wpabuf *msg);
15int wps_build_model_name(struct wps_device_data *dev, struct wpabuf *msg);
16int wps_build_model_number(struct wps_device_data *dev, struct wpabuf *msg);
17int wps_build_serial_number(struct wps_device_data *dev, struct wpabuf *msg);
18int wps_build_dev_name(struct wps_device_data *dev, struct wpabuf *msg);
19int wps_build_device_attrs(struct wps_device_data *dev, struct wpabuf *msg);
20int wps_build_os_version(struct wps_device_data *dev, struct wpabuf *msg);
21int wps_build_vendor_ext_m1(struct wps_device_data *dev, struct wpabuf *msg);
22int wps_build_rf_bands(struct wps_device_data *dev, struct wpabuf *msg,
23                       u8 rf_band);
24int wps_build_primary_dev_type(struct wps_device_data *dev,
25                               struct wpabuf *msg);
26int wps_build_secondary_dev_type(struct wps_device_data *dev,
27                                 struct wpabuf *msg);
28int wps_build_dev_name(struct wps_device_data *dev, struct wpabuf *msg);
29int wps_process_device_attrs(struct wps_device_data *dev,
30                             struct wps_parse_attr *attr);
31int wps_process_os_version(struct wps_device_data *dev, const u8 *ver);
32int wps_process_rf_bands(struct wps_device_data *dev, const u8 *bands);
33void wps_device_data_free(struct wps_device_data *dev);
34int wps_build_vendor_ext(struct wps_device_data *dev, struct wpabuf *msg);
35int wps_build_req_dev_type(struct wps_device_data *dev, struct wpabuf *msg,
36                           unsigned int num_req_dev_types,
37                           const u8 *req_dev_types);
38
39#endif /* WPS_DEV_ATTR_H */
Note: See TracBrowser for help on using the repository browser.