Commit graph

196 commits

Author SHA1 Message Date
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
Vinit Deshpande
26da882d92 Remove duplicate copies of nl80211_copy.h
We'll use a single copy - the one in external/wpa_supplicant_8 project.

Bug: 14889555
Change-Id: I2e432bddcff278e792579970122cdea9e80ffb64
2014-05-22 17:31:13 -07:00
Vinit Deshapnde
b26e377bb1 changes related to full scan result and band
Change-Id: I7accbd79f86a616c1d7e11fcebae12dbefaa3612
2014-05-16 16:33:36 -07:00
vandwalle
73efd5b991 fix build compile
Change-Id: Ic9ffdfb23fa704d636a5f0106a205af3693d3a20
2014-05-15 17:06:21 -07:00
Chilam Ng
d1940c016f Include hal link_layer_stats.h
Change-Id: Ic86065863c7b3d6a40101724f4e7d8a8263d62b5
Signed-off-by: Chilam Ng <chilam@broadcom.com>
2014-05-15 17:06:02 -07:00
Vinit Deshapnde
cb2c4baad6 Introduce Link Layer Stats API
Change-Id: Ie3b3a1a511026aafbd46f8165272059ce856992d
2014-05-15 17:05:48 -07:00
Eric Laurent
9c599afbc0 am 62038fc4: am 2c388a44: am 8eb3354a: Merge "Audio: add an openOutputStreamWithFlags API"
* commit '62038fc4c5c596f04a87388bb42bdef13d359c39':
  Audio: add an openOutputStreamWithFlags API
2014-05-08 18:24:06 +00:00
Vinit Deshapnde
5eabea5585 Introduce on_full_scan_result event in WifiHal
This change will allow the hardware to report all IEs found in the probe
response.

Change-Id: I149900c63a301df84fd6ff6eb1a1f3773daa0111
2014-05-07 19:23:27 -07:00
Vinit Deshapnde
b80d32d2a1 Moving Wifi HAL to hardware
This change moves all Wifi HAL headers to libhardware_legacy; and moves
hal implementation under hardware/<vendor>/wlan. This way different
vendors will be able to tailor implementation to their drivers.

Change-Id: I55789bb6788ab694f4896aa36d76f7887b32dad6
2014-05-07 18:51:12 -07:00
Paul McLean
fd61179b64 Update policy handling for USB inputs
Change-Id: Ib2e531f115f8bd1d5f290094032f3f4a4753e726
2014-04-25 17:00:48 +00:00
David Wagner
cc029e59f7 Audio: add an openOutputStreamWithFlags API
The existing openOutputStream API did not allow passing stream flags even
though its audio hardware interface's open_output_stream counterpart does take
a "flags" argument.  This means that, when the audio hw_module is implemented
using libhardware_legacy, the output flag was lost.

This commit adds an API in libhardware_legacy's audio module, allowing to pass
the flag, and updates the default wrapper in order to call this new API instead
of the old version that missed the flag.

Change-Id: I20c102d32b489f87fabbd7d02aa0b28fae13948b
Signed-off-by: David Wagner <david.wagner@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
2014-04-23 14:42:21 +02:00
Dmitry Shmidt
cd56eb51af wifi: Sync with wpa_supplicant commit 7dba0e5 (bacb984)
Change-Id: I2f40c47c6388174b8ad09d089fe8a8aab2e67ca4
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2014-04-14 11:01:39 -07:00
Glenn Kasten
316222fcd6 Rename setStreamOutput to invalidateStream
And simplify by removing the unused I/O handle parameter 'output'.

Change-Id: Ie9c4df17a7378066312d4ed8790fda7a9125c95e
2014-02-28 11:54:03 -08:00
Dmitry Shmidt
a1e9d83af5 wifi: Sync with wpa_supplicant commit bd14a57
Change-Id: I17f5ff7c53b642c163c5ca25b0f075b112469004
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2014-02-18 15:48:20 -08:00
Eric Laurent
9f4165f36d audio policy: send config params when opening output
When a new output stream is opened upon device connection,
always send mandatory configuration parameters
(A2DP device address, ALSA card and device number etc...)
immediately after opening the output.

Change-Id: Id1fc1d99d3b30e2ef907dcb231a6a9e70560ecae
2014-01-08 09:34:38 -08:00
Glenn Kasten
2c3d2379ee Use audio_channel_mask_t in AudioPolicy
Also:
 - use %x format for logging channel masks
 - use AUDIO_CHANNEL_IN_* constants from system/audio.h instead of AudioSystemLegacy.h symbols
 - remove redundant casts
 - use "channelMask" instead of "channels" to avoid possible confusion with channel counts

Change-Id: If05d6b1cae5cf1b560cd53a93ae9e592b719ec9e
2013-12-16 14:10:22 -08:00