450e64036e8eca2cd5d6c7cff83d2229366645f4 |
|
21-Feb-2018 |
Etan Cohen <etancohen@google.com> |
[AWARE] Update HAL config for Discovery + Ranging options Fix min/max mapping to ingress/egress. Bug: 73176361 Test: unit tests Test: integration tests pass or have filed bugs Change-Id: I506fd032d444f782ffe9ae00dbddeccda5423c0c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
83d503fa26c7cbbf9fa5243fb23bdd46bf4afddf |
|
10-Feb-2018 |
Etan Cohen <etancohen@google.com> |
[AWARE] Add run-time (VDBG) check for repeated transaction IDs Transaction IDs to the HAL should be unique. Add a run-time check for unique transaction IDs - this is done only when VDBG is enabled, i.e. for local builds only. Bug: 73174802 Test: DiscoveryTest on a VDBG=true build: no wtf's from new checks Change-Id: Ie99cbdbccaf2eda4a86d5197ce389356a8691d45
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
1dedb2394999cf504664e125d4b821658b8bd3e1 |
|
29-Dec-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Add hooks to configure power parameters Standardize the power setting hooks to remove name duplication. Now have 3 power modes, each of which has a set of parameters and values. Add new power mode configurations (still set to default until optimized). Note: this CL should not cause any behavior changes. Bug: 67745737 Test: unit tests + integration tests Change-Id: I941c12fa55c8c8023314a62ab4f727ff8cd161a6
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
70c59e0f9f1be66c251ba750c58e3b85633c16e6 |
|
28-Dec-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Enable NAN RTT by default Set (new) global NAN RTT flag to true. TBD on connecting to location settings. Bug: 70218295 Test: integration tests Change-Id: Iafee0dc688357c348d68f88cc66e248c16b0e7c3
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
4529b3ba123a09034f34c1af3ff6533c58f39564 |
|
21-Dec-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Add power configuration parameters Set the HAL 1.2 power configuration parameters to default (i.e. non- active) values. Bug: 67745737 Test: unit test, integration tests Change-Id: Ifd2bf6b18f65a312c25ab07972cebfb9d1b5324e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
9340e8f34b979b06bb90f92852353957120abf41 |
|
14-Dec-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Configure DBG vs. VDBG Move some messages to normal DBG vs. VDBG to allow verbose run-time debugging. Bug: 69432628 Test: build, enable verbose & verify log Change-Id: I7162dca0daf728657fb946b36299bede35fa8a3b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
d187886254382d86f6884f593d851594575acd0c |
|
14-Dec-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Restructure debugging flags to enable dynamic updates Restructure the debugging flags to allow dynamic updates of the debug flag. Each class has a static VDBG and a dynamically updated mDbg. Note: there are no (or minimal changes) to the actual debugging - all of which is gated by VDBG. A subsequent CL will move some messages to the lower-level mDbg. Bug: 69432628 Test: builds, runs, toggle debug flag Change-Id: I61df2a0bb790832c7136aa1ad67a745eb388b1da
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
3709e0d8752b945e19f4c7c9f75b929ee261dfe4 |
|
13-Nov-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Aware ranging (RTT) to Aware discovery Add configuration of ranging information (enabling, specifying geofence) to the Aware discovery process: - Pipe information to HAL - Call location-specific discovery callback Bug: 33821639 Test: unit tests and (non-functioning) integration tests Change-Id: I66c674b5c97f286311ff3c0e35d23c6e89305043
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
d89cc8dced4dda3da4d7123233d6196f473b8e59 |
|
11-Jul-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Configure a Service Name for OOB NDP with PMK Configure a Service Name (dummy) when creating an out-of-band NAN data-path (NDP) using a PMK. This was already done for Passphrase, same code and (dummy) Service Name used for PMK as well. Rationale: the key generation (from the PMK) requires a hash of the service name. Bug: 63581297 Test: DataPathTest:test_oob_pmk_specific passes (and other PMK tests) Change-Id: If8e3b8263ccd98c86f2c218324ea4ab0159f4217
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
9a4b9d97dc46509222e6192596fbdb37a2b8fca6 |
|
13-Jun-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Add command to reset parameters Add the 'reset' command which resets all configurable parameters to their default values. Bug: 31940045 Test: test parameters from command line Change-Id: I78a7adb579197d3ad5548c0f33339e11af724d72
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
5d9084369696b10cd6fdfc90326f16ed6212f159 |
|
09-Jun-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Add test mechanism to specify default DW spec Add test (cmd) hooks to configure the default DW specs for both 2.4 and 5 bands. Bug: 31940045 Test: unit tests Change-Id: Ief0cad28da1d9711c348fb87e515b0bc4255f150
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
df4a12cfd5bf077f2295f96d8afa2a6b330237eb |
|
07-Jun-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Add test mechanism to set randomization interval Add command-line options to configure the NMI (NAN management interval) randomization interval. Bug: 31940045 Test: Configuration succeeds Change-Id: I20cfc3fbda3da4a445de19fc1d9bebc0f1a9ccdf
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
eb558d6b74ba14a5ff08866166b109dda8e0ab20 |
|
05-Jun-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Power reduction parameters: non-interactive, idle Set default power saving parameters: - Non-interactive: disable 5G + increase latency on 2.4G - Idle: disable May be modified based on later power measurements. Bug: 30771807 Test: Verified Aware not available on doze Change-Id: I8f50f3228edd574cfd6005a20ac5a60f01cc433b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
8f49ede47036020fa10e40f2b507aa90735ff420 |
|
19-May-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Adds logs for debugging Bug: 31940045 Test: unit tests, integration (sl4a) tests Change-Id: Ibd3fe7a66f3b5c5a8d8638efe19c5363e9443d57
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
31e464cf7677c438151cc33384d524652e923234 |
|
18-May-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Disable any service discovered callbacks on Publisher Solicited publish gets an indication that a subscriber matches it. The use-case and API do not need such a notification - disable it at the firmware level to reduce host wake-ups. Bug: 38421130 Test: integration (sl4a) tests logs confirm API not triggered Change-Id: Icd21249417f3920593227c16ffa34a99b61e88c7
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
0d8e6a7d72e6bd953939dc6976c00eafc08b8fce |
|
18-May-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Fix update publish/subscribe When updating an existing publish/subscribe discovery session the native API must take the session ID of the existing session. The code provided 0 - which was an indication to create a new discovery session. Bug: 38397363 Test: unit tests and integration (sl4a) tests Change-Id: I8657493a39fe39d12a55af2bdee140b850351c1f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
f2344ef55a71f1b2e47a7913c756f0af546d0cb1 |
|
12-May-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Add a fixed service-name for OOB passphrase-protected data-path PMK generation from Passphrase uses passphrase + service name + PMI. However, service name is not available for OOB setups. In such a case use a fixed string. Already added for initiator. This CL adds it for the responder as well. Bug: 38171946 Test: unit tests + existing integrated (sl4a) tests + CtsVerifier Change-Id: I175fe524dc16363f663a8fb10c200831b11ceaf9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
2b8d172f337298ac1da2f9a69662474529e11bc1 |
|
12-May-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Initial power optimization framework - hooks & config"
|
c760a66378bbd844eb421658799b4d55c76b98fa |
|
25-Apr-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Initial power optimization framework - hooks & config Create hooks in Wi-Fi Aware service to respond to power state change events: interactive on/off (aka screen on/off) and idle (doze). Initial implementation transitions to higher latency (assumed to be lower power) discovery duty cycles. Bug: 35457252 Test: unit tests Change-Id: I3a2a67db3e0b47ab982d7c67326e7fa20e429fad
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
ff05cbcaccc03d1f64d1cb232a3c40a664c4be57 |
|
09-May-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Add a fixed service-name for OOB passphrase-protected data-path PMK generation from Passphrase uses passphrase + service name + PMI. However, service name is not available for OOB setups. In such a case use a fixed string. Bug: 38171946 Test: unit tests + existing integrated (sl4a) tests Test: CtsVerifier still fails - but a separate issue Change-Id: Ic1d92438b242aa1264c0589af8ad333c172a2cbf
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
49f29f155e729fd02eeae18b98cfc6ee4910ad3f |
|
21-Apr-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Specify a match of only the first discovery Configure all subscriber service discovery to wake up the host only on the first match. Reduce power. Bug: 37547045 Test: unit tests and integration (sl4a) tests passing. Change-Id: If94462579244f87e624534e75e1707474588eda0
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
0b74b795587b6aada97c7c63f0febf94c76633e2 |
|
20-Mar-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Restrict publish/subscribe count configuration API Public API access to publish/subscribe count removed. Enforce restriction on service side. (cherry-pick of commit 16b00750e1d3c41ce9b4ccae9f07e0586e8ca2d0) Bug: 36446307 Test: unit tests and integration (sl4a) tests Merged-In: I28edd79dcf3aa1e34f921a35c388dc0b056831d0 Change-Id: I28edd79dcf3aa1e34f921a35c388dc0b056831d0
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
2bce4620efc197b7423b842dbb8884ccecf76a1f |
|
14-Mar-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Data-path Passphrase security: connect to HAL Connect the framework data-path passphrase security to the (newly added) HAL APIs. Bug: 35866810 Test: unit tests and integration (sl4a) tests Change-Id: I5e6aeef1ff6abcaf414b50ba13aa1d7fa9a49908
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
31389a22a6f12b12cca89d53b5f9f80fdcd76385 |
|
21-Feb-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Add data-path security configuration (Passphrase) Add support for Passphrase-based security. Bug: 33552694 Test: unit tests and integration (sl4a) tests Change-Id: Id883367f79ca38501e8670097a31245f048e5d71
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
69eb934f563ac0099113bf24587c729df25b15bf |
|
21-Feb-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Add data-path security configuration (PMK) Modify the data-path configuration to use the (optional) PMK to configure security on the data-path. Remove the old 'token' usage. While that information is available from the HAL it doesn't provide any security functionality. Bug: 33552694 Test: unit tests and integration (sl4a) tests Change-Id: I0d0aedc7f00405d7325d7af016666c51669653d4
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
86e4c343394565f8e59e02d25334589f96de38f0 |
|
25-Feb-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Data-path negotiation update Complete the data-path negotiation cycle. Add responder-side code to respond to initiator and check for errors in data-path negotiation. Bug: 33552694 Test: unit tests and integration (sl4a) tests Change-Id: I06f17658e244617cc7fb4cb3788f45fbe3542609
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
afd0fa5167ae4e0eb3e7d0f3e1a011ebccef5f80 |
|
17-Feb-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Ranging auto-response configuration change Remove configuration of ranging auto-response from an Aware-wide configuration (in Enable/Config). It is now configured on a per-discovery-session basis. Bug: 33821639 Test: integration (sl4a) tests. Change-Id: I89d838e6cf33aba6fbe2a0ea3b8beff31a81c3cd
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
49a847941e08faec5901d4824040a522b773ef83 |
|
15-Feb-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Pipe discovery window period configuration to HAL Discovery window period configuration was added to ConfigRequest. Pipe the information to the HAL (HIDL) API. Bug: 33552536 Test: integration (sl4a) tests Change-Id: I1570f98650cc5dbb51d9e722088f9f13931474cd
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
cb1a42a285106e31790297b5427024f43307d457 |
|
09-Feb-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Enable Subscribe Service ID List Attribute inclusion Include the Subscribe Service ID List Attribute by default. Enhances the likelihood of finding the service being searched for. Bug: 35195516 Test: unit tests and integration (sl4a) tests. Change-Id: Iffce8416f5a83cdd98cf618177fc279cf7deb470
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
1e7386343d09cb5b63661d52732999f8626ba140 |
|
09-Feb-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Update framework to match HIDL changes Name changes to match spec more closely. Bug: 35040192 Test: unit tests and integration (sl4a) tests Change-Id: Ide8d19a6a61de1c606b2bff57ff6b5966513e4e3
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
26ac163a1f95188ea00314e07ba52574aadfb726 |
|
09-Feb-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Modify the discovery session handle to uint8_t Match the NAN protocol. Bug: 35040192 Test: unit tests + integration (sl4a) tests Change-Id: Iefed58874f4be606c7d7d4cfa9b24bf2138b390c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|
db3c9d35a7f08de03beec81e801d917a5375f63e |
|
30-Jan-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Wi-Fi Aware HAL: move to HIDL Transition from JNI-based HAL to HIDL-based HAL. Bug: 32315992 Test: unit tests + integration (sl4a) tests passing Change-Id: I8deeaa501b90b1b2a92c3f57a7e0251f21cc40ff
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeApi.java
|