OSDN Git Service

android-x86/system-connectivity-wificond.git
7 years agowificond: Dump interface list am: 099ee0c764
Ningyuan Wang [Thu, 6 Apr 2017 18:11:37 +0000 (18:11 +0000)]
wificond: Dump interface list am: 099ee0c764
am: c1dca4b627

Change-Id: Idb122ca837389bc336f7d42360ce4f1ce5a69198

7 years agoAllow wificond to dump logs am: b340bb5604
Ningyuan Wang [Thu, 6 Apr 2017 18:11:36 +0000 (18:11 +0000)]
Allow wificond to dump logs am: b340bb5604
am: c576bbd5bf

Change-Id: I0cf4821cf68fd4f8b4d81501cb14675d60ba2816

7 years agowificond: Dump interface list
Ningyuan Wang [Thu, 6 Apr 2017 18:00:02 +0000 (18:00 +0000)]
wificond: Dump interface list
am: 099ee0c764

Change-Id: Id39b973e1e4de76d4a04877850939a62d2155518

7 years agoAllow wificond to dump logs
Ningyuan Wang [Thu, 6 Apr 2017 18:00:01 +0000 (18:00 +0000)]
Allow wificond to dump logs
am: b340bb5604

Change-Id: Iaac2866ca7c67d9a89e91a33ac34aa9503ac1fcb

7 years agowificond: Dump interface list
Ningyuan Wang [Wed, 5 Apr 2017 00:36:34 +0000 (17:36 -0700)]
wificond: Dump interface list

Bug: 31336376
Test: compile
Test: manual test, check bug report
For example, I can see the following dump state:
Cached interfaces list from kernel message:
Interface index: 23, name: p2p0, mac address: 66:bc:0c:47:df:00
Interface index: 22, name: wlan0, mac address: 64:bc:0c:47:df:00

Change-Id: Iae02bc85a73f211aa39fb16d77eb17d399651dce

7 years agoAllow wificond to dump logs
Ningyuan Wang [Tue, 4 Apr 2017 23:21:44 +0000 (16:21 -0700)]
Allow wificond to dump logs

This adds the dump() function for wificond to dump logs
to provided fd.

Bug: 31336376
Test: compile
Test: manual test, see wificond dump logs in bug report

Change-Id: Ia27cee9c14728095d9843dfc08994ec981283ee3

7 years agoMerge changes from topic 'WIFI_OFFLOAD_HAL_MASTER'
TreeHugger Robot [Tue, 4 Apr 2017 23:10:34 +0000 (23:10 +0000)]
Merge changes from topic 'WIFI_OFFLOAD_HAL_MASTER'

* changes:
  Wificond: Unit tests for Offload HAL calling code
  Wificond: Client for Offload HAL HIDL service

7 years agoWificond: Unit tests for Offload HAL calling code
Sohani Rao [Wed, 8 Mar 2017 02:32:56 +0000 (18:32 -0800)]
Wificond: Unit tests for Offload HAL calling code

This CL creates mock objects and unit tests for the new classes
introduces that interact with Offload HAL
Cherry pick from bcc79d8a71287bd045c2fb0bdbc1941011c0043b
Bug: 32842314
Test: Unit tests and Mannual tests of verifying Wifi can be turned on
connected and ensure we are getting a handle on Offload HAL service

Change-Id: Idbbf7f67c8e0e1cec04c573225c36a3d5a4479af

7 years agoWificond: Client for Offload HAL HIDL service
Sohani Rao [Thu, 22 Dec 2016 04:34:27 +0000 (20:34 -0800)]
Wificond: Client for Offload HAL HIDL service

This CL creates the client side implementation for Offload HAL and
exports it's API's to wificond. It also creates the interface object
for callback from the Offload HAL.
Cherry pick from 1f05294be907f55add2533e83fca1cea440a6d6c
Bug: 32842314
Test: Unit tests and Mannual tests of verifying Wifi can be turned on
connected and ensure we are getting a handle on Offload HAL service
Change-Id: Ie63b31742a6b53d60c4c2a3560829fc69a2a5f3d

7 years agoMerge "Change wificond user from root to wifi" into oc-dev am: e7ef219099
Ningyuan Wang [Mon, 3 Apr 2017 23:49:13 +0000 (23:49 +0000)]
Merge "Change wificond user from root to wifi" into oc-dev am: e7ef219099
am: deef70ad07

Change-Id: I60d9b1ffa06edfe69b2b649ea404c869f447b17b

7 years agoMerge "Change wificond user from root to wifi" into oc-dev
Ningyuan Wang [Mon, 3 Apr 2017 23:41:46 +0000 (23:41 +0000)]
Merge "Change wificond user from root to wifi" into oc-dev
am: e7ef219099

Change-Id: I2a50e46e4601815972cea36b02dc65dd71dd1b21

