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
This commit is contained in:
Shuibing Dai 2023-05-11 17:29:56 -07:00
parent 3fb95b070c
commit a1ff6ef8d6

View file

@ -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