Commit graph

426 commits

Author SHA1 Message Date
Subhani Shaik
44c39504da Enabling Nan data path support [DO NOT MERGE]
Add APIs and data structures to support nan data path.

Change-Id: I60acc78f1d8a394cab511f4468dbc745a3107ddb
2016-04-01 13:21:33 -07:00
Roshan Pius
cf5877a0d8 Add max tx levels to radio_stats
Add a max tx level which the framework uses to limit the array and is
needed to guard against unitialized value in |num_tx_levels|.

BUG: 27227497
Change-Id: I2438bc1536c65a2c6230bfd6e1267532d9653c8b
2016-03-22 10:04:29 -07:00
Jun Lim
b616889ca6 WiFi HAL: ND offload enhancement
am: 13ef843

* commit '13ef8430cd5a348eaea036aefe022b0db6b34e0f':
  WiFi HAL: ND offload enhancement
2016-03-18 03:17:33 +00:00
Roshan Pius
35f09e58ea Merge "Add tx time per level stats in radio_stat" into nyc-dev 2016-03-17 22:21:27 +00:00
Subhani Shaik
84d0d10bc2 Add tx time per level stats in radio_stat
Modify the existing radio_stat structure to add time spent in each
tranmission power level.

BUG: 27227497
Change-Id: Ifba9f22bc7a404161ae9124c787854ed3431cb8d
cherry-picked from: 
https://partner-android-review.googlesource.com/#/c/543388
2016-03-17 20:38:25 +00:00
Glenn Kasten
fbcd1f10a9 Merge "Use audio_session_t consistently" into nyc-dev 2016-03-17 14:22:51 +00:00
mukesh agrawal
7a6a109bb7 wifi_logger: fix documentation for TX_PkT_FATE_DRV_DROP_OTHER
Given that there is an explicit enumerated value to indicate
a drop due to lack of buffers, we shouldn't recommend using
the OTHER value for out of buffers.

BUG=27352446
TEST=compile

Change-Id: Id4fdbf530ed9a99e2b9693acb649137d598abf85
2016-03-14 15:53:02 -07:00
mukesh agrawal
50bd764949 wifi_logger: fix parameter name in header file
For consistency with other packet_fate functions,
wifi_start_pkt_fate_monitoring() should name the first
parameter as |handle|.

BUG=27409524
TEST=compile

Change-Id: Ic6df01e7e80f79eaf5653374106ba6e6a7609e31
2016-03-14 15:44:36 -07:00
Jun Lim
13ef8430cd WiFi HAL: ND offload enhancement
Initial check-in of ND offload HAL API support

BUG=27598285

Change-Id: I9f2652de2bb0e22a25fe7c0ded6d1f5e6500de6d
Signed-off-by: Jun Lim <jun.lim@broadcom.com>
2016-03-10 15:26:06 -08:00
Glenn Kasten
6a36ec43e6 Use audio_session_t consistently
Bug: 27562099
Change-Id: Id5af47af3e8e3404c575fbb0ec02cf25378b7089
2016-03-10 09:44:53 -08:00
gautam
bf5b9bf486 Enabling responder for rtt
Added minor changes in API for RTT

Change-Id: Ib93305d3246ab501b8389f479d8193f353024f21
Signed-off-by: gautam <gautam.shukla@broadcom.com>
2016-02-29 19:44:25 +05:30
Mukesh Agrawal
4d0c8f7f68 Merge "WiFi HAL: add packet fate monitoring API" into mm-wireless-dev 2016-02-18 00:31:47 +00:00
Mitchell Wills
ded9b10b92 Merge "Remove REPORT_EVENT_CONTEXT_HUB gscan option" into mm-wireless-dev 2016-02-17 20:30:56 +00:00
Mukesh Agrawal
a5c9342b16 Merge "halutil: adding PNO driver events" into mm-wireless-dev 2016-02-17 19:25:14 +00:00
Sreenath Sharma
d1b3e1925c halutil: adding PNO driver events
Adding PNO driver events

