OSDN Git Service

android-x86/hardware-interfaces.git
7 years agosupplicant(interface): Add support for DRIVER commands am: 3f050c1a0f
Roshan Pius [Fri, 16 Dec 2016 05:51:58 +0000 (05:51 +0000)]
supplicant(interface): Add support for DRIVER commands am: 3f050c1a0f
am: 2255fd62d6

Change-Id: If60341a5b1193d81d30785da5c35d1d2810f7fe9

7 years agosupplicant(interface): Add support for DRIVER commands
Roshan Pius [Fri, 16 Dec 2016 05:44:56 +0000 (05:44 +0000)]
supplicant(interface): Add support for DRIVER commands
am: 3f050c1a0f

Change-Id: If537ea8832b2fa881cfc04fc719b06f211af344d

7 years agosupplicant(interface): Add support for DRIVER commands
Roshan Pius [Wed, 14 Dec 2016 16:06:58 +0000 (08:06 -0800)]
supplicant(interface): Add support for DRIVER commands

These were legacy commands added to wpa_supplicant specifically for
android when the vendor HAL did not exist. These string commands are
passed as passthough to the driver by wpa_supplicant. Instead of adding
a single method to pass through these strings. Add separate methods for
each "DRIVER xxx" command that we currently used in Android framework.

Bug: 32699292
Test: Compiles
Change-Id: I8b62b3250496fa996bb97b4af0ba570a3d345cc3

7 years agoRevert "Fix tests for using IBase instead of IBinder." am: 0dbb9903cd
Martijn Coenen [Thu, 15 Dec 2016 23:22:08 +0000 (23:22 +0000)]
Revert "Fix tests for using IBase instead of IBinder." am: 0dbb9903cd
am: 666a5dcafe

Change-Id: Ia1010cf130fc9b0103a4ce7c97c53dbf7a4cca36

7 years agoRevert "Fix tests for using IBase instead of IBinder."
Martijn Coenen [Thu, 15 Dec 2016 22:43:48 +0000 (22:43 +0000)]
Revert "Fix tests for using IBase instead of IBinder."
am: 0dbb9903cd

Change-Id: Ifdb24673d0b1b1a208076f692f0431541589af0a

7 years agoRevert "Fix tests for using IBase instead of IBinder."
Martijn Coenen [Thu, 15 Dec 2016 20:34:38 +0000 (21:34 +0100)]
Revert "Fix tests for using IBase instead of IBinder."

This reverts commit 1d747311b3aa3d208aedf3dfce97d134d57db723.
Bug: 33173166
Test: builds, hidl_test

7 years agoMerge "Add new RadioError in telephony hidl interface." am: 441f2fda32
Sanket Padawe [Wed, 14 Dec 2016 20:22:21 +0000 (20:22 +0000)]
Merge "Add new RadioError in telephony hidl interface." am: 441f2fda32
am: dd27f94c93

Change-Id: I18a3a3857c069be478b137e6c395ce04e108bbc4

7 years agoMerge "Add new RadioError in telephony hidl interface."
Sanket Padawe [Wed, 14 Dec 2016 20:15:00 +0000 (20:15 +0000)]
Merge "Add new RadioError in telephony hidl interface."
am: 441f2fda32

Change-Id: I383acd4561f4e3c3a15e8fc5359cb0efbbe36170

7 years agoMerge "Add new RadioError in telephony hidl interface."
Sanket Padawe [Wed, 14 Dec 2016 20:03:51 +0000 (20:03 +0000)]
Merge "Add new RadioError in telephony hidl interface."

7 years agoMerge "Update makefiles for Java package path." am: 698b6a9614
Yifan Hong [Wed, 14 Dec 2016 03:55:38 +0000 (03:55 +0000)]
Merge "Update makefiles for Java package path." am: 698b6a9614
am: 1f8c3cd2f2

Change-Id: Id21817bcae944e930ef094d683fecc83cf6e6098

7 years agoMerge "Update makefiles for Java package path."
Yifan Hong [Wed, 14 Dec 2016 03:49:32 +0000 (03:49 +0000)]
Merge "Update makefiles for Java package path."
am: 698b6a9614

Change-Id: I57d2eb340433ef462a73aaad9d0b969d7c3456b1

7 years agoMerge "Update makefiles for Java package path."
Treehugger Robot [Wed, 14 Dec 2016 03:43:57 +0000 (03:43 +0000)]
Merge "Update makefiles for Java package path."

7 years agosupplicant(interface): Add network param getters am: 118598a8db
Roshan Pius [Wed, 14 Dec 2016 03:34:54 +0000 (03:34 +0000)]
supplicant(interface): Add network param getters am: 118598a8db
am: c9420bb452

Change-Id: Ic0152b476cadf8263c470266adb7aac5c07df8ed

