aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_supplicant_i.h
diff options
context:
space:
mode:
authorPeng Xu <pxu@qca.qualcomm.com>2016-06-24 18:36:18 (GMT)
committerJouni Malinen <j@w1.fi>2016-07-03 19:36:58 (GMT)
commita6f5b1937ad45ced659d87b1eb5a665c8d137d34 (patch)
tree00bc2063071ce6c79ed121ed89d96155b5598ea2 /wpa_supplicant/wpa_supplicant_i.h
parent35d66557558159d149698ac760971d4e3c424b82 (diff)
downloadhostap-a6f5b1937ad45ced659d87b1eb5a665c8d137d34.zip
hostap-a6f5b1937ad45ced659d87b1eb5a665c8d137d34.tar.gz
hostap-a6f5b1937ad45ced659d87b1eb5a665c8d137d34.tar.bz2
P2P: Allow P2P listen being offloaded to the driver/firmware
This allows P2P Listen to be offloaded to device to enhance power saving. To start P2P listen offload, from wpa_cli interface, issue the command: p2p_lo_start <freq> <period> <interval> <count> To stop P2P listen offload, issue the command: p2p_lo_stop Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/wpa_supplicant_i.h')
-rw-r--r--wpa_supplicant/wpa_supplicant_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/wpa_supplicant_i.h b/wpa_supplicant/wpa_supplicant_i.h
index e45f662..dd6a60d 100644
--- a/wpa_supplicant/wpa_supplicant_i.h
+++ b/wpa_supplicant/wpa_supplicant_i.h
@@ -893,6 +893,7 @@ struct wpa_supplicant {
unsigned int p2p_go_max_oper_chwidth;
unsigned int p2p_go_vht_center_freq2;
+ int p2p_lo_started;
#endif /* CONFIG_P2P */
struct wpa_ssid *bgscan_ssid;