Roshan Pius
284a74db6d
wifi: Add the various iface object implementation am: 3e2d671a4c
am: 6179a92b9a
...
am: 53046195bf
Change-Id: I14d64f7dd2e74a4519500285612aa444d3139665
2016-10-11 21:02:29 +00:00
Roshan Pius
357eb45362
wifi: Remove "Wlan" prefix from wifi_legacy_hal public methods am: ab5c471b0b
am: 638c7d6fa4
...
am: 06c0ff2343
Change-Id: I20fa6972e27ebf89e5ef6432bb256bd82ddc4f8b
2016-10-11 21:02:27 +00:00
Roshan Pius
778b9cede7
wifi: Add support for multiple chips in IWifi am: cd566bddd7
am: f7702fcfba
...
am: e8ff1680f0
Change-Id: I0eb3749ab1f13348c289fba7b4e7f43e8a49574a
2016-10-11 21:02:26 +00:00
Roshan Pius
52ecf27088
wifi(interface): Add RTT Controller object am: fcbf923d3a
am: 83090ab624
...
am: c3b023d51a
Change-Id: Ifcf25a429a4af5c180d2d02c10bc6c1cb41630c5
2016-10-11 21:02:24 +00:00
Roshan Pius
e86e9f157a
wifi(interface): Add Iface objects am: adcfba4b09
am: 68e09f0c35
...
am: bd0cd30d0d
Change-Id: I842340fb3b4a56c6fdd0d6a0cfbf99a4219386d8
2016-10-11 21:02:23 +00:00
Roshan Pius
53046195bf
wifi: Add the various iface object implementation am: 3e2d671a4c
...
am: 6179a92b9a
Change-Id: I1bfed5ab6fe2e765abfdcde1b81e1127e1c964f6
2016-10-11 20:56:43 +00:00
Roshan Pius
06c0ff2343
wifi: Remove "Wlan" prefix from wifi_legacy_hal public methods am: ab5c471b0b
...
am: 638c7d6fa4
Change-Id: I8f2d397c50478cb65af8fae8d99fe8c76f2c8b21
2016-10-11 20:56:41 +00:00
Roshan Pius
e8ff1680f0
wifi: Add support for multiple chips in IWifi am: cd566bddd7
...
am: f7702fcfba
Change-Id: If6ca4867325da53ffe88f95d7046539cb903cd1c
2016-10-11 20:56:40 +00:00
Roshan Pius
c3b023d51a
wifi(interface): Add RTT Controller object am: fcbf923d3a
...
am: 83090ab624
Change-Id: I229a08b8283a26b64244b4876e773f995c2d9062
2016-10-11 20:56:39 +00:00
Roshan Pius
bd0cd30d0d
wifi(interface): Add Iface objects am: adcfba4b09
...
am: 68e09f0c35
Change-Id: I49a49e23c72ecd54c0283d9291a1c983bb86e745
2016-10-11 20:56:37 +00:00
Roshan Pius
6179a92b9a
wifi: Add the various iface object implementation
...
am: 3e2d671a4c
Change-Id: Ibd2223e329f8fd6c00a8782581abe3d428012a60
2016-10-11 20:49:07 +00:00
Roshan Pius
638c7d6fa4
wifi: Remove "Wlan" prefix from wifi_legacy_hal public methods
...
am: ab5c471b0b
Change-Id: I6cad5d5a233c26aee4a8a9667354a8dfad958e82
2016-10-11 20:49:06 +00:00
Roshan Pius
f7702fcfba
wifi: Add support for multiple chips in IWifi
...
am: cd566bddd7
Change-Id: I474546e49179f63a1e65dd6f5281c21441f5228d
2016-10-11 20:49:04 +00:00
Roshan Pius
83090ab624
wifi(interface): Add RTT Controller object
...
am: fcbf923d3a
Change-Id: I511b158bf8bafb7dd54fec18941e35b14cec380f
2016-10-11 20:49:03 +00:00
Roshan Pius
68e09f0c35
wifi(interface): Add Iface objects
...
am: adcfba4b09
Change-Id: I429ea70427a09948ded4089856bda67303b6b075
2016-10-11 20:49:02 +00:00
Roshan Pius
3e2d671a4c
wifi: Add the various iface object implementation
...
This CL adds the implementation classes for the various iface HIDL
interfaces defined. These classes implement the
|getName| & |getType| methods in the Iface HIDL interface.
Integration of these objects with WifiChip class is implemented in the
next CL.
Bug: 31943042
Test: Compiles
Change-Id: I219afd6441e15c76cf7c61f7bcd2b3568dba2b98
2016-10-11 07:46:24 -07:00
Roshan Pius
ab5c471b0b
wifi: Remove "Wlan" prefix from wifi_legacy_hal public methods
...
All the legacy HAL API's in the function table uses the "wlan0"
interface handle for the various operations. But, this is an internal
detail that should be abstracted inside WifiLegacyHal class. So, rename
the public methods to remove the "Wlan" prefix from them.
Also, add methods to fetch the iface names to use for the various types
of HAL.
Bug: 31943042
Test: Compiles
Change-Id: I35a6cdea0ad7cff295d33c0245953258129fba43
2016-10-11 07:46:24 -07:00
Roshan Pius
cd566bddd7
wifi: Add support for multiple chips in IWifi
...
The modified HIDL interface supports multiple chip instances on the
device. Modify the |IWifi| interface implementation to support the new
methods.
NOTE: The legacy HAL implementation will continue to only expose 1 chip.
While there,
Change the |callbacks_| member to std::vector instead of std::set. We
don't really need a set to store the list of callbacks.
Bug: 32003988
Test: Compiles
Change-Id: I31e704100f716e223095890279bdf93d2a04377e
2016-10-11 07:46:24 -07:00
Roshan Pius
fcbf923d3a
wifi(interface): Add RTT Controller object
...
Create a RTT controller object to use for initiating all the RTT related
HAL opertations.
Since we don't want to fix the iface on which to initiate RTT operations,
these methods will be rooted in a new standalone object |RttController|.
Framework can decide to intiate an instance of |RttController| on a
specified iface or let the implementation pick one.
Bug: 31991232
Test: Interface compiles.
Change-Id: I65f7a7babd72db26ce6549f572abd9ef73700c82
2016-10-11 07:46:24 -07:00
Roshan Pius
adcfba4b09
wifi(interface): Add Iface objects
...
Create a child object under IWifiChip to represent each interface
within the chip. Each iface object has a |type| & |ifname| which should
help us uniquely identify them. This should help us expose methods that
are applicable only to a specific interface type.
While there,
Assign a unique id to every chip on the device.
Add IWifi.listChipIds() to retrieve the list of chip Id's avaiable on the
device. IWifi.getChip() will now use the provided Id to retrieve the
corresponding IWifiChip object(because HIDL language doesn't support
vec<HIDL objects>).
Bug: 31943042
Bug: 32003988
Test: Interface compiles (not implementation)
Change-Id: I723007566ca4220362c02d0f452753fee4e31fce
2016-10-11 07:46:24 -07:00
Amit Mahajan
579ceaf543
Merge "Initial version of radio hal" am: 2078f22513
am: 969b65155d
...
am: 19b61a0520
Change-Id: I3a0f5ac240377b711dd686d512a056c897dd6dd0
2016-10-11 00:14:17 +00:00
Amit Mahajan
19b61a0520
Merge "Initial version of radio hal" am: 2078f22513
...
am: 969b65155d
Change-Id: Ie663469d6cc4103893d675b4bb52668dc701c18a
2016-10-11 00:08:58 +00:00
Amit Mahajan
969b65155d
Merge "Initial version of radio hal"
...
am: 2078f22513
Change-Id: I6ad9850af03e79c6be37fbc3d717c2f882812c4d
2016-10-11 00:02:18 +00:00
Treehugger Robot
2078f22513
Merge "Initial version of radio hal"
2016-10-10 23:53:11 +00:00
Amit Mahajan
4cb7b84aba
Initial version of radio hal
...
Test: No build issues. Unused interface; nothing to test yet.
Bug: 32020264
Change-Id: Ie57eb43b777dadbc0b0350f2e33227be3f1d65f1
2016-10-10 14:36:50 -07:00
Yifan Hong
e75afa9482
Merge "Add test for importing a single type." am: a543fe6ab0
am: ccdc46999a
...
am: 91c349e395
Change-Id: Ic90328c30bd9d4c2c020e4d1243aacc7ae4ff550
2016-10-10 20:10:59 +00:00
Yifan Hong
91c349e395
Merge "Add test for importing a single type." am: a543fe6ab0
...
am: ccdc46999a
Change-Id: I249ed97a6c000d655d1273b59a69b5cf4f1d4567
2016-10-10 20:04:30 +00:00
Yifan Hong
ccdc46999a
Merge "Add test for importing a single type."
...
am: a543fe6ab0
Change-Id: Iada329b14b66825933f6b42b9eb259584276b9cd
2016-10-10 19:59:00 +00:00
Yifan Hong
a543fe6ab0
Merge "Add test for importing a single type."
2016-10-10 19:49:45 +00:00
Yifan Hong
405d5ad795
Add test for fixing 0XFF (upper X) am: e312006887
am: 55c8f5979f
...
am: 034159b44a
Change-Id: I45d2de1de6dbb2e4d20dcb84a7a4b2aff57f2d50
2016-10-08 10:51:32 +00:00
Yifan Hong
034159b44a
Add test for fixing 0XFF (upper X) am: e312006887
...
am: 55c8f5979f
Change-Id: I0d97d1541096f645bdefe4e27107e1f8aa42611e
2016-10-08 10:47:01 +00:00
Yifan Hong
55c8f5979f
Add test for fixing 0XFF (upper X)
...
am: e312006887
Change-Id: I8aa7620f3acb68008ddd56c45d8cc2af596b310e
2016-10-08 10:42:31 +00:00
Yifan Hong
799ebcb7fa
Add test for importing a single type.
...
Test: `cd system/tools/hidl && mma`
Bug: 31821285
Change-Id: I0be97b16b84f76b64c09f9dc52709416601cbbdf
2016-10-07 19:43:43 -07:00
Yifan Hong
e312006887
Add test for fixing 0XFF (upper X)
...
Bug: 31983995
Test: make android.hardware.tests.expression@1.0
Change-Id: I05bed0164c5cc988843a60d1efc8f5aeb4986b9b
2016-10-07 16:32:57 -07:00
Steven Moreland
9e052ff786
Merge "Revert "Revert "Revert "nfc: reflect style guide."""" am: 13e19421b3
am: 56fb3ee908
...
am: d0b8606d27
Change-Id: Id44b3d7226ebe9f18ba39ec3d35c8914be8ade14
2016-10-06 03:03:53 +00:00
Steven Moreland
41b2ae1066
Revert "Revert "Revert "nfc: update default implementation to match style.""" am: 6d4d412617
am: b947073aad
...
am: 4d0bf24497
Change-Id: If444fe433f9e6034c33227a73b869b6cb6feda6f
2016-10-06 03:03:16 +00:00
Steven Moreland
18396bc256
Revert "Revert "Revert "nfc: reflect style guide.""" am: 20ea4ea288
am: 77f08aaff0
...
am: a8896cc16e
Change-Id: Iaa4cd7b87ab3905d345345e100d6ee51e38f7871
2016-10-06 03:03:14 +00:00
Steven Moreland
d0b8606d27
Merge "Revert "Revert "Revert "nfc: reflect style guide."""" am: 13e19421b3
...
am: 56fb3ee908
Change-Id: I1abaa6ab634c08a32d833dd4188754c52fe77b13
2016-10-06 03:00:55 +00:00
Steven Moreland
4d0bf24497
Revert "Revert "Revert "nfc: update default implementation to match style.""" am: 6d4d412617
...
am: b947073aad
Change-Id: I062cab50c506f42c1686275dc21c7052613e800f
2016-10-06 03:00:17 +00:00
Steven Moreland
a8896cc16e
Revert "Revert "Revert "nfc: reflect style guide.""" am: 20ea4ea288
...
am: 77f08aaff0
Change-Id: I79257dc8ae23aca3a3bcb0c6ae45124f99a5ec8a
2016-10-06 03:00:15 +00:00
Steven Moreland
56fb3ee908
Merge "Revert "Revert "Revert "nfc: reflect style guide.""""
...
am: 13e19421b3
Change-Id: I32627c1cadf883d5db0649bca3f8974388cd64ad
2016-10-06 02:57:30 +00:00
Steven Moreland
b947073aad
Revert "Revert "Revert "nfc: update default implementation to match style."""
...
am: 6d4d412617
Change-Id: I0fdeaa060de1232ae43809ad3ae266e9b4cd67fd
2016-10-06 02:56:46 +00:00
Steven Moreland
77f08aaff0
Revert "Revert "Revert "nfc: reflect style guide."""
...
am: 20ea4ea288
Change-Id: I1113a2fb4d8647f11d5269ea59a487fa5466945f
2016-10-06 02:56:44 +00:00
Steven Moreland
13e19421b3
Merge "Revert "Revert "Revert "nfc: reflect style guide.""""
2016-10-06 02:51:18 +00:00
Steven Moreland
6d4d412617
Revert "Revert "Revert "nfc: update default implementation to match style."""
...
This reverts commit 22be21e864
.
Change-Id: I0534b0eb87623091685fa0e2d94d744d2aeaa4ca
2016-10-06 02:50:58 +00:00
Steven Moreland
20ea4ea288
Revert "Revert "Revert "nfc: reflect style guide."""
...
This reverts commit 106bc9d27a
.
Change-Id: Ie2e0ad4aeaa58c45bab05234615bd7fa02b84c1a
2016-10-06 02:50:48 +00:00
Yifan Hong
e39b0b6021
Merge "Add test for missing package name for FQName lookup." am: e57188f95e
am: 2c11d494b2
...
am: df9ab2e88f
Change-Id: I85cefeb6b45125b6ab6333075ddf87075255c59b
2016-10-06 00:30:10 +00:00
Yifan Hong
df9ab2e88f
Merge "Add test for missing package name for FQName lookup." am: e57188f95e
...
am: 2c11d494b2
Change-Id: I021cd017c46e233c92d60004d01b323376d85e95
2016-10-06 00:27:12 +00:00
Yifan Hong
2c11d494b2
Merge "Add test for missing package name for FQName lookup."
...
am: e57188f95e
Change-Id: I28977cab5f679f420d8d4f9fa175d6c46a434373
2016-10-06 00:24:11 +00:00
Treehugger Robot
e57188f95e
Merge "Add test for missing package name for FQName lookup."
2016-10-06 00:19:36 +00:00