Martijn Coenen
a01c7cd6d7
Use newly introduced hidl_handle. am: 403161ab73
...
am: 14c4d0da66
Change-Id: Ia6cca0328196d8b893fa99a4505efc6dfd3ef0ed
2016-11-22 15:01:04 +00:00
Martijn Coenen
14c4d0da66
Use newly introduced hidl_handle.
...
am: 403161ab73
Change-Id: Ic5344ae123ef0c9b233eb31e6b9cd33be2d809fc
2016-11-22 14:58:35 +00:00
Martijn Coenen
403161ab73
Use newly introduced hidl_handle.
...
Bug: 32089785
Test: builds
Change-Id: I27c7d3945e1fe390661bf322987011a00fe9b3fe
2016-11-22 12:17:58 +01:00
Roshan Pius
569b010860
Merge changes I7c418811,I0870eae0 am: 88fb149b8e
...
am: df6cb83d97
Change-Id: Idd3080ebe3a6ce42cc0d2eb095b043ecac24fdb9
2016-11-22 01:48:12 +00:00
Roshan Pius
3fab519317
wifi: Add link layer stats API wrappers in WifiLegacyHal am: 7cece41299
...
am: db91ca1794
Change-Id: I3727bc3a2a5b4baa0400453035321a439c5150f4
2016-11-22 01:48:10 +00:00
Roshan Pius
a9af2aea6d
wifi: Add gscan API wrappers in WifiLegacyHal am: 76ff302d57
...
am: 197524b157
Change-Id: Id7e4ec4307ea273a5b81a3539a2e8d1ff2b7849a
2016-11-22 01:48:08 +00:00
Roshan Pius
df6cb83d97
Merge changes I7c418811,I0870eae0
...
am: 88fb149b8e
Change-Id: Ic1b7ccb20296344bb551fc600d3d6e25fe1fe6a6
2016-11-22 01:39:03 +00:00
Roshan Pius
db91ca1794
wifi: Add link layer stats API wrappers in WifiLegacyHal
...
am: 7cece41299
Change-Id: Id8edce8333faa2860a7deef272858b93c6c8bef6
2016-11-22 01:39:00 +00:00
Roshan Pius
197524b157
wifi: Add gscan API wrappers in WifiLegacyHal
...
am: 76ff302d57
Change-Id: Ieda0e0ab4b058f342788cf39182c7a2eafafeeba
2016-11-22 01:38:57 +00:00
Treehugger Robot
88fb149b8e
Merge changes I7c418811,I0870eae0
...
* changes:
wifi: Add link layer stats API wrappers in WifiLegacyHal
wifi: Add gscan API wrappers in WifiLegacyHal
2016-11-22 01:06:51 +00:00
Ruchi Kandoi
2c54eef738
Merge "NFC: Add Annotations to the HAL file" am: 3bca1eef75
...
am: 3007940bda
Change-Id: I34838be329867495cce6108472fa94ef09285c02
2016-11-21 23:06:57 +00:00
Ruchi Kandoi
3007940bda
Merge "NFC: Add Annotations to the HAL file"
...
am: 3bca1eef75
Change-Id: I528f0494291c89116a976a8da0c28dd3dc87e6cb
2016-11-21 23:03:59 +00:00
Ruchi Kandoi
3bca1eef75
Merge "NFC: Add Annotations to the HAL file"
2016-11-21 22:53:01 +00:00
Roshan Pius
7cece41299
wifi: Add link layer stats API wrappers in WifiLegacyHal
...
Adds wrappers over the legacy HAL API for the following:
1. enable/disable link layer stats collection.
2. fetch link layer stats.
Note: Link layer stats structure is quite ugly. The wrapper stucture
declared here (LinkLayerStats) tries to separate out the pointer
elements and ignore the unnecessary variable size elements from them.
Bug: 31991459
Test: Compiles
Change-Id: I7c4188115786542866c7be56cf9f116b3f78e6a3
2016-11-21 10:57:45 -08:00
Roshan Pius
76ff302d57
wifi: Add gscan API wrappers in WifiLegacyHal
...
The legacy gscan API's were designed to be used in the following
sequence:
a) Start the scan using |wifi_start_gscan|.
b) Scan Events are indicated to the caller via the provided
|on_scan_event| callback.
c) When one of the result events are received, the caller is expected
to retrieve the cached results via |wifi_get_cached_gscan_results|.
There are some extra knobs here to determine if the results need to be
flushed after fetch or not.
d) Any scan failures are also notified via the provided
|on_scan_event| callback.
e) Full scan results are delivered one by one via the provided
|on_full_scan_result| callback.
In our use case step (b) above is always followed by step (c), so these
2 steps have been merged together in the HIDL interface:
a) Start the scan using |IWifiStaIface.startBackgroundScan|.
b) Scan results are now directly delivered via
|IWifiStaIfaceEventCallback.onBackgroundScanResults| callback.
c) Any scan failures will be delivered via
|IWifiStaIfaceEventCallback.onBackgroundScanFailure| callback.
d) Full scan results are delivered one by one via
|IWifiStaIfaceEventCallback.onBackgroundFullScanResult| callback.
Bug: 31991459
Test: Compiles
Change-Id: I0870eae095a667eec1d8de75fe1cc04a1b5a0bd3
2016-11-21 10:57:45 -08:00
Yifan Hong
694ff2ff02
Split libhidl into base and transport. am: 63544eacb6
...
am: 5ec7f082b2
Change-Id: Id2874af88e4bed99f7ea50d1c2b27e1d473d5d9e
2016-11-18 23:20:42 +00:00
Yifan Hong
5ec7f082b2
Split libhidl into base and transport.
...
am: 63544eacb6
Change-Id: I97974e9bbe99c93591c0a4e85ff75a43c7e63983
2016-11-18 23:14:31 +00:00
Yifan Hong
63544eacb6
Split libhidl into base and transport.
...
Bug: 32756130
Test: mma
Change-Id: Id21cf23abe2910f26bb7895511862443b93dc112
2016-11-18 09:52:57 -08:00
Martijn Coenen
b5a4e86c5f
Merge "Cast hidl_pointer<T> to void*." am: 6033952ff1
...
am: fbedd83ffe
Change-Id: Ic4da0faf730d6516ae83499996ee32c22db21003
2016-11-18 08:11:20 +00:00
Martijn Coenen
fbedd83ffe
Merge "Cast hidl_pointer<T> to void*."
...
am: 6033952ff1
Change-Id: Ic0bdb5eab4f0a38c3b93042aad4ec14856f05de5
2016-11-18 08:08:20 +00:00
Martijn Coenen
6033952ff1
Merge "Cast hidl_pointer<T> to void*."
2016-11-18 08:03:39 +00:00
Sanket Padawe
cffe615c75
Merge "Add a missing RIL request in iRadio.hal" am: d5e70d7f63
...
am: 63567654fb
Change-Id: I14b18bd84cb93582a53a4df278cfbd3fdfaa5cc8
2016-11-18 01:44:20 +00:00
Sanket Padawe
63567654fb
Merge "Add a missing RIL request in iRadio.hal"
...
am: d5e70d7f63
Change-Id: I57f2b156ab7131bff083acc49ee628942ac2f53e
2016-11-18 01:42:19 +00:00
Sanket Padawe
d5e70d7f63
Merge "Add a missing RIL request in iRadio.hal"
2016-11-18 01:33:10 +00:00
Roshan Pius
d171389a38
wifi: Add APF/feature-set wrappers in WifiLegacyHal am: 0a47c187b9
...
am: ed39ab0b55
Change-Id: I8d77d627ef9ee3c2e50764f5e730b716e536da7b
2016-11-18 01:19:50 +00:00
Roshan Pius
799b637cfb
wifi: Move legacy hal types to a new namespace (2/2) am: 6cedc97e95
...
am: b883f2f23b
Change-Id: I72293ac9a7f96db2434ddbd303aa4f0d552c73cb
2016-11-18 01:19:49 +00:00
Roshan Pius
016b58968f
wifi: Move legacy hal types to a new namespace (1/2) am: 955542e9a2
...
am: 795999b489
Change-Id: I8f78cf839ef3e754248011afb76d9bc567a74252
2016-11-18 01:19:48 +00:00
Roshan Pius
ed39ab0b55
wifi: Add APF/feature-set wrappers in WifiLegacyHal
...
am: 0a47c187b9
Change-Id: Idaa8f4932d44cde5ba4a69919e3833027782281c
2016-11-18 01:18:19 +00:00
Roshan Pius
b883f2f23b
wifi: Move legacy hal types to a new namespace (2/2)
...
am: 6cedc97e95
Change-Id: I7c999625fb5a39d2568f39189905a67f9366d078
2016-11-18 01:18:18 +00:00
Roshan Pius
795999b489
wifi: Move legacy hal types to a new namespace (1/2)
...
am: 955542e9a2
Change-Id: I83e0e783077d2e3dd8103d494192c2652665977c
2016-11-18 01:18:17 +00:00
Sanket Padawe
f6e345ac01
Add a missing RIL request in iRadio.hal
...
Test: no test
Bug: 32020264
Change-Id: I5b1584e5451c4c04e0a2902791140c4e7bd95549
2016-11-17 15:28:31 -08:00
Roshan Pius
0a47c187b9
wifi: Add APF/feature-set wrappers in WifiLegacyHal
...
Add wrappers for retrieving the feature set supported by the device &
APF functionality.
Bug: 31991459
Test: Compiles
Change-Id: I34b8896a21e34f688374750faefd589eca2a4de1
2016-11-17 08:09:10 -08:00
Martijn Coenen
65c86c08a1
Cast hidl_pointer<T> to void*.
...
hidl_pointer<T> can only allow one implicit conversion
operator, and native_handle_t* is the one that makes
most sense. Hence, this requires an explicit cast.
Bug: 32089785
Test: builds
Change-Id: Ie952ee2e4f0c20fa33f793403d51f3d550257310
2016-11-17 15:29:36 +01:00
Roshan Pius
02c759f15b
wifi: Changes to WifiLegacy Hal am: 511cc493e3
...
am: d09ad0c3d6
Change-Id: Ie8971f38d7e8f44a7405fbd2760dcbd63f0fe817
2016-11-17 02:50:31 +00:00
Roshan Pius
d09ad0c3d6
wifi: Changes to WifiLegacy Hal
...
am: 511cc493e3
Change-Id: I2b78178e06ba7dbc0929ac8e0dc2c2a40443dfe6
2016-11-17 02:43:37 +00:00
Roshan Pius
1f61ab5b10
wifi: Remove passthrough mode am: 23f9f30344
...
am: 23baa7c2a8
Change-Id: Iaf5eff82a47d60888ed9c0b1ea3de785e094ccd5
2016-11-17 01:05:10 +00:00
Roshan Pius
da29240c74
wifi: Stub implementation of WifiNanIface methods am: 0c92d446a2
...
am: 9fe32608f5
Change-Id: Ief4e535c9ce624d6bc352b8712e6f5dab065e4a4
2016-11-17 01:05:09 +00:00
Roshan Pius
2081143b68
wifi: Stub implementation of WifiRttController methods am: 7913f5e49d
...
am: ee5137a3d1
Change-Id: I2575aa282990f43cd0aff421dd9066bfda630539
2016-11-17 01:05:08 +00:00
Roshan Pius
542e9b0b90
wifi: Stub implementation of WifiStaIface methods am: a04ba3fcb8
...
am: e65ad43046
Change-Id: I10a30ade5d64f6c631005e68261d6984ee180f7f
2016-11-17 01:05:07 +00:00
Roshan Pius
eb00f23344
wifi: Stub implementation of WifiChip methods am: 7d08d7a16d
...
am: 3e8793aadf
Change-Id: I31fbd1d6d280bf64b041926df89a46d6032a77b3
2016-11-17 01:05:06 +00:00
Roshan Pius
e3e14bee9c
wifi: Use hidl_return_util functions in Iface/Rtt am: 907d4a234d
...
am: dd5c2b8990
Change-Id: I7f81c54ba76c2e843ca9ce52271178b09a66f65e
2016-11-17 01:05:04 +00:00
Roshan Pius
01f66f52f2
wifi: Use hidl_return_util functions in WifiChip am: 3c86852a2e
...
am: 7022158220
Change-Id: I8c28ac7ce2799fdbfd7bcf76c0d1bf47365fddce
2016-11-17 01:05:03 +00:00
Roshan Pius
8a9ab30d5c
wifi: Helper functions for invoking hidl cont callbacks am: 5647665827
...
am: 1ab8395a21
Change-Id: If7ec3758290dc84797ffecd882f8f95763d3ae0d
2016-11-17 01:05:02 +00:00
Roshan Pius
8e951f23c6
wifi: Make methods deliver status synchronously (3/3) am: 734fea0d98
...
am: 815e61624f
Change-Id: I6cebc23d5f188c666a5f09c52115dd3e34328b77
2016-11-17 01:05:00 +00:00
Roshan Pius
611487ebb7
wifi: Make methods deliver status synchronously (2/3) am: 5c05546fc9
...
am: dbfb6017fb
Change-Id: I9e0a3e100fd3a7bb3fe4f32e86ee3b538fa7eba4
2016-11-17 01:04:59 +00:00
Roshan Pius
f3b2c4ab07
wifi: Make methods deliver status synchronously (1/3) am: 503582ed94
...
am: 40dac08a47
Change-Id: I9f240491dadbac1cd6770542b35b6d578afba6d9
2016-11-17 01:04:58 +00:00
Roshan Pius
e9d9899587
wifi: Rename failure_reason_util to wifi_status_util am: 1922482a5c
...
am: 5aaf00608a
Change-Id: I1453209ebf7f48fb9a202abd1a95af6de40b05c6
2016-11-17 01:04:56 +00:00
Roshan Pius
6a908348b3
wifi(interface): Add status for all methods am: 02caa1b821
...
am: bedd03bc48
Change-Id: I7e93064f3122294e6a222026130bfae47ff492a8
2016-11-17 01:04:55 +00:00
Roshan Pius
75ea50e963
wifi(interface): Add wifi host debug wake up reason stats am: e0724f98b0
...
am: 3dd396eb5e
Change-Id: Ib132c7ac5084a9f066647e0601f5626ec2b51e63
2016-11-17 01:04:54 +00:00
Roshan Pius
ed5be10c54
wifi(interface): Add wifi debug packet fate related interface am: fe9ad36cb2
...
am: 17fe2cc0e4
Change-Id: I652b582cf1d88ec1214a83877be7e6abdcdc9f11
2016-11-17 01:04:53 +00:00