BUG=26259438

Change-Id: Iad9ebc5c8b810fa1cf2389c1c2de0e765434fcf1
Signed-off-by: Sreenath Sharma <sreenath.sharma@broadcom.com>
2016-02-12 16:32:33 +05:30
Roshan Pius
5aa942ee3b Modify the wake reasons accounting API's
Modify the existing wake accounting reasons HAL API so that the
individual wake accounting reason array buffers are allocated
and freed by framework.

BUG:26902794
Change-Id: Iea74e61890f785107b05f9b4a3a58449ba449f0d
2016-02-11 14:16:15 -08:00
Mitchell Wills
45cd7dd198 Remove REPORT_EVENT_CONTEXT_HUB gscan option
Since all scan results will now be reported to the context hub this flag
is no longer needed.

Change-Id: I4ea3e88cc891be87660c12b7797819ea861cda26
2016-02-10 15:22:23 -08:00
Mitchell Wills
3febafdf46 Rename WIFI_SCAN_DISABLED event to WIFI_SCAN_FAILED
disabled was not very clear as to the actual meaning of the event and
left the implication that the scan could be reenabled.

Change-Id: I3f53b13a958cd35e93fde7bf9690d84744ffe63a
2016-02-09 11:40:48 -08:00
Etan Cohen
ee6c9fd926 Merge changes I2a4e674e,Ie65f095c into mm-wireless-dev
* changes:
  WiFi HAL: add additional connectivity events
  WiFi HAL: add driver memory dump API
2016-02-09 17:17:13 +00:00
Wei Wang
2ad893d001 Enable RTT Responder Role (3/4).
Change-Id: I14c7a13e423f1a6389449805c86c04d9a8d75440
2016-02-06 00:49:03 -08:00
Subhani Shaik
8056836755 WiFi HAL: add packet fate monitoring API
When a connection attempt fails, we're often unable
to determine the cause from existing log files. This
is because our log files only report the view from user
space. From this vantage point, we can't tell if,
e.g., an outbound frame was ever sent over the air.
(Or, for inbound frames: if they were heard by our
radio.)

To give ourselves a broader view, we add the packet fate
monitoring API. This API will let us determine, e.g.,
if an outbound frame was transmitted by our radio.

BUG: 26807558
Change-Id: I197729117f9086ece8cf00313bb9d3e7c0197b97
2016-02-04 17:18:26 -08:00
Subhani Shaik
e7b148c146 WiFi HAL: add additional connectivity events
The current list of events supported by the wifi_connectivity_event
ring buffer omits some important events. Add three new events, so
that we can log the events for driver/firmware that support them.

BUG: 26832275
Change-Id: I2a4e674e5f7b52cc630eac32191fdc0b75d60422
2016-02-04 17:17:36 -08:00
Subhani Shaik
271bfa7c4a WiFi HAL: add driver memory dump API
Add API for dumping state of WiFi driver. This API
will be used in combination with the (existing)
firmware memory dump API, to identify inconsistent
state between driver and firmware.

BUG: 26803847

Change-Id: Ie65f095ca6be4203f8aad0b541c1903dc6cce1f5
2016-02-04 17:17:19 -08:00
Etan Cohen
86ac7fa992 Merge "Initial proposal of RTT HAL API changes for 11mc responder role." into mm-wireless-dev 2016-01-27 18:55:25 +00:00
Etan Cohen
8abbec7396 Merge "Wifi-HAL: New NAN Discovery engine changes" into mm-wireless-dev 2016-01-27 18:55:23 +00:00
Paul Jensen
fc78eb998e Merge "WiFi HAL API changes for WiFi packet filtering" into mm-wireless-dev 2016-01-27 13:07:48 +00:00
Wei Wang
8d44928ade Initial proposal of RTT HAL API changes for 11mc
responder role.

