Commit graph

901 commits

Author SHA1 Message Date
Subhani Shaik
44c39504da Enabling Nan data path support [DO NOT MERGE]
Add APIs and data structures to support nan data path.

Change-Id: I60acc78f1d8a394cab511f4468dbc745a3107ddb
2016-04-01 13:21:33 -07:00
Jun Lim
13ef8430cd 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>
2016-03-10 15:26:06 -08:00
gautam
bf5b9bf486 Enabling responder for rtt
Added minor changes in API for RTT

Change-Id: Ib93305d3246ab501b8389f479d8193f353024f21
Signed-off-by: gautam <gautam.shukla@broadcom.com>
2016-02-29 19:44:25 +05:30
Mukesh Agrawal
4d0c8f7f68 Merge "WiFi HAL: add packet fate monitoring API" into mm-wireless-dev 2016-02-18 00:31:47 +00:00
Mitchell Wills
ded9b10b92 Merge "Remove REPORT_EVENT_CONTEXT_HUB gscan option" into mm-wireless-dev 2016-02-17 20:30:56 +00:00
Mukesh Agrawal
a5c9342b16 Merge "halutil: adding PNO driver events" into mm-wireless-dev 2016-02-17 19:25:14 +00:00
Sreenath Sharma
d1b3e1925c halutil: adding PNO driver events
Adding PNO driver events

BUG=26259438

Change-Id: Iad9ebc5c8b810fa1cf2389c1c2de0e765434fcf1
Signed-off-by: Sreenath Sharma <sreenath.sharma@broadcom.com>
2016-02-12 16:32:33 +05:30
Roshan Pius
5aa942ee3b 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
2016-02-11 14:16:15 -08:00
Mitchell Wills
45cd7dd198 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
2016-02-10 15:22:23 -08:00
Mitchell Wills
3febafdf46 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
2016-02-09 11:40:48 -08:00
Etan Cohen
ee6c9fd926 Merge changes I2a4e674e,Ie65f095c into mm-wireless-dev
* changes:
  WiFi HAL: add additional connectivity events
  WiFi HAL: add driver memory dump API
2016-02-09 17:17:13 +00:00
Wei Wang
2ad893d001 Enable RTT Responder Role (3/4).
Change-Id: I14c7a13e423f1a6389449805c86c04d9a8d75440
2016-02-06 00:49:03 -08:00
Subhani Shaik
8056836755 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
2016-02-04 17:18:26 -08:00
Subhani Shaik
e7b148c146 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
2016-02-04 17:17:36 -08:00
Subhani Shaik
271bfa7c4a 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
2016-02-04 17:17:19 -08:00
Etan Cohen
86ac7fa992 Merge "Initial proposal of RTT HAL API changes for 11mc responder role." into mm-wireless-dev 2016-01-27 18:55:25 +00:00
Etan Cohen
8abbec7396 Merge "Wifi-HAL: New NAN Discovery engine changes" into mm-wireless-dev 2016-01-27 18:55:23 +00:00
Paul Jensen
fc78eb998e Merge "WiFi HAL API changes for WiFi packet filtering" into mm-wireless-dev 2016-01-27 13:07:48 +00:00
Wei Wang
8d44928ade Initial proposal of RTT HAL API changes for 11mc
responder role.

Change-Id: If1ea5fee99fb3405ae643e9192feda40d16a285b
2016-01-26 19:21:22 -08:00
Mitchell Wills
0b8832836b Merge "N WifiScanner HAL Changes" into mm-wireless-dev 2016-01-25 19:07:35 +00:00
Subhani Shaik
fd3a4acb3b 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.
2016-01-21 12:45:57 -08:00
Paul Jensen
749a60e3d3 WiFi HAL API changes for WiFi packet filtering
Change-Id: I9b41755ac5baf2ec5f9d764d9f6c1c7b8551140a
2016-01-21 12:54:17 +00:00
Mitchell Wills
682adbf141 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
2016-01-19 11:44:50 -08:00
Erik Kline
00a0c3addf Add WiFi HAL wifi_configure_nd_offload() function pointer
Bug: 18085352
Bug: 26238390
Change-Id: Ic80e670971cf687febe02bae1fdfff8f8e40203c
2016-01-15 15:16:24 +09:00
Subhani Shaik
19316765f7 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
2016-01-07 07:52:52 -08:00
Randy Pan
712a265e97 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
2015-12-18 10:22:03 -08:00
Prerepa Viswanadham
deb60d5f89 Add wifi wake reason accounting - HAL API
Change-Id: Id321418feaf808a0c0a0fb08c12279f90fd31da2
2015-12-15 12:10:22 -08:00
Colin Cross
23dfdff24a Merge "Vibra: Remove vibrator AOSP implementation from libhardware_legacy" 2015-11-17 19:31:22 +00:00
Vincent Becker
efcc15accd 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
2015-11-17 19:31:02 +00:00
Dan Willemsen
f767270d5c 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
2015-09-28 21:55:59 +00:00
Dan Willemsen
0f7bacf295 am 35edc538: Merge "Prepare to remove libhardware_legacy from global include dirs"
* commit '35edc53853877e6998e117357902579147f3e7e4':
  Prepare to remove libhardware_legacy from global include dirs
