OSDN Git Service
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
Ningyuan Wang [Wed, 15 Mar 2017 19:04:08 +0000 (19:04 +0000)]
Do not report scan aborted event
am:
7334e2f90b
Change-Id: I972fbf7b6d800d6a15fe53c9129fc9c0bfa028bc
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
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
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
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
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
Ningyuan Wang [Tue, 14 Mar 2017 22:00:55 +0000 (22:00 +0000)]
Cleanup p2p0 interface upon tearDownInterfaces().
am:
075145ad1d
Change-Id: Ib87a68f36403dd86d78f5d486353d20a40b3153d
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
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
Ningyuan Wang [Fri, 10 Mar 2017 20:06:17 +0000 (20:06 +0000)]
Use 5g rssi threshold by default
am:
682ce48876
Change-Id: I2b4a380d61a9e952adddfd5772339fe147d70904
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
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
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
Treehugger Robot [Fri, 10 Mar 2017 17:26:13 +0000 (17:26 +0000)]
Merge "Parse timeout field for mlme events"
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
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
Treehugger Robot [Fri, 10 Mar 2017 01:06:47 +0000 (01:06 +0000)]
Merge "wificond: 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
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
Ningyuan Wang [Thu, 9 Mar 2017 22:41:55 +0000 (22:41 +0000)]
Print log when Pno scan started
am:
932e8bf64c
Change-Id: I73b39c65b4a67537d9ba57fcf1a507bcd06fc7e8
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
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
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
Ningyuan Wang [Tue, 7 Mar 2017 21:00:48 +0000 (21:00 +0000)]
Merge "Add RSSI threshold for each match set respectively."
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
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
Ningyuan Wang [Tue, 7 Mar 2017 02:52:16 +0000 (02:52 +0000)]
Temporarily disable wificond integration test
am:
dd0ecbe499
Change-Id: Id55e54b5eb458b7ae6bc1ff9ae42f8335d62a918
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
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
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
Roshan Pius [Tue, 7 Mar 2017 00:37:50 +0000 (00:37 +0000)]
Merge "wificond: Use Vendor HAL for mode change"
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
Ningyuan Wang [Tue, 7 Mar 2017 00:19:31 +0000 (00:19 +0000)]
Explicitly returns false on IsValid() failure
am:
6d6e3a3ed9
Change-Id: Ibed236da75b42cac6d112bf15e7e1e0bcc2a04d4
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
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
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
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
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
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
Ningyuan Wang [Fri, 3 Mar 2017 16:36:41 +0000 (16:36 +0000)]
Merge "Do 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
Ningyuan Wang [Thu, 2 Mar 2017 18:37:21 +0000 (10:37 -0800)]
Do not log if NL80211_FREQUENCY_ATTR_FREQ is missing
Bug: None
Test: compile
Change-Id: I2648883013ceb6daa37f13303bc704478c9e9222
Roshan Pius [Thu, 2 Mar 2017 01:13:40 +0000 (17:13 -0800)]
wificond: Use Vendor HAL for mode change
Also,
Removed the usage of DriverTool & HalTool from wificond.
Bug:
35765841
Test: Will send for integration tests.
Change-Id: Ie029816bec5b168e34b3b18892b9da82285c66c0
Ningyuan Wang [Wed, 1 Mar 2017 23:05:04 +0000 (23:05 +0000)]
Merge "Get NL80211_BSS_BEACON_TSF for wificond" am:
58271c3933
am:
80cfa22860
Change-Id: I56716b617a304e99922e5d50b2a78b5f4113201d
Ningyuan Wang [Wed, 1 Mar 2017 23:00:33 +0000 (23:00 +0000)]
Merge "Get NL80211_BSS_BEACON_TSF for wificond"
am:
58271c3933
Change-Id: I38ff0dbfa0864ea9d26cfafd5697b21dce789b14
Treehugger Robot [Wed, 1 Mar 2017 22:51:53 +0000 (22:51 +0000)]
Merge "Get NL80211_BSS_BEACON_TSF for wificond"
Ningyuan Wang [Wed, 1 Mar 2017 21:03:30 +0000 (21:03 +0000)]
Cleanup AP logic after Hostapd is down am:
9136ae3b1e
am:
3dac7b0df7
Change-Id: Iaf5398ac6278e6318d19401a8bb58b77d6177cf3
Ningyuan Wang [Wed, 1 Mar 2017 21:01:15 +0000 (21:01 +0000)]
Cleanup AP logic after Hostapd is down
am:
9136ae3b1e
Change-Id: Icfa4ff4a38e59c847e7059771165d68f3aeeb1a9
Ningyuan Wang [Tue, 28 Feb 2017 23:49:08 +0000 (15:49 -0800)]
Cleanup AP logic after Hostapd is down
Bug:
35445677
Test: compile, unit tests, manual test
Change-Id: Ic7e6c593ded19955da7a85d60730bf8e9afd679a
Ningyuan Wang [Wed, 1 Mar 2017 19:17:11 +0000 (11:17 -0800)]
Get NL80211_BSS_BEACON_TSF for wificond
Bug:
35872043
Change-Id: I68d9dcd2c6cf44efdf4dd843c1ef051e58f142c6
Test: compile, unit tests, manual test
Ningyuan Wang [Tue, 28 Feb 2017 20:55:57 +0000 (20:55 +0000)]
Merge "Fix wificiond scanner integration test" am:
4cdf87972f
am:
aa4aaa94bd
Change-Id: Ia3a615d231ad29fdf8af6b620db359241be028e1
Ningyuan Wang [Tue, 28 Feb 2017 20:54:23 +0000 (20:54 +0000)]
Merge "Fix wificiond scanner integration test"
am:
4cdf87972f
Change-Id: I4efaff07d22ac02f197e7778429d10af874a975a
Ningyuan Wang [Tue, 28 Feb 2017 20:50:47 +0000 (20:50 +0000)]
Merge "Fix wificiond scanner integration test"
Ningyuan Wang [Tue, 28 Feb 2017 02:29:54 +0000 (02:29 +0000)]
Merge "Revert "Temrorily disable mac address randomization"" am:
fd2bd4ab24
am:
7adf862531
Change-Id: I8e062e7a5657f881d9924610fd1129e147b43b04
Ningyuan Wang [Tue, 28 Feb 2017 02:27:23 +0000 (02:27 +0000)]
Merge "Revert "Temrorily disable mac address randomization""
am:
fd2bd4ab24
Change-Id: I01b594da595fb48e404a194929443ec604e5f957
Treehugger Robot [Tue, 28 Feb 2017 02:24:05 +0000 (02:24 +0000)]
Merge "Revert "Temrorily disable mac address randomization""
Ningyuan Wang [Mon, 27 Feb 2017 23:52:28 +0000 (15:52 -0800)]
Fix wificiond scanner integration test
This fixes the misuse of unique_ptr.
Bug: None
Change-Id: Ia10ff2e081256b3233b16436b5e3c99db2a5c4dc
Test: compile, unit tests, integration test
Ningyuan Wang [Tue, 28 Feb 2017 01:04:47 +0000 (01:04 +0000)]
Merge "Do not request MAC address randomization when associated" am:
cd9ee43fd7
am:
e1f203891c
Change-Id: I78ff39f9a356a9138e46b11cd38f5f12e0f98faa
Ningyuan Wang [Tue, 28 Feb 2017 01:02:48 +0000 (01:02 +0000)]
Merge "Do not request MAC address randomization when associated"
am:
cd9ee43fd7
Change-Id: Ib4a513637b54d2be0611ef26b11f12dc7c51e9fe
Treehugger Robot [Tue, 28 Feb 2017 00:59:01 +0000 (00:59 +0000)]
Merge "Do not request MAC address randomization when associated"
Ningyuan Wang [Mon, 27 Feb 2017 21:10:32 +0000 (13:10 -0800)]
Do not request MAC address randomization when associated
This CL includes the following changes:
1. Enables netlink manager to monitor NL80211_CMD_DISCONNECT and
NL80211_CMD_DISASSOCIATE events
2. Makes ClientInterfaceImpl listen to these additional MLME events.
3. Makes clientInterfaceImpl keep tracking of the association state.
4. Exposes the association state to ScannerImpl, and makes ScannerImpl
only request MAC address randomization when interface is not associated.
Bug:
35803146
Test: compile, unit tests, manual test
Change-Id: I7a5eeaf6329e1142a0012f27e0f72e6514ba7f94
Ningyuan Wang [Mon, 27 Feb 2017 23:19:44 +0000 (23:19 +0000)]
Revert "Temrorily disable mac address randomization"
This reverts commit
92ab3a7162786698c4309f13c497d91a0836f606.
Change-Id: I75346143aa8935857aad34695ce9bd0d9854199a
Ningyuan Wang [Mon, 27 Feb 2017 21:37:34 +0000 (21:37 +0000)]
Temrorily disable mac address randomization am:
92ab3a7162
am:
39794cb06f
Change-Id: If2f732c9b188faeeaff2710ce8d1ffc1769f229d
Ningyuan Wang [Mon, 27 Feb 2017 21:35:34 +0000 (21:35 +0000)]
Temrorily disable mac address randomization
am:
92ab3a7162
Change-Id: Ibbc41b3e3d8a5222ec4031d8bc94a893518613f8
Ningyuan Wang [Mon, 27 Feb 2017 19:31:08 +0000 (11:31 -0800)]
Temrorily disable mac address randomization
Bug:
35800644
Test: compile, unit tests
Change-Id: I2b44a4b2de64dea72ec09b0fa756bbaee88851de
Ningyuan Wang [Fri, 24 Feb 2017 22:51:55 +0000 (22:51 +0000)]
Get up-to-date channel info from kernel am:
0513378db6
am:
4d407554ac
Change-Id: I6ac8e4494f0216998dc83221da68a2f3cd59496b
Ningyuan Wang [Fri, 24 Feb 2017 22:49:25 +0000 (22:49 +0000)]
Get up-to-date channel info from kernel
am:
0513378db6
Change-Id: I7583ef18de5b39114fb23f927bac20ab247f75ea
Ningyuan Wang [Thu, 23 Feb 2017 22:35:24 +0000 (14:35 -0800)]
Get up-to-date channel info from kernel
Bug:
35707768
Test: compile, unit tests, integration test
Change-Id: Ifb0beb9321d632ec76df3d368c10e4531743e4c3
Ningyuan Wang [Fri, 24 Feb 2017 20:03:55 +0000 (20:03 +0000)]
Change some wificond aidl interfaces to oneway am:
4a4dfe51f4
am:
dc33a52de1
Change-Id: Iae0d7b2871f0568949747d9acc674133d11eb94b
Ningyuan Wang [Fri, 24 Feb 2017 20:01:24 +0000 (20:01 +0000)]
Change some wificond aidl interfaces to oneway
am:
4a4dfe51f4
Change-Id: I60513eedc3394ea675507fe18e6463c7b67b04a8
Ningyuan Wang [Fri, 24 Feb 2017 17:50:19 +0000 (09:50 -0800)]
Change some wificond aidl interfaces to oneway
Some interfaces does not require synchrounous behavior.
We can mark them as oneway.
Bug:
35726133
Change-Id: I7cc9ad5c27b812bc0105c8c52b1e8e25db9721e6
Test: compile, manual test
Ningyuan Wang [Thu, 23 Feb 2017 01:14:10 +0000 (01:14 +0000)]
Do not rely on the destructor of shared object ScannerImpl am:
8759e74833
am:
a765184b45
Change-Id: I5337324173ca5cc1dfcc268ae8060656f555a889
Ningyuan Wang [Thu, 23 Feb 2017 01:12:10 +0000 (01:12 +0000)]
Do not rely on the destructor of shared object ScannerImpl
am:
8759e74833
Change-Id: I86825da03b0926da0bac10f6f2cb5479dc5e1f4e
Ningyuan Wang [Thu, 23 Feb 2017 00:43:37 +0000 (00:43 +0000)]
More logging for wificond scanner am:
844d7c58aa
am:
c4398ada87
Change-Id: I7ccbda8cd4a3f410e46a490643c751d9e4abd330
Ningyuan Wang [Thu, 23 Feb 2017 00:41:01 +0000 (00:41 +0000)]
More logging for wificond scanner
am:
844d7c58aa
Change-Id: I5a112d8f3e77fc14a80e6154902ea4d6152bdd1e
Ningyuan Wang [Thu, 23 Feb 2017 00:26:11 +0000 (16:26 -0800)]
Do not rely on the destructor of shared object ScannerImpl
We should control the life time of these shared object instead
of relying on java garbage collection.
This will ensure the correct order to avoid race conditions.
Bug:
35664767
Change-Id: I415da1e70c93ceeb79b78c4ce9e833e86313c505
Test: compile, unit tests, manual tests
Ningyuan Wang [Wed, 22 Feb 2017 17:54:41 +0000 (09:54 -0800)]
More logging for wificond scanner
Bug:
35664772
Change-Id: I6b3bb4fc01e3c06dea246e3cd55c23f27d3a2195
Test: compile, manual test
Ningyuan Wang [Fri, 17 Feb 2017 02:26:42 +0000 (02:26 +0000)]
Merge "Wildcard ssid should be zero-length" am:
5a2e243cf3 am:
2604bf902e
am:
38aa836913
Change-Id: Ic54e972531e21179938b6f21c0204532ce65aa5f
Ningyuan Wang [Fri, 17 Feb 2017 02:20:00 +0000 (02:20 +0000)]
Merge "Wildcard ssid should be zero-length" am:
5a2e243cf3
am:
2604bf902e
Change-Id: I5994a07444d75839eccdaf66719c68d3d779fd5b
Ningyuan Wang [Fri, 17 Feb 2017 02:15:54 +0000 (02:15 +0000)]
Monitor regulatory domain change am:
495e5b35c9 am:
77d3ba4ddb
am:
1ba46f730f
Change-Id: Ib512e2b6110b08d79343b3b4a5c7833e5ba7b62f
Ningyuan Wang [Fri, 17 Feb 2017 02:15:29 +0000 (02:15 +0000)]
Merge "Wildcard ssid should be zero-length"
am:
5a2e243cf3
Change-Id: Ie919fba9f3db278e79c10baba33fbed30302c858
Ningyuan Wang [Fri, 17 Feb 2017 02:11:22 +0000 (02:11 +0000)]
Monitor regulatory domain change am:
495e5b35c9
am:
77d3ba4ddb
Change-Id: I7c58672d39b0a46159444bf2b9ee57636666a031
Treehugger Robot [Fri, 17 Feb 2017 02:09:00 +0000 (02:09 +0000)]
Merge "Wildcard ssid should be zero-length"
Ningyuan Wang [Fri, 17 Feb 2017 02:07:19 +0000 (02:07 +0000)]
Monitor regulatory domain change
am:
495e5b35c9
Change-Id: Iacb132b89520c5a1ecdcb1ec0d83623dd25d9f68
Ningyuan Wang [Fri, 17 Feb 2017 00:03:32 +0000 (16:03 -0800)]
Wildcard ssid should be zero-length
Bug:
35441881
Change-Id: I6a1a8683a57a0478330b9b05121cf99481013e3c
Test: compile, unit tests, manual tests
Ningyuan Wang [Fri, 2 Dec 2016 23:09:53 +0000 (15:09 -0800)]
Monitor regulatory domain change
This adds the function of regulatory domain change monitoring
on wificond.
This also allows wificond to print the supported bands/channels
upon regulatory domain change.
This also adds the corresponding unit tests.
Bug:
35150708
Test: compile, unit tests, manual tests
Change-Id: Idbcf9ebf25f4e7be3b371ec3531b6b52303476e8
Ningyuan Wang [Wed, 15 Feb 2017 02:04:48 +0000 (02:04 +0000)]
Merge "Skip scan result with invalid ssid" am:
b516002a75 am:
97d13f435d
am:
0876a27270
Change-Id: Ib5f927b9eb906f56c720438156d34f7544972c67
Ningyuan Wang [Wed, 15 Feb 2017 02:02:17 +0000 (02:02 +0000)]
Merge "Skip scan result with invalid ssid" am:
b516002a75
am:
97d13f435d
Change-Id: I6af77253454eade90467938758fb6e558e22f3e9
Ningyuan Wang [Wed, 15 Feb 2017 01:59:18 +0000 (01:59 +0000)]
Merge "Skip scan result with invalid ssid"
am:
b516002a75
Change-Id: Ic9a4cd963d33d022dc8d4d9033761e1a22037309
Ningyuan Wang [Wed, 15 Feb 2017 01:56:15 +0000 (01:56 +0000)]
Merge "Skip scan result with invalid ssid"
Ningyuan Wang [Tue, 14 Feb 2017 22:42:33 +0000 (22:42 +0000)]
Better logging for GetWiphyInfo() am:
384f74dea0 am:
9a83da9411
am:
b4e4ced22d
Change-Id: Ie0f25a14e169a9d0db7228d552b681bb0c23bc86
Ningyuan Wang [Tue, 14 Feb 2017 22:39:19 +0000 (22:39 +0000)]
Better logging for GetWiphyInfo() am:
384f74dea0
am:
9a83da9411
Change-Id: I0ea994dc6565ac380c5f9040b6c598df7affdedd
Ningyuan Wang [Tue, 14 Feb 2017 22:37:45 +0000 (22:37 +0000)]
Better logging for GetWiphyInfo()
am:
384f74dea0
Change-Id: Ib4b081c40a94312ed71d149893c040933ad59d84
Ningyuan Wang [Tue, 14 Feb 2017 18:27:59 +0000 (10:27 -0800)]
Skip scan result with invalid ssid
Bug:
35349025
Change-Id: I05c6d2f524c1b5e8ea5e3fd80443c7e7ff63ed44
Test: compile, unit tests, integration tests
Ningyuan Wang [Fri, 10 Feb 2017 02:08:40 +0000 (18:08 -0800)]
Better logging for GetWiphyInfo()
NL80211_ATTR_WIPHY_BANDS contains a list of anonymous attributes.
Each anonymous attribute represents a band.
NL80211_BAND_ATTR_FREQ is expected to be included in every anonymous
attribute to specifying supported channels for this band.
However, sometimes one of the anonymous attribute provided by kernel is
empty, where NL80211_BAND_ATTR_FREQ is not included. This always happens
on some type of devices. We should not log an error for this.
Bug:
35220903
Test: compile, unit tests, manual test
Change-Id: I0ef953266744713af627a17e7d10f04b937e0648
Ningyuan Wang [Thu, 9 Feb 2017 02:38:24 +0000 (02:38 +0000)]
Remove StartFullScan() am:
8f62fdd747 am:
e1cb995af5
am:
947368b24e
Change-Id: I793f89e86765f444c46d9a57a4a32fd42e3fac0f
Ningyuan Wang [Thu, 9 Feb 2017 02:33:54 +0000 (02:33 +0000)]
Remove StartFullScan() am:
8f62fdd747
am:
e1cb995af5
Change-Id: I9a6b4759c78be0bd28c43a5e228746136ce7c6dc
Ningyuan Wang [Thu, 9 Feb 2017 02:31:32 +0000 (02:31 +0000)]
Remove StartFullScan()
am:
8f62fdd747
Change-Id: I9522a915183c7fada157c7e778f606a2f7929041
Ningyuan Wang [Wed, 8 Feb 2017 18:43:30 +0000 (10:43 -0800)]
Remove StartFullScan()
Bug:
35103495
Change-Id: I2004de17898b5c8f59eea88679fe60e6cb57dc87
Test: compile, unit tests