Change-Id: If1ea5fee99fb3405ae643e9192feda40d16a285b
2016-01-26 19:21:22 -08:00
Mitchell Wills
0b8832836b Merge "N WifiScanner HAL Changes" into mm-wireless-dev 2016-01-25 19:07:35 +00:00
Subhani Shaik
fd3a4acb3b Wifi-HAL: New NAN Discovery engine changes
1) Add nan_capabilities API.
2) Add support to enable NAN on a particular 2.4/5GHz channel.
3) Disable notifications to responses.
2016-01-21 12:45:57 -08:00
Paul Jensen
749a60e3d3 WiFi HAL API changes for WiFi packet filtering
Change-Id: I9b41755ac5baf2ec5f9d764d9f6c1c7b8551140a
2016-01-21 12:54:17 +00:00
Mitchell Wills
682adbf141 N WifiScanner HAL Changes
Merge on_scan_results_available and on_scan_event gscan callbacks
Indicate which buckets were scanned in results callbacks
Add report scan to context hub flag
Add ePNO scoring parameters

Remove unused/superceeded functions
 * ssid hotlist
 * ssid whitelist
 * gscan roam
 * bssid preference

Change-Id: Ie1df191c77e967d3f53d625be8cc5eb76607c08f
2016-01-19 11:44:50 -08:00
Erik Kline
00a0c3addf Add WiFi HAL wifi_configure_nd_offload() function pointer
Bug: 18085352
Bug: 26238390
Change-Id: Ic80e670971cf687febe02bae1fdfff8f8e40203c
2016-01-15 15:16:24 +09:00
Subhani Shaik
19316765f7 NAN API update
Changes related to NAN APIs and structures.
1) Remove NanHeader
2) Replace wifi_handle with wifi_interface_handle in NAN APIs
3) Add publish/subscribe id
4) Remove match_handle and name it as requestor_instance_id
5) Add NanPublishResponse/NanSubscribeResponse structures
6) Remove user_context
7) Add appropriate enums
8) Remove unused structures
9) Add new NAN status types for TCA, Transmit, and invalid
   configuration of Band, DW/DB intervals, random factor
   update and scan period.
10) Add new fields in Publish/Subscribe Stats.
11) Replace wifi_request_id with transaction_id to have a
    common interface across all layers.

Bug: 26216681
Change-Id: Ife7cf7e7ed64d2f8db236f23919cd6412dc8b496
2016-01-07 07:52:52 -08:00
Randy Pan
712a265e97 WiFi exponential back off scan enhancement
Correct the comments on exponential back off scan formula.
Rename "exponent" to "base" to match the formula.
Also make the meaning of AP (Access Point vs. Apps Processor)
explicit for struct wifi_scan_cmd_params.

Bug: 26236392
Change-Id: I5873e1c8667dd964d125e37e2f0eeddec79eda13
2015-12-18 10:22:03 -08:00
Prerepa Viswanadham
deb60d5f89 Add wifi wake reason accounting - HAL API
Change-Id: Id321418feaf808a0c0a0fb08c12279f90fd31da2
2015-12-15 12:10:22 -08:00
Vincent Becker
efcc15accd 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
2015-11-17 19:31:02 +00:00
Elliott Hughes
6d604a605e am 87175f0b: Merge "Stop being silly."
* commit '87175f0b54e82321b2aee958e8e89455a7027443':
  Stop being silly.
2015-07-31 16:09:56 +00:00
Elliott Hughes
df3845a712 Stop being silly.
Change-Id: Ifb26361dae95a08827fcac6e725ab8f7961c78aa
2015-07-31 08:54:02 -07:00
Jerry Lee
8af982d029 Clean up bad command implementation
b/22349265

Change-Id: I856a7d1fdfd9c0af42d2007d3b6235a38728bdbb
Signed-off-by: Jerry Lee <jerrylee@broadcom.com>
2015-07-15 17:26:48 -07:00
JerryLee
c969430460 Add wifi offload feature: mkeep_alive
b/21405946

Change-Id: Id8651f56d36d142772218defc9f9521dac82624a
Signed-off-by: JerryLee <jerrylee@broadcom.com>
2015-06-24 14:15:49 -07:00
JerryLee
1de429dcaa Add a debuggability interface: stop logging
bug: 21730601