7 years agoMerge "Change wificond user from root to wifi" into oc-dev
Ningyuan Wang [Mon, 3 Apr 2017 23:31:37 +0000 (23:31 +0000)]
Merge "Change wificond user from root to wifi" into oc-dev

7 years agoReduce wificond scanner logging am: dc14e266c3
Ningyuan Wang [Mon, 3 Apr 2017 22:40:27 +0000 (22:40 +0000)]
Reduce wificond scanner logging am: dc14e266c3
am: 8b42067a38

Change-Id: Ic95d5d560d2ed28e92c66bbd16c5b4cbbf0c7e70

7 years agoReduce wificond scanner logging
Ningyuan Wang [Mon, 3 Apr 2017 22:35:13 +0000 (22:35 +0000)]
Reduce wificond scanner logging
am: dc14e266c3

Change-Id: I570c08e667b8ae46a6524d93e83e92ddbff6f67d

7 years agoChange wificond user from root to wifi
Ningyuan Wang [Mon, 3 Apr 2017 17:26:27 +0000 (10:26 -0700)]
Change wificond user from root to wifi

We don't need wificond to relaod driver/firmware anymore.
Wificond should run as user 'wifi' and group 'wifi'.
It also needs net_admin capability for requesting scans,
and net_raw for creating inet sockets for bringing up/down
interfaces.

Bug: 33239267
Test: compile, wifi works with toggling
Change-Id: Ic2749b5de2c775749008f57c9c0702d84b9cdcc8

7 years agoReduce wificond scanner logging
Ningyuan Wang [Mon, 3 Apr 2017 17:47:41 +0000 (10:47 -0700)]
Reduce wificond scanner logging

Bug: 36783957
Test: compile ,manual test
Change-Id: I101bb471e533f0e24e36cd5479c56b8ec10fc756

7 years agoAdd test config to wificond_unit_test am: db0c3ce298 am: 392b5d9e18 am: eefa930745
Dan Shi [Fri, 31 Mar 2017 23:01:39 +0000 (23:01 +0000)]
Add test config to wificond_unit_test am: db0c3ce298 am: 392b5d9e18 am: eefa930745
am: ba3478d122

Change-Id: I1490f4a54e6f5147be6e441cc3254f0f938d1360

7 years agoAdd test config to wificond_unit_test am: db0c3ce298 am: 392b5d9e18
Dan Shi [Fri, 31 Mar 2017 22:59:08 +0000 (22:59 +0000)]
Add test config to wificond_unit_test am: db0c3ce298 am: 392b5d9e18
am: eefa930745

Change-Id: I486a31f1dfbdb5c1cb990a240b03fec716609b0d

7 years agoAdd test config to wificond_unit_test am: db0c3ce298
Dan Shi [Fri, 31 Mar 2017 22:56:07 +0000 (22:56 +0000)]
Add test config to wificond_unit_test am: db0c3ce298
am: 392b5d9e18

Change-Id: Icf30a4ef7497aa5df0a81192e36da47eaaff28f5

7 years agoAdd test config to wificond_unit_test
Dan Shi [Fri, 31 Mar 2017 22:53:38 +0000 (22:53 +0000)]
Add test config to wificond_unit_test
am: db0c3ce298

Change-Id: I1389d1375fd5f030f41ed3c93cfaaeed5af064f1

7 years agoRemove unused include of wifi.h am: 5ac2242867
Ningyuan Wang [Thu, 30 Mar 2017 23:31:59 +0000 (23:31 +0000)]
Remove unused include of wifi.h am: 5ac2242867
am: f9e0083c1c

Change-Id: Ib4a931d75909c31fbd73a472d77000bb168ed18d

7 years agoRemove unused include of wifi.h
Ningyuan Wang [Thu, 30 Mar 2017 23:25:06 +0000 (23:25 +0000)]
Remove unused include of wifi.h
am: 5ac2242867

Change-Id: Ifbc903f6c3aaf806b576b9424cd78b47961cf27b

7 years agoAdd test config to wificond_unit_test
Dan Shi [Wed, 29 Mar 2017 07:09:34 +0000 (00:09 -0700)]
Add test config to wificond_unit_test

Design doc:
Generalized Suites & the Unification of APCT & CTS Workflows Design/Roadmap
https://docs.google.com/document/d/1eabK3srlBLouMiBMrNP3xJPiRRdcoCquNxC8gBWPvx8/edit#heading=h.78vup5eivwzo

Details about test configs changes are tracked in doc
https://docs.google.com/document/d/1EWUjJ7fjy8ge_Nk0YQbFdRp8DSHo3z6GU0R8jLgrAcw/edit#

Bug: 35882476
Test: local test
Change-Id: Ic1279c4785eda6eb6d8b12387caf91f9b28c08b8