7 years agosupplicant(interface): Add 2 sta iface callbacks am: d11fc7eace
Roshan Pius [Wed, 14 Dec 2016 03:34:53 +0000 (03:34 +0000)]
supplicant(interface): Add 2 sta iface callbacks am: d11fc7eace
am: 93a2465630

Change-Id: If54e1668d9c460cfa30993e3eb4c54ffd4592781

7 years agosupplicant(interface): Add network param getters
Roshan Pius [Wed, 14 Dec 2016 03:28:24 +0000 (03:28 +0000)]
supplicant(interface): Add network param getters
am: 118598a8db

Change-Id: Ie7518ffb089b0e1f603720b001ea611f60d81091

7 years agosupplicant(interface): Add 2 sta iface callbacks
Roshan Pius [Wed, 14 Dec 2016 03:28:22 +0000 (03:28 +0000)]
supplicant(interface): Add 2 sta iface callbacks
am: d11fc7eace

Change-Id: I44b3e4e537867177062749cb455d0efcc9f63b73

7 years agoUpdate makefiles for Java package path.
Yifan Hong [Tue, 13 Dec 2016 00:05:23 +0000 (16:05 -0800)]
Update makefiles for Java package path.

use V1_0 instead of 1.0.

Bug: 33554192

Test: hidl_test_java
Change-Id: Ic2d95265df10914a60a5bb743d75e839948838c3

7 years agowifi: Add legacy HAL stubs am: e73a506912
Roshan Pius [Wed, 14 Dec 2016 01:31:19 +0000 (01:31 +0000)]
wifi: Add legacy HAL stubs am: e73a506912
am: 809642e314

Change-Id: I5c53e4101aff6fb33c4ee8d8723be8c31b3ccc76

7 years agowifi: Add support for removing iface am: 8b55e6f475
Roshan Pius [Wed, 14 Dec 2016 01:31:18 +0000 (01:31 +0000)]
wifi: Add support for removing iface am: 8b55e6f475
am: bb2dad47bb

Change-Id: I78e303881210cf8ecdc0d2d96e9c04b862e2a4ca

7 years agowifi: Fixes in WifiLegacyHal am: 11f930321b
Roshan Pius [Wed, 14 Dec 2016 01:31:16 +0000 (01:31 +0000)]
wifi: Fixes in WifiLegacyHal am: 11f930321b
am: d2d3498a4d

Change-Id: I0877544904311d37a883e5776d3fe9ba2e2d4068

7 years agowifi: Add legacy HAL stubs
Roshan Pius [Wed, 14 Dec 2016 01:24:48 +0000 (01:24 +0000)]
wifi: Add legacy HAL stubs
am: e73a506912

Change-Id: Ide7b6bfe4bf8a7bb0aa34911631bd698310cfda0

7 years agowifi: Add support for removing iface
Roshan Pius [Wed, 14 Dec 2016 01:24:46 +0000 (01:24 +0000)]
wifi: Add support for removing iface
am: 8b55e6f475

Change-Id: I403f1173636f520790d041155f8a3b8a9a06197d

7 years agowifi: Fixes in WifiLegacyHal
Roshan Pius [Wed, 14 Dec 2016 01:24:45 +0000 (01:24 +0000)]
wifi: Fixes in WifiLegacyHal
am: 11f930321b

Change-Id: I4f4ae5fabdb364ffacd3c0bf1eb48548b5a646b6

7 years agosupplicant(interface): Add network param getters
Roshan Pius [Tue, 13 Dec 2016 21:39:27 +0000 (13:39 -0800)]
supplicant(interface): Add network param getters

These getters are needed for migration of network configs from
wpa_supplicant to the new config store.

Bug: 31497348
Test: Compiles
Change-Id: I970ea3ca070a3bb7344bc51664159ce0e95a18db

7 years agosupplicant(interface): Add 2 sta iface callbacks
Roshan Pius [Mon, 12 Dec 2016 21:04:25 +0000 (13:04 -0800)]
supplicant(interface): Add 2 sta iface callbacks

Add callbacks for:
1. Disconnection from the currently connected network.
2. Association rejection from the AP.

Bug: 33416261
Test: Compiles
Change-Id: Ifde45bf7db353f399bd7dc291af0d069f8387e3b

7 years agowifi: Add legacy HAL stubs
Roshan Pius [Mon, 12 Dec 2016 16:53:34 +0000 (08:53 -0800)]
wifi: Add legacy HAL stubs

This is a port of all the existing stub functions from HalTool. Will
deprecate and remove HalTool once framework switches over to HIDL.
These stubs are important because the vendor implementations don't fill
a function pointer in the table (when |init_wifi_vendor_hal_func_table| is
invoked) if they don't implement that feature.

Bug: 33540636
Test: Gtests
Change-Id: Ia41c4faa30b517731a162f3999d64a3f2c34e058

