]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Notify the IP address of the connected P2P Client
authorSunil Ravi <sunilravi@google.com>
Thu, 29 Feb 2024 01:36:40 +0000 (01:36 +0000)
committerJouni Malinen <j@w1.fi>
Fri, 1 Mar 2024 18:36:41 +0000 (20:36 +0200)
commitdbcf9ff15619df3e9a36c40416f18fbd38bcb0ab
tree284a0a54f9b0e948c973976dbbd022561214d4ab
parentb18d95759375834b6ca6f864c898f27d161b14ca
P2P: Notify the IP address of the connected P2P Client

When wpa_supplicant assigns the IP address (WFA EAPOL IP address
allocation feature), the assigned IP address of the P2P Client on the GO
side is notified in the AP-STA-CONNECTED event. So to obtain the IP info
to external programs, modify the STA authorized event to include the the
assigned IP address of the P2P Client.

Test: Establish P2P connection and verified from the logs that
      the P2P Client IP address is notified.
Signed-off-by: Sunil Ravi <sunilravi@google.com>
src/ap/hostapd.h
src/ap/sta_info.c
wpa_supplicant/ap.c
wpa_supplicant/notify.c
wpa_supplicant/notify.h