Commit graph

194 commits

Author SHA1 Message Date
Pierre Vandwalle
3325028cf6 Merge "bring nan header file, from original KitKat partner version" into m-wireless-wifi-dev 2015-02-10 21:03:23 +00:00
Pierre Vandwalle
475056984e bring nan header file, from original KitKat partner version
Change-Id: I887a78505bb255a54aee45b3bdb0a918c8f3632e
2015-02-10 12:59:18 -08:00
Pierre Vandwalle
bac2b19824 wifi_hal, adding specific event and per packet information to wifi_logger
Change-Id: I7fa42d48f20f7416aa4dc8147290d0d3fddb3df0
2015-02-06 17:38:34 -08:00
xinhe
e50f8dfa34 add HAL api wifi_set_country_code interface
Bug:19300180
Change-Id: I20fdd22932893dde3429a9923f2621234986e08a
2015-02-06 16:12:35 -08: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
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
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
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
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
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
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
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
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
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
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
Glenn Kasten
5082dbeb19 Use audio_format_t in AudioPolicy
Also remove unnecessary default parameters

Change-Id: I553c01a98b8c2a3f3fd2ac98724aded3ad3c3022
2013-12-10 10:06:28 -08:00
Dmitry Shmidt
de90e1074d wifi: Sync with wpa_supplicant commit 107a894
Change-Id: I9ed9eb6e8dda10600c150a1cade55dc7547cc7e4
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2013-11-19 13:19:30 -08:00