7 years agowifi: Add support for removing iface
Roshan Pius [Fri, 9 Dec 2016 20:05:12 +0000 (12:05 -0800)]
wifi: Add support for removing iface

This is needed to support dynamically switching between ifaces
within the same mode.

While there, correct couple of nits:
1. Pass std::string to the |get*IfaceInternal| methods. This makes the
name comparison easier.
2. Update the docstring of |get*Iface| in IWifiChip.hal to indicate that
we'll return ERROR_INVALID_ARGS if the iface name is wrong.

Bug: 33040049
Test: Compiles
Change-Id: I53584013283a10bf109f1c2ffb6136c44f11ed29

7 years agowifi: Fixes in WifiLegacyHal
Roshan Pius [Fri, 9 Dec 2016 18:26:17 +0000 (10:26 -0800)]
wifi: Fixes in WifiLegacyHal

Changes:
1. Add |is_started_| flag in WifiLegacyHal to ignore stop/start
requests when they're already in the same state.
2. Detach the event loop thread and remove the class member storing
the thread handle.

While there,
1. Cleanup some logs to better help debug issues.
2. Also fixed the wrong method name used in WifiModeController.

Bug: 33480898
Test: Gtests run successfully.
Change-Id: I913f656206a2ca7a79fb316501c256fcdc32aed9

7 years agoMerge "Add android.hardware.consumerir@1.0 service." am: 3bee82f5d7
Connor O'Brien [Tue, 13 Dec 2016 21:08:30 +0000 (21:08 +0000)]
Merge "Add android.hardware.consumerir@1.0 service." am: 3bee82f5d7
am: b2a40ee3b6

Change-Id: I4c3c440a53ba8385aabaad3c705a23672ea801cf

7 years agoMerge "Add android.hardware.consumerir@1.0 service."
Connor O'Brien [Tue, 13 Dec 2016 21:02:30 +0000 (21:02 +0000)]
Merge "Add android.hardware.consumerir@1.0 service."
am: 3bee82f5d7

Change-Id: Ic073c5e68c57ea0aecf64f7d2f032bdefcc73c61

7 years agoMerge "Add android.hardware.consumerir@1.0 service."
Connor O'Brien [Tue, 13 Dec 2016 20:53:59 +0000 (20:53 +0000)]
Merge "Add android.hardware.consumerir@1.0 service."

7 years agoMerge "Update test for method name and result name." am: e8d4931930
Yifan Hong [Tue, 13 Dec 2016 20:42:59 +0000 (20:42 +0000)]
Merge "Update test for method name and result name." am: e8d4931930
am: 7f49aa4b75

Change-Id: Idd05a347009a81f6a0cb2c2445733cacbee4b2e4

7 years agoMerge "Update test for method name and result name."
Yifan Hong [Tue, 13 Dec 2016 20:36:30 +0000 (20:36 +0000)]
Merge "Update test for method name and result name."
am: e8d4931930

Change-Id: I61011d8caae8aafddff018338746b08c8012f543

7 years agoMerge "Update test for method name and result name."
Treehugger Robot [Tue, 13 Dec 2016 20:30:37 +0000 (20:30 +0000)]
Merge "Update test for method name and result name."

7 years agoAdd new RadioError in telephony hidl interface.
Sanket Padawe [Tue, 13 Dec 2016 19:22:32 +0000 (11:22 -0800)]
Add new RadioError in telephony hidl interface.

Bug: 32020264
Test: no test
Change-Id: Ia41c9aa84cb8799394fa70e9a444ba58361121be

7 years agoMerge "Add consumerir HIDL default implementation" am: ac430dba09
Connor O'Brien [Tue, 13 Dec 2016 19:19:34 +0000 (19:19 +0000)]
Merge "Add consumerir HIDL default implementation" am: ac430dba09
am: e09bb06994

Change-Id: Iee3e4e60e03b58be2929413a69ec151f1048b1b5

7 years agoMerge "consumerir: define the consumerir HIDL interface" am: 8af27124a3
Connor O'Brien [Tue, 13 Dec 2016 19:19:23 +0000 (19:19 +0000)]
Merge "consumerir: define the consumerir HIDL interface" am: 8af27124a3
am: efe941587a

Change-Id: I124c545dcb96efc60e7c6262cf6fc8412a5de5f9

7 years agoMerge "Add consumerir HIDL default implementation"
Connor O'Brien [Tue, 13 Dec 2016 19:13:35 +0000 (19:13 +0000)]
Merge "Add consumerir HIDL default implementation"
am: ac430dba09

Change-Id: I51c54f9fbd8fb0f5e523cc2223817aefb2644839

7 years agoMerge "consumerir: define the consumerir HIDL interface"
Connor O'Brien [Tue, 13 Dec 2016 19:13:23 +0000 (19:13 +0000)]
Merge "consumerir: define the consumerir HIDL interface"
am: 8af27124a3