7 years agoRemove unused include of wifi.h
Ningyuan Wang [Wed, 29 Mar 2017 00:42:07 +0000 (17:42 -0700)]
Remove unused include of wifi.h

Bug: 36697996
Test: compile, manual test: wifi works with toggling
Change-Id: I27200ad3ad4aa313f2b0d0ae42ac0460ed12fd19

7 years agoMerge "Add wificond API to expose number of associated stations" am: eee9e7e234 am...
Ningyuan Wang [Tue, 21 Mar 2017 21:17:28 +0000 (21:17 +0000)]
Merge "Add wificond API to expose number of associated stations" am: eee9e7e234 am: a926723338
am: 6870df17e2

Change-Id: Ib44515363b2428d46f247ce9b852c45f3b50c602

7 years agoMerge "Add wificond API to expose number of associated stations" am: eee9e7e234
Ningyuan Wang [Tue, 21 Mar 2017 21:07:15 +0000 (21:07 +0000)]
Merge "Add wificond API to expose number of associated stations" am: eee9e7e234
am: a926723338

Change-Id: I6fad922942b1c99c8c036ca6d997f65155079e03

7 years agoMerge "Add wificond API to expose number of associated stations"
Ningyuan Wang [Tue, 21 Mar 2017 21:02:46 +0000 (21:02 +0000)]
Merge "Add wificond API to expose number of associated stations"
am: eee9e7e234

Change-Id: I21adeb2c682e0b6a16ffd1101683991e773ba4b4

7 years agoMerge "Add wificond API to expose number of associated stations"
Ningyuan Wang [Tue, 21 Mar 2017 20:56:50 +0000 (20:56 +0000)]
Merge "Add wificond API to expose number of associated stations"

7 years agoRevert "Do not report scan aborted event" am: 4918aa86d4 am: 5d44c3ebb1
Ningyuan Wang [Mon, 20 Mar 2017 22:50:48 +0000 (22:50 +0000)]
Revert "Do not report scan aborted event" am: 4918aa86d4 am: 5d44c3ebb1
am: fd1c542fd6

Change-Id: Ibed40c019e44205b5f9bf21a2499326a1b5817ed

7 years agoRevert "Do not report scan aborted event" am: 4918aa86d4
Ningyuan Wang [Mon, 20 Mar 2017 22:47:34 +0000 (22:47 +0000)]
Revert "Do not report scan aborted event" am: 4918aa86d4
am: 5d44c3ebb1

Change-Id: I6ca2dbda84c8d6eadad4998ca834b9aec136a0b4

7 years agoRevert "Do not report scan aborted event"
Ningyuan Wang [Mon, 20 Mar 2017 22:44:14 +0000 (22:44 +0000)]
Revert "Do not report scan aborted event"
am: 4918aa86d4

Change-Id: I1ba9ee8ad11d597e8946c17187f313ae73af0555

7 years agoRevert "Do not report scan aborted event"
Ningyuan Wang [Mon, 20 Mar 2017 17:40:36 +0000 (17:40 +0000)]
Revert "Do not report scan aborted event"

SCAN_FAILED event should not be blamed for b/36231150 after investigation. Revert this change.

This reverts commit 7334e2f90be2a8cab17c913a88d850c7b9c408fb.

Change-Id: I00bbc8b29b49774f31f054406c11cceee71a8aef

7 years agoIdentify external scan result notifications am: 98d17f0968 am: 401bfab7ea
Ningyuan Wang [Mon, 20 Mar 2017 18:56:41 +0000 (18:56 +0000)]
Identify external scan result notifications am: 98d17f0968 am: 401bfab7ea
am: 5bb3b45dab

Change-Id: I97f38dd6d6dabcd325bcb351485f4a8a7e419878

7 years agoIdentify external scan result notifications am: 98d17f0968
Ningyuan Wang [Mon, 20 Mar 2017 18:52:57 +0000 (18:52 +0000)]
Identify external scan result notifications am: 98d17f0968
am: 401bfab7ea

Change-Id: I388eb4f8bfdea90372b750df159cdde6ac316393

7 years agoIdentify external scan result notifications
Ningyuan Wang [Mon, 20 Mar 2017 18:48:56 +0000 (18:48 +0000)]
Identify external scan result notifications
am: 98d17f0968

Change-Id: I12440f77d215278ca2b3e3b6e136719108c5eb5b

7 years agoIdentify external scan result notifications
Ningyuan Wang [Mon, 20 Mar 2017 16:24:58 +0000 (09:24 -0700)]
Identify external scan result notifications

Bug: 36417455
Test: compile, unit tests, manual test

Change-Id: I5b9f93015e1e51c49487f602bf109bdc158bd447

7 years agoAdd wificond API to expose number of associated stations
Ningyuan Wang [Thu, 16 Mar 2017 22:28:11 +0000 (15:28 -0700)]
Add wificond API to expose number of associated stations

