OSDN Git Service

android-x86/hardware-libhardware_legacy.git
8 years agoMerge \\\"Fix google-explicit-constructor warnings in libhardware_legacy\\\" am:...
Chih-Hung Hsieh [Thu, 30 Jun 2016 22:32:08 +0000 (22:32 +0000)]
Merge \\\"Fix google-explicit-constructor warnings in libhardware_legacy\\\" am: a7355c3ab4 am: d0273aaaab
am: c9cadd7944

Change-Id: I79049fe097f09490dc637bb87d568f89ee0e10eb

8 years agoMerge \\"Fix google-explicit-constructor warnings in libhardware_legacy\\" am: a7355c3ab4
Chih-Hung Hsieh [Thu, 30 Jun 2016 22:28:21 +0000 (22:28 +0000)]
Merge \\"Fix google-explicit-constructor warnings in libhardware_legacy\\" am: a7355c3ab4
am: d0273aaaab

Change-Id: Ifc99dc49c080eeadc7e4634b1cfe6bf6bde32c78

8 years agoMerge \"Fix google-explicit-constructor warnings in libhardware_legacy\"
Chih-Hung Hsieh [Thu, 30 Jun 2016 22:24:38 +0000 (22:24 +0000)]
Merge \"Fix google-explicit-constructor warnings in libhardware_legacy\"
am: a7355c3ab4

Change-Id: I0f4c805e27c1e51d15f63d7e6b9c0521fd9bd520

8 years agoMerge "Fix google-explicit-constructor warnings in libhardware_legacy"
Treehugger Robot [Thu, 30 Jun 2016 22:16:22 +0000 (22:16 +0000)]
Merge "Fix google-explicit-constructor warnings in libhardware_legacy"

8 years agoFix google-explicit-constructor warnings in libhardware_legacy
Chih-Hung Hsieh [Thu, 30 Jun 2016 21:19:12 +0000 (14:19 -0700)]
Fix google-explicit-constructor warnings in libhardware_legacy

Bug: 28341362
Change-Id: I9b370ece9506591abfff46d5edb726a7fc993298
Test: build with clang-tidy

8 years agoresolve merge conflicts of b3a0cc6 to stage-aosp-master am: 3fd32ebb0c
Chih-Hung Hsieh [Tue, 28 Jun 2016 18:36:12 +0000 (18:36 +0000)]
resolve merge conflicts of b3a0cc6 to stage-aosp-master am: 3fd32ebb0c
am: 51c912c856

Change-Id: I4fb4e40baed73b1047ff4806674327fc8f1afdff

8 years agoresolve merge conflicts of b3a0cc6 to stage-aosp-master
Chih-hung Hsieh [Tue, 28 Jun 2016 18:33:20 +0000 (18:33 +0000)]
resolve merge conflicts of b3a0cc6 to stage-aosp-master
am: 3fd32ebb0c

Change-Id: I77b01a8a101fada2ea821265d36639970c29cc6f

8 years agoresolve merge conflicts of b3a0cc6 to stage-aosp-master
Chih-Hung Hsieh [Tue, 28 Jun 2016 17:40:51 +0000 (10:40 -0700)]
resolve merge conflicts of b3a0cc6 to stage-aosp-master

Change-Id: Ia40cd728f1d352d9a6611718dda8850afe3dfa63

8 years agoMerge "Fix misc-macro-parentheses warnings in hardware_legacy."
Chih-hung Hsieh [Mon, 27 Jun 2016 23:34:11 +0000 (23:34 +0000)]
Merge "Fix misc-macro-parentheses warnings in hardware_legacy."

8 years agoMerge \\\"Remove qemu dependency.\\\" am: 146d8ade97 am: 1d07c27cf6
David 'Digit' Turner [Wed, 22 Jun 2016 08:17:52 +0000 (08:17 +0000)]
Merge \\\"Remove qemu dependency.\\\" am: 146d8ade97 am: 1d07c27cf6
am: 1559243734

Change-Id: I16e98e96d375e369b2918821965478b57790711e

8 years agoMerge \\"Remove qemu dependency.\\" am: 146d8ade97
David Turner [Wed, 22 Jun 2016 08:15:11 +0000 (08:15 +0000)]
Merge \\"Remove qemu dependency.\\" am: 146d8ade97
am: 1d07c27cf6

Change-Id: Ie4ceb27e8089f9b22269373fc0d44056ecab47ef

8 years agoMerge \"Remove qemu dependency.\"
David 'Digit' Turner [Wed, 22 Jun 2016 08:12:34 +0000 (08:12 +0000)]
Merge \"Remove qemu dependency.\"
am: 146d8ade97

Change-Id: I77429a76555d35e95ed841c685b9783e5eb9c730

8 years agoMerge "Remove qemu dependency."
David Turner [Wed, 22 Jun 2016 08:10:07 +0000 (08:10 +0000)]
Merge "Remove qemu dependency."

8 years agoRemove qemu dependency.
David 'Digit' Turner [Wed, 20 Apr 2016 15:12:02 +0000 (17:12 +0200)]
Remove qemu dependency.

