Commit graph

211 commits

Author SHA1 Message Date
Vinit Deshpande
8e2b4a3e67 am "add wifi_config.h file"
merged from goog/mirror-m-wireless-internal-release
323ab03 add wifi_config.h file
2015-03-14 22:10:17 -07:00
Vinit Deshpande
2e2afb1f0a am "Wifi hal headers: PNO thru g-scan and g-scan exponential channel buckets"
merged from goog/mirror-m-wireless-internal-release
73212d1 Wifi hal headers: PNO thru g-scan and g-scan exponential channel buckets

Change-Id: Ie352da4ae47dea61a8335b556c32482ca4f7487e
2015-03-14 22:10:09 -07:00
Vinit Deshpande
3cfe658a83 am "initial wifi logger HAL header file"
merged from goog/mirror-m-wireless-internal-release
0368419 initial wifi logger HAL header file

Change-Id: I289c18eb5c8e5ea93b71b9e020fca7f3d7d10459
2015-03-14 22:07:36 -07:00
Pierre Vandwalle
323ab030f9 add wifi_config.h file
Change-Id: I0e4a54baeb2f7fb4aef58d4804c6c411c1213f09
2015-02-06 22:41:25 +00:00
Pierre Vandwalle
73212d153f Wifi hal headers: PNO thru g-scan and g-scan exponential channel buckets
Change-Id: Id402d3409ea2e785982b18fb912d6a34e7cdc086
2015-02-06 14:10:06 -08:00
Pierre Vandwalle
0368419e1a initial wifi logger HAL header file
Change-Id: I15fa10df313a3431112221c55b6de792f1263627
2015-01-29 17:09:10 -08:00
Dmitry Shmidt
00b30c8ac0 wifi: Remove obsolete driver_nl80211.h [DO NOT MERGE]
Mainstream wpa_supplicant now has common driver_nl80211.h

Change-Id: I6d886daf39110969b2442c3943806364e63a5d04
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2015-01-13 12:08:58 -08:00
Vinit Deshpande
c11688ed47 New Additions to WifiScanner APIs [DO NOT MERGE]
Added single shot scan, and maxScansToCache. Also fixed getScanResults()
to report scan results to listeners.

Bug: 18087596
Bug: 17694040
Bug: 18059273

Change-Id: Id623ab9ee2ab89c86a35082279331fa609016347
2015-01-12 14:20:11 -08:00
Dmitry Shmidt
696a5dac2b wifi: Remove obsolete driver_nl80211.h
Mainstream wpa_supplicant now has common driver_nl80211.h

Change-Id: I6d886daf39110969b2442c3943806364e63a5d04
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2015-01-05 15:48:41 -08:00
Amarnath Hullur Subramanyam
a09170e381 Fix wifi_hal.h and gscan.h to compile for c projects.
When the wifi_hal.h is included as part of the c source
code files some of the functions are not exported. The
const variable as an index to an array is causing compiler
error. The changes are to address these issues.

Change-Id: Ia2dbd7a87315cee8d0246a8ac6539c9b4b22ffd4
2014-12-08 10:51:44 -08:00
Vinit Deshpande
bb73aa5a14 New Additions to WifiScanner APIs
Added single shot scan, and maxScansToCache. Also fixed getScanResults()
to report scan results to listeners.

Bug: 18087596
Bug: 17694040
Bug: 18059273

Change-Id: I8a6da5426561e22e72d1e99c5537205b893077dd
2014-12-03 11:43:13 -08:00
Eric Laurent
27b9f4b5bd am e714af92: audio policy: use legacy stream type definitions
* commit 'e714af927c1e87a488178315b78b0c12c0ec9db9':
  audio policy: use legacy stream type definitions
2014-11-26 12:01:47 +00:00
Eric Laurent
e714af927c audio policy: use legacy stream type definitions
New stream types have been added, so make sure that
legacy implementation uses legacy stream definitions