Bug: 31230864
Test: compile, unit tests, manual test
Change-Id: I28cc755a79c0fb3905a6684ea1281428a5bc2afc

7 years agoMonitor station events for hotspot mode am: cf51f862b3 am: a408d302b7
Ningyuan Wang [Thu, 16 Mar 2017 21:09:32 +0000 (21:09 +0000)]
Monitor station events for hotspot mode am: cf51f862b3 am: a408d302b7
am: 6f649d0f77

Change-Id: I53797a81a7d3073bee31d697365751cdab904285

7 years agoMonitor station events for hotspot mode am: cf51f862b3
Ningyuan Wang [Thu, 16 Mar 2017 21:06:32 +0000 (21:06 +0000)]
Monitor station events for hotspot mode am: cf51f862b3
am: a408d302b7

Change-Id: Ia6038e64d67019c9eca262b22a6bf094d8f13dfb

7 years agoMonitor station events for hotspot mode
Ningyuan Wang [Thu, 16 Mar 2017 21:03:56 +0000 (21:03 +0000)]
Monitor station events for hotspot mode
am: cf51f862b3

Change-Id: Iba8804295bc8b2cbfe36b9ff047bdea30ac9f1c6

7 years agoMonitor station events for hotspot mode
Ningyuan Wang [Wed, 8 Mar 2017 16:44:39 +0000 (08:44 -0800)]
Monitor station events for hotspot mode

This enables NetlinkManager to monitor NL80211_CMD_NEW_STATION,
and NL80211_CMD_DEL_STATION.

This could be used for ApInterfaceImpl for monitoring associated
stations.

This also creates a new class LoggingUtils to avoid repeating code.
This also adds corresponding unit tests.

Bug: 36043922
Test: compile, unit tests, manual tests

Change-Id: I060062c0cd6250051da90658b229d786f287fad4

7 years agoMore loggging for pno scan events am: 042abc94bc am: 96ecdd976b
Ningyuan Wang [Wed, 15 Mar 2017 19:13:57 +0000 (19:13 +0000)]
More loggging for pno scan events am: 042abc94bc am: 96ecdd976b
am: f525be5c7b

Change-Id: I320935241bd843435aef818053fd33a9cb9fe8b8

7 years agoDo not report scan aborted event am: 7334e2f90b am: e8dbecf002
Ningyuan Wang [Wed, 15 Mar 2017 19:13:48 +0000 (19:13 +0000)]
Do not report scan aborted event am: 7334e2f90b am: e8dbecf002
am: 7d0e6083d1

Change-Id: I6b0bb987abfeb20283870a0482780c0a148159f9

7 years agoMore loggging for pno scan events am: 042abc94bc
Ningyuan Wang [Wed, 15 Mar 2017 19:09:15 +0000 (19:09 +0000)]
More loggging for pno scan events am: 042abc94bc
am: 96ecdd976b

Change-Id: Ib8f009f5115a3813ce656df17dd1869f2df657c9

7 years agoDo not report scan aborted event am: 7334e2f90b
Ningyuan Wang [Wed, 15 Mar 2017 19:09:08 +0000 (19:09 +0000)]
Do not report scan aborted event am: 7334e2f90b
am: e8dbecf002

Change-Id: I9955a1bf9d5f48e76589ddd348b42a141ae792a2

7 years agoMore loggging for pno scan events
Ningyuan Wang [Wed, 15 Mar 2017 19:08:37 +0000 (19:08 +0000)]
More loggging for pno scan events
am: 042abc94bc

Change-Id: I7128bb085dd9fbed2c1d71c145736a76f54fde48

7 years agoDo not report scan aborted event
Ningyuan Wang [Wed, 15 Mar 2017 19:04:08 +0000 (19:04 +0000)]
Do not report scan aborted event
am: 7334e2f90b

Change-Id: I972fbf7b6d800d6a15fe53c9129fc9c0bfa028bc

7 years agoMore loggging for pno scan events
Ningyuan Wang [Wed, 15 Mar 2017 17:26:46 +0000 (10:26 -0700)]
More loggging for pno scan events

Bug: None
Test: compile
Change-Id: I316e5d50cbdafb828c979c62ba3c1c2089f73795

7 years agoDo not report scan aborted event
Ningyuan Wang [Wed, 15 Mar 2017 17:33:57 +0000 (10:33 -0700)]
Do not report scan aborted event

Bug: 36231150
Test: compile, unit tests
Change-Id: I67bb801014942efa777eab22de5a82f2ca71869b

7 years agoImprove wificond logging while abridging network list am: ce6c6a2b32 am: 74c3fd48bc
Ningyuan Wang [Wed, 15 Mar 2017 01:44:05 +0000 (01:44 +0000)]
Improve wificond logging while abridging network list am: ce6c6a2b32 am: 74c3fd48bc
am: ebd0833415