Remove obsolete pieces from libardware_legacy that were related
to QEMU (i.e. running the system image under emulation) but are
no longer used.

Note that qemu tracing isn't implemented by the emulator anymore
(and has been for a long time).

BUG=25875346

Change-Id: I2593fe9f90241af9c5076fa248c30e0d8ab5d663

8 years agoMerge \\\"[qemu] Use new QEMU pipe header.\\\" am: 725758d8c1 am: 009ee0e0ec
David 'Digit' Turner [Tue, 21 Jun 2016 08:10:33 +0000 (08:10 +0000)]
Merge \\\"[qemu] Use new QEMU pipe header.\\\" am: 725758d8c1 am: 009ee0e0ec
am: 3fa2e30ec0

Change-Id: Ieac4e058c9e3aeab740495812dabe2c27dbe7dbe

8 years agoMerge \\"[qemu] Use new QEMU pipe header.\\" am: 725758d8c1
David Turner [Tue, 21 Jun 2016 08:07:59 +0000 (08:07 +0000)]
Merge \\"[qemu] Use new QEMU pipe header.\\" am: 725758d8c1
am: 009ee0e0ec

Change-Id: I37d1d1b4f3e9db49955cf27d97cf509c1d2e84ef

8 years agoMerge \"[qemu] Use new QEMU pipe header.\"
David 'Digit' Turner [Tue, 21 Jun 2016 08:05:13 +0000 (08:05 +0000)]
Merge \"[qemu] Use new QEMU pipe header.\"
am: 725758d8c1

Change-Id: I684c5467e59b70404b4836eadcbe8e1316cb4783

8 years agoMerge "[qemu] Use new QEMU pipe header."
David Turner [Tue, 21 Jun 2016 07:38:01 +0000 (07:38 +0000)]
Merge "[qemu] Use new QEMU pipe header."

8 years ago[qemu] Use new QEMU pipe header.
David 'Digit' Turner [Thu, 16 Jun 2016 15:21:09 +0000 (17:21 +0200)]
[qemu] Use new QEMU pipe header.

The header <hardware/qemu_pipe.h> is replaced with <system/qemu_pipe.h>
instead, which has a slightly different interface (i.e. the pipe name
must include the 'pipe:' prefix).

BUG=25875346

Change-Id: I62b665aaf46832ccaecd4f728964b8234d003e7e

8 years agoFix misc-macro-parentheses warnings in hardware_legacy.
Chih-Hung Hsieh [Fri, 10 Jun 2016 17:18:39 +0000 (10:18 -0700)]
Fix misc-macro-parentheses warnings in hardware_legacy.

Add parentheses around macro arguments used beside operators.
Bug: 28705665

Change-Id: I5ddb35e374a172807bf14e381f4808a55bc44417

8 years agoRemove const integers from HAL and define undefined structs am: 564211e861
Mitchell Wills [Fri, 27 May 2016 18:10:12 +0000 (18:10 +0000)]
Remove const integers from HAL and define undefined structs am: 564211e861
am: 27ff906896

* commit '27ff9068962e8229eaf212350e3cadaf9bcd5722':

Change-Id: Ibe7f439286883b0d53591a022f57c78038597095

8 years agoRemove const integers from HAL and define undefined structs am: 564211e861
Mitchell Wills [Fri, 27 May 2016 18:05:36 +0000 (18:05 +0000)]
Remove const integers from HAL and define undefined structs am: 564211e861
am: a3a619d4d5

* commit 'a3a619d4d567c8d972f9a91473a8d6d35733ba00':
  Remove const integers from HAL and define undefined structs

Change-Id: Iae782c96ca7eebffc965145be94fc0994b6562ad

8 years agoRemove const integers from HAL and define undefined structs
Mitchell Wills [Fri, 27 May 2016 17:57:22 +0000 (17:57 +0000)]
Remove const integers from HAL and define undefined structs
am: 564211e861

* commit '564211e861e1ac0aa3bd02d92b8c4e12b96d2fbd':
  Remove const integers from HAL and define undefined structs

Change-Id: I4d745c7c83bcae253c6a810ed42fe835324e327a

8 years agoRemove const integers from HAL and define undefined structs
Mitchell Wills [Fri, 27 May 2016 17:56:51 +0000 (17:56 +0000)]
Remove const integers from HAL and define undefined structs
am: 564211e861

* commit '564211e861e1ac0aa3bd02d92b8c4e12b96d2fbd':
  Remove const integers from HAL and define undefined structs

Change-Id: If14cb118c7fb980e5f50c3ba1e291ffed7e46964

8 years agoRemove const integers from HAL and define undefined structs
Mitchell Wills [Thu, 26 May 2016 20:10:56 +0000 (13:10 -0700)]
Remove const integers from HAL and define undefined structs

Bug: 28984011
Change-Id: I6edfe547fbad127db9cbff654b96a476140d9f05

8 years agolibhardware_legacy should export headers from libmedia
Christopher Wiley [Thu, 21 Apr 2016 18:21:25 +0000 (18:21 +0000)]
libhardware_legacy should export headers from libmedia
am: ad96693a51

