aboutsummaryrefslogtreecommitdiffstats
path: root/src/p2p/p2p_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2011-03-28 12:27:10 (GMT)
committerJouni Malinen <j@w1.fi>2011-03-28 12:27:10 (GMT)
commitb67d0d9e4b095496fdfb188ab2515507e619160d (patch)
tree5d6f19d6ae6bbc69ce04201aabd5c7d70e632827 /src/p2p/p2p_i.h
parentb6e01800355a3dac272f835ca5d4ae618b7bdf8a (diff)
downloadhostap-b67d0d9e4b095496fdfb188ab2515507e619160d.zip
hostap-b67d0d9e4b095496fdfb188ab2515507e619160d.tar.gz
hostap-b67d0d9e4b095496fdfb188ab2515507e619160d.tar.bz2
P2P: Store more WPS attributes for peers
Store Manufacturer, Model Name, Model Number, and Serial Number attributes for P2P peers and expose these through the existing peer information mechanisms.
Diffstat (limited to 'src/p2p/p2p_i.h')
-rw-r--r--src/p2p/p2p_i.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/p2p/p2p_i.h b/src/p2p/p2p_i.h
index f913e00..68b1194 100644
--- a/src/p2p/p2p_i.h
+++ b/src/p2p/p2p_i.h
@@ -450,6 +450,14 @@ struct p2p_message {
size_t wps_sec_dev_type_list_len;
const u8 *wps_vendor_ext[P2P_MAX_WPS_VENDOR_EXT];
size_t wps_vendor_ext_len[P2P_MAX_WPS_VENDOR_EXT];
+ const u8 *manufacturer;
+ size_t manufacturer_len;
+ const u8 *model_name;
+ size_t model_name_len;
+ const u8 *model_number;
+ size_t model_number_len;
+ const u8 *serial_number;
+ size_t serial_number_len;
/* DS Parameter Set IE */
const u8 *ds_params;