Change-Id: Ia93df8d02694a5d638432d2c8676bc3545525cc4

7 years agoImprove wificond logging while abridging network list am: ce6c6a2b32
Ningyuan Wang [Wed, 15 Mar 2017 01:38:35 +0000 (01:38 +0000)]
Improve wificond logging while abridging network list am: ce6c6a2b32
am: 74c3fd48bc

Change-Id: I90f709b6f1e542d441128a4d726452e1eaa76b5a

7 years agoImprove wificond logging while abridging network list
Ningyuan Wang [Wed, 15 Mar 2017 01:33:04 +0000 (01:33 +0000)]
Improve wificond logging while abridging network list
am: ce6c6a2b32

Change-Id: I7495ded3953852666aafea39aaa672aa5e011813

7 years agoImprove wificond logging while abridging network list
Ningyuan Wang [Tue, 14 Mar 2017 22:40:41 +0000 (15:40 -0700)]
Improve wificond logging while abridging network list

Bug: 36227711
Test: compile, unit tests, manual test

Change-Id: I74e7d063c7251450a2c09d0e0be70d96f7590bfd

7 years agoCleanup p2p0 interface upon tearDownInterfaces(). am: 075145ad1d am: 750c4ad4e3
Ningyuan Wang [Tue, 14 Mar 2017 22:11:24 +0000 (22:11 +0000)]
Cleanup p2p0 interface upon tearDownInterfaces(). am: 075145ad1d am: 750c4ad4e3
am: a2b86e733f

Change-Id: Ica0411e03eb4950c514640c71d5c50b0fd2df4fc

7 years agoCleanup p2p0 interface upon tearDownInterfaces(). am: 075145ad1d
Ningyuan Wang [Tue, 14 Mar 2017 22:05:55 +0000 (22:05 +0000)]
Cleanup p2p0 interface upon tearDownInterfaces(). am: 075145ad1d
am: 750c4ad4e3

Change-Id: Ibcb342994e8c8aa29d9d0aa8c94b099c353dd576

7 years agoCleanup p2p0 interface upon tearDownInterfaces().
Ningyuan Wang [Tue, 14 Mar 2017 22:00:55 +0000 (22:00 +0000)]
Cleanup p2p0 interface upon tearDownInterfaces().
am: 075145ad1d

Change-Id: Ib87a68f36403dd86d78f5d486353d20a40b3153d

7 years agoCleanup p2p0 interface upon tearDownInterfaces().
Ningyuan Wang [Mon, 13 Mar 2017 16:41:29 +0000 (09:41 -0700)]
Cleanup p2p0 interface upon tearDownInterfaces().

This replaces NetlinkUtils::GetInterfaceInfo with NetlinkUtils::
GetInterfaces. Instead of picking client interface inside NetlinkUtils,
this change allows wificond main object(server) to dump all the interfaces
from kernel.
Being able to dump all interfaces, wificond main object therefore can mark
down all the interfaces upon cleanup.

Bug: 36139978
Bug: 35949498

Test: compile, unit tests, manual test, integration test

Change-Id: I66dd4f8c3b26087dd182591763de8fa4da29f1d6

7 years agoUse 5g rssi threshold by default am: 682ce48876 am: efac88516d
Ningyuan Wang [Fri, 10 Mar 2017 20:13:47 +0000 (20:13 +0000)]
Use 5g rssi threshold by default am: 682ce48876 am: efac88516d
am: dcc25d23a5

Change-Id: I79bfa887801e2d79f3756a11ad983f357391d8cd

7 years agoUse 5g rssi threshold by default am: 682ce48876
Ningyuan Wang [Fri, 10 Mar 2017 20:10:17 +0000 (20:10 +0000)]
Use 5g rssi threshold by default am: 682ce48876
am: efac88516d

Change-Id: I4397d339a1ecb181651baa00f5448edde5e3cd96

7 years agoUse 5g rssi threshold by default
Ningyuan Wang [Fri, 10 Mar 2017 20:06:17 +0000 (20:06 +0000)]
Use 5g rssi threshold by default
am: 682ce48876

Change-Id: I2b4a380d61a9e952adddfd5772339fe147d70904

7 years agoUse 5g rssi threshold by default
Ningyuan Wang [Fri, 10 Mar 2017 18:23:37 +0000 (10:23 -0800)]
Use 5g rssi threshold by default

Before we find a solution for b/36121542, use 5g rssi threshold by
default. Since 5g rssi threshold is higher than that for 2.4g, the
phone will be less likely to be waken up frequently.

Bug: 36121542
Test: compile, unit tests, manual test

Change-Id: I8de1bcf0564edfa8597f35d62b743c506cdddf4b