Change-Id: I19d0881d172de053efa8243f9af9740a8f8ade64

7 years agoMerge "Add consumerir HIDL default implementation"
Connor O'Brien [Tue, 13 Dec 2016 19:07:09 +0000 (19:07 +0000)]
Merge "Add consumerir HIDL default implementation"

7 years agoMerge "consumerir: define the consumerir HIDL interface"
Connor O'Brien [Tue, 13 Dec 2016 19:06:57 +0000 (19:06 +0000)]
Merge "consumerir: define the consumerir HIDL interface"

7 years agoUpdate test for method name and result name.
Yifan Hong [Mon, 12 Dec 2016 18:34:57 +0000 (10:34 -0800)]
Update test for method name and result name.

Test: compiles

Bug: 33277700

Change-Id: I40de6f09da8d8bf9d03516bfb7a65a54d01fa18a

7 years agoAdd test for eliding bitfield returns. am: 8b54c22992
Yifan Hong [Tue, 13 Dec 2016 01:20:24 +0000 (01:20 +0000)]
Add test for eliding bitfield returns. am: 8b54c22992
am: 3b353f7905

Change-Id: I9688f47c38bc68cf77b00eb2e88e934173d269a4

7 years agoAdd test for eliding bitfield returns.
Yifan Hong [Tue, 13 Dec 2016 01:14:54 +0000 (01:14 +0000)]
Add test for eliding bitfield returns.
am: 8b54c22992

Change-Id: I0ab1dd95cfb9d3a5b5837e4edb406fa1ba605a11

7 years agoAdd test for eliding bitfield returns.
Yifan Hong [Mon, 12 Dec 2016 23:30:49 +0000 (15:30 -0800)]
Add test for eliding bitfield returns.

Test: mma

Bug: 33298401
Change-Id: I9e50c20b29215664040183bcdfee6b6902c00e3d

7 years agoMerge changes Idde2f3b7,I5b25d334,I69db530e am: 0f13397eb3
Roshan Pius [Mon, 12 Dec 2016 23:14:19 +0000 (23:14 +0000)]
Merge changes Idde2f3b7,I5b25d334,I69db530e am: 0f13397eb3
am: f3ba8d1d74

Change-Id: I38e4beff83a45a0769b82dc6cfb847a6be6c6558

7 years agowifi: Disallow iface creation based on mode am: 073d5b9fdc
Roshan Pius [Mon, 12 Dec 2016 23:14:18 +0000 (23:14 +0000)]
wifi: Disallow iface creation based on mode am: 073d5b9fdc
am: 7a3f643fa3

Change-Id: Ia98f1e34ffeff9cc103be79999298b1fbd6680f1

7 years agosupplicant(interface): Correct ANQP enum value/type am: e3f25f1d0f
Roshan Pius [Mon, 12 Dec 2016 23:14:16 +0000 (23:14 +0000)]
supplicant(interface): Correct ANQP enum value/type am: e3f25f1d0f
am: 5e9cdc5a4c

Change-Id: Icba47abc968dc2791b1c74708694078d968ea5d3

7 years agosupplicant(interface): Minor fixes in P2P iface am: 282a0b35b8
Roshan Pius [Mon, 12 Dec 2016 23:14:15 +0000 (23:14 +0000)]
supplicant(interface): Minor fixes in P2P iface am: 282a0b35b8
am: fea79e33ba

Change-Id: I8aaaf420441f976686d1d65cf5096de4f9f824e3

7 years agoMerge changes Idde2f3b7,I5b25d334,I69db530e
Roshan Pius [Mon, 12 Dec 2016 23:09:12 +0000 (23:09 +0000)]
Merge changes Idde2f3b7,I5b25d334,I69db530e
am: 0f13397eb3

Change-Id: I361ec7ed81f470b321778b66dce1e6b741fe3f8f

7 years agowifi: Disallow iface creation based on mode
Roshan Pius [Mon, 12 Dec 2016 23:09:11 +0000 (23:09 +0000)]
wifi: Disallow iface creation based on mode
am: 073d5b9fdc

Change-Id: I5478cbfca44a12af66ce2f5fbb815fb09f776708

7 years agosupplicant(interface): Correct ANQP enum value/type
Roshan Pius [Mon, 12 Dec 2016 23:09:09 +0000 (23:09 +0000)]
supplicant(interface): Correct ANQP enum value/type
am: e3f25f1d0f

Change-Id: I81b09891222f9c074cfac345c904343f8a70e4e5

7 years agosupplicant(interface): Minor fixes in P2P iface
Roshan Pius [Mon, 12 Dec 2016 23:09:07 +0000 (23:09 +0000)]
supplicant(interface): Minor fixes in P2P iface
am: 282a0b35b8

