OSDN Git Service

android-x86/hardware-libhardware_legacy.git
7 years agopowerbtnd: include the header for string functions prototypes nougat-x86 android-x86-7.1-r1 android-x86-7.1-r2 android-x86-7.1-r3 android-x86-7.1-r4 android-x86-7.1-r5
Chih-Wei Huang [Thu, 15 Oct 2015 16:49:55 +0000 (00:49 +0800)]
powerbtnd: include the header for string functions prototypes

Also fixes a warning of mismatching argument.

7 years agopowerbtnd: simulate power key on resuming
Chih-Wei Huang [Wed, 31 Dec 2014 14:48:42 +0000 (22:48 +0800)]
powerbtnd: simulate power key on resuming

7 years agowifi: determine whether to unload the driver by a property
Chih-Wei Huang [Sun, 21 Dec 2014 05:45:27 +0000 (13:45 +0800)]
wifi: determine whether to unload the driver by a property

Currently the brcmfmac driver seems to be buggy to be unloaded.
Don't unload it until we find a real solution.

7 years agowifi: support built-in wifi drivers
Chih-Wei Huang [Fri, 27 Jun 2014 09:52:33 +0000 (17:52 +0800)]
wifi: support built-in wifi drivers

If a wifi interface is found but no module name,
assume it's built-in and just return ok.

7 years agoadd powerbtnd to simulate long press of power button.
Chih-Wei Huang [Mon, 23 Jul 2012 06:32:37 +0000 (14:32 +0800)]
add powerbtnd to simulate long press of power button.

On x86 PC, power button usually generates key press and release events
simultaneously. However, the android framework expects a long press
of power button to invoke the power off dialog. The daemon simulates a
long press of power button,

On poweroff.doubleclick=0, one click to power button invokes poweroff
dialog directly.

On poweroff.doubleclick=1, one click to power button suspends the system,
while double click in one second invokes poweroff dialog.

A target needs to add excluded-input-devices.xml to exclude
'Power Button' from processing by EventHub.

7 years agowifi: auto-detect the module name and path
Chih-Wei Huang [Mon, 28 Nov 2011 08:15:39 +0000 (16:15 +0800)]
wifi: auto-detect the module name and path

7 years agowifi: do not hardcode module name and path
Chih-Wei Huang [Mon, 28 Nov 2011 06:56:46 +0000 (14:56 +0800)]
wifi: do not hardcode module name and path

The patch allows the module name and path to be obtained by the properties
wlan.modname and wlan.modpath.

7 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

7 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 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 [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 [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]
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:02:44 +0000 (22:02 +0000)]
Merge "Use audio_module_handle_t and audio_patch_handle_t consistently" into nyc-dev

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

8 years agoWiFi exponential back off scan enhancement
Randy Pan [Tue, 29 Dec 2015 22:10:24 +0000 (22:10 +0000)]
WiFi exponential back off scan enhancement
am: 712a265e97

* commit '712a265e97795b565b0d9b3c23a740a9ccdad56a':
  WiFi exponential back off scan enhancement

8 years agoUse "merge -s ours origin/mirror-partner-mm-wireless-dev" as described in b/26154276
Alex Cheung [Thu, 24 Dec 2015 00:40:53 +0000 (16:40 -0800)]
Use "merge -s ours origin/mirror-partner-mm-wireless-dev" as described in b/26154276

8 years agoWiFi exponential back off scan enhancement
Randy Pan [Thu, 17 Dec 2015 18:43:32 +0000 (10:43 -0800)]
WiFi exponential back off scan enhancement

Correct the comments on exponential back off scan formula.
Rename "exponent" to "base" to match the formula.
Also make the meaning of AP (Access Point vs. Apps Processor)
explicit for struct wifi_scan_cmd_params.

Bug: 26236392
Change-Id: I5873e1c8667dd964d125e37e2f0eeddec79eda13

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

Change-Id: Id321418feaf808a0c0a0fb08c12279f90fd31da2

8 years agoMerge "Make wake_lock acquire/release errors explicit"
Rom Lemarchand [Thu, 10 Dec 2015 19:10:29 +0000 (19:10 +0000)]
Merge "Make wake_lock acquire/release errors explicit"

8 years agoMake wake_lock acquire/release errors explicit
Rom Lemarchand [Thu, 10 Dec 2015 16:22:00 +0000 (08:22 -0800)]
Make wake_lock acquire/release errors explicit

Return negative values on error when acquiring or releasing a wake lock.

Change-Id: I2d72d4d1e68530b19d6128b257b92ccc8250416e

8 years agoMerge "Vibra: Remove vibrator AOSP implementation from libhardware_legacy"
Colin Cross [Tue, 17 Nov 2015 19:31:22 +0000 (19:31 +0000)]
Merge "Vibra: Remove vibrator AOSP implementation from libhardware_legacy"