* commit 'ad96693a51c7bc6d05982efdfe182d8a517fd1f9':
  libhardware_legacy should export headers from libmedia

Change-Id: I88d6d2140e353847dd2f19de79d55e2b22d05643

8 years agolibhardware_legacy should export headers from libmedia
Christopher Wiley [Thu, 21 Apr 2016 17:48:02 +0000 (10:48 -0700)]
libhardware_legacy should export headers from libmedia

This library includes headers from libmedia in its public headers.
It should export libmedia's include path as part of its own.

Bug: 27804373
Change-Id: I85ff45d0c02009277430e3cf66c170d824ed28e3

8 years agoMerge "libhardware_legacy should depend on libmedia" am: fb36166 am: 081e517
Christopher Wiley [Wed, 20 Apr 2016 16:13:29 +0000 (16:13 +0000)]
Merge "libhardware_legacy should depend on libmedia" am: fb36166 am: 081e517
am: 5b47743

* commit '5b47743e8aaaa731bd9bb7a9573b8e4dcdbecb2e':
  libhardware_legacy should depend on libmedia

Change-Id: Icfb012b8b09f157076ebec5ee1bdc6cef7db2458

8 years agoMerge "libhardware_legacy should depend on libmedia" am: fb36166
Treehugger Robot [Wed, 20 Apr 2016 16:09:46 +0000 (16:09 +0000)]
Merge "libhardware_legacy should depend on libmedia" am: fb36166
am: 081e517

* commit '081e517f99a4f36b666a4f623ccaa47061807e04':
  libhardware_legacy should depend on libmedia

Change-Id: Ia79132ca1e4adfd214f1eec64d9af2cacb075d84

8 years agoMerge "libhardware_legacy should depend on libmedia"
Christopher Wiley [Wed, 20 Apr 2016 16:06:36 +0000 (16:06 +0000)]
Merge "libhardware_legacy should depend on libmedia"
am: fb36166

* commit 'fb3616658b8eb828d85120a7b459e960b137220b':
  libhardware_legacy should depend on libmedia

Change-Id: I023cc79b5182afb0a97389ff0c9ed5bfe74fdc3c

8 years agoMerge "libhardware_legacy should depend on libmedia"
Treehugger Robot [Wed, 20 Apr 2016 16:00:57 +0000 (16:00 +0000)]
Merge "libhardware_legacy should depend on libmedia"

8 years agolibhardware_legacy should depend on libmedia
Christopher Wiley [Wed, 20 Apr 2016 15:14:35 +0000 (08:14 -0700)]
libhardware_legacy should depend on libmedia

This library's headers include libmedia headers.

Bug: 27804373
Change-Id: I82736474c2f5a863e3ef638fba3ad9602df48e5e

8 years agoMerge "Use libmedia header paths in legacy audio libs" am: 82cca69
Treehugger Robot [Fri, 15 Apr 2016 01:18:36 +0000 (01:18 +0000)]
Merge "Use libmedia header paths in legacy audio libs" am: 82cca69
am: 1e8f444

* commit '1e8f444a0fdf1134bab3f1cf8f06cbbea96da11f':
  Use libmedia header paths in legacy audio libs

Change-Id: Idfbf33afeb8f2689ee6374bc8b675c039fc31a83

8 years agoMerge "Use libmedia header paths in legacy audio libs"
Christopher Wiley [Fri, 15 Apr 2016 01:15:41 +0000 (01:15 +0000)]
Merge "Use libmedia header paths in legacy audio libs"
am: 82cca69

* commit '82cca6938278788d04857822810d8f1092d8e175':
  Use libmedia header paths in legacy audio libs

Change-Id: I3898d23b750840a6e8f332574af0cc8553476c8d

8 years agoMerge "Use libmedia header paths in legacy audio libs"
Treehugger Robot [Fri, 15 Apr 2016 01:10:59 +0000 (01:10 +0000)]
Merge "Use libmedia header paths in legacy audio libs"

8 years agoUse libmedia header paths in legacy audio libs
Christopher Wiley [Thu, 14 Apr 2016 17:13:05 +0000 (10:13 -0700)]
Use libmedia header paths in legacy audio libs

The headers for these libraries include headers from libmedia,
which means they need access to the full libmedia include path.

Bug: 27804373
Test: These libraries compile when libmedia's compilation path changes
      slightly.

Change-Id: I201c82c85a1513b4165c7565dfac4f4371d6fe5c

8 years agoMerge "Wifi-HAL: RTT API Enhancement" into nyc-dev
Kumar Anand [Mon, 11 Apr 2016 20:39:27 +0000 (20:39 +0000)]
Merge "Wifi-HAL: RTT API Enhancement" into nyc-dev
am: 0a5a892

* commit '0a5a892506f1d23fac8de2c79d7e36cb0e5f3831':
  Wifi-HAL: RTT API Enhancement

Change-Id: Ibf8cdf6159ceef21baa7422da1d86cefffa2e292

