OSDN Git Service

android-x86/hardware-libhardware_legacy.git
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

8 years agoAdd wifi offload feature: mkeep_alive
JerryLee [Fri, 19 Jun 2015 00:05:29 +0000 (17:05 -0700)]
Add wifi offload feature: mkeep_alive

    b/21405946

Change-Id: Id8651f56d36d142772218defc9f9521dac82624a
Signed-off-by: JerryLee <jerrylee@broadcom.com>
8 years agoAdd a debuggability interface: stop logging
JerryLee [Thu, 18 Jun 2015 02:18:01 +0000 (19:18 -0700)]
Add a debuggability interface: stop logging

    bug: 21730601

Change-Id: Ie92229023b76a5b4a8f5657543a0cd0cb8a19968
Signed-off-by: JerryLee <jerrylee@broadcom.com>
8 years agoAdded RSSI monitor bitmask
Ashwin [Fri, 12 Jun 2015 20:10:30 +0000 (13:10 -0700)]
Added RSSI monitor bitmask

Reserved a bit for RSSI monitor feature in the feature bitmask

Change-Id: Ied470f65c26bed25f7ccc4faa3ac8fbac1e74009
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
8 years agoam bd18526a: am e853591..90f8307 from mirror-m-wireless-internal-release
Vinit Deshpande [Fri, 5 Jun 2015 18:52:29 +0000 (18:52 +0000)]
am bd18526a: am e853591..90f8307 from mirror-m-wireless-internal-release

* commit 'bd18526aa055e8a4a39b1f7276fc5fa2563f7689':
  wifi hal definitions for keep alive packet offload and rssi monitoring
  Adding API for setting LCI/LCR information.

8 years agoam e853591..90f8307 from mirror-m-wireless-internal-release
Vinit Deshpande [Fri, 5 Jun 2015 17:59:17 +0000 (10:59 -0700)]
am e853591..90f8307 from mirror-m-wireless-internal-release

90f8307 wifi hal definitions for keep alive packet offload and rssi monitoring

8 years agowifi hal definitions for keep alive packet offload and rssi monitoring
Prerepa Viswanadham [Fri, 22 May 2015 20:28:00 +0000 (13:28 -0700)]
wifi hal definitions for keep alive packet offload and rssi monitoring

Change-Id: I37caa4696b2aac0f33ea9606eeeba174b6408f02

8 years agoAdding API for setting LCI/LCR information.
Amarnath Hullur Subramanyam [Tue, 12 May 2015 22:19:07 +0000 (15:19 -0700)]
Adding API for setting LCI/LCR information.

Change-Id: I69c928e77b367b727ce50bb365754c6abfdb3126

8 years agoam a64d14b7: am 1ee8d6b..e28e2bb from mirror-m-wireless-internal-release
Vinit Deshpande [Thu, 14 May 2015 06:39:01 +0000 (06:39 +0000)]
am a64d14b7: am 1ee8d6b..e28e2bb from mirror-m-wireless-internal-release

* commit 'a64d14b7665d8da65ba345729fc7a3770b391b2b':
  Introduce REPORT_EVENTS_NO_BATCH flag for ePNO
  WifiLogger: Add new events and tags
  change wifi Logging header
  add pointers to new roaming HAL functions
  HAL changes for ANQPO

8 years agoam 1ee8d6b..e28e2bb from mirror-m-wireless-internal-release
Vinit Deshpande [Thu, 14 May 2015 01:39:30 +0000 (18:39 -0700)]
am 1ee8d6b..e28e2bb from mirror-m-wireless-internal-release

e28e2bb Introduce REPORT_EVENTS_NO_BATCH flag for ePNO
ddcab17 WifiLogger: Add new events and tags
1abb250 change wifi Logging header
bd14c1c add pointers to new roaming HAL functions

Change-Id: I4645ceb57de34109d417bc9b84ff6d2cb202a78d

9 years agoIntroduce REPORT_EVENTS_NO_BATCH flag for ePNO
Vinit Deshpande [Tue, 5 May 2015 22:08:05 +0000 (15:08 -0700)]
Introduce REPORT_EVENTS_NO_BATCH flag for ePNO

When GSscan and ePNO are being executed together, we
don't want APs on additional channels from ePNO to be
cached. Making this requirement explicit by adding
REPORT_EVENTS_NO_BATCH flag on bucket.

Change-Id: I61dcd608d3be8acb697508607dbe5077ebe836c0

