P2P: Append P2P Device Address to AP-STA-CONNECTED event
authorJithu Jance <jithu@broadcom.com>
Mon, 24 Oct 2011 21:13:03 +0000 (00:13 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 24 Oct 2011 21:13:03 +0000 (00:13 +0300)
commitc9aab27406211e43bb413dfccd72eb5ec2a7a136
tree3347c35766fb02fb7f6199637a95090f1e707e80
parent5cbd88d921b15cc5e0bf8d0bb9f60f59fd1ab195
P2P: Append P2P Device Address to AP-STA-CONNECTED event

For P2P, the p2p_connect takes in device address argument to make a
connection. However the connected event AP-STA-CONNECTED comes with
interface address. The application listening on events would find it
difficult to map interface address to the p2p device address which is
provided for connection.

Append P2P Device Address to AP-STA-CONNECTED event for P2P Client
connection. This will help applications to easily map the P2P Interface
Address to P2P Device Address on CONNECTED event. For non-P2P case, it
will just print the usual STA MAC address alone.

Signed-off-by: Jithu Jance <jithu@broadcom.com>
src/ap/ieee802_1x.c
src/p2p/p2p.h
src/p2p/p2p_group.c