7 years agoMerge "Parse timeout field for mlme events" am: 4fa2c1212d am: d316b7d1ee
Ningyuan Wang [Fri, 10 Mar 2017 17:35:43 +0000 (17:35 +0000)]
Merge "Parse timeout field for mlme events" am: 4fa2c1212d am: d316b7d1ee
am: 4d329e2bdb

Change-Id: I0de15a29c636000a65d77e40def5598aeb6d99a9

7 years agoMerge "Parse timeout field for mlme events" am: 4fa2c1212d
Ningyuan Wang [Fri, 10 Mar 2017 17:32:50 +0000 (17:32 +0000)]
Merge "Parse timeout field for mlme events" am: 4fa2c1212d
am: d316b7d1ee

Change-Id: I845226dc8a4bc8f0f05bf9d26a409be20d1a6b9e

7 years agoMerge "Parse timeout field for mlme events"
Ningyuan Wang [Fri, 10 Mar 2017 17:29:43 +0000 (17:29 +0000)]
Merge "Parse timeout field for mlme events"
am: 4fa2c1212d

Change-Id: I7b08bce12d10ddbfbb706efb3f09307dc5a3a648

7 years agoMerge "Parse timeout field for mlme events"
Treehugger Robot [Fri, 10 Mar 2017 17:26:13 +0000 (17:26 +0000)]
Merge "Parse timeout field for mlme events"

7 years agoMerge "wificond: Remove all libwifi-hal linkage" am: 84d8ce0fb7 am: 7cc4fd6f1a
Roshan Pius [Fri, 10 Mar 2017 01:27:21 +0000 (01:27 +0000)]
Merge "wificond: Remove all libwifi-hal linkage" am: 84d8ce0fb7 am: 7cc4fd6f1a
am: de5e0178b5

Change-Id: I6783142c2458846a5b9842aad755ac505d22e719

7 years agoMerge "wificond: Remove all libwifi-hal linkage" am: 84d8ce0fb7
Roshan Pius [Fri, 10 Mar 2017 01:15:05 +0000 (01:15 +0000)]
Merge "wificond: Remove all libwifi-hal linkage" am: 84d8ce0fb7
am: 7cc4fd6f1a

Change-Id: I2e9b71d8875b3a29d6d9e7904241eeab7ffb843a

7 years agoMerge "wificond: Remove all libwifi-hal linkage"
Roshan Pius [Fri, 10 Mar 2017 01:12:10 +0000 (01:12 +0000)]
Merge "wificond: Remove all libwifi-hal linkage"
am: 84d8ce0fb7

Change-Id: I97a970476df211d0a3a45fd44edebe3f04817615

7 years agoMerge "wificond: Remove all libwifi-hal linkage"
Treehugger Robot [Fri, 10 Mar 2017 01:06:47 +0000 (01:06 +0000)]
Merge "wificond: Remove all libwifi-hal linkage"

7 years agoPrint log when Pno scan started am: 932e8bf64c am: 5206088553
Ningyuan Wang [Thu, 9 Mar 2017 23:12:14 +0000 (23:12 +0000)]
Print log when Pno scan started am: 932e8bf64c am: 5206088553
am: c78cb3dd3e

Change-Id: I7c3e35b277185658722b692db550d800d77a6faf

7 years agowificond: Remove all libwifi-hal linkage
Roshan Pius [Thu, 9 Mar 2017 23:00:13 +0000 (15:00 -0800)]
wificond: Remove all libwifi-hal linkage

Also, remove the wpa_supplicant binder tests since these are no longer
useful.

Bug: 34457880
Bug: 36100720
Test: Compiles and device boots up.
Change-Id: I3b9ed2c33fce5e8b78d773472130e1010488b92e

7 years agoPrint log when Pno scan started am: 932e8bf64c
Ningyuan Wang [Thu, 9 Mar 2017 22:44:55 +0000 (22:44 +0000)]
Print log when Pno scan started am: 932e8bf64c
am: 5206088553

Change-Id: Ib1116282e17a8c00be945df46fa033bfcc3baac7

7 years agoPrint log when Pno scan started
Ningyuan Wang [Thu, 9 Mar 2017 22:41:55 +0000 (22:41 +0000)]
Print log when Pno scan started
am: 932e8bf64c

Change-Id: I73b39c65b4a67537d9ba57fcf1a507bcd06fc7e8

7 years agoPrint log when Pno scan started
Ningyuan Wang [Mon, 6 Mar 2017 19:34:32 +0000 (11:34 -0800)]
Print log when Pno scan started

In addition, We might need to keep using 'pno scan' instead of
'scheduled scan' in this class. This also fixes that.

Bug: None
Test: compile
Change-Id: I989d794583bb5474348c9679e5d444550710bf61