9 years agoam 44e83211: power.c: add O_CLOEXEC on wakelocks
Nick Kralevich [Fri, 8 May 2015 20:21:06 +0000 (20:21 +0000)]
am 44e83211: power.c: add O_CLOEXEC on wakelocks

* commit '44e832111643307772fa3dcbc521d1acd4e8ae7d':
  power.c: add O_CLOEXEC on wakelocks

9 years agoam 514b441a: Merge "power.c: add O_CLOEXEC on wakelocks"
Nick Kralevich [Fri, 8 May 2015 19:42:23 +0000 (19:42 +0000)]
am 514b441a: Merge "power.c: add O_CLOEXEC on wakelocks"

* commit '514b441a15d4a5912847544a6cec56230160c636':
  power.c: add O_CLOEXEC on wakelocks

9 years agopower.c: add O_CLOEXEC on wakelocks
Nick Kralevich [Fri, 8 May 2015 19:13:51 +0000 (12:13 -0700)]
power.c: add O_CLOEXEC on wakelocks

Ensure that FDs associated with /sys/power/wake_lock and
/sys/power/wake_unlock are closed on exec.

(cherrypicked from b3624b26b2a55f33326c794565dd07d5078c655c)

Change-Id: Ia2c8937cf6a1fdd6564fad4785642934c805cf22

9 years agoMerge "power.c: add O_CLOEXEC on wakelocks"
Nick Kralevich [Fri, 8 May 2015 19:27:54 +0000 (19:27 +0000)]
Merge "power.c: add O_CLOEXEC on wakelocks"

9 years agopower.c: add O_CLOEXEC on wakelocks
Nick Kralevich [Fri, 8 May 2015 19:13:51 +0000 (12:13 -0700)]
power.c: add O_CLOEXEC on wakelocks

Ensure that FDs associated with /sys/power/wake_lock and
/sys/power/wake_unlock are closed on exec.

Change-Id: Ia2c8937cf6a1fdd6564fad4785642934c805cf22

9 years agoWifiLogger: Add new events and tags
Amarnath Hullur Subramanyam [Tue, 28 Apr 2015 11:10:22 +0000 (04:10 -0700)]
WifiLogger: Add new events and tags

As part of the Debug Framework development new events and tags
are required in G_SCAN. Additional generic tags are also being
added to support various events.

Change-Id: Ia5bc8dc1a5310818c3fcf3f9e166ffc5341f032c

9 years agochange wifi Logging header
Jerry Lee [Fri, 1 May 2015 01:30:04 +0000 (18:30 -0700)]
change wifi Logging header

    Allocate the memory at JNI layer. Thus, instead pass
    down ** , pass * down

Bug:20853404
Change-Id: I27cb2900989fb4f8261dc6e3283af101422d2ea7

9 years agowlan: Fix comparison of driver_status when loading driver
Ajay Dudani [Mon, 4 May 2015 00:32:49 +0000 (17:32 -0700)]
wlan: Fix comparison of driver_status when loading driver

Ensure wifi driver load failure status is compared with
valid string which has the failure/success information.

Change-Id: I3b619ad0c005fb793d127bd2a23b376ed961d0b7

9 years agoadd pointers to new roaming HAL functions
Pierre Vandwalle [Thu, 23 Apr 2015 23:36:12 +0000 (16:36 -0700)]
add pointers to new roaming HAL functions

Change-Id: I5094f7921018f0e8e1b6171e3b88ead9d00f95af

9 years agoMerge commit '7f8da1e' into master_merge
Prerepa Viswanadham [Fri, 1 May 2015 18:03:03 +0000 (11:03 -0700)]
Merge commit '7f8da1e' into master_merge

9 years agoMerge commit '778ad70' into master_merge
Prerepa Viswanadham [Fri, 1 May 2015 18:02:19 +0000 (11:02 -0700)]
Merge commit '778ad70' into master_merge

Change-Id: I2928bb3e4c82d13caf3a1cd4b15f1d17969a610d

9 years agoHAL changes for ANQPO
Chilam Ng [Wed, 29 Apr 2015 22:42:11 +0000 (15:42 -0700)]
HAL changes for ANQPO

Change-Id: I60d418ec43beb4bb19e999634c5c3beecb476172
Signed-off-by: Chilam Ng <chilam@broadcom.com>
9 years agoFix halutil build error
xinhe [Fri, 24 Apr 2015 16:34:05 +0000 (09:34 -0700)]
Fix halutil build error

Change-Id: I3b4b90b6e4c99e7ace23998d439465c037deaadc

