From: Hu Wang Date: Fri, 26 Aug 2022 03:17:50 +0000 (+0800) Subject: Add p2p_optimize_listen_chan=1 to default Android template X-Git-Tag: hostap_2_11~1725 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed442e8dc7d94f7b0293d5427af47fb96d224643;p=thirdparty%2Fhostap.git 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. --- 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