Change-Id: Ifc8d6299b5e011b6a6081eb5545743c77893eae7

7 years agoMerge changes Idde2f3b7,I5b25d334,I69db530e
Treehugger Robot [Mon, 12 Dec 2016 22:58:27 +0000 (22:58 +0000)]
Merge changes Idde2f3b7,I5b25d334,I69db530e

* changes:
  wifi: Disallow iface creation based on mode
  supplicant(interface): Correct ANQP enum value/type
  supplicant(interface): Minor fixes in P2P iface

7 years agoAdd check to update-makefiles.sh. am: 13b5d8034e
Steven Moreland [Mon, 12 Dec 2016 21:21:08 +0000 (21:21 +0000)]
Add check to update-makefiles.sh. am: 13b5d8034e
am: c7e7688625

Change-Id: I4b66a5a83b4bfd002b3ef3d70cb40cc73069e350

7 years agoAdd check to update-makefiles.sh.
Steven Moreland [Mon, 12 Dec 2016 21:15:07 +0000 (21:15 +0000)]
Add check to update-makefiles.sh.
am: 13b5d8034e

Change-Id: I798bde83bbf2e11cc3a04b9262b38c66ea8d7631

7 years agoAdd android.hardware.consumerir@1.0 service.
Connor O'Brien [Sat, 3 Dec 2016 00:34:24 +0000 (16:34 -0800)]
Add android.hardware.consumerir@1.0 service.

Test: make android.hardware.consumerir@1.0-service
Change-Id: Ife45f98836d4d5a3b40d26f21d43e1903fdb8fb3
Signed-off-by: Connor O'Brien <connoro@google.com>
7 years agoAdd consumerir HIDL default implementation
Connor O'Brien [Sat, 3 Dec 2016 00:22:51 +0000 (16:22 -0800)]
Add consumerir HIDL default implementation

Create a basic HAL implementation that passes commands
through to the old HAL.

Test: make android.hardware.consumerir@1.0-impl
Change-Id: Idc4b0a67cf936645b699c24504e9fab219b1ffbe
Signed-off-by: Connor O'Brien <connoro@google.com>
7 years agoconsumerir: define the consumerir HIDL interface
Connor O'Brien [Sat, 3 Dec 2016 00:21:25 +0000 (16:21 -0800)]
consumerir: define the consumerir HIDL interface

Change-Id: Ifa8632915f8c5bb15da5f379202f5ddf2e08c09a
Signed-off-by: Connor O'Brien <connoro@google.com>
7 years agoAdd check to update-makefiles.sh.
Steven Moreland [Mon, 12 Dec 2016 17:24:10 +0000 (09:24 -0800)]
Add check to update-makefiles.sh.

Now that we also have packages like android.hidl.base which reside in
system/libhidl/transport which are read in by hidl-gen (see
-randroid.hidl:system/libhidl/transport in the same file), we can
display a pretty warning message if they are missing.

We'll have to remember to update this after b/33276472.

Test: ran update-makefiles.sh
Change-Id: Ia3e3183dd5139cf3a8d1bf7bd25c201d1b098c79

7 years agowifi: Disallow iface creation based on mode
Roshan Pius [Fri, 9 Dec 2016 03:10:06 +0000 (19:10 -0800)]
wifi: Disallow iface creation based on mode

Based on the mode configured, limit the iface creation.

Note: Support for iface removal will be added in a follow up CL which
should help us use P2P or NAN iface dynamically.

Bug: 31997422
Test: Compiles
Change-Id: Idde2f3b749264d542d5d6608b0b2c5aa8103ade6

7 years agosupplicant(interface): Correct ANQP enum value/type
Roshan Pius [Thu, 8 Dec 2016 21:20:05 +0000 (13:20 -0800)]
supplicant(interface): Correct ANQP enum value/type

Correct the HS20 subtype & Anqp Info ID enum value/type to match
what is used in wpa_supplicant core.

Bug: 33493298
Test: Compiles
Change-Id: I5b25d334271c39d977e2990c643f4a2b01872f1a

7 years agosupplicant(interface): Minor fixes in P2P iface
Roshan Pius [Thu, 8 Dec 2016 19:08:14 +0000 (11:08 -0800)]
supplicant(interface): Minor fixes in P2P iface

Fixing couple of issues found in the interface during implementation.
1. WpsProvisionMethod::KEYPAD is not used in wpa_supplicant core. It is
only used inside Android framework. So, remove them.
2. Added |setDisallowedFrequencies| method.
3. Changed the pin type to string from vector of bytes because that is
used by Android framework and wpa_supplicant.

Bug: 31497295
Test: Compiles
Change-Id: I69db530e23c2d3af907c3a5c824cf8291cf12c35