8 years agoMerge "Wifi-HAL: RTT API Enhancement" into nyc-dev
Wei Wang [Mon, 11 Apr 2016 20:23:10 +0000 (20:23 +0000)]
Merge "Wifi-HAL: RTT API Enhancement" into nyc-dev

8 years agoWifi-HAL: RTT API Enhancement
Kumar Anand [Wed, 2 Mar 2016 19:47:25 +0000 (11:47 -0800)]
Wifi-HAL: RTT API Enhancement

Advertize preamble capabilities of responder.

Change-Id: I5ca478bc608308b7e72990cb2d25d2e1a51922c7

8 years agowifi_hal: Add flag to indicate tx power level stats
Roshan Pius [Wed, 6 Apr 2016 20:14:13 +0000 (20:14 +0000)]
wifi_hal: Add flag to indicate tx power level stats
am: 8761318

* commit '8761318ed126a64715fba2c456e53ad8dc345f57':
  wifi_hal: Add flag to indicate tx power level stats

Change-Id: I140e447e9605d0db60526b5b0035b39e57f6d472

8 years agowifi_hal: Add flag to indicate tx power level stats
Roshan Pius [Mon, 4 Apr 2016 16:05:09 +0000 (09:05 -0700)]
wifi_hal: Add flag to indicate tx power level stats

Adding a flag to indicate if the device supports tx power level stats
reporting.

While there,
1. Fix the 2 macros used to determine if a feature is supported or not.
2. Increase the number of tx levels to 256

BUG: 27969673
Change-Id: I314648cfaa7755dc48c1f790193c96254b4db691

8 years agowifi_hal: Increase max tx levels to 256
Roshan Pius [Tue, 5 Apr 2016 00:25:11 +0000 (00:25 +0000)]
wifi_hal: Increase max tx levels to 256
am: a3baf0e

* commit 'a3baf0e3321192483a5c323a497c594a5c41ee03':
  wifi_hal: Increase max tx levels to 256

Change-Id: I57f556b845aed43938172fafca7bd9b26c08849e

8 years agowifi_hal: Increase max tx levels to 256
Roshan Pius [Mon, 4 Apr 2016 16:05:09 +0000 (09:05 -0700)]
wifi_hal: Increase max tx levels to 256

BUG: 27969673
Change-Id: I65232f20192a87998d921769501915578d9a54a6

8 years agoEnabling Nan data path support [DO NOT MERGE] am: 44c3950 -s ours
Subhani Shaik [Fri, 1 Apr 2016 22:40:56 +0000 (22:40 +0000)]
Enabling Nan data path support [DO NOT MERGE] am: 44c3950  -s ours
am: 5af9a3e

* commit '5af9a3e5c8ac2b858cdf83ceacee7f950975e906':
  Enabling Nan data path support [DO NOT MERGE]

Change-Id: I438f7325c5c80dcc04281098b98eab921da60c64

8 years agoEnabling Nan data path support [DO NOT MERGE]
Subhani Shaik [Fri, 1 Apr 2016 22:26:36 +0000 (22:26 +0000)]
Enabling Nan data path support [DO NOT MERGE]
am: 44c3950  -s ours

* commit '44c39504dab4eb919b83420f91e6a2d6658f2d6e':
  Enabling Nan data path support [DO NOT MERGE]

Change-Id: I3ccafb3919ac952715666fd9286d49f0096abd53

8 years agoEnabling Nan data path support [DO NOT MERGE]
Subhani Shaik [Tue, 8 Mar 2016 20:51:31 +0000 (12:51 -0800)]
Enabling Nan data path support [DO NOT MERGE]

Add APIs and data structures to support nan data path.

Change-Id: I60acc78f1d8a394cab511f4468dbc745a3107ddb

8 years agoMerge "Use audio_module_handle_t and audio_patch_handle_t consistently" into nyc-dev
Glenn Kasten [Tue, 29 Mar 2016 22:15:20 +0000 (22:15 +0000)]
Merge "Use audio_module_handle_t and audio_patch_handle_t consistently" into nyc-dev
am: 30379b7

* commit '30379b7f32b9084684478c7c8646572287cb22ea':
  Use audio_module_handle_t and audio_patch_handle_t consistently

Change-Id: I0183b5040dd4e82df634767c4e447c24e368f976

8 years agoMerge "Use audio_module_handle_t and audio_patch_handle_t consistently" into nyc-dev
Glenn Kasten [Tue, 29 Mar 2016 22:02:44 +0000 (22:02 +0000)]
Merge "Use audio_module_handle_t and audio_patch_handle_t consistently" into nyc-dev

8 years agoAdd max tx levels to radio_stats
Roshan Pius [Tue, 29 Mar 2016 18:42:56 +0000 (18:42 +0000)]
Add max tx levels to radio_stats
am: cf5877a

* commit 'cf5877a0d8321c6ed748fe0d17ad3a34045f4f90':
  Add max tx levels to radio_stats

Change-Id: I81f154c3dc6322f9fbbd624f4e2749720f7a258b

8 years agoUse audio_module_handle_t and audio_patch_handle_t consistently
Glenn Kasten [Thu, 10 Mar 2016 20:43:36 +0000 (12:43 -0800)]
Use audio_module_handle_t and audio_patch_handle_t consistently

