aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/p2p_supplicant.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-10-25 16:16:11 (GMT)
committerJouni Malinen <j@w1.fi>2010-10-25 16:16:11 (GMT)
commitc973f3868aec100036ecfe60d28ad67192725b69 (patch)
treea6506ef8e0d66dd14b99ffe3547485add8630954 /wpa_supplicant/p2p_supplicant.h
parent129eb428b1c8511d1d872e62b0b8e34c7f55f815 (diff)
downloadhostap-c973f3868aec100036ecfe60d28ad67192725b69.zip
hostap-c973f3868aec100036ecfe60d28ad67192725b69.tar.gz
hostap-c973f3868aec100036ecfe60d28ad67192725b69.tar.bz2
P2P: Remove P2P group on driver resource becoming unavailable
Add a new driver event, EVENT_INTERFACE_UNAVAILABLE, for indicating that the driver is not able to continue operating the virtual interface in its current mode anymore, e.g., due to operating channel for GO interface forced to a DFS channel by another virtual interface. When this happens for a P2P group interface, the P2P group will be terminated and P2P-GROUP-REMOVED event shows the reason for this as follows: P2P-GROUP-REMOVED wlan0 GO reason=UNAVAILABLE
Diffstat (limited to 'wpa_supplicant/p2p_supplicant.h')
-rw-r--r--wpa_supplicant/p2p_supplicant.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/p2p_supplicant.h b/wpa_supplicant/p2p_supplicant.h
index 9b76b4a..a411c9a 100644
--- a/wpa_supplicant/p2p_supplicant.h
+++ b/wpa_supplicant/p2p_supplicant.h
@@ -117,5 +117,6 @@ void wpas_p2p_notif_disconnected(struct wpa_supplicant *wpa_s);
int wpas_p2p_notif_pbc_overlap(struct wpa_supplicant *wpa_s);
void wpas_p2p_update_channel_list(struct wpa_supplicant *wpa_s);
int wpas_p2p_cancel(struct wpa_supplicant *wpa_s);
+void wpas_p2p_interface_unavailable(struct wpa_supplicant *wpa_s);
#endif /* P2P_SUPPLICANT_H */