passpoint-r2: consider OSU network as sufficient network
Currently OSU network is not considered as sufficient network.
Due to this, network evaluator finds other network and connect the
network during OSU procedure.
We should keep the connection for OSU AP during OSU procedure.
Log:
AllSingleScanListener onResults: start network selection
Current connected network: "Google-OSU" , ID: 32
Current network is an ephemeral one.
Current connected network is not sufficient.
No saved networks.
About to run ScoredNetworkEvaluator :
new ephemeral candidate GoogleGuest network ID:33, meteredHint=false
ScoredNetworkEvaluator selects "GoogleGuest"
AllSingleScanListener: WNS candidate-"GoogleGuest"
connectToNetwork: Connect to "GoogleGuest":any from "Google-OSU"
Bug: 121223278
Test:./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: tested with R2 AP for connection and kept the connection
Change-Id: I2b1eaf8780d9cec88e063f18905913ed8c1d305c
Signed-off-by: Ecco Park <eccopark@google.com>
1 file changed