2015-09-28 21:49:11 +00:00
Dan Willemsen
35edc53853 Merge "Prepare to remove libhardware_legacy from global include dirs" 2015-09-28 21:22:53 +00:00
Dan Willemsen
474bb8ac80 Prepare to remove libhardware_legacy from global include dirs
Bug: 18903857
Change-Id: I2a5fdb7f42ba46729e66ff08893183184edc3c97
2015-09-28 14:11:21 -07:00
Daniel Erat
4880314c8c am eea5d887: (-s ours) am c9183441: Merge "Remove unused systemTime() and include utils/Timers.h."
* commit 'eea5d8878d67298a81aaf0d85dd5c9f2f9742b83':
2015-08-27 12:20:39 +00:00
Elliott Hughes
e47e6682f2 am 19d9b8fc: (-s ours) am 87175f0b: Merge "Stop being silly."
* commit '19d9b8fc7c1bdafb8cb4f5b32100eb9543c4c406':
2015-08-27 12:20:39 +00:00
Jerry Lee
c8efa2333a am 2c1817a8: (-s ours) am 8af982d0: Clean up bad command implementation
* commit '2c1817a82c52bb4e1908df37aa5e1b2afb89ca74':
2015-08-27 12:20:38 +00:00
Maddest Chang
c96310d78f am 7c20e687: (-s ours) am da1c7fa2: make wifi_load_driver blocking
* commit '7c20e6875dca9bbf46cebc4a4319626ce524df87':
2015-08-27 12:20:37 +00:00
Daniel Erat
eea5d8878d am c9183441: Merge "Remove unused systemTime() and include utils/Timers.h."
* commit 'c9183441b7faa8d943bffa60da31b39159056de4':
  Remove unused systemTime() and include utils/Timers.h.
2015-08-10 16:55:26 +00:00
Daniel Erat
e0a795eec4 am c9183441: Merge "Remove unused systemTime() and include utils/Timers.h."
* commit 'c9183441b7faa8d943bffa60da31b39159056de4':
  Remove unused systemTime() and include utils/Timers.h.
2015-08-10 16:54:58 +00:00
Daniel Erat
c9183441b7 Merge "Remove unused systemTime() and include utils/Timers.h." 2015-08-10 16:42:11 +00:00
Daniel Erat
accf5b4b62 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
2015-08-05 10:38:37 -06:00
Elliott Hughes
6d604a605e am 87175f0b: Merge "Stop being silly."
* commit '87175f0b54e82321b2aee958e8e89455a7027443':
  Stop being silly.
2015-07-31 16:09:56 +00:00
Elliott Hughes
19d9b8fc7c am 87175f0b: Merge "Stop being silly."
* commit '87175f0b54e82321b2aee958e8e89455a7027443':
  Stop being silly.
2015-07-31 16:08:52 +00:00
Elliott Hughes
87175f0b54 Merge "Stop being silly." 2015-07-31 16:00:19 +00:00
Elliott Hughes
df3845a712 Stop being silly.
Change-Id: Ifb26361dae95a08827fcac6e725ab8f7961c78aa
2015-07-31 08:54:02 -07:00
Jerry Lee
88ae26e654 am 8af982d0: Clean up bad command implementation
* commit '8af982d029f575a91158cbc870fdc94a70203134':
  Clean up bad command implementation
2015-07-16 04:41:04 +00:00
Jerry Lee
2c1817a82c am 8af982d0: Clean up bad command implementation
* commit '8af982d029f575a91158cbc870fdc94a70203134':
  Clean up bad command implementation
2015-07-16 03:58:40 +00:00
Jerry Lee
8af982d029 Clean up bad command implementation
b/22349265

Change-Id: I856a7d1fdfd9c0af42d2007d3b6235a38728bdbb
Signed-off-by: Jerry Lee <jerrylee@broadcom.com>
2015-07-15 17:26:48 -07:00
Maddest Chang
20fe063a12 am da1c7fa2: make wifi_load_driver blocking
* commit 'da1c7fa2901ad0d6158412d35d3c2b67f4c54518':
  make wifi_load_driver blocking
2015-07-15 10:53:12 +00:00
Maddest Chang
7c20e6875d am da1c7fa2: make wifi_load_driver blocking
* commit 'da1c7fa2901ad0d6158412d35d3c2b67f4c54518':
  make wifi_load_driver blocking
2015-07-15 10:20:36 +00:00