Bug: 18067208
Change-Id: I8042ebe9ac3e7eda380b8c91650f2ac16b44bc34
2014-11-11 14:01:13 -08:00
Hochi Huang
7124b707bb am 69f48b86: [AU]Buganizer ID: 17182487, sprout audio HAL should mute all audio output with property ro.audio.silent set to true
* commit '69f48b86d78ac8968ccafc6287eed3079f1cb56e':
  [AU]Buganizer ID: 17182487, sprout audio HAL should mute all audio output with property ro.audio.silent set to true
2014-10-28 20:30:02 +00:00
Hochi Huang
69f48b86d7 [AU]Buganizer ID: 17182487, sprout audio HAL should mute all audio output with property ro.audio.silent set to true
Signed-off-by: Hochi Huang <hochi.huang@mediatek.com>
Change-Id: I1bda15838da409d08f9ed0e8023b93023109cb2d
(cherry picked from commit a9a3b5d93ee90c21619ddb6a606d24325109e914)
2014-10-24 23:21:12 +00:00
Dmitry Shmidt
4dcc860c6b am 67741614: wifi: Sync with wpa_supplicant 9ead16e (d5fe4e6)
* commit '677416147e3b2b398db45d2194cd8a2c396410ce':
  wifi: Sync with wpa_supplicant 9ead16e (d5fe4e6)
2014-10-08 18:45:55 +00:00
Dmitry Shmidt
677416147e wifi: Sync with wpa_supplicant 9ead16e (d5fe4e6)
Change-Id: Iee4aabf0a8259bb74bacde1c7045cfa2468035a7
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2014-10-08 10:53:15 -07:00
Dmitry Shmidt
f0bc19a509 am 9dd37a67: wifi: Sync with wpa_supplicant commit 661b4f7 (a313d17)
* commit '9dd37a671485efd40db73335ba2f0f5a87555e46':
  wifi: Sync with wpa_supplicant commit 661b4f7 (a313d17)
2014-10-06 23:40:56 +00:00
Dmitry Shmidt
9dd37a6714 wifi: Sync with wpa_supplicant commit 661b4f7 (a313d17)
Bug: 17882233

Change-Id: I32d93380f6fb80409e45e6ec9983bb2f381c2319
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2014-10-06 15:13:16 -07:00
Hochi Huang
38eac43c27 am 8ddf81e2: [AU] Update volume setting and Audio Device API 3.0
* commit '8ddf81e20fd514907de51ec82a617143d2e35276':
  [AU] Update volume setting and Audio Device API 3.0
2014-09-25 07:08:45 +00:00
Hochi Huang
8ddf81e20f [AU] Update volume setting and Audio Device API 3.0
Change-Id: I772584ae05e6a8d2fdc8c4a52e44ad80c3c1a4a7
Signed-off-by: Hochi Huang <hochi.huang@mediatek.com>
2014-09-24 12:20:26 -07:00
Vinit Deshpande
ef401f0c6d am e96b538e: Merge "Wifi Hal: Extend feature set to advertise link layer stats support" into lmp-dev
* commit 'e96b538e168846a31edd7c608267d79f3f30b871':
  Wifi Hal: Extend feature set to advertise link layer stats support
2014-09-23 15:52:06 +00:00
Amarnath Hullur Subramanyam
cef88a353b am 2a441bce: Revert "Wifi Hal: Nan Header file"
* commit '2a441bce2825f1c186071af55c1807e1688f9d3b':
  Revert "Wifi Hal: Nan Header file"
2014-09-23 15:52:05 +00:00
Vinit Deshpande
e96b538e16 Merge "Wifi Hal: Extend feature set to advertise link layer stats support" into lmp-dev 2014-09-23 02:16:43 +00:00
Amarnath Hullur Subramanyam
472a4c3548 Wifi Hal: Extend feature set to advertise link layer stats support
Added a new macro in feature set to indicate wifihal support for
link layer stats collection.

Bug: 17359758

