From 98fe4079c23456c902525bb7d09a5df6e522c842 Mon Sep 17 00:00:00 2001 From: Eyal Shapira Date: Fri, 2 Nov 2012 10:58:05 +0200 Subject: android: wpa_s template: set p2p_go_max_inactivity to 60s (ANDROID) The previous value of 30s was problematic in passing WiFi Direct certification test 6.1.12. In this test the GO is checked for buffering packets while the client is in PS and doesn't send a trigger to get out of PS for 50s. Any value less than 50s would lead to a failed inactivity check and the GO disconnecting the client in this test. It's important to minimize p2p_go_max_inactivity as it helps the GO detect clients which disconnected despite missing on the deauth frame. This is not uncommon in JB as there are scans on the STA interface which take us off the GO oper channel. Until the GO performs an inactivity check the UI will keep showing the client as "Connected" and the GO will remain operational which creates a bad user experience. [This should supersede "P2P: set P2P_GO_MAX_INACTIVITY to 100s" in the next rebase] Signed-off-by: Eyal Shapira --- wpa_supplicant/wpa_supplicant_template.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpa_supplicant/wpa_supplicant_template.conf b/wpa_supplicant/wpa_supplicant_template.conf index e577fb9..17d4b18 100644 --- a/wpa_supplicant/wpa_supplicant_template.conf +++ b/wpa_supplicant/wpa_supplicant_template.conf @@ -11,7 +11,7 @@ model_number=wl18xx serial_number=12345 p2p_conc_mode=2 driver_param=use_p2p_group_interface=1 -p2p_go_max_inactivity=100 +p2p_go_max_inactivity=60 p2p_go_ht40=1 p2p_multi_chan=1 disassoc_low_ack=1 -- cgit v1.1