]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add p2p_optimize_listen_chan=1 to default Android template
authorHu Wang <quic_huw@quicinc.com>
Fri, 26 Aug 2022 03:17:50 +0000 (11:17 +0800)
committerJouni Malinen <j@w1.fi>
Tue, 13 Sep 2022 01:08:17 +0000 (04:08 +0300)
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

index f55227f82685773ded4a148f6252d04645b7696f..6c153f738d879b910be793cc497d05df2b6e74fa 100644 (file)
@@ -5,3 +5,4 @@ ap_scan=1
 fast_reauth=1
 pmf=1
 p2p_add_cli_chan=1
+p2p_optimize_listen_chan=1