7 years agoMerge "Add RSSI threshold for each match set respectively." am: d9e9c824ec am: 37e7d8fdb9
Ningyuan Wang [Tue, 7 Mar 2017 21:08:58 +0000 (21:08 +0000)]
Merge "Add RSSI threshold for each match set respectively." am: d9e9c824ec am: 37e7d8fdb9
am: 4fdd6752ed

Change-Id: I9b3513cb2180b8dd9349242078d6e7ae454da4f6

7 years agoMerge "Add RSSI threshold for each match set respectively." am: d9e9c824ec
Ningyuan Wang [Tue, 7 Mar 2017 21:06:28 +0000 (21:06 +0000)]
Merge "Add RSSI threshold for each match set respectively." am: d9e9c824ec
am: 37e7d8fdb9

Change-Id: I8c637861356c29e241b304441966853637caab87

7 years agoMerge "Add RSSI threshold for each match set respectively."
Ningyuan Wang [Tue, 7 Mar 2017 21:04:28 +0000 (21:04 +0000)]
Merge "Add RSSI threshold for each match set respectively."
am: d9e9c824ec

Change-Id: I0faf04e8333f568456b076d9728e2c6ec4f5e20d

7 years agoMerge "Add RSSI threshold for each match set respectively."
Ningyuan Wang [Tue, 7 Mar 2017 21:00:48 +0000 (21:00 +0000)]
Merge "Add RSSI threshold for each match set respectively."

7 years agoParse timeout field for mlme events
Ningyuan Wang [Tue, 7 Mar 2017 19:10:00 +0000 (11:10 -0800)]
Parse timeout field for mlme events

Bug: 35849859
Bug: 34280407
Test: compile, unit tests

Change-Id: Id0d195b2be0a52eb0d8d765e5359617a63705c54

7 years agoTemporarily disable wificond integration test am: dd0ecbe499 am: a5b86eefa8
Ningyuan Wang [Tue, 7 Mar 2017 03:10:10 +0000 (03:10 +0000)]
Temporarily disable wificond integration test am: dd0ecbe499 am: a5b86eefa8
am: 5538c4aa91

Change-Id: I6b037f45c931dde10dbcf2d456a6140edc8b742d

7 years agoTemporarily disable wificond integration test am: dd0ecbe499
Ningyuan Wang [Tue, 7 Mar 2017 03:00:18 +0000 (03:00 +0000)]
Temporarily disable wificond integration test am: dd0ecbe499
am: a5b86eefa8

Change-Id: I119f6decc38211884fec40de90d9572275276c13

7 years agoTemporarily disable wificond integration test
Ningyuan Wang [Tue, 7 Mar 2017 02:52:16 +0000 (02:52 +0000)]
Temporarily disable wificond integration test
am: dd0ecbe499

Change-Id: Id55e54b5eb458b7ae6bc1ff9ae42f8335d62a918

7 years agoMerge "wificond: Use Vendor HAL for mode change" am: a056ab1fb2 am: 2761ba84ad
Roshan Pius [Tue, 7 Mar 2017 02:47:45 +0000 (02:47 +0000)]
Merge "wificond: Use Vendor HAL for mode change" am: a056ab1fb2 am: 2761ba84ad
am: e5917818bb

Change-Id: I6e4edd57b6b142ac8a453a50fafb485bc88d272d

7 years agoMerge "wificond: Use Vendor HAL for mode change" am: a056ab1fb2
Roshan Pius [Tue, 7 Mar 2017 02:45:24 +0000 (02:45 +0000)]
Merge "wificond: Use Vendor HAL for mode change" am: a056ab1fb2
am: 2761ba84ad

Change-Id: I8b04f5c31b240cf639b4629c261ccb6ff63add21

7 years agoMerge "wificond: Use Vendor HAL for mode change"
Roshan Pius [Tue, 7 Mar 2017 02:43:00 +0000 (02:43 +0000)]
Merge "wificond: Use Vendor HAL for mode change"
am: a056ab1fb2

Change-Id: Icecb191368e41e4890f8a1b78aa5c58d3eb74ddd

7 years agoTemporarily disable wificond integration test
Ningyuan Wang [Tue, 7 Mar 2017 00:57:10 +0000 (16:57 -0800)]
Temporarily disable wificond integration test

Bug: 35923520
Test: Run this script

Change-Id: I43c6bc73af5d5547b38947b028a817a7987cb163

7 years agoMerge "wificond: Use Vendor HAL for mode change"
Roshan Pius [Tue, 7 Mar 2017 00:37:50 +0000 (00:37 +0000)]
Merge "wificond: Use Vendor HAL for mode change"

7 years agoExplicitly returns false on IsValid() failure am: 6d6e3a3ed9 am: d5d3f08a5e
Ningyuan Wang [Tue, 7 Mar 2017 00:24:02 +0000 (00:24 +0000)]
Explicitly returns false on IsValid() failure am: 6d6e3a3ed9 am: d5d3f08a5e
am: 1586f5de27