7 years agowifi: Reset internal callback pointers on failure am: 7a41d9d59f
Roshan Pius [Fri, 9 Dec 2016 02:10:49 +0000 (02:10 +0000)]
wifi: Reset internal callback pointers on failure am: 7a41d9d59f
am: 3a41df3ffb

Change-Id: Icd0a1194ad1072211ce318fc6aeb918d48809e5f

7 years agowifi: Add support for RSSI monitoring am: d476754bc0
Roshan Pius [Fri, 9 Dec 2016 02:10:47 +0000 (02:10 +0000)]
wifi: Add support for RSSI monitoring am: d476754bc0
am: 7ee5aaa8d5

Change-Id: I0f6335c29ea65a473d63d5a9091b56ca042bad1f

7 years agowifi: Add method implementations in IWifiRttController am: e3f72ff344
Roshan Pius [Fri, 9 Dec 2016 02:10:46 +0000 (02:10 +0000)]
wifi: Add method implementations in IWifiRttController am: e3f72ff344
am: 55e445fbd4

Change-Id: Ia4194fdbef4cd3da97140b7efe3872e4ad41a488

7 years agowifi: Add method implementations in IWifiStaIface am: 970f031170
Roshan Pius [Fri, 9 Dec 2016 02:10:45 +0000 (02:10 +0000)]
wifi: Add method implementations in IWifiStaIface am: 970f031170
am: 9d0c9663e0

Change-Id: I451dcf2c25dbbf17ccf9a37d708403c2b8ab4694

7 years agowifi: Add logger method implementations in IWifiChip am: e2d0ab52ea
Roshan Pius [Fri, 9 Dec 2016 02:10:43 +0000 (02:10 +0000)]
wifi: Add logger method implementations in IWifiChip am: e2d0ab52ea
am: 54e14629b4

Change-Id: I9165b83bd1d384b3248adeab698bd42e835fcf0e

7 years agowifi: Gscan struct conversion changes am: 881d1f7823
Roshan Pius [Fri, 9 Dec 2016 02:10:42 +0000 (02:10 +0000)]
wifi: Gscan struct conversion changes am: 881d1f7823
am: 97871355a1

Change-Id: I3cb6cc9e4ed7840bc90e3f9366b26a329c40297f

7 years agowifi: Add some more missing struct conversions am: f72df2e186
Roshan Pius [Fri, 9 Dec 2016 02:10:41 +0000 (02:10 +0000)]
wifi: Add some more missing struct conversions am: f72df2e186
am: 6197b96c25

Change-Id: Ic85ca42669dd6f861b1f5ae9d9d251b02786450c

7 years agowifi: Remove unused methods in IWifiRttController am: 824e475cd1
Roshan Pius [Fri, 9 Dec 2016 02:10:40 +0000 (02:10 +0000)]
wifi: Remove unused methods in IWifiRttController am: 824e475cd1
am: e272814d13

Change-Id: I67dc21e7a67e9f0e996a64cd8a253c79f68492be

7 years agowifi: Add RTT structure conversion methods am: 3fae9c82a0
Roshan Pius [Fri, 9 Dec 2016 02:10:38 +0000 (02:10 +0000)]
wifi: Add RTT structure conversion methods am: 3fae9c82a0
am: ca2c7d355f

Change-Id: I98969bc8a4bfaf50d53c47f83772f23cc2c94ea4

7 years agowifi: Convert packet fate structures from legacy to HIDL am: 32d0ca967a
Roshan Pius [Fri, 9 Dec 2016 02:10:37 +0000 (02:10 +0000)]
wifi: Convert packet fate structures from legacy to HIDL am: 32d0ca967a
am: 9ef46f44fb

Change-Id: I3cdc9452fbef30477ecd129558b82574cc2b3171

7 years agowifi: Begin NAN iface methods implementation am: f5f51fd039
Roshan Pius [Fri, 9 Dec 2016 02:10:35 +0000 (02:10 +0000)]
wifi: Begin NAN iface methods implementation am: f5f51fd039
am: 66fd78f1ae

Change-Id: Ibe01d93b2133184c01ad08bcfbda61c065c715f3

7 years agowifi: Reset internal callback pointers on failure
Roshan Pius [Fri, 9 Dec 2016 02:05:53 +0000 (02:05 +0000)]
wifi: Reset internal callback pointers on failure
am: 7a41d9d59f

Change-Id: If7821449dcd279e23cdf5987d55d1bf22dd18edd

7 years agowifi: Add support for RSSI monitoring
Roshan Pius [Fri, 9 Dec 2016 02:05:52 +0000 (02:05 +0000)]
wifi: Add support for RSSI monitoring
am: d476754bc0

Change-Id: If9335c4128485e7e8ebbf4679071c688dd12b201

7 years agowifi: Add method implementations in IWifiRttController
Roshan Pius [Fri, 9 Dec 2016 02:05:51 +0000 (02:05 +0000)]
wifi: Add method implementations in IWifiRttController
am: e3f72ff344

