aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/p2p_supplicant.h
diff options
context:
space:
mode:
authorKonguraj(Raj) Kulanthaivel <konguraj.kulanthaivel@intel.com>2011-02-24 19:51:17 (GMT)
committerJouni Malinen <j@w1.fi>2011-02-24 19:51:17 (GMT)
commitc5db8e517040f096d6c180150219c8ff88791efa (patch)
treede148421557e3890aa81e71abcb94a199ab7c657 /wpa_supplicant/p2p_supplicant.h
parente926bcffd80ad0df3a7dc987d396a3b28f212783 (diff)
downloadhostap-c5db8e517040f096d6c180150219c8ff88791efa.zip
hostap-c5db8e517040f096d6c180150219c8ff88791efa.tar.gz
hostap-c5db8e517040f096d6c180150219c8ff88791efa.tar.bz2
P2P: Embed publically visible struct in peer info
This embeds some information about each P2P peer that will be publically visible in a struct that is shared. The dev_found notification function is also passed the new struct, which requires some work for the driver-based P2P management. Signed-off-by: Konguraj(Raj) Kulanthaivel <konguraj.kulanthaivel@intel.com> Signed-off-by: Fabien Marotte <fabienx.marotte@linux.intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'wpa_supplicant/p2p_supplicant.h')
-rw-r--r--wpa_supplicant/p2p_supplicant.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/wpa_supplicant/p2p_supplicant.h b/wpa_supplicant/p2p_supplicant.h
index 7959a25..ac4b13f 100644
--- a/wpa_supplicant/p2p_supplicant.h
+++ b/wpa_supplicant/p2p_supplicant.h
@@ -18,6 +18,7 @@
enum p2p_wps_method;
struct p2p_go_neg_results;
enum p2p_send_action_result;
+struct p2p_peer_info;
int wpas_p2p_init(struct wpa_global *global, struct wpa_supplicant *wpa_s);
void wpas_p2p_deinit(struct wpa_supplicant *wpa_s);
@@ -62,9 +63,8 @@ void wpas_p2p_rx_action(struct wpa_supplicant *wpa_s, const u8 *da,
u8 category, const u8 *data, size_t len, int freq);
void wpas_p2p_scan_ie(struct wpa_supplicant *wpa_s, struct wpabuf *ies);
void wpas_p2p_group_deinit(struct wpa_supplicant *wpa_s);
-void wpas_dev_found(void *ctx, const u8 *addr, const u8 *dev_addr,
- const u8 *pri_dev_type, const char *dev_name,
- u16 config_methods, u8 dev_capab, u8 group_capab);
+void wpas_dev_found(void *ctx, const u8 *addr,
+ const struct p2p_peer_info *info);
void wpas_go_neg_completed(void *ctx, struct p2p_go_neg_results *res);
void wpas_go_neg_req_rx(void *ctx, const u8 *src, u16 dev_passwd_id);
void wpas_prov_disc_req(void *ctx, const u8 *peer, u16 config_methods,