aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/p2p_supplicant.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-07-09 00:14:24 (GMT)
committerJouni Malinen <j@w1.fi>2010-09-09 14:17:20 (GMT)
commitaefb53bd5d837bc3f7a848e0f800f2a9a1cf6d21 (patch)
treecce98777c9273b9fad9dd25149de212d090b3c97 /wpa_supplicant/p2p_supplicant.h
parent4c08c0bd5765aa5bc6b7093e3eaa2d7a8f1c20c7 (diff)
downloadhostap-aefb53bd5d837bc3f7a848e0f800f2a9a1cf6d21.zip
hostap-aefb53bd5d837bc3f7a848e0f800f2a9a1cf6d21.tar.gz
hostap-aefb53bd5d837bc3f7a848e0f800f2a9a1cf6d21.tar.bz2
P2P: Disable periodic NoA when non-P2P STA is connected
For now, this applies to the test command that can be used to set periodic NoA (p2p_set noa). The value are stored and periodic NoA is enabled whenever there are no non-P2P STAs connected to the GO.
Diffstat (limited to 'wpa_supplicant/p2p_supplicant.h')
-rw-r--r--wpa_supplicant/p2p_supplicant.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/p2p_supplicant.h b/wpa_supplicant/p2p_supplicant.h
index 075cda8..e1578fc 100644
--- a/wpa_supplicant/p2p_supplicant.h
+++ b/wpa_supplicant/p2p_supplicant.h
@@ -106,5 +106,7 @@ void wpas_p2p_deauth_notif(struct wpa_supplicant *wpa_s, const u8 *bssid,
void wpas_p2p_disassoc_notif(struct wpa_supplicant *wpa_s, const u8 *bssid,
u16 reason_code, const u8 *ie, size_t ie_len);
void wpas_p2p_update_config(struct wpa_supplicant *wpa_s);
+int wpas_p2p_set_noa(struct wpa_supplicant *wpa_s, u8 count, int start,
+ int duration);
#endif /* P2P_SUPPLICANT_H */