Bug: 27814144
Change-Id: I54b7a73ec318779fd3addb060998f4d94141152d

8 years agoAdd max tx levels to radio_stats
Roshan Pius [Tue, 22 Mar 2016 16:18:37 +0000 (09:18 -0700)]
Add max tx levels to radio_stats

Add a max tx level which the framework uses to limit the array and is
needed to guard against unitialized value in |num_tx_levels|.

BUG: 27227497
Change-Id: I2438bc1536c65a2c6230bfd6e1267532d9653c8b

8 years agoWiFi HAL: ND offload enhancement
Jun Lim [Fri, 18 Mar 2016 03:17:33 +0000 (03:17 +0000)]
WiFi HAL: ND offload enhancement
am: 13ef843

* commit '13ef8430cd5a348eaea036aefe022b0db6b34e0f':
  WiFi HAL: ND offload enhancement

8 years agoMerge "Add tx time per level stats in radio_stat" into nyc-dev
Roshan Pius [Thu, 17 Mar 2016 22:21:26 +0000 (22:21 +0000)]
Merge "Add tx time per level stats in radio_stat" into nyc-dev

8 years agoAdd tx time per level stats in radio_stat
Subhani Shaik [Thu, 10 Mar 2016 16:30:43 +0000 (08:30 -0800)]
Add tx time per level stats in radio_stat

Modify the existing radio_stat structure to add time spent in each
tranmission power level.

BUG: 27227497
Change-Id: Ifba9f22bc7a404161ae9124c787854ed3431cb8d
cherry-picked from:
https://partner-android-review.googlesource.com/#/c/543388

8 years agoMerge "Use audio_session_t consistently" into nyc-dev
Glenn Kasten [Thu, 17 Mar 2016 14:22:50 +0000 (14:22 +0000)]
Merge "Use audio_session_t consistently" into nyc-dev

8 years agowifi_logger: fix documentation for TX_PkT_FATE_DRV_DROP_OTHER
mukesh agrawal [Mon, 14 Mar 2016 22:53:02 +0000 (15:53 -0700)]
wifi_logger: fix documentation for TX_PkT_FATE_DRV_DROP_OTHER

Given that there is an explicit enumerated value to indicate
a drop due to lack of buffers, we shouldn't recommend using
the OTHER value for out of buffers.

BUG=27352446
TEST=compile

Change-Id: Id4fdbf530ed9a99e2b9693acb649137d598abf85

8 years agowifi_logger: fix parameter name in header file
mukesh agrawal [Mon, 14 Mar 2016 22:44:36 +0000 (15:44 -0700)]
wifi_logger: fix parameter name in header file

For consistency with other packet_fate functions,
wifi_start_pkt_fate_monitoring() should name the first
parameter as |handle|.

BUG=27409524
TEST=compile

Change-Id: Ic6df01e7e80f79eaf5653374106ba6e6a7609e31

8 years agoWiFi HAL: ND offload enhancement
Jun Lim [Thu, 10 Mar 2016 19:15:10 +0000 (11:15 -0800)]
WiFi HAL: ND offload enhancement

Initial check-in of ND offload HAL API support

BUG=27598285

Change-Id: I9f2652de2bb0e22a25fe7c0ded6d1f5e6500de6d
Signed-off-by: Jun Lim <jun.lim@broadcom.com>
8 years agoUse audio_session_t consistently
Glenn Kasten [Tue, 8 Mar 2016 20:10:28 +0000 (12:10 -0800)]
Use audio_session_t consistently

Bug: 27562099
Change-Id: Id5af47af3e8e3404c575fbb0ec02cf25378b7089

8 years agoEnabling responder for rtt
gautam [Tue, 1 Mar 2016 19:12:12 +0000 (19:12 +0000)]
Enabling responder for rtt
am: bf5b9bf486

* commit 'bf5b9bf48613607585accb46732b3576f7220123':
  Enabling responder for rtt

8 years agoEnabling responder for rtt
gautam [Sun, 28 Feb 2016 07:25:12 +0000 (12:55 +0530)]
Enabling responder for rtt

Added minor changes in API for RTT

Change-Id: Ib93305d3246ab501b8389f479d8193f353024f21
Signed-off-by: gautam <gautam.shukla@broadcom.com>
8 years agoMerge "WiFi HAL: add packet fate monitoring API" into mm-wireless-dev
Mukesh Agrawal [Thu, 18 Feb 2016 00:37:46 +0000 (00:37 +0000)]
Merge "WiFi HAL: add packet fate monitoring API" into mm-wireless-dev
am: 4d0c8f7f68

* commit '4d0c8f7f687f19b7d65d5d782e56c047f3ff9e1c':
  WiFi HAL: add packet fate monitoring API

8 years agoMerge "WiFi HAL: add packet fate monitoring API" into mm-wireless-dev
Mukesh Agrawal [Thu, 18 Feb 2016 00:31:47 +0000 (00:31 +0000)]
Merge "WiFi HAL: add packet fate monitoring API" into mm-wireless-dev