Change-Id: I3f8ecce67430bd8270fb157a4e6cd246503a3d9f
2014-09-19 13:02:31 -07:00
Amarnath Hullur Subramanyam
2a441bce28 Revert "Wifi Hal: Nan Header file"
This reverts commit 5f11341f2f.

Bug: 17359758

Change-Id: I5f2b94d2288e1400558c1de8a2ab25f05155aca8
2014-09-19 19:47:45 +00:00
Qiming Shi
b111e7ecc6 DO NOT MERGE - openOutputStreamWithFlags should be declared as abstract function
Bug: 17416117.

Change-Id: Ia9150944977560ea296c46ddf75da960d6a3e541
Signed-off-by: Qiming Shi <qiming.shi@intel.com>
2014-09-08 09:18:44 -07:00
Dmitry Shmidt
5ff46c48ab am fddda3f9: wifi: hal: Add wifi_set_nodfs_flag() function
* commit 'fddda3f935c6eb21c70eede106baa9c85cc5bfdb':
  wifi: hal: Add wifi_set_nodfs_flag() function
2014-08-26 18:01:44 +00:00
Dmitry Shmidt
fddda3f935 wifi: hal: Add wifi_set_nodfs_flag() function
Bug: 17181998

Change-Id: Iac431c2804e8252273e00c7b490c955f5528c83e
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2014-08-25 10:33:19 -07:00
Dmitry Shmidt
f5689fea32 am d83e4abc: wifi: Sync with wpa_supplicant commit 0365883 (4aa9c15)
* commit 'd83e4abc7fb074e4f9bfe685128a19b7785ae635':
  wifi: Sync with wpa_supplicant commit 0365883 (4aa9c15)
2014-08-15 11:48:23 +00:00
Dmitry Shmidt
d83e4abc7f wifi: Sync with wpa_supplicant commit 0365883 (4aa9c15)
Bug: 17027752

Change-Id: Ibf1a23a6750ec041ec068070791037fdc538b13e
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2014-08-14 15:48:13 -07:00
Ashwin
b6cc3b7a4f am 726b5dad: PNO MAC rotation + Hotlist LOST event
* commit '726b5dada8055f705bb1ffb67d9acc3cad99457d':
  PNO MAC rotation + Hotlist LOST event
2014-08-12 04:58:00 +00:00
Ashwin
726b5dada8 PNO MAC rotation + Hotlist LOST event
modified:   include/hardware_legacy/gscan.h
	modified:   include/hardware_legacy/wifi_hal.h

Change-Id: I0ad599a20210081ffd05040fbb810f1ec1f9dd62
2014-08-11 15:03:00 -07:00
Eric Laurent
4706e1ba94 am 4c20a09e: Merge "openOutputStreamWithFlags should be declared as abstract function"
* commit '4c20a09e8684657448f0bc97a2da4e56c94d484e':
  openOutputStreamWithFlags should be declared as abstract function
2014-07-29 15:24:23 +00:00
Eric Laurent
4c20a09e86 Merge "openOutputStreamWithFlags should be declared as abstract function" 2014-07-25 21:16:27 +00:00
Eric Laurent
5ed5935328 am 39b3abc0: Merge "audio: add mechanism to re-route nullified audio"
* commit '39b3abc0ca227d72f66bb47a75cec2acfb4d6de0':
  audio: add mechanism to re-route nullified audio
2014-07-23 16:06:22 +00:00
Qiming Shi
45a038b5d6 openOutputStreamWithFlags should be declared as abstract function
Change-Id: Ia9150944977560ea296c46ddf75da960d6a3e541
Signed-off-by: Qiming Shi <qiming.shi@intel.com>
2014-07-22 16:20:26 +08:00
Vincent Becker
31de680d56 audio: add mechanism to re-route nullified audio
Fixes a race condition whereby two requests attempt to change the audio stream
(and interrupt each other).  For example, a user space app makes a call through
the audio API and before completion, a kernel function such as jack removal is
detected and is serviced.  In this case, you have a nullified audio route that
needs to be re-routed.

