Commit graph

29 commits

Author SHA1 Message Date
Subhani Shaik
4cc6080b2b Fix static_assert compile issue
Change-Id: Ib8a894a7a766e10a7f8bdd4affbb672ad962690e
2017-04-20 07:54:04 +00:00
Subhani Shaik
75814ce428 Roaming Enhancement API
Roaming enhancements to avoid critical sections between
firmware based network selection and framework based network
selection. Also remove blacklist_bssid changes from gscan.h
to avoid duplication.

BUG: 32883971
Test: Build.
Change-Id: I4c851e9c1969123427f2a92e729b9a5b6fd5b8d8
Merged-In: I4c851e9c1969123427f2a92e729b9a5b6fd5b8d8
2016-12-12 23:37:34 +00:00
Mitchell Wills
564211e861 Remove const integers from HAL and define undefined structs
Bug: 28984011
Change-Id: I6edfe547fbad127db9cbff654b96a476140d9f05
2016-05-26 13:13:37 -07: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
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
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
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
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
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
Pierre Vandwalle
37eb61d1a8 adjust gscan and wifi_logger headers
Change-Id: I43105fe14b1a5511045998ea1cbf4e275a6faf36
2015-03-25 08:50:26 -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
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
Pierre Vandwalle
08b10f046d fix to hal interface
Change-Id: I32f3e22fd19e79669ab8b117acd51352d132dbc3
2015-03-18 19:36:15 -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
16361fb29f small fixes to gscan interface
Change-Id: I8d5d3bc84e9da86b9c7c4f9ff02aee132d030831
2015-03-12 12:19:21 -07:00
Pierre Vandwalle
8fe39d1742 fix wifi logger API
new roam apis

Change-Id: Ic4dce5b1367c8de0446fa53b3ada96a425ddd48d
2015-03-06 11:19:04 -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
bac2b19824 wifi_hal, adding specific event and per packet information to wifi_logger
Change-Id: I7fa42d48f20f7416aa4dc8147290d0d3fddb3df0
2015-02-06 17:38:34 -08: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
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
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
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 Deshapnde
b26e377bb1 changes related to full scan result and band
Change-Id: I7accbd79f86a616c1d7e11fcebae12dbefaa3612
2014-05-16 16:33:36 -07: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