8 years agoMerge "Remove REPORT_EVENT_CONTEXT_HUB gscan option" into mm-wireless-dev
Mitchell Wills [Wed, 17 Feb 2016 20:32:22 +0000 (20:32 +0000)]
Merge "Remove REPORT_EVENT_CONTEXT_HUB gscan option" into mm-wireless-dev
am: ded9b10b92

* commit 'ded9b10b9278f3d4c9845ec20785da79345708ee':
  Remove REPORT_EVENT_CONTEXT_HUB gscan option

8 years agoMerge "Remove REPORT_EVENT_CONTEXT_HUB gscan option" into mm-wireless-dev
Mitchell Wills [Wed, 17 Feb 2016 20:30:55 +0000 (20:30 +0000)]
Merge "Remove REPORT_EVENT_CONTEXT_HUB gscan option" into mm-wireless-dev

8 years agoMerge "halutil: adding PNO driver events" into mm-wireless-dev
Mukesh Agrawal [Wed, 17 Feb 2016 19:35:36 +0000 (19:35 +0000)]
Merge "halutil: adding PNO driver events" into mm-wireless-dev
am: a5c9342b16

* commit 'a5c9342b162b82f013a778f3553290dcf6365617':
  halutil: adding PNO driver events

8 years agoMerge "halutil: adding PNO driver events" into mm-wireless-dev
Mukesh Agrawal [Wed, 17 Feb 2016 19:25:14 +0000 (19:25 +0000)]
Merge "halutil: adding PNO driver events" into mm-wireless-dev

8 years agohalutil: adding PNO driver events
Sreenath Sharma [Thu, 11 Feb 2016 10:38:18 +0000 (16:08 +0530)]
halutil: adding PNO driver events

Adding PNO driver events

BUG=26259438

Change-Id: Iad9ebc5c8b810fa1cf2389c1c2de0e765434fcf1
Signed-off-by: Sreenath Sharma <sreenath.sharma@broadcom.com>
8 years agoModify the wake reasons accounting API\'s
Roshan Pius [Fri, 12 Feb 2016 00:29:13 +0000 (00:29 +0000)]
Modify the wake reasons accounting API\'s
am: 5aa942ee3b

* commit '5aa942ee3b1cbc5d817e6330555d25cd124c7546':
  Modify the wake reasons accounting API's

8 years agoModify the wake reasons accounting API's
Roshan Pius [Mon, 1 Feb 2016 17:55:38 +0000 (09:55 -0800)]
Modify the wake reasons accounting API's

Modify the existing wake accounting reasons HAL API so that the
individual wake accounting reason array buffers are allocated
and freed by framework.

BUG:26902794
Change-Id: Iea74e61890f785107b05f9b4a3a58449ba449f0d

8 years agoRemove REPORT_EVENT_CONTEXT_HUB gscan option
Mitchell Wills [Wed, 10 Feb 2016 21:34:27 +0000 (13:34 -0800)]
Remove REPORT_EVENT_CONTEXT_HUB gscan option

Since all scan results will now be reported to the context hub this flag
is no longer needed.

Change-Id: I4ea3e88cc891be87660c12b7797819ea861cda26

8 years agoRename WIFI_SCAN_DISABLED event to WIFI_SCAN_FAILED
Mitchell Wills [Tue, 9 Feb 2016 22:06:24 +0000 (22:06 +0000)]
Rename WIFI_SCAN_DISABLED event to WIFI_SCAN_FAILED
am: 3febafdf46

* commit '3febafdf468af877ce4c389bfb579c088a2db88b':
  Rename WIFI_SCAN_DISABLED event to WIFI_SCAN_FAILED

8 years agoRename WIFI_SCAN_DISABLED event to WIFI_SCAN_FAILED
Mitchell Wills [Fri, 29 Jan 2016 05:10:41 +0000 (21:10 -0800)]
Rename WIFI_SCAN_DISABLED event to WIFI_SCAN_FAILED

disabled was not very clear as to the actual meaning of the event and
left the implication that the scan could be reenabled.

Change-Id: I3f53b13a958cd35e93fde7bf9690d84744ffe63a

8 years agoMerge changes I2a4e674e,Ie65f095c into mm-wireless-dev
Etan Cohen [Tue, 9 Feb 2016 17:20:20 +0000 (17:20 +0000)]
Merge changes I2a4e674e,Ie65f095c into mm-wireless-dev
am: ee6c9fd926

* commit 'ee6c9fd926c5d75240d0c40b56b4aa1c32a91e3f':
  WiFi HAL: add additional connectivity events
  WiFi HAL: add driver memory dump API

8 years agoMerge changes I2a4e674e,Ie65f095c into mm-wireless-dev
Etan Cohen [Tue, 9 Feb 2016 17:17:13 +0000 (17:17 +0000)]
Merge changes I2a4e674e,Ie65f095c into mm-wireless-dev

* changes:
  WiFi HAL: add additional connectivity events
  WiFi HAL: add driver memory dump API

