From ed442e8dc7d94f7b0293d5427af47fb96d224643 Mon Sep 17 00:00:00 2001 From: Hu Wang Date: Fri, 26 Aug 2022 11:17:50 +0800 Subject: [PATCH] Add p2p_optimize_listen_chan=1 to default Android template Commit e3bd6e9dc0 ("P2P: Use another interface operating channel as listen channel") allows P2P listen channel to be selected based on another interface operating channel if it is one of social channels (i.e., 2.4 GHz 1, 6, 11). This optimization is disabled by default due to the technical specification expectations, but since this can be quite helpful for optimized behavior, enable it by adding p2p_optimize_listen_chan=1 to the default Android configuration template. --- wpa_supplicant/wpa_supplicant_template.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/wpa_supplicant/wpa_supplicant_template.conf b/wpa_supplicant/wpa_supplicant_template.conf index f55227f82..6c153f738 100644 --- a/wpa_supplicant/wpa_supplicant_template.conf +++ b/wpa_supplicant/wpa_supplicant_template.conf @@ -5,3 +5,4 @@ ap_scan=1 fast_reauth=1 pmf=1 p2p_add_cli_chan=1 +p2p_optimize_listen_chan=1