In order to know a routing update is needed, a boolean member mForceRouting
has been introduced to enforce routing for the next attempt to set audio output
with a non-null device.

Change-Id: Ia0aa2f27fe63c39f0980dec2e1e79dbc26b81e56
Author: Vincent Becker <vincentx.becker@intel.com>
Signed-off-by: Vincent Becker <vincentx.becker@intel.com>
Signed-off-by: Zhi Jin <zhi.jin@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: Robert Beatty <robert.m.beatty@intel.com>
2014-07-16 17:45:43 -07:00
Amarnath Hullur Subramanyam
9c69eebbae Wifi Hal: Adding inclusion of stdint.h in wifi_hal.h
Change-Id: I8c7c103c5b12e2b9dc82f9cfd429f22d6ebfb943
2014-07-10 12:29:32 -07:00
Ashwin
ef24fac49d Get feature list
Changes to be committed:

	modified:   include/hardware_legacy/wifi_hal.h

Change-Id: Ie69797500c2d80fa758e6ee6a42ffca9b3b46fcb
2014-07-10 10:51:36 -07:00
Vinit Deshpande
044c10e9ef Introduce TDLS APIs in wifi HAL
Change-Id: I611012412f58682ea11179631622023eda5393e7
2014-07-10 10:51:28 -07:00
Ashwin
93f677b670 Fix wifi_rtt_range_cancel to include interface handle
Change-Id: I1bdb2f74a14a7f15dbf00634570341e70df67498
2014-07-10 10:51:19 -07:00
Eric Laurent
40508f66ca audio: fixed channel count determination from channel mask
Do not use popcount() to derive channel count from channel mask.

Bug: 15000850.
Change-Id: I5050ce7fd7884369eb0de37967e40052630006a9
2014-07-01 20:33:36 -07:00
Dmitry Shmidt
629b95b3e8 wifi: Sync with wpa_supplicant commit 2271d3f (f95a452)
Change-Id: I9319bebe813f2306700571fd31570f2d30a8004d
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2014-06-23 12:23:50 -07:00
Amarnath Hullur Subramanyam
5f11341f2f Wifi Hal: Nan Header file
Change-Id: I65a072ffa491d3f61289034e0326df131ec159ba
2014-06-10 12:45:31 -07:00
Kumar Anand
17052b7966 Wi-Fi HAL API cleanup
Removed unused APIs, added new typedef s8,
Added default enum for wifi_interface_mode

Change-Id: I7be61fb1c0f7babcfbfc18940e4a5fa83792b248
2014-06-10 12:44:47 -07:00
Vinit Deshpande
fdb49e3d2b More GScan API changes
Main changes are -

1. max_bssid_history_entries in wifi_gscan_capabilities
2. A new callback to report extra status of scan
3. Channel hint for hotlist APs
4. More details on significant change event

Change-Id: I665cb28df99cf152e6b95c8050ea246c5fce81e9
2014-06-10 12:44:31 -07:00
Vinit Deshpande
9bd2fd86c9 Fix build breaks caused by duplicate definitions
Some types are defined in link_layer_stats.h as well as rtt.h; this
change removes duplicate definitions

Change-Id: If1e16b7868c7ad7f9b5ca4d020d26df4c17daf0a
2014-06-10 12:44:19 -07:00
Vinit Deshpande
424a9d0ac7 RTT API Update
This version introduces channel parameters and channel masks.

Change-Id: Ieab4e965de77a3c70826842e98f4da14cf09b03d
2014-06-10 12:43:02 -07:00
Dmitry Shmidt
1d9576d015 wifi: Sync with wpa_supplicant commit 76cd2cc (147848e)
Change-Id: I42bc6906cc1dde27ce8ba38f0f919d2c791c09bb
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2014-06-02 11:32:12 -07:00