8 years agoEnable RTT Responder Role (3/4).
Wei Wang [Tue, 9 Feb 2016 01:13:54 +0000 (01:13 +0000)]
Enable RTT Responder Role (3/4).
am: 2ad893d001

* commit '2ad893d00186b0526cabb5d0675c9bc7d65ee2bd':
  Enable RTT Responder Role (3/4).

8 years agoEnable RTT Responder Role (3/4).
Wei Wang [Wed, 27 Jan 2016 03:21:00 +0000 (19:21 -0800)]
Enable RTT Responder Role (3/4).

Change-Id: I14c7a13e423f1a6389449805c86c04d9a8d75440

8 years agoWiFi HAL: add packet fate monitoring API
Subhani Shaik [Tue, 26 Jan 2016 05:11:13 +0000 (21:11 -0800)]
WiFi HAL: add packet fate monitoring API

When a connection attempt fails, we're often unable
to determine the cause from existing log files. This
is because our log files only report the view from user
space. From this vantage point, we can't tell if,
e.g., an outbound frame was ever sent over the air.
(Or, for inbound frames: if they were heard by our
radio.)

To give ourselves a broader view, we add the packet fate
monitoring API. This API will let us determine, e.g.,
if an outbound frame was transmitted by our radio.

BUG: 26807558
Change-Id: I197729117f9086ece8cf00313bb9d3e7c0197b97

8 years agoWiFi HAL: add additional connectivity events
Subhani Shaik [Thu, 28 Jan 2016 21:03:35 +0000 (13:03 -0800)]
WiFi HAL: add additional connectivity events

The current list of events supported by the wifi_connectivity_event
ring buffer omits some important events. Add three new events, so
that we can log the events for driver/firmware that support them.

BUG: 26832275
Change-Id: I2a4e674e5f7b52cc630eac32191fdc0b75d60422

8 years agoWiFi HAL: add driver memory dump API
Subhani Shaik [Tue, 26 Jan 2016 02:30:49 +0000 (18:30 -0800)]
WiFi HAL: add driver memory dump API

Add API for dumping state of WiFi driver. This API
will be used in combination with the (existing)
firmware memory dump API, to identify inconsistent
state between driver and firmware.

BUG: 26803847

Change-Id: Ie65f095ca6be4203f8aad0b541c1903dc6cce1f5

8 years agoMerge "Make libhardware_legacy warning clean."
Dan Albert [Wed, 3 Feb 2016 02:29:03 +0000 (02:29 +0000)]
Merge "Make libhardware_legacy warning clean."
am: f2f846e795

* commit 'f2f846e7954feda38749e0fce1cfe5814d9c396a':
  Make libhardware_legacy warning clean.

8 years agoMerge "Make libhardware_legacy warning clean."
Dan Albert [Wed, 3 Feb 2016 02:22:19 +0000 (02:22 +0000)]
Merge "Make libhardware_legacy warning clean."

8 years agoMake libhardware_legacy warning clean.
Dan Albert [Tue, 2 Feb 2016 22:49:35 +0000 (14:49 -0800)]
Make libhardware_legacy warning clean.

Fix some (note the fun infinite recursion bug from the dawn of time,
apparently no one has called that function), silence those that are
style choices.

Bug: http://b/26936282
Change-Id: I99fa342abf9d134fb729ed8d906e60c011120e89

8 years agoMerge "Initial proposal of RTT HAL API changes for 11mc responder role." into mm...
Etan Cohen [Wed, 27 Jan 2016 18:57:51 +0000 (18:57 +0000)]
Merge "Initial proposal of RTT HAL API changes for 11mc responder role." into mm-wireless-dev
am: 86ac7fa992

* commit '86ac7fa992544fa8521972fe74add8b97716da81':
  Initial proposal of RTT HAL API changes for 11mc responder role.

8 years agoMerge "Wifi-HAL: New NAN Discovery engine changes" into mm-wireless-dev
Etan Cohen [Wed, 27 Jan 2016 18:57:47 +0000 (18:57 +0000)]
Merge "Wifi-HAL: New NAN Discovery engine changes" into mm-wireless-dev
am: 8abbec7396

* commit '8abbec7396ed1bd03d0e078b2672fce3ae3575ae':
  Wifi-HAL: New NAN Discovery engine changes

8 years agoMerge "Initial proposal of RTT HAL API changes for 11mc responder role." into mm...
Etan Cohen [Wed, 27 Jan 2016 18:55:25 +0000 (18:55 +0000)]
Merge "Initial proposal of RTT HAL API changes for 11mc responder role." into mm-wireless-dev

8 years agoMerge "Wifi-HAL: New NAN Discovery engine changes" into mm-wireless-dev
Etan Cohen [Wed, 27 Jan 2016 18:55:23 +0000 (18:55 +0000)]
Merge "Wifi-HAL: New NAN Discovery engine changes" into mm-wireless-dev

8 years agoresolve merge conflicts of fc78eb998e to master.
Paul Jensen [Wed, 27 Jan 2016 13:29:19 +0000 (08:29 -0500)]
resolve merge conflicts of fc78eb998e to master.

Change-Id: I1cd9a0f0c4f21ae4a6b6cbace7ed5ab5b1f8849f