Change-Id: Ie92229023b76a5b4a8f5657543a0cd0cb8a19968
Signed-off-by: JerryLee <jerrylee@broadcom.com>
2015-06-24 11:41:10 -07:00
Ashwin
7b9ec3c42b 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>
2015-06-24 10:57:59 -07:00
Vinit Deshpande
bd18526aa0 am e853591..90f8307 from mirror-m-wireless-internal-release
90f8307 wifi hal definitions for keep alive packet offload and rssi monitoring
2015-06-05 10:59:17 -07:00
Prerepa Viswanadham
90f830793d wifi hal definitions for keep alive packet offload and rssi monitoring
Change-Id: I37caa4696b2aac0f33ea9606eeeba174b6408f02
2015-06-03 13:40:44 -07:00
Amarnath Hullur Subramanyam
e853591968 Adding API for setting LCI/LCR information.
Change-Id: I69c928e77b367b727ce50bb365754c6abfdb3126
2015-06-03 03:26:22 -07:00
Vinit Deshpande
a64d14b766 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
2015-05-13 18:39:30 -07:00
Vinit Deshpande
e28e2bbfda 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
2015-05-11 10:33:31 -07:00
Amarnath Hullur Subramanyam
ddcab1720d 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
2015-05-07 16:11:02 -07:00
Jerry Lee
1abb250450 change wifi Logging header
Allocate the memory at JNI layer. Thus, instead pass
    down ** , pass * down

Bug:20853404
Change-Id: I27cb2900989fb4f8261dc6e3283af101422d2ea7
2015-05-05 16:23:24 -07:00
Pierre Vandwalle
bd14c1c098 add pointers to new roaming HAL functions
Change-Id: I5094f7921018f0e8e1b6171e3b88ead9d00f95af
2015-05-02 16:26:05 -07:00
Prerepa Viswanadham
a9c3179c44 Merge commit '778ad70' into master_merge
Change-Id: I2928bb3e4c82d13caf3a1cd4b15f1d17969a610d
2015-05-01 11:02:19 -07:00
Chilam Ng
1ee8d6bb93 HAL changes for ANQPO
Change-Id: I60d418ec43beb4bb19e999634c5c3beecb476172
Signed-off-by: Chilam Ng <chilam@broadcom.com>
2015-04-29 15:42:11 -07:00
xinhe
5f06aa3bba Fix halutil build error
Change-Id: I3b4b90b6e4c99e7ace23998d439465c037deaadc
2015-04-24 15:00:02 -07:00
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
Vinit Deshpande
f2a1742cd5 am 93d458f..93d458f from mirror-m-wireless-internal-release
93d458f change wifi_logger header file
2015-04-14 15:06:10 -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
Prerepa Viswanadham
8e8bf307a5 Merge commit 'b4442c3' into merge_work 2015-04-10 15:20:02 -07:00
Prerepa Viswanadham
a173c47170 Merge commit 'f0973c8' into merge_work 2015-04-10 15:18:27 -07:00
Prerepa Viswanadham
650b8af4ba Merge commit '2cae13a' into merge_work 2015-04-10 15:18:00 -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
xinhe
fed9d861cc Fix master build break
Change-Id: I1f73293bc986a50b4bb6c976132bf50c3c557141
2015-04-01 21:54:06 -07:00
Etan Cohen
408f8f2978 Merge "Merge commit '4c50959717fcf4b5bf10721b4dda0d2c2f423eaf' into merge" 2015-04-02 03:07:55 +00:00
xinhe
b5a0bc2d71 Add general stubs for wifi hal
Bug:19949178
Change-Id: I0acd06f56d32e567a0aadaf4c2833480288b63ab
2015-04-01 18:14:10 -07:00
Pierre Vandwalle
f0973c8918 fix type in header file
Change-Id: I829bf99c1c84b7474a85b4cd0dbe325f9ff22990
2015-04-01 12:36:32 -07:00
Etan Cohen
546cfd47e7 Merge commit '4c50959717fcf4b5bf10721b4dda0d2c2f423eaf' into merge 2015-03-30 18:17:34 -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
Prerepa Viswanadham
c7e2d9db53 Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into master_merge
Change-Id: I836d0614625d2b311131cbbf1943087dc4c9bb7e
2015-03-24 14:47:37 -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
08ab34364c Fixing build after merge from mirror-m-wireless-internal-release
Change-Id: Iee494abf8d53cf97b3d338a3edbe81166788e7e1
2015-03-15 13:21:12 -07:00
Vinit Deshpande
83da14ed2b 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
2015-03-14 22:16:54 -07:00
Vinit Deshpande
b5e7900622 am "additional HAL APIs"
merged from goog/mirror-m-wireless-internal-release
47fb7ab additional HAL APIs

