ee38c65d579f5363f2ffd63e850582350233d0e4 |
|
25-May-2018 |
Rebecca Silberstein <silberst@google.com> |
WifiApConfigStore: convert 5GHZ to ANY for dual mode devices When setting or getting an ap config, check for necessary apband conversions. For some devices, apBand options are limited to 2.4(only) and ANY. A second class of devices are limited to 2.4(only) and 5(only). Single band devices are still limited to 2.4(only). Bug: 80251951 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: manually confirmed configs are converted for different device types Change-Id: I14150f0e890696e12ef04f402c0d8afad09e984e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiApConfigStore.java
|
b8adbae328f99fafc7f566877b4a40fd5af6381f |
|
28-Feb-2018 |
Rebecca Silberstein <silberst@google.com> |
WifiApConfigStore: default config band 2GHZ Return the default band for tethering configs to 2.4GHz. Bug: 73102003 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: If20a141d6553df2c4426cd8ec7ea43fbef093edf
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiApConfigStore.java
|
9d1d80e7ae494a748d06429f00014043f3420703 |
|
18-Jan-2018 |
Ningyuan Wang <nywang@google.com> |
set 'AP_BAND_ANY' as the default ap band option Bug: 68763822 Test: compile Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: manually test by checking UI and start hotspot Change-Id: I6deaf543ec2548bfae60e4740b482473923330d3
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiApConfigStore.java
|
0cafbe0c8e1bb5b9900908a44df232251c2042ea |
|
19-Jul-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiApConfigStore: add initial apconfig validation Add initial validation for values in the supplied SoftAp config. The initial checks will not fully validate the supplied settings, but they will do a high level sanity check. Initial items verified: 1 - ssid string set 2 - ssid string not empty 3 - ssid string does not exceed max length 4 - open networks do not have a password 5 - password protected networks do have a password 6 - if applicable, passwords within min/max range Future extensions would include additional parameters and validating the bytes in the ssid and password fields. Bug: 37280779 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I1a9338ce92c60c88ff3992d024a00ab1c6c4ec5e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiApConfigStore.java
|
1fdb6151dcc85c990483492e2d9cbd9b7c243164 |
|
01-Jun-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiApConfigStore: set LOHS wifi config networkId The WifiConfiguration object used to connect to a locally started LOHS needs a networkId that signals to ConnectivityService that the application wants to use the LOHS to talk to co-located devices. Bug: 62076211 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh -e class com.android.server.wifi.WifiApConfigStoreTest Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh -e class com.android.server.wifi.WifiServiceImplTest Test: manually tested with in-progress integration test Change-Id: Ic316250184eae0f04dc0fb83efb9710d5d65f0af
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiApConfigStore.java
|
5303b9cb6acc2149b454e8aad58f33d8df88ba78 |
|
26-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiApConfigStore: create temp sharing AP config Create a temporary config for use by local only hotspot. These configs are generated by the WifiApConfigStore, but will not be stored. Bug: 36704784 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I3470708a274e97f6e4a752ea1863cfa86bfbf8b6 Merged-In: I3470708a274e97f6e4a752ea1863cfa86bfbf8b6
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiApConfigStore.java
|
c4d0de0346332a43155580c28097c3bdc9976875 |
|
05-Jan-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiApConfigStore: randomize default soft ap SSID Add a suffix to the default SSID for SoftAp configurations. This results in the default SSID name (currently AndroidAP) followed by and underscore and four randomized ints. The WifiApConfigStoreTest methods were also updated to reflect this change. Bug: 31076622 Test: manually tested with a newly flashed device Test: frameworks/base/wifi/tests/runtests.sh Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: If3032ff97d76cbd0bf24950aeb01a9d30568496f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiApConfigStore.java
|
b2c2f85c959cb0deba238b566f39b1b942eb70a8 |
|
05-May-2016 |
Ningyuan Wang <nywang@google.com> |
Fix string comparision and return value in try catch block This CL uses value comparision instead of reference comparision for strings. This also removes returning value in finally block, otherwise exception may be suppressed. BUG=28605846 TEST=compile TEST=runtest frameworks-wifi Change-Id: I6ace4d233d2b0af3627f75dfdb7dcec6a46b0092
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiApConfigStore.java
|
750c6962838af6ab7ba034c80f2d325df7e74cbe |
|
23-Feb-2016 |
Peter Qiu <zqiu@google.com> |
Use a wrapper for BackupManager This avoids invoking calls to BackupManager/BackupManagerService during unit test. Bug:27296824 TEST=runtest frameworks-wifi Change-Id: I3d4fe1b4d2fdabe079e65242099f4dd4ed4ab7f4
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiApConfigStore.java
|
c11476cd6b68ba6c5b34c99ea312c45e18a17658 |
|
08-Feb-2016 |
Ritesh Reddy <riteshr@google.com> |
Staging WifiAP Configuration for backup Staging WifiAp Config for backup when the config is changed. Change-Id: Ie2d586f37e81c184fc6b7ca99f24c82e3dcc12dc
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiApConfigStore.java
|
c79666b79e273ceaa2f74090b02ca6cf83c61387 |
|
27-Jan-2016 |
Peter Qiu <zqiu@google.com> |
WifiApConfigStore refactoring Here are main changes to WifiApConfigStore: - add public APIs to get/set AP configurations, instead of doing it via message passing between state machines. - remove unnecessary statemachine logics. - remove the use of a dedicated thread for writing configuration file, the reason is that the file size is fairly small, seems unnecessary to create a separate thread just for that (which adds complexity). - handle setting of "null" ap configuration, by falling back to use the default configuration. - add unit tests With this refactoring, WifiApConfigStore becomes more self-contained, which can be easily reused by other modules (e.g. upcoming SoftApManager). Bug: 26727266 TEST=runtest frameworks-wifi TEST=manual test: update/enable WiFi hotspot Change-Id: If438d5be7eaf59f0f2d35ed25a899cef93c5a638
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiApConfigStore.java
|
eee1d479d8d402a2e78e2f143e957030cfc77749 |
|
29-Dec-2015 |
Vinit Deshpande <vinitd@google.com> |
First WifiStateMachine UnitTests Change-Id: I044b54f18f1a75b5b33c3fc9fc71a8da820d2521
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiApConfigStore.java
|
52b6d4cbf2815d18f35c64af955bf3859907b5c1 |
|
17-Jul-2015 |
xinhe <xinhe@google.com> |
Angler Should Not Use Channel 11 for SoftAP b/22541346 Change-Id: I300605d8d305214e81803d5d54549e7c3e5bc5bb
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiApConfigStore.java
|
0e8f0d87d62589d9dda54d5a4941d0309e3ecf2a |
|
08-Jan-2015 |
xinhe <xinhe@google.com> |
set softAP on a specified band, including both 2.4 and 5 GHz band Bug:18929692 Change-Id: Ie51e09901fbb2c3bec3d4780d0ec49819f808b4e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiApConfigStore.java
|
56d0178183460eed9afbd85e5c0d215e27d5f5bc |
|
21-Aug-2014 |
vandwalle <vandwalle@google.com> |
fix spurious disconnect while associating, dont set AP configuration with NULL SSID Bug:14568953 Bug:17144830 Note: this CL address cases where framework sends spurious disconnect to driver while associating, this issue was only one of the root cause of 17144830, the remaining issues in this bug are "missing scan results" and "wifi chipset disconnects from AP due to missing beacons or receiving deauth from AP" Change-Id: If888f11bb3c66b55ca8ff991651f9e4457aaea31
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiApConfigStore.java
|
155b9d09ef9b8ead3ca617afdd91e74070d3f0cb |
|
09-Jan-2014 |
Vinit Deshpande <vinitd@google.com> |
Revert "Revert "Move Wifi services to a new git project"" This reverts commit 862f81faba40e9af8fb80744a22e968a298e814e. Change-Id: I7b15e266a5948749026e01a61d8581746cfd0f5f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiApConfigStore.java
|
862f81faba40e9af8fb80744a22e968a298e814e |
|
08-Jan-2014 |
Vinit Deshpande <vinitd@google.com> |
Revert "Move Wifi services to a new git project" This reverts commit a07c419913bfae2a896fbc29e8f269ee08c4d910. Change-Id: I1cd35cea1594cdbeae800b9130bc6f885f238b28
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiApConfigStore.java
|
a07c419913bfae2a896fbc29e8f269ee08c4d910 |
|
18-Dec-2013 |
Vinit Deshapnde <vinitd@google.com> |
Move Wifi services to a new git project Bug: 12175455 Change-Id: I1fa07e29c6a9aae38d9e334d519a9f2445d15613
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiApConfigStore.java
|