8 years agoMerge "WiFi HAL API changes for WiFi packet filtering" into mm-wireless-dev
Paul Jensen [Wed, 27 Jan 2016 13:07:48 +0000 (13:07 +0000)]
Merge "WiFi HAL API changes for WiFi packet filtering" into mm-wireless-dev

8 years agoInitial proposal of RTT HAL API changes for 11mc
Wei Wang [Fri, 4 Dec 2015 02:10:42 +0000 (18:10 -0800)]
Initial proposal of RTT HAL API changes for 11mc
responder role.

Change-Id: If1ea5fee99fb3405ae643e9192feda40d16a285b

8 years agoMerge "N WifiScanner HAL Changes" into mm-wireless-dev
Mitchell Wills [Mon, 25 Jan 2016 19:13:49 +0000 (19:13 +0000)]
Merge "N WifiScanner HAL Changes" into mm-wireless-dev
am: 0b8832836b

* commit '0b8832836b49c8674486e0f254197b5fa9db108c':
  N WifiScanner HAL Changes

8 years agoMerge "N WifiScanner HAL Changes" into mm-wireless-dev
Mitchell Wills [Mon, 25 Jan 2016 19:07:35 +0000 (19:07 +0000)]
Merge "N WifiScanner HAL Changes" into mm-wireless-dev

8 years agoWifi-HAL: New NAN Discovery engine changes
Subhani Shaik [Thu, 21 Jan 2016 20:45:57 +0000 (12:45 -0800)]
Wifi-HAL: New NAN Discovery engine changes

1) Add nan_capabilities API.
2) Add support to enable NAN on a particular 2.4/5GHz channel.
3) Disable notifications to responses.

8 years agoWiFi HAL API changes for WiFi packet filtering
Paul Jensen [Tue, 29 Dec 2015 17:07:15 +0000 (12:07 -0500)]
WiFi HAL API changes for WiFi packet filtering

Change-Id: I9b41755ac5baf2ec5f9d764d9f6c1c7b8551140a

8 years agoAdd WiFi HAL wifi_configure_nd_offload() function pointer
Erik Kline [Wed, 20 Jan 2016 01:36:44 +0000 (01:36 +0000)]
Add WiFi HAL wifi_configure_nd_offload() function pointer
am: 00a0c3addf

* commit '00a0c3addf7a2817df0d3a9f27d1dd9225ddd166':
  Add WiFi HAL wifi_configure_nd_offload() function pointer

8 years agoN WifiScanner HAL Changes
Mitchell Wills [Thu, 12 Nov 2015 23:00:33 +0000 (15:00 -0800)]
N WifiScanner HAL Changes

Merge on_scan_results_available and on_scan_event gscan callbacks
Indicate which buckets were scanned in results callbacks
Add report scan to context hub flag
Add ePNO scoring parameters

Remove unused/superceeded functions
 * ssid hotlist
 * ssid whitelist
 * gscan roam
 * bssid preference

Change-Id: Ie1df191c77e967d3f53d625be8cc5eb76607c08f

8 years agoAdd wifi wake reason accounting - HAL API
Prerepa Viswanadham [Tue, 15 Dec 2015 20:10:22 +0000 (12:10 -0800)]
Add wifi wake reason accounting - HAL API

Cherry picked from deb60d5f89dc91c0fe4eb3488ac2804f23ece1cd

Bug: 26572953
Change-Id: Id321418feaf808a0c0a0fb08c12279f90fd31da2

8 years agoAdd WiFi HAL wifi_configure_nd_offload() function pointer
Erik Kline [Wed, 6 Jan 2016 05:16:22 +0000 (14:16 +0900)]
Add WiFi HAL wifi_configure_nd_offload() function pointer

Bug: 18085352
Bug: 26238390
Change-Id: Ic80e670971cf687febe02bae1fdfff8f8e40203c

8 years agoresolve merge conflicts of 19316765f7 to master.
Etan Cohen [Mon, 11 Jan 2016 23:44:05 +0000 (15:44 -0800)]
resolve merge conflicts of 19316765f7 to master.

Change-Id: If9f0d7b269603a3caddaff8ba533f4499ac2682a

8 years agoNAN API update
Subhani Shaik [Fri, 16 Oct 2015 03:37:44 +0000 (20:37 -0700)]
NAN API update

Changes related to NAN APIs and structures.
1) Remove NanHeader
2) Replace wifi_handle with wifi_interface_handle in NAN APIs
3) Add publish/subscribe id
4) Remove match_handle and name it as requestor_instance_id
5) Add NanPublishResponse/NanSubscribeResponse structures
6) Remove user_context
7) Add appropriate enums
8) Remove unused structures
9) Add new NAN status types for TCA, Transmit, and invalid
   configuration of Band, DW/DB intervals, random factor
   update and scan period.
10) Add new fields in Publish/Subscribe Stats.
11) Replace wifi_request_id with transaction_id to have a
    common interface across all layers.

Bug: 26216681
Change-Id: Ife7cf7e7ed64d2f8db236f23919cd6412dc8b496