9 years agoFix halutil build error [DO NOT MERGE]
xinhe [Fri, 24 Apr 2015 16:34:05 +0000 (09:34 -0700)]
Fix halutil build error [DO NOT MERGE]

Change-Id: I3b4b90b6e4c99e7ace23998d439465c037deaadc

9 years agoTDLS enhancement HAL interface update
xinhe [Tue, 14 Apr 2015 19:57:58 +0000 (12:57 -0700)]
TDLS enhancement HAL interface update

Bug:15152152
Change-Id: I8432177ac457c6559cf2c0d2a8bbc8ea8773a2a9

9 years agoam 93d458f..93d458f from mirror-m-wireless-internal-release
Vinit Deshpande [Tue, 14 Apr 2015 22:06:10 +0000 (15:06 -0700)]
am 93d458f..93d458f from mirror-m-wireless-internal-release

93d458f change wifi_logger header file

9 years agochange wifi_logger header file
eccopark@broadcom.com [Fri, 10 Apr 2015 21:52:29 +0000 (14:52 -0700)]
change wifi_logger header file

1) add wifi_set_alert_handler for the alert case
2) add wifi_set_log_handler for the ring data
3) remove unnecessary wifi_request_id for set commands
4) change to use ring_name instead of ring_id.
5) add wifi_reset_alert_handler
   add wifi_reset_log_handler

Change-Id: Ia9aaba050196af6684191cdcdfb0c1d21e917ed2
Signed-off-by: eccopark@broadcom.com <eccopark@broadcom.com>
9 years agoMerge commit 'b4442c3' into merge_work
Prerepa Viswanadham [Fri, 10 Apr 2015 22:20:02 +0000 (15:20 -0700)]
Merge commit 'b4442c3' into merge_work

9 years agoMerge commit 'e22ec31' into merge_work
Prerepa Viswanadham [Fri, 10 Apr 2015 22:19:06 +0000 (15:19 -0700)]
Merge commit 'e22ec31' into merge_work

9 years agoMerge commit 'f0973c8' into merge_work
Prerepa Viswanadham [Fri, 10 Apr 2015 22:18:27 +0000 (15:18 -0700)]
Merge commit 'f0973c8' into merge_work

9 years agoMerge commit '2cae13a' into merge_work
Prerepa Viswanadham [Fri, 10 Apr 2015 22:18:00 +0000 (15:18 -0700)]
Merge commit '2cae13a' into merge_work

9 years agoenhancements to rtt.h
Kevin Tang [Thu, 2 Apr 2015 23:05:51 +0000 (16:05 -0700)]
enhancements to rtt.h

Bug:19917983
Change-Id: Iebbc60f52b38875f661314908b72d17354f76b20

9 years agoWifi HAL should not require stubs for all functions [Do not merge]
xinhe [Fri, 3 Apr 2015 16:12:15 +0000 (09:12 -0700)]
Wifi HAL should not require stubs for all functions [Do not merge]

Bug:19949178
Change-Id: Icd0352aa5bb0fd0d6a686926294b76c7000154d0

9 years agoFix master build break
xinhe [Thu, 2 Apr 2015 04:54:06 +0000 (21:54 -0700)]
Fix master build break

Change-Id: I1f73293bc986a50b4bb6c976132bf50c3c557141

9 years agoMerge "Merge commit '4c50959717fcf4b5bf10721b4dda0d2c2f423eaf' into merge"
Etan Cohen [Thu, 2 Apr 2015 03:07:28 +0000 (03:07 +0000)]
Merge "Merge commit '4c50959717fcf4b5bf10721b4dda0d2c2f423eaf' into merge"

9 years agoMerge "Add general stubs for wifi hal"
xinhe [Thu, 2 Apr 2015 01:47:27 +0000 (01:47 +0000)]
Merge "Add general stubs for wifi hal"

9 years agoAdd general stubs for wifi hal
xinhe [Tue, 31 Mar 2015 01:34:41 +0000 (18:34 -0700)]
Add general stubs for wifi hal

Bug:19949178
Change-Id: I0acd06f56d32e567a0aadaf4c2833480288b63ab

9 years agofix type in header file
Pierre Vandwalle [Wed, 1 Apr 2015 19:35:30 +0000 (12:35 -0700)]
fix type in header file

Change-Id: I829bf99c1c84b7474a85b4cd0dbe325f9ff22990

