Commit graph

228 commits

Author SHA1 Message Date
xinhe
7f8da1e692 Fix halutil build error [DO NOT MERGE]
Change-Id: I3b4b90b6e4c99e7ace23998d439465c037deaadc
2015-04-24 11:26:07 -07:00
xinhe
778ad703da TDLS enhancement HAL interface update
Bug:15152152
Change-Id: I8432177ac457c6559cf2c0d2a8bbc8ea8773a2a9
2015-04-22 10:48:20 -07:00
eccopark@broadcom.com
93d458f035 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>
2015-04-10 18:05:11 -07:00
Kevin Tang
b4442c37ff enhancements to rtt.h
Bug:19917983
Change-Id: Iebbc60f52b38875f661314908b72d17354f76b20
2015-04-06 12:49:54 -07:00
xinhe
e22ec31c48 Wifi HAL should not require stubs for all functions [Do not merge]
Bug:19949178
Change-Id: Icd0352aa5bb0fd0d6a686926294b76c7000154d0
2015-04-03 20:35:11 +00:00
Pierre Vandwalle
f0973c8918 fix type in header file
Change-Id: I829bf99c1c84b7474a85b4cd0dbe325f9ff22990
2015-04-01 12:36:32 -07:00
Amarnath Hullur Subramanyam
2cae13a872 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
2015-03-28 18:41:41 +00:00
Vinit Deshpande
4c50959717 Merge "HAL API to offload passpoint match to wifi chipset" into m-wireless-dev 2015-03-27 21:51:11 +00:00
Vinit Deshpande
28e08ed5cf 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
2015-03-27 11:41:58 -07:00
eccopark@broadcom.com
3fabb28c4b 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>
2015-03-27 10:55:38 -07:00
eccopark@broadcom.com
3e778d3b8a 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>
2015-03-25 23:23:01 +00:00
Pierre Vandwalle
37eb61d1a8 adjust gscan and wifi_logger headers
Change-Id: I43105fe14b1a5511045998ea1cbf4e275a6faf36
2015-03-25 08:50:26 -07:00
xinhe
29b934833a add Framework for set country code through HAL
Bug:19896389
Change-Id: I14cd2f039bda08f72dd8386e43ce8b65ce417614
2015-03-23 16:25:00 -07:00
Pierre Vandwalle
5e7b7e506d fix comments and wifi_gscan_capabilities structure
fix packed attributes in wifi_logger.h

Change-Id: I60888ce36e5f8ac3099f2bad4a1ae4f825d59a3d
2015-03-20 16:04:49 -07:00
Pierre Vandwalle
3931331c68 change name of max_epno_networks
Change-Id: I4639f2378c35e1ddf16b3bacf495dc4b508ba304
2015-03-20 15:50:46 -07:00
xin He
c1c47568e6 Merge "net: wireless: bcmdhd header changes for 11mc of halutil" into m-wireless-dev 2015-03-20 00:48:09 +00:00
Ashwin
bedb0bfdb1 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>
2015-03-19 16:12:29 -07:00
eccopark@broadcom.com
15fc62afba net: wireless: bcmdhd header changes for 11mc of halutil
Change-Id: I5dc88ce5c2a2aa5d6c2d690fb413014b72abdcdf
Signed-off-by: eccopark@broadcom.com <eccopark@broadcom.com>
2015-03-19 13:59:51 -07:00
Pierre Vandwalle
08b10f046d fix to hal interface
Change-Id: I32f3e22fd19e79669ab8b117acd51352d132dbc3
2015-03-18 19:36:15 -07:00
Vinit Deshpande
0bf6fc2374 am "small fixes to gscan interface"
merged from partner/m-wireless-wifi-dev
9f16832 small fixes to gscan interface

Change-Id: Ibb98ff1bd796120a7bd2108f47426a30c47fdcd6
2015-03-12 18:01:19 -07:00
Vinit Deshpande
6e3c86636c am "change the definition of signle burst"
merged from partner/m-wireless-wifi-dev
ba59d49 change the definition of signle burst
2015-03-12 17:57:43 -07:00
Vinit Deshpande
69a889be78 am "fix wifi logger API"
Merge commit 8fe39d1 from partner/m-wireless-wifi-dev
8fe39d1 fix wifi logger API

Change-Id: I0078c313dfd7f900bd36ecb4af8b42b880cdbd9c
2015-03-12 17:55:42 -07:00
Pierre Vandwalle
47fb7ab9d0 additional HAL APIs
Change-Id: I8a62e58b869fdbc8e8b3b4d50d04f0c4c015d103
2015-03-12 13:47:53 -07:00
Pierre Vandwalle
16361fb29f small fixes to gscan interface
Change-Id: I8d5d3bc84e9da86b9c7c4f9ff02aee132d030831
2015-03-12 12:19:21 -07:00
Pierre Vandwalle
9f1683255c small fixes to gscan interface
Change-Id: I8d5d3bc84e9da86b9c7c4f9ff02aee132d030831
2015-03-08 17:47:14 -07:00
xinhe
196387c148 Merge "change the definition of signle burst" into m-wireless-wifi-dev 2015-03-06 22:36:10 +00:00
xinhe
ba59d49a9e change the definition of signle burst
Change-Id: I746ec9652c5d92cda5cb2e0f296f05dee589e294
2015-03-06 12:30:09 -08:00
Pierre Vandwalle
8fe39d1742 fix wifi logger API
new roam apis

Change-Id: Ic4dce5b1367c8de0446fa53b3ada96a425ddd48d
2015-03-06 11:19:04 -08:00
xinhe
c5ab50d206 modify the interface rtt.h
Bug:19570769
Change-Id: Ifaa86c8f0a2023e3c4595bf7e7265332b70a37a2
2015-03-02 17:00:33 -08:00
xinhe
3ab1f9868c Merge "update rtt.h for 11mc double side RTT" into m-wireless-wifi-dev 2015-02-17 19:36:12 +00:00
xinhe
03c6b6f113 update rtt.h for 11mc double side RTT
Bug:19364957
Change-Id: I4fe1fee30c353963b9c6c4958a1ca23f1632253f
2015-02-17 09:41:49 -08:00
Pierre Vandwalle
04cfb272f4 introduce ssid whitelist
Change-Id: I408091642a863581a40d48a9c55244aca3998f01
2015-02-11 16:48:59 -08:00
Pierre Vandwalle
ec5301b3af clarify comments and complete EPNO API
Change-Id: Ibba242ee3d3c1803a5ffca4cc72625f354527f4a
2015-02-11 16:23:19 -08:00
Pierre Vandwalle
f654d41b8b add some wifi interface statistics (beacon tsf offset) and guard time
Change-Id: If0286abc0942bed40bf321438117546f0e6dbd25
2015-02-10 15:03:34 -08:00
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