8 years agoVibra: Remove vibrator AOSP implementation from libhardware_legacy
Vincent Becker [Fri, 10 Aug 2012 12:50:03 +0000 (14:50 +0200)]
Vibra: Remove vibrator AOSP implementation from libhardware_legacy

To enable the vendor implementation of the vibrator HAL, it is needed
to use hardware modules, a default one for AOSP and the vendor one.
The legacy implementation is no more needed so let's remove it.

This change is related to other changes in:
 - hardware/libhardware
 - frameworks/base

Change-Id: I844279f5535289f079d412fdc44c5cb3c9c1130c
Author: Vincent Becker <vincentx.becker@intel.com>
Signed-off-by: Vincent Becker <vincentx.becker@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Signed-off-by: David Wagner <david.wagner@intel.com>
Author-tracking-BZ: 49760

8 years agoam 0f7bacf2: am 35edc538: Merge "Prepare to remove libhardware_legacy from global...
Dan Willemsen [Mon, 28 Sep 2015 21:55:59 +0000 (21:55 +0000)]
am 0f7bacf2: am 35edc538: Merge "Prepare to remove libhardware_legacy from global include dirs"

* commit '0f7bacf295f1a0e1beb6f55504cbde08f920b771':
  Prepare to remove libhardware_legacy from global include dirs

8 years agoam 35edc538: Merge "Prepare to remove libhardware_legacy from global include dirs"
Dan Willemsen [Mon, 28 Sep 2015 21:49:11 +0000 (21:49 +0000)]
am 35edc538: Merge "Prepare to remove libhardware_legacy from global include dirs"

* commit '35edc53853877e6998e117357902579147f3e7e4':
  Prepare to remove libhardware_legacy from global include dirs

8 years agoMerge "Prepare to remove libhardware_legacy from global include dirs"
Dan Willemsen [Mon, 28 Sep 2015 21:22:53 +0000 (21:22 +0000)]
Merge "Prepare to remove libhardware_legacy from global include dirs"

8 years agoPrepare to remove libhardware_legacy from global include dirs
Dan Willemsen [Fri, 25 Sep 2015 07:08:46 +0000 (00:08 -0700)]
Prepare to remove libhardware_legacy from global include dirs

Bug: 18903857
Change-Id: I2a5fdb7f42ba46729e66ff08893183184edc3c97

8 years agoam eea5d887: (-s ours) am c9183441: Merge "Remove unused systemTime() and include...
Daniel Erat [Thu, 27 Aug 2015 12:20:39 +0000 (12:20 +0000)]
am eea5d887: (-s ours) am c9183441: Merge "Remove unused systemTime() and include utils/Timers.h."

* commit 'eea5d8878d67298a81aaf0d85dd5c9f2f9742b83':

8 years agoam 19d9b8fc: (-s ours) am 87175f0b: Merge "Stop being silly."
Elliott Hughes [Thu, 27 Aug 2015 12:20:39 +0000 (12:20 +0000)]
am 19d9b8fc: (-s ours) am 87175f0b: Merge "Stop being silly."

* commit '19d9b8fc7c1bdafb8cb4f5b32100eb9543c4c406':

8 years agoam 2c1817a8: (-s ours) am 8af982d0: Clean up bad command implementation
Jerry Lee [Thu, 27 Aug 2015 12:20:38 +0000 (12:20 +0000)]
am 2c1817a8: (-s ours) am 8af982d0: Clean up bad command implementation

* commit '2c1817a82c52bb4e1908df37aa5e1b2afb89ca74':

8 years agoam 7c20e687: (-s ours) am da1c7fa2: make wifi_load_driver blocking
Maddest Chang [Thu, 27 Aug 2015 12:20:37 +0000 (12:20 +0000)]
am 7c20e687: (-s ours) am da1c7fa2: make wifi_load_driver blocking

* commit '7c20e6875dca9bbf46cebc4a4319626ce524df87':

8 years agoam c9183441: Merge "Remove unused systemTime() and include utils/Timers.h."
Daniel Erat [Mon, 10 Aug 2015 16:55:26 +0000 (16:55 +0000)]
am c9183441: Merge "Remove unused systemTime() and include utils/Timers.h."

* commit 'c9183441b7faa8d943bffa60da31b39159056de4':
  Remove unused systemTime() and include utils/Timers.h.

8 years agoam c9183441: Merge "Remove unused systemTime() and include utils/Timers.h."
Daniel Erat [Mon, 10 Aug 2015 16:54:58 +0000 (16:54 +0000)]
am c9183441: Merge "Remove unused systemTime() and include utils/Timers.h."

* commit 'c9183441b7faa8d943bffa60da31b39159056de4':
  Remove unused systemTime() and include utils/Timers.h.

8 years agoMerge "Remove unused systemTime() and include utils/Timers.h."
Daniel Erat [Mon, 10 Aug 2015 16:42:11 +0000 (16:42 +0000)]
Merge "Remove unused systemTime() and include utils/Timers.h."

