aboutsummaryrefslogtreecommitdiffstats
path: root/src/wps/wps_dev_attr.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-11-28 17:29:22 (GMT)
committerJouni Malinen <j@w1.fi>2008-11-28 17:29:22 (GMT)
commitff434cbddaeab089e483ca39dbd26d6ef1061632 (patch)
tree2e3e2189d3e5fa192267e9159f4646f97b57e03e /src/wps/wps_dev_attr.h
parent4b6a71fa31f94a34e0680bf3795cb8c1b380667d (diff)
downloadhostap-ff434cbddaeab089e483ca39dbd26d6ef1061632.zip
hostap-ff434cbddaeab089e483ca39dbd26d6ef1061632.tar.gz
hostap-ff434cbddaeab089e483ca39dbd26d6ef1061632.tar.bz2
WPS: Moved device attributes into wps_context::dev for Enrollee case
Previously, hardcoded values were used in wps_enrollee.c. These are now moved into shared data in struct wps_context. In case of AP/Authenticator, these are initialized in wps_hostapd.c. In case of client/supplicant, these are now initialized in EAP-WSC peer method, but will probably end up being moved into higher layer for better configuration. EAP-WSC peer method for
Diffstat (limited to 'src/wps/wps_dev_attr.h')
-rw-r--r--src/wps/wps_dev_attr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wps/wps_dev_attr.h b/src/wps/wps_dev_attr.h
index 2e2155a..e376ae3 100644
--- a/src/wps/wps_dev_attr.h
+++ b/src/wps/wps_dev_attr.h
@@ -19,6 +19,8 @@ struct wps_parse_attr;
int wps_build_device_attrs(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_process_device_attrs(struct wps_device_data *dev,
struct wps_parse_attr *attr);
int wps_process_os_version(struct wps_device_data *dev, const u8 *ver);