9 years agoam 9489ad72: Merge "wifi missing include for sys/stat.h"
Mark Salyzyn [Wed, 1 Apr 2015 17:27:35 +0000 (17:27 +0000)]
am 9489ad72: Merge "wifi missing include for sys/stat.h"

* commit '9489ad727361f7088ee336b43a3ea85a354b5c1a':
  wifi missing include for sys/stat.h

9 years agoMerge "wifi missing include for sys/stat.h"
Mark Salyzyn [Wed, 1 Apr 2015 16:46:18 +0000 (16:46 +0000)]
Merge "wifi missing include for sys/stat.h"

9 years agowifi missing include for sys/stat.h
Mark Salyzyn [Wed, 1 Apr 2015 14:33:14 +0000 (07:33 -0700)]
wifi missing include for sys/stat.h

wifi.c gets sys/stat.h inherited from
private/android_filesystem_config.h it should
not rely on this in the future. The intent is
to move fs_config function into libcutils and
thus deprecate any need for sys/stat.h in this
include file.

Bug: 19908228
Change-Id: Ie84477137dba47af385163decbb41b03e2aeaed4

9 years agoMerge commit '4c50959717fcf4b5bf10721b4dda0d2c2f423eaf' into merge
Etan Cohen [Tue, 31 Mar 2015 01:17:34 +0000 (18:17 -0700)]
Merge commit '4c50959717fcf4b5bf10721b4dda0d2c2f423eaf' into merge

9 years agoPreallocating max buffer size for scan_result in wifi_cached_scan_results
Amarnath Hullur Subramanyam [Wed, 25 Mar 2015 19:40:33 +0000 (12:40 -0700)]
Preallocating max buffer size for scan_result in wifi_cached_scan_results

Android framework should provide a buffer to the wifihal which needs
to be filled with scan_result. This commit will ensure that would
happen by passing a fixed max buffer size as part of each
wifi_cached_scan_results.

Change-Id: I005dd39f26be62694c46369e16d5f7f89f64021d

9 years agoMerge "HAL API to offload passpoint match to wifi chipset" into m-wireless-dev
Vinit Deshpande [Fri, 27 Mar 2015 21:51:10 +0000 (21:51 +0000)]
Merge "HAL API to offload passpoint match to wifi chipset" into m-wireless-dev

9 years agoHAL API to offload passpoint match to wifi chipset
Vinit Deshpande [Wed, 11 Mar 2015 21:41:31 +0000 (14:41 -0700)]
HAL API to offload passpoint match to wifi chipset

This change introduces wifi_set_passpoint_list and wifi_reset_passpoint_list
which implement the functionality of offloading passpoint match to
the chipset firmware.

Change-Id: I8a3730d4e23891b1dce47b8cf877e9b3c04ac279

9 years agonet: wireless change the header of Logger
eccopark@broadcom.com [Thu, 26 Mar 2015 00:21:26 +0000 (17:21 -0700)]
net: wireless change the header of Logger

1) add the request_id in wifi_get_logger_supported_feature_set
2) Change the wifi_get_firmware_memory_dump API
 1) Normally the size of firmware dump is 700KB.
    Thus, Driver cannot send the data in one time because of limitation of skb length.
    In order to send such big data from kernel Driver,
    we need to send data using event continuously until we send the memory dump completely.
    In the event handler of hal, it will allocate the
    big buffer to store the data.
    Once event handler copy the data completely, event handler
    will call the function callback(on_firmware_memory_dump).
    So, upper layer has to free the buffer after handling the buffer.

Change-Id: If80b03ec8bd9349d952743e17a001c04096aac95
Signed-off-by: eccopark@broadcom.com <eccopark@broadcom.com>
9 years agonet: wireless change the Header for Logger
eccopark@broadcom.com [Wed, 25 Mar 2015 17:47:43 +0000 (10:47 -0700)]
net: wireless change the Header for Logger

1) define entry type for parsing the data easily.
2) the payload will be attached at end of the wifi_ring_buffer_entry
3) added the feature set
4) remove duplicate wifi_get_ring_data
5) add request_id in wifi_start_logging
6) change the pointer of buffer to double pointer of buffer
    in wifi_get_ring_buffers_status and wifi_get_firmware_memory_dump
    wifi_get_firmware_version and wifi_get_driver_version
   to indicate the buffer supplied by Application layer

Change-Id: I5dc2811155e7efa058a0c3414036461de3e45d98
Signed-off-by: eccopark@broadcom.com <eccopark@broadcom.com>
9 years agoadjust gscan and wifi_logger headers
Pierre Vandwalle [Wed, 25 Mar 2015 15:50:26 +0000 (08:50 -0700)]
adjust gscan and wifi_logger headers