Change-Id: Ic02174fc792ca3a62e10ec4d8213f53d91c72cd7

7 years agowifi: Add method implementations in IWifiStaIface
Roshan Pius [Fri, 9 Dec 2016 02:05:50 +0000 (02:05 +0000)]
wifi: Add method implementations in IWifiStaIface
am: 970f031170

Change-Id: I279fead0d77f5edff4ea04e27217e4ad5fc3105f

7 years agowifi: Add logger method implementations in IWifiChip
Roshan Pius [Fri, 9 Dec 2016 02:05:45 +0000 (02:05 +0000)]
wifi: Add logger method implementations in IWifiChip
am: e2d0ab52ea

Change-Id: I5099074046f927fd827949916c2ba4d7f2d7f400

7 years agowifi: Gscan struct conversion changes
Roshan Pius [Fri, 9 Dec 2016 02:05:44 +0000 (02:05 +0000)]
wifi: Gscan struct conversion changes
am: 881d1f7823

Change-Id: I79d9bfa6433a2090c28c0a377e247ee408f58463

7 years agowifi: Add some more missing struct conversions
Roshan Pius [Fri, 9 Dec 2016 02:05:41 +0000 (02:05 +0000)]
wifi: Add some more missing struct conversions
am: f72df2e186

Change-Id: Ia605e843eff2a884bd9d7835f4400b7f595f53e2

7 years agowifi: Remove unused methods in IWifiRttController
Roshan Pius [Fri, 9 Dec 2016 02:05:40 +0000 (02:05 +0000)]
wifi: Remove unused methods in IWifiRttController
am: 824e475cd1

Change-Id: I287973dbe29ac40494a3fb62e5e1a8d2ac925a1c

7 years agowifi: Add RTT structure conversion methods
Roshan Pius [Fri, 9 Dec 2016 02:05:39 +0000 (02:05 +0000)]
wifi: Add RTT structure conversion methods
am: 3fae9c82a0

Change-Id: Ifa957a9eb3007abb7fd0cf355687812140174992

7 years agowifi: Convert packet fate structures from legacy to HIDL
Roshan Pius [Fri, 9 Dec 2016 02:05:38 +0000 (02:05 +0000)]
wifi: Convert packet fate structures from legacy to HIDL
am: 32d0ca967a

Change-Id: I48a539c30924c56659ae987ecf08e4a834a89a68

7 years agowifi: Begin NAN iface methods implementation
Roshan Pius [Fri, 9 Dec 2016 02:05:36 +0000 (02:05 +0000)]
wifi: Begin NAN iface methods implementation
am: f5f51fd039

Change-Id: Ide9ece8aeffe58b09e5e40ba50276f66f610745b

7 years agowifi: Reset internal callback pointers on failure
Roshan Pius [Tue, 6 Dec 2016 18:12:59 +0000 (10:12 -0800)]
wifi: Reset internal callback pointers on failure

If these are not reset, any subsequent calls will not be processed
because the callback pointers are set.

Bug: 33379596
Test: Compiles
Change-Id: Ia44385fc185b7cf262366af7b0e0e62c32a0d9a0

7 years agowifi: Add support for RSSI monitoring
Roshan Pius [Tue, 6 Dec 2016 18:04:05 +0000 (10:04 -0800)]
wifi: Add support for RSSI monitoring

Bug: 31991459
Test: Compiles
Change-Id: I8794cea12a0d1c727bd0e37123152c8da11eeabf

7 years agowifi: Add method implementations in IWifiRttController
Roshan Pius [Tue, 6 Dec 2016 00:18:43 +0000 (16:18 -0800)]
wifi: Add method implementations in IWifiRttController

Hookup the legacy HAL functions to the corresponding HIDL methods in
WifiRttController and perform the necessary struct conversions.

Bug: 31991232
Test: Compiles
Change-Id: I7bd8bd7e7af2230699c079f1ad8e0a8b1e496026

7 years agowifi: Add method implementations in IWifiStaIface
Roshan Pius [Mon, 5 Dec 2016 23:25:51 +0000 (15:25 -0800)]
wifi: Add method implementations in IWifiStaIface

Hookup the legacy HAL functions to the corresponding HIDL methods in
WifiStaIface and perform the necessary struct conversions.

Bug: 31991459
Test: Compiles
Change-Id: I8c0b9be2e375dd7147408e41a88de3f1c6f98d08

7 years agowifi: Add logger method implementations in IWifiChip
Roshan Pius [Mon, 5 Dec 2016 23:24:20 +0000 (15:24 -0800)]
wifi: Add logger method implementations in IWifiChip

Hookup the legacy HAL functions to the corresponding HIDL methods in
WifiChip and perform the necessary struct conversions.