Change-Id: I359141b6d11093441d430071f020bf140a13e866
2015-03-14 22:16:18 -07:00
Vinit Deshpande
efa226a9b0 am "small fixes to gscan interface"
merged from goog/mirror-m-wireless-internal-release
16361fb small fixes to gscan interface

Change-Id: If60091580bc4b5732f7ddf7b5abc470f788dde30
2015-03-14 22:11:31 -07:00
Vinit Deshpande
7012fe0f51 am "small fixes to gscan interface"
merged from goog/mirror-m-wireless-internal-release
9f16832 small fixes to gscan interface
2015-03-14 22:10:54 -07:00
Vinit Deshpande
3300878e36 am "change the definition of signle burst"
merged from goog/mirror-m-wireless-internal-release
ba59d49 change the definition of signle burst
2015-03-14 22:10:54 -07:00
Vinit Deshpande
5a2c926456 am "fix wifi logger API new roam apis"
merged from goog/mirror-m-wireless-internal-release
8fe39d1 fix wifi logger API new roam apis

Change-Id: Ib3f54ab1d2e55db5d0e13f536cdfe1e4572e272e
2015-03-14 22:10:51 -07:00
Vinit Deshpande
c901baced2 am "modify the interface rtt.h"
merged from goog/mirror-m-wireless-internal-release
c5ab50d modify the interface rtt.h
2015-03-14 22:10:17 -07:00
Vinit Deshpande
b2989ee273 am "update rtt.h for 11mc double side RTT"
merged from goog/mirror-m-wireless-internal-release
03c6b6f update rtt.h for 11mc double side RTT
2015-03-14 22:10:17 -07:00
Vinit Deshpande
0bb38ec8e4 am "introduce ssid whitelist"
merged from goog/mirror-m-wireless-internal-release
04cfb27 introduce ssid whitelist
2015-03-14 22:10:17 -07:00
Vinit Deshpande
9dd29f7beb am "clarify comments and complete EPNO API"
merged from goog/mirror-m-wireless-internal-release
ec5301b clarify comments and complete EPNO API
2015-03-14 22:10:17 -07:00
Vinit Deshpande
05ece39af2 am "add some wifi interface statistics (beacon tsf offset) and guard time"
merged from goog/mirror-m-wireless-internal-release
f654d41 add some wifi interface statistics (beacon tsf offset) and guard time
2015-03-14 22:10:17 -07:00
Vinit Deshpande
90e2ff520f am "bring nan header file, from original KitKat partner version"
merged from goog/mirror-m-wireless-internal-release
4750569 bring nan header file, from original KitKat partner version
2015-03-14 22:10:17 -07:00
Vinit Deshpande
487a950f8f am "wifi_hal, adding specific event and per packet information to wifi_logger"
merged from goog/mirror-m-wireless-internal-release
bac2b19 wifi_hal, adding specific event and per packet information to wifi_logger
2015-03-14 22:10:17 -07:00
Vinit Deshpande
42b2609063 am "add HAL api wifi_set_country_code interface"
merged from goog/mirror-m-wireless-internal-release
e50f8df add HAL api wifi_set_country_code interface
2015-03-14 22:10:17 -07:00
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
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
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