2e889dc0b3f348f45cc5f5006d8784bed30583a9 |
|
02-Apr-2018 |
Masashi Honma <masashi.honma@gmail.com> |
Wifi: Allow Hotspot 2.0 connection without Roaming Consortium ANQP-element Currently, the Android could not connect to APs which has Roaming Consortium OIs less than 3. To send Roaming Consortium OIs from an AP to some STAs, an AP can use "Roaming Consortium information element". As defined in [1] "9.4.2.96 Roaming Consortium element", the maximum number of the OIs the information element can carry is 3. If an AP has more OIs, the AP can use "Roaming Consortium ANQP-element" also. The Android uses only "Roaming Consortium ANQP-element". So the Android could not connect to the APs which does not send "Roaming Consortium ANQP-element". There could be an AP which sends "Roaming Consortium ANQP-element" even if it has only one OI. At least hostapd does not send "Roaming Consortium ANQP-element" when it has only one OI. This patch supports to connect to such APs. Bug: 77624036 Test: Connect with roaming consortium OI on Nexus 5X with hostapd commit 64624f31cf81dc6164462fa153ee7a5909e21183 "OWE: Fix CONFIG_OWE=y build without CONFIG_IEEE80211R=y". I tested with android-8.1.0_r18 branch and port the patch to master branch because my Nexus 5X does not boot with master branch. Test: All the tests are passed ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Ia48b242382836f7ee3a6f97888d2a3dcc4f2b189 Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProviderTest.java
|
7f2a1e30dd5d14320ffc7b185ac25fdb79fe52b0 |
|
23-Jan-2018 |
Etan Cohen <etancohen@google.com> |
Update SmallTest library android.test.suitebuilder.annotation.SmallTest is deprecated and replaced by android.support.test.filters.SmallTest. Update all test files. No other change (except import order cleaning up to pass preload format check). Bug: 72324160 Test: all unit tests pass Change-Id: Icc4abe3b3b37926d583c0d4ae510a7d7c74c1a03
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProviderTest.java
|
773a24cc2db61d47cea3c86a3ca8276805536674 |
|
05-Dec-2017 |
Sohani Rao <sohanirao@google.com> |
WifiConfig corresponding to a PasspointConfiguration is not shared by default Default WifiConfiguration must be created to not be shared, so that a new device user is unable to stay connected to passpoint configuration that was created by another user. The WifiConfig returned should correspond to the PasspointProvider in terms of sharing preferences with other users. Bug: 67854131 Change-Id: Ib26fd970062181426c7f04c75aae088b9a040e18 Test: Unit tests and bug repro
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProviderTest.java
|
49357a30edf5786c8db4bad6f5dbe62545751cc6 |
|
23-Jun-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: track number of providers that connected successfully Add boolean field "hasEverConnected" to PasspointProvider to indicate if the given provider had ever provided a successful network connection. The added field is persisted to the config file. Update the associated metric for the given provider after it was used to successfully connect for the first time. Note that PasspointManager#onPasspointNetworkConnected can be expanded in the future to keep track of connected SSIDs for a given Passpoint provider, as an additional input to the network selection algorithm. Bug: 36358031 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: manually verify the provider's "hasEverConnected" is set to true in the config file after a success connection Change-Id: I6ef4ec801f78f34ff2ca9df97ab06188e1cc0324
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProviderTest.java
|
e7dfd69fbe21902b89124b99d914ed3c90ba8baf |
|
10-Apr-2017 |
Peter Qiu <zqiu@google.com> |
Avoid selecting EAP-SIM/AKA/AKA' networks when SIM is not ready Avoid continuous authentication failure caused by selecting EAP-SIM/AKA/AKA' networks when SIM card is not ready. Should check SIM card status before selecting EAP networks. Bug: 38357575 Test: Manual Change-Id: I2358ce89dabdad8d3fc8eb363fb0ff653739bdc9
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProviderTest.java
|
07816a4745b8030911869ceb58fa735e47834fe4 |
|
03-Apr-2017 |
Peter Qiu <zqiu@google.com> |
[Reland] hotspot2: track creator UID for installed providers This is purely for debugging purpose. It is not used for restricting apps that can update/remove configs. Since for Passpoint configuration, the app that's responsible for adding a config might not be the app that's responsible for removing that config. Bug: 36566563 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: verify Creator UID in the output of "adb shell dumpsys" and the config store file Change-Id: I5c651fb204b6e07c2b1d6324350d63d25a38c894
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProviderTest.java
|
9eacd39e43a93090038e24b6145735408b774387 |
|
01-Apr-2017 |
Peter Qiu <zqiu@google.com> |
Merge "Revert "hotspot2: track creator UID for installed providers"" into oc-dev
|
f3fd8c5cdaa66dbaceecbe52a125a4657e0c68c4 |
|
01-Apr-2017 |
Peter Qiu <zqiu@google.com> |
Revert "hotspot2: track creator UID for installed providers" This reverts commit 2e60a41775fc66f245e7413db72002aebe69e823. Change-Id: Ifa60c015adb2bac7d91d000ea21e53d1217bb72f
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProviderTest.java
|
27f71578063f5cf8bc500610091fdbf72cca4bae |
|
01-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "hotspot2: track creator UID for installed providers" into oc-dev
|
2e60a41775fc66f245e7413db72002aebe69e823 |
|
24-Mar-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: track creator UID for installed providers This is purely for debugging purpose. It is not used for restricting apps that can update/remove configs. Since for Passpoint configuration, the app that's responsible for adding a config might not be the app that's responsible for removing that config. Bug: 36566563 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: verify Creator UID in the output of "adb shell dumpsys" and the config store file Change-Id: I66b744934c1643c6d66eb96d4ee437d6cc09fb52
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProviderTest.java
|
2aa7cc7c13207c3afa3ef428ec1c8cdc1893c50c |
|
24-Mar-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: set domain_suffix_match for Passpoint network This is needed to be compliant with the Hotspot 2.0 spec, was missed during the refactoring. Bug: 36569007 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: Verify Passpoint network connections Change-Id: Idf1c5ac565d48a38f87f2e2aba824c7cab8c9e9a
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProviderTest.java
|
5e4822d5dba15e45c5ff43dfba3ac7803b3f4e28 |
|
23-Feb-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: migrate legacy Passpoint configurations When the legacy Passpoint configuration is read from the legacy store, it will represented as WifiConfiguration and stored in the share store. When the owner of the legacy Passpoint configuration logs in, the configuration will be converted to PasspointConfiguration and added to PasspointManager, then persist to the user store in the new format. Bug: 34206769 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: manually upgrade a bullhead containing Boingo and Global Reach Passpoint profiles from N to O, verify configurations are maintained and still able to connect to those APs Change-Id: Idcd858326968463cea0cdc99452ba67b13d2ac77
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProviderTest.java
|
8c22a001ebe4537fe5c0da1112e256dbd9d55ae7 |
|
17-Feb-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: PasspointProvider: update semantics for certificate and key alias Instead of using the full name for the installed certificate and key as the alias, use the suffix of the name (without the certificate or key type). This will make the certificate/key alias meaning consistent with the usage in WifiEnterpriseConfig. This will make it cleaner/easier for converting the legacy Passpoint configuration to the new one. Bug: 34206769 Test: frameworks/opt/net/tests/wifitests/runtests.sh Test: manual testing using a Boingo profile Change-Id: Iab005d98f83c9e217f87ab780787bdcc618b6509
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProviderTest.java
|
260f8f7ab5595c36ab5d130441cabe3dc944830c |
|
02-Feb-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: Passpoint API rename update Some Passpoint APIs are renamed to follow the API guideline, so update the callsite accordingly. Bug: 34862444 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Iff7b5aafac0b0062c4575e24383530f91849db36
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProviderTest.java
|
4f4d745ca28b915ea4a7c91ec5df3ea8a2db64ad |
|
25-Jan-2017 |
Peter Qiu <zqiu@google.com> |
hotspot2: use updated PasspointConfiguration APIs PasspointConfiguration APIs are updated to use private variables with public accessor methods based on the API guideline. So update the callsite to use accessor methods instead of using the variables directly. While there, refactor the test a bit to reduce code duplications. Bug: 34627062 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I96ce7c3bdb3b6a6dce1715f29e5e1e019dbeeb5e
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProviderTest.java
|
79b81a96a2dd5ce45cb4b9206f04e4b37f7220f1 |
|
21-Dec-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: add support for generating WifiConfiguration from PasspointProvider Bug: 33246489 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I3387d0bf35563bb403d55f7ed918fac0454670d6
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProviderTest.java
|
87c6f1b149804685e46c18d2ad11262f611c9255 |
|
16-Dec-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: add support for matching Passpoint provider Added support for matching Passpoint provider based on the content of ANQP elements. While there: - updated IMSIParameter and added unit tests for it - added utility class ANQPMatcher for providing ANQP element matching functions Bug: 33246489 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Ibdd49aaf44a097c1ee523284888faace6b866485
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProviderTest.java
|
ae791278c9032a8b10cf818b98b571c0396add4a |
|
18-Nov-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: install Passpoint certificates and keys in keystore When adding a Passpoint provider, install the certificates and keys specified in the configuration to the keystore. While there, move the object creation for Passpoint related objects out of the WifiInjector and into newly created PasspointObjectFactory. Bug: 32619189 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I42ee22a31d30e2c9fa05ece8713b95ebea71256e
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProviderTest.java
|
dc6361c58a4eb2e7dd931ffe1cc0fb5129f004c9 |
|
15-Nov-2016 |
Peter Qiu <zqiu@google.com> |
hotspot2: maintain a copy of PasspointConfiguration in PasspointProvider This avoids the Passpoint configuration maintained in PasspointProvider from being updated by others. Bug: 32714562 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I7101ae0c1bcf70585343e6da5608d7fe1267e689
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProviderTest.java
|