Bug: 32221997
Test: Compiles
Change-Id: I2b0cfd6484c7599e96e9edfcef18ac3148e28307

7 years agowifi: Gscan struct conversion changes
Roshan Pius [Mon, 5 Dec 2016 23:37:00 +0000 (15:37 -0800)]
wifi: Gscan struct conversion changes

Rename |Scan| to |Gscan| because that is the naming we've been using in
WifiLegacyHal.
Also group all the gscan related sturct conversion methods.

Bug: 31991459
Test: Compiles
Change-Id: Ie64bcc032a0058b5b20d0bb701020cdf7bf08890

7 years agowifi: Add some more missing struct conversions
Roshan Pius [Sun, 4 Dec 2016 18:49:38 +0000 (10:49 -0800)]
wifi: Add some more missing struct conversions

Add the remaining struct conversions and the feature set to HIDL
capabilities conversions. The legacy feature set is distributed based on
where the functionality is exposed to IWifiChip & IWifiStaIface HIDL
interfaces.

Bug: 31991459
Bug: 32221997
Test: Compiles
Change-Id: Ifdeac1bd7325b7a0581ec225b025ef0f6980c512

7 years agowifi: Remove unused methods in IWifiRttController
Roshan Pius [Fri, 2 Dec 2016 23:01:06 +0000 (15:01 -0800)]
wifi: Remove unused methods in IWifiRttController

These are currently unused in the legacy HAL function table and there
isn't any need for these to be migrated over to HIDL.

Bug: 31991232
Test: Compiles
Change-Id: I50611d1fd5a6ac276e7911ca1920c3d5ee2d5ba6

7 years agowifi: Add RTT structure conversion methods
Roshan Pius [Fri, 2 Dec 2016 22:49:41 +0000 (14:49 -0800)]
wifi: Add RTT structure conversion methods

While there,
Hide |convertLegacyIeBlobToHidl| from hidl_struct_util.h. There is no
need for any of the HIDL objects to directly use this. They will be used
internally in |convertLegacyScanResultToHidl|.

Bug: 31991232
Test: Compiles
Change-Id: I5702906ea84e3c77fece7be5f9d48ff3ae418c41

7 years agowifi: Convert packet fate structures from legacy to HIDL
Roshan Pius [Fri, 2 Dec 2016 19:21:19 +0000 (11:21 -0800)]
wifi: Convert packet fate structures from legacy to HIDL

While there fixed a couple of nits,
1. Correct a typo in one of the packet fate structs in the .hal file.
2. Renamed the scan data flag and added a helper function to convert the
legacy flag to it's equivalent and loop through it.

Bug: 32221997
Test: Compiles
Change-Id: I414a7731054e6400d22d4e6deae9495b48dce461

7 years agowifi: Begin NAN iface methods implementation
Roshan Pius [Thu, 1 Dec 2016 21:54:24 +0000 (13:54 -0800)]
wifi: Begin NAN iface methods implementation

Start implementation of the NAN iface HIDL methods by plumbing the HIDL
stubs to the corresponding legacy HAL methods. The incoming HIDL struct
needs to be converted to legacy for the HIDL methods. The legacy HAL
structs needs to be converted to HIDL for callbacks.

This CL only has a couple of methods and some structure conversion.
etan@ will take over the rest.

Bug: 31991076
Test: Compiles
Change-Id: Ide348f4c3318822226bb7de93d091107c7465cd3

7 years agoMerge changes from topic 'hal_firmware_reload' am: 0b739705d4
Roshan Pius [Thu, 8 Dec 2016 23:47:03 +0000 (23:47 +0000)]
Merge changes from topic 'hal_firmware_reload' am: 0b739705d4
am: af2f057ace

Change-Id: I7370f6f2b98c3087c2bd4b4ad3e56f8dbecc40c9

7 years agowifi: Implement chip mode combinations am: 52947fbc7e
Roshan Pius [Thu, 8 Dec 2016 23:47:02 +0000 (23:47 +0000)]
wifi: Implement chip mode combinations am: 52947fbc7e
am: 584c488c4f

Change-Id: Iba879a339377076dbb5805a1f001cff015af218a

7 years agowifi: Split out initialize and start in WifiLegacyHal am: 97334114c6
Roshan Pius [Thu, 8 Dec 2016 23:47:01 +0000 (23:47 +0000)]
wifi: Split out initialize and  start in WifiLegacyHal am: 97334114c6
am: 4ec4082519

Change-Id: I2c5b7da85f9c29f2da915cff71811e7685d45a6a

7 years agowifi: Add firmware mode controller am: a26a6e0807
Roshan Pius [Thu, 8 Dec 2016 23:46:57 +0000 (23:46 +0000)]
wifi: Add firmware mode controller am: a26a6e0807
am: 987226de7c

Change-Id: Iaa8bbd727c356da243da8117ed00d630b1d97bd7