Change-Id: Ic3e593942b6b118193fe4149263956ace9ba48f7

7 years agoExplicitly returns false on IsValid() failure am: 6d6e3a3ed9
Ningyuan Wang [Tue, 7 Mar 2017 00:22:02 +0000 (00:22 +0000)]
Explicitly returns false on IsValid() failure am: 6d6e3a3ed9
am: d5d3f08a5e

Change-Id: Icb378cd3a0ea14a3d63424c84f67959461b7df7e

7 years agoExplicitly returns false on IsValid() failure
Ningyuan Wang [Tue, 7 Mar 2017 00:19:31 +0000 (00:19 +0000)]
Explicitly returns false on IsValid() failure
am: 6d6e3a3ed9

Change-Id: Ibed236da75b42cac6d112bf15e7e1e0bcc2a04d4

7 years agoExplicitly returns false on IsValid() failure
Ningyuan Wang [Mon, 6 Mar 2017 19:21:51 +0000 (11:21 -0800)]
Explicitly returns false on IsValid() failure

Bug: None
Test: compile, unit tests
Change-Id: Ib2e74101e1b6883a5ac7adfa3b53c75d3ccfb877

7 years agoAdd RSSI threshold for each match set respectively.
Ningyuan Wang [Mon, 6 Mar 2017 18:30:22 +0000 (10:30 -0800)]
Add RSSI threshold for each match set respectively.

Some of the devices reject scheduled scan request which
specifies a global RSSI threshold.
This patch uses RSSI threshold for each match set instead.

Bug: 35958492
Test: compile, unit tests, manual test

Change-Id: I0d45a3361c9bf4dbaa9b85ccf655ddfaa5c09899

7 years agoMerge "Do not return failure if scan results is empty" am: b2ab66f39f am: 175758ab06
Ningyuan Wang [Fri, 3 Mar 2017 16:45:28 +0000 (16:45 +0000)]
Merge "Do not return failure if scan results is empty" am: b2ab66f39f am: 175758ab06
am: f4bf520b3f

Change-Id: I1bd69a20c45b8f60c6e8e11b1131e188083d5cea

7 years agoDo not log if NL80211_FREQUENCY_ATTR_FREQ is missing am: b9b35ddd26 am: 9240b12bd0
Ningyuan Wang [Fri, 3 Mar 2017 16:45:20 +0000 (16:45 +0000)]
Do not log if NL80211_FREQUENCY_ATTR_FREQ is missing am: b9b35ddd26 am: 9240b12bd0
am: e2fe4367eb

Change-Id: I6236ee708af88bfb6512ad52174e5bc53403305f

7 years agoMerge "Do not return failure if scan results is empty" am: b2ab66f39f
Ningyuan Wang [Fri, 3 Mar 2017 16:43:26 +0000 (16:43 +0000)]
Merge "Do not return failure if scan results is empty" am: b2ab66f39f
am: 175758ab06

Change-Id: Id9c4f06dc19ea660f2505eb0327464694a49920e

7 years agoDo not log if NL80211_FREQUENCY_ATTR_FREQ is missing am: b9b35ddd26
Ningyuan Wang [Fri, 3 Mar 2017 16:43:19 +0000 (16:43 +0000)]
Do not log if NL80211_FREQUENCY_ATTR_FREQ is missing am: b9b35ddd26
am: 9240b12bd0

Change-Id: I8b47266e9d6ac2a6aedd34aa1b39cd7cc9ffb002

7 years agoMerge "Do not return failure if scan results is empty"
Ningyuan Wang [Fri, 3 Mar 2017 16:39:57 +0000 (16:39 +0000)]
Merge "Do not return failure if scan results is empty"
am: b2ab66f39f

Change-Id: Ia66047bdc66521efc42913a6d432856ccb6128df

7 years agoDo not log if NL80211_FREQUENCY_ATTR_FREQ is missing
Ningyuan Wang [Fri, 3 Mar 2017 16:39:49 +0000 (16:39 +0000)]
Do not log if NL80211_FREQUENCY_ATTR_FREQ is missing
am: b9b35ddd26

Change-Id: I00e7999974aa73b0ba66e4901bc3e8f5af8641ca

7 years agoMerge "Do not return failure if scan results is empty"
Ningyuan Wang [Fri, 3 Mar 2017 16:36:41 +0000 (16:36 +0000)]
Merge "Do not return failure if scan results is empty"

7 years agoDo not return failure if scan results is empty
Ningyuan Wang [Thu, 2 Mar 2017 20:18:29 +0000 (12:18 -0800)]
Do not return failure if scan results is empty

It may happen if there is no AP in the environment.
In this case we only need to log instead of returning
error.

Bug: None
Test: compile, unit tests
Change-Id: I4187cc421db11c6fcc7e27e263865706cfb61abc