aboutsummaryrefslogtreecommitdiffstats
path: root/src/p2p/p2p_i.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 /src/p2p/p2p_i.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 'src/p2p/p2p_i.h')
-rw-r--r--src/p2p/p2p_i.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/p2p/p2p_i.h b/src/p2p/p2p_i.h
index 4dc3c78..0207c5b 100644
--- a/src/p2p/p2p_i.h
+++ b/src/p2p/p2p_i.h
@@ -36,12 +36,7 @@ struct p2p_device {
int level;
enum p2p_wps_method wps_method;
- u8 p2p_device_addr[ETH_ALEN]; /* P2P Device Address of the peer */
- u8 pri_dev_type[8];
- char device_name[33];
- u16 config_methods;
- u8 dev_capab;
- u8 group_capab;
+ struct p2p_peer_info info;
/*
* If the peer was discovered based on an interface address (e.g., GO