Change-Id: I43105fe14b1a5511045998ea1cbf4e275a6faf36

9 years agoMerge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into master_merge
Prerepa Viswanadham [Tue, 24 Mar 2015 21:47:37 +0000 (14:47 -0700)]
Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into master_merge

Change-Id: I836d0614625d2b311131cbbf1943087dc4c9bb7e

9 years agoadd Framework for set country code through HAL
xinhe [Mon, 23 Mar 2015 23:25:00 +0000 (16:25 -0700)]
add Framework for set country code through HAL

Bug:19896389
Change-Id: I14cd2f039bda08f72dd8386e43ce8b65ce417614

9 years agofix comments and wifi_gscan_capabilities structure
Pierre Vandwalle [Fri, 20 Mar 2015 22:58:03 +0000 (15:58 -0700)]
fix comments and wifi_gscan_capabilities structure
fix packed attributes in wifi_logger.h

Change-Id: I60888ce36e5f8ac3099f2bad4a1ae4f825d59a3d

9 years agochange name of max_epno_networks
Pierre Vandwalle [Fri, 20 Mar 2015 22:50:46 +0000 (15:50 -0700)]
change name of max_epno_networks

Change-Id: I4639f2378c35e1ddf16b3bacf495dc4b508ba304

9 years agoMerge "net: wireless: bcmdhd header changes for 11mc of halutil" into m-wireless-dev
xin He [Fri, 20 Mar 2015 00:48:09 +0000 (00:48 +0000)]
Merge "net: wireless: bcmdhd header changes for 11mc of halutil" into m-wireless-dev

9 years agoUse one capabilities cmd
Ashwin [Thu, 19 Mar 2015 23:12:29 +0000 (16:12 -0700)]
Use one capabilities cmd

Combined wifi_roam_autojoin_offload_capabilities with wifi_gscan_capabilities

Change-Id: I1112b5fda6acdbb08969246bd731131600e2f094
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
9 years agonet: wireless: bcmdhd header changes for 11mc of halutil
eccopark@broadcom.com [Sat, 14 Mar 2015 02:52:20 +0000 (19:52 -0700)]
net: wireless: bcmdhd header changes for 11mc of halutil

Change-Id: I5dc88ce5c2a2aa5d6c2d690fb413014b72abdcdf
Signed-off-by: eccopark@broadcom.com <eccopark@broadcom.com>
9 years agofix to hal interface
Pierre Vandwalle [Wed, 18 Mar 2015 20:36:18 +0000 (13:36 -0700)]
fix to hal interface

Change-Id: I32f3e22fd19e79669ab8b117acd51352d132dbc3

9 years agoFixing build after merge from mirror-m-wireless-internal-release
Vinit Deshpande [Sun, 15 Mar 2015 20:21:12 +0000 (13:21 -0700)]
Fixing build after merge from mirror-m-wireless-internal-release

Change-Id: Iee494abf8d53cf97b3d338a3edbe81166788e7e1

9 years agoam "am "small fixes to gscan interface""
Vinit Deshpande [Sun, 15 Mar 2015 05:16:54 +0000 (22:16 -0700)]
am "am "small fixes to gscan interface""

merged from goog/mirror-m-wireless-internal-release
0bf6fc2 am "small fixes to gscan interface"

Change-Id: Icd5eb89646b82cc487b8483f2745099f337833a2

9 years agoam "am "Merge "change the definition of signle burst" into m-wireless-wifi-dev""
Vinit Deshpande [Sun, 15 Mar 2015 05:16:27 +0000 (22:16 -0700)]
am "am "Merge "change the definition of signle burst" into m-wireless-wifi-dev""

merged from goog/mirror-m-wireless-internal-release
c3d5a1c am "Merge "change the definition of signle burst" into m-wireless-wifi-dev"

9 years agoam "am "change the definition of signle burst""
Vinit Deshpande [Sun, 15 Mar 2015 05:16:27 +0000 (22:16 -0700)]
am "am "change the definition of signle burst""

merged from goog/mirror-m-wireless-internal-release
6e3c866 am "change the definition of signle burst"

9 years agoam "am "fix wifi logger API""
Vinit Deshpande [Sun, 15 Mar 2015 05:16:27 +0000 (22:16 -0700)]
am "am "fix wifi logger API""

merged from goog/mirror-m-wireless-internal-release
69a889b am "fix wifi logger API"

