Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 99766cf4 authored by Irfan Sheriff's avatar Irfan Sheriff
Browse files

Use min group owner intent for concurrency

Our device only supports STA & GC concurrency

Change-Id: I4f16c959a6f4e7ad5610dcae67be830d741f162c
parent 9538bdd3
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -536,7 +536,7 @@ final class WifiDisplayController implements DumpUtils.Dump {
            WifiP2pConfig config = new WifiP2pConfig();
            WifiP2pConfig config = new WifiP2pConfig();
            config.deviceAddress = mConnectingDevice.deviceAddress;
            config.deviceAddress = mConnectingDevice.deviceAddress;
            // Helps with STA & P2P concurrency
            // Helps with STA & P2P concurrency
            config.groupOwnerIntent = WifiP2pConfig.MAX_GROUP_OWNER_INTENT;
            config.groupOwnerIntent = WifiP2pConfig.MIN_GROUP_OWNER_INTENT;


            WifiDisplay display = createWifiDisplay(mConnectingDevice);
            WifiDisplay display = createWifiDisplay(mConnectingDevice);
            advertiseDisplay(display, null, 0, 0, 0);
            advertiseDisplay(display, null, 0, 0, 0);
+2 −0
Original line number Original line Diff line number Diff line
@@ -39,6 +39,8 @@ public class WifiP2pConfig implements Parcelable {


    /** @hide */
    /** @hide */
    public static final int MAX_GROUP_OWNER_INTENT   =   15;
    public static final int MAX_GROUP_OWNER_INTENT   =   15;
    /** @hide */
    public static final int MIN_GROUP_OWNER_INTENT   =   0;


    /**
    /**
     * This is an integer value between 0 and 15 where 0 indicates the least
     * This is an integer value between 0 and 15 where 0 indicates the least