From a1ff6ef8d6ae7593f80c16bb967cd4928470f43f Mon Sep 17 00:00:00 2001 From: Shuibing Dai Date: Thu, 11 May 2023 17:29:56 -0700 Subject: [PATCH] Disable p2p 6ghz channels It has an effect on following cases: 1.In some coutries(eg.JP) without 5ghz channels available for p2p except indoor channels, if STA firstly connected with indoor channel AP and then disconnected, it will cause wpa_supplicant to select 6ghz channels. 2.If STA firstly connected with 6ghz channel AP and Application create p2p group without config, wpa_supplicant also tried to select STA-associated channel(in this case, i.e. 6ghz ch). Bug: 272298287 Test: Manually verify nearby case between two pixel phones(one source and other as target): 1.Both devices CC: JP 2.Both devices connected with indoor channel(5g) AP 3.Source shared one big file(3G bytes) with target 4.During data transferring, disconnected target STA Check if file sharing can continue Change-Id: I71c0b7994ec7ef819db0203a0ae9a1b951449da7 --- wifi/p2p_supplicant_overlay.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/wifi/p2p_supplicant_overlay.conf b/wifi/p2p_supplicant_overlay.conf index c892fbb..ad1a42b 100644 --- a/wifi/p2p_supplicant_overlay.conf +++ b/wifi/p2p_supplicant_overlay.conf @@ -9,3 +9,4 @@ disable_scan_offload=1 p2p_go_vht=1 p2p_pref_chan=124:149, 115:36 p2p_dfs_chan_enable=1 +p2p_6ghz_disable=1