P2P: introduce force_go_bssid bool to avoid changing p2p join behavior
ag/20449626 along with ag/20449628 change the behavior for re-invocation
of auto GOs with the following mechanism:
1. Client device connects to GO and persists ssid block.
2. Now that ssid->bssid is used for connection to auto GO the same BSSID
is enforced.
3. GO spawns with a different BSSID from the original invocation, and
client device can no longer connect.
This should have no effect on Nearby behavior.
Bug: 233925359
Test: Nearby share still works
Test: Persistent connection is broken and works with this patch
Change-Id: I8cd9a8181a2f899e70a41586b131b906c94160ce
diff --git a/wpa_supplicant/p2p_supplicant.h b/wpa_supplicant/p2p_supplicant.h
index 949044a..c87e1bf 100644
--- a/wpa_supplicant/p2p_supplicant.h
+++ b/wpa_supplicant/p2p_supplicant.h
@@ -52,7 +52,8 @@
int max_oper_chwidth, int he, int edmg,
const struct p2p_channels *channels,
int connection_timeout, int force_scan,
- bool allow_6ghz, int retry_limit);
+ bool allow_6ghz, int retry_limit,
+ bool force_go_bssid);
struct p2p_group * wpas_p2p_group_init(struct wpa_supplicant *wpa_s,
struct wpa_ssid *ssid);
enum wpas_p2p_prov_disc_use {