9 years agoam "additional HAL APIs"
Vinit Deshpande [Sun, 15 Mar 2015 05:14:30 +0000 (22:14 -0700)]
am "additional HAL APIs"

merged from goog/mirror-m-wireless-internal-release
47fb7ab additional HAL APIs

Change-Id: I359141b6d11093441d430071f020bf140a13e866

9 years agoam "small fixes to gscan interface"
Vinit Deshpande [Sun, 15 Mar 2015 05:11:31 +0000 (22:11 -0700)]
am "small fixes to gscan interface"

merged from goog/mirror-m-wireless-internal-release
16361fb small fixes to gscan interface

Change-Id: If60091580bc4b5732f7ddf7b5abc470f788dde30

9 years agoam "small fixes to gscan interface"
Vinit Deshpande [Sun, 15 Mar 2015 05:10:54 +0000 (22:10 -0700)]
am "small fixes to gscan interface"

merged from goog/mirror-m-wireless-internal-release
9f16832 small fixes to gscan interface

9 years agoam "Merge "change the definition of signle burst" into m-wireless-wifi-dev"
Vinit Deshpande [Sun, 15 Mar 2015 05:10:54 +0000 (22:10 -0700)]
am "Merge "change the definition of signle burst" into m-wireless-wifi-dev"

merged from goog/mirror-m-wireless-internal-release
196387c Merge "change the definition of signle burst" into m-wireless-wifi-dev

9 years agoam "am "modify the interface rtt.h""
Vinit Deshpande [Sun, 15 Mar 2015 05:10:54 +0000 (22:10 -0700)]
am "am "modify the interface rtt.h""

merged from goog/mirror-m-wireless-internal-release
cb840f3 am "modify the interface rtt.h"

9 years agoam "am "Merge "update rtt.h for 11mc double side RTT" into m-wireless-wifi-dev""
Vinit Deshpande [Sun, 15 Mar 2015 05:10:54 +0000 (22:10 -0700)]
am "am "Merge "update rtt.h for 11mc double side RTT" into m-wireless-wifi-dev""

merged from goog/mirror-m-wireless-internal-release
3d1021d am "Merge "update rtt.h for 11mc double side RTT" into m-wireless-wifi-dev"

9 years agoam "am "update rtt.h for 11mc double side RTT""
Vinit Deshpande [Sun, 15 Mar 2015 05:10:54 +0000 (22:10 -0700)]
am "am "update rtt.h for 11mc double side RTT""

merged from goog/mirror-m-wireless-internal-release
0d47dd7 am "update rtt.h for 11mc double side RTT"

9 years agoam "am "introduce ssid whitelist""
Vinit Deshpande [Sun, 15 Mar 2015 05:10:54 +0000 (22:10 -0700)]
am "am "introduce ssid whitelist""

merged from goog/mirror-m-wireless-internal-release
316f28d am "introduce ssid whitelist"

9 years agoam "am "clarify comments and complete EPNO API""
Vinit Deshpande [Sun, 15 Mar 2015 05:10:54 +0000 (22:10 -0700)]
am "am "clarify comments and complete EPNO API""

merged from goog/mirror-m-wireless-internal-release
7f7a807 am "clarify comments and complete EPNO API"

9 years agoam "am "add some wifi interface statistics (beacon tsf offset) and guard time""
Vinit Deshpande [Sun, 15 Mar 2015 05:10:54 +0000 (22:10 -0700)]
am "am "add some wifi interface statistics (beacon tsf offset) and guard time""

merged from goog/mirror-m-wireless-internal-release
4fc6633 am "add some wifi interface statistics (beacon tsf offset) and guard time"

9 years agoam "am "Merge "bring nan header file, from original KitKat partner version" into...
Vinit Deshpande [Sun, 15 Mar 2015 05:10:54 +0000 (22:10 -0700)]
am "am "Merge "bring nan header file, from original KitKat partner version" into m-wireless-wifi-dev""

merged from goog/mirror-m-wireless-internal-release
91303e6 am "Merge "bring nan header file, from original KitKat partner version" into m-wireless-wifi-dev"

9 years agoam "am "bring nan header file, from original KitKat partner version""
Vinit Deshpande [Sun, 15 Mar 2015 05:10:54 +0000 (22:10 -0700)]
am "am "bring nan header file, from original KitKat partner version""

merged from goog/mirror-m-wireless-internal-release
439a4dd am "bring nan header file, from original KitKat partner version"