8 years agoRemove unused systemTime() and include utils/Timers.h.
Daniel Erat [Wed, 5 Aug 2015 16:38:37 +0000 (10:38 -0600)]
Remove unused systemTime() and include utils/Timers.h.

Remove a systemTime() function from power/power.c that
doesn't appear to be called anywhere, and make several
audio/ files explicitly include utils/Timers.h for the
libutils version of systemTime(). (They appear to have been
transitively getting it via utils/threads.h's include of
utils/Condition.h.)

Change-Id: I432bb1cf1100f5829df307a146076acf035a0bdc

8 years agoam 87175f0b: Merge "Stop being silly."
Elliott Hughes [Fri, 31 Jul 2015 16:09:56 +0000 (16:09 +0000)]
am 87175f0b: Merge "Stop being silly."

* commit '87175f0b54e82321b2aee958e8e89455a7027443':
  Stop being silly.

8 years agoam 87175f0b: Merge "Stop being silly."
Elliott Hughes [Fri, 31 Jul 2015 16:08:52 +0000 (16:08 +0000)]
am 87175f0b: Merge "Stop being silly."

* commit '87175f0b54e82321b2aee958e8e89455a7027443':
  Stop being silly.

8 years agoMerge "Stop being silly."
Elliott Hughes [Fri, 31 Jul 2015 16:00:19 +0000 (16:00 +0000)]
Merge "Stop being silly."

8 years agoStop being silly.
Elliott Hughes [Fri, 31 Jul 2015 15:54:02 +0000 (08:54 -0700)]
Stop being silly.

Change-Id: Ifb26361dae95a08827fcac6e725ab8f7961c78aa

8 years agoam 8af982d0: Clean up bad command implementation
Jerry Lee [Thu, 16 Jul 2015 04:41:04 +0000 (04:41 +0000)]
am 8af982d0: Clean up bad command implementation

* commit '8af982d029f575a91158cbc870fdc94a70203134':
  Clean up bad command implementation

8 years agoam 8af982d0: Clean up bad command implementation
Jerry Lee [Thu, 16 Jul 2015 03:58:40 +0000 (03:58 +0000)]
am 8af982d0: Clean up bad command implementation

* commit '8af982d029f575a91158cbc870fdc94a70203134':
  Clean up bad command implementation

8 years agoClean up bad command implementation
Jerry Lee [Mon, 13 Jul 2015 20:40:19 +0000 (13:40 -0700)]
Clean up bad command implementation

    b/22349265

Change-Id: I856a7d1fdfd9c0af42d2007d3b6235a38728bdbb
Signed-off-by: Jerry Lee <jerrylee@broadcom.com>
8 years agoam da1c7fa2: make wifi_load_driver blocking
Maddest Chang [Wed, 15 Jul 2015 10:53:12 +0000 (10:53 +0000)]
am da1c7fa2: make wifi_load_driver blocking

* commit 'da1c7fa2901ad0d6158412d35d3c2b67f4c54518':
  make wifi_load_driver blocking

8 years agoam da1c7fa2: make wifi_load_driver blocking
Maddest Chang [Wed, 15 Jul 2015 10:20:36 +0000 (10:20 +0000)]
am da1c7fa2: make wifi_load_driver blocking

* commit 'da1c7fa2901ad0d6158412d35d3c2b67f4c54518':
  make wifi_load_driver blocking

8 years agomake wifi_load_driver blocking
Maddest Chang [Fri, 10 Jul 2015 11:39:05 +0000 (19:39 +0800)]
make wifi_load_driver blocking

Modify wifi_load_driver behavior synchronize startHal with the initialization
of the wlan driver.  This makes sure that on certain solutions, startHal will
does not fail due to no wlan0 net device not being found.

Bug:19888853

Change-Id: Ic6ec2211431c478e52eb516c40ec23c2e8945fbb
Signed-off-by: Maddest Chang <maddest.chang@mediatek.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
8 years agoam c9694304: Add wifi offload feature: mkeep_alive
JerryLee [Thu, 25 Jun 2015 01:11:29 +0000 (01:11 +0000)]
am c9694304: Add wifi offload feature: mkeep_alive

* commit 'c96943046060b3aa1e0cd2fb3974dfa3aeacb7cc':
  Add wifi offload feature: mkeep_alive

8 years agoam 1de429dc: Add a debuggability interface: stop logging
JerryLee [Thu, 25 Jun 2015 01:11:28 +0000 (01:11 +0000)]
am 1de429dc: Add a debuggability interface: stop logging

* commit '1de429dcaa9136ae7bbc57e7cccc10a5893fa7a3':
  Add a debuggability interface: stop logging

8 years agoam 7b9ec3c4: Added RSSI monitor bitmask
Ashwin [Thu, 25 Jun 2015 01:11:28 +0000 (01:11 +0000)]
am 7b9ec3c4: Added RSSI monitor bitmask

* commit '7b9ec3c42ba09ac77b6137e26ad3cd519b50667b':
  Added RSSI monitor bitmask