OSDN Git Service
Ningyuan Wang [Mon, 5 Dec 2016 20:12:13 +0000 (20:12 +0000)]
Expose wiphy capabilities to ScannerImpl am:
2c74cae9b5
am:
b88bfc01a0
Change-Id: I6c4579f13a8d81836b7b5b70ad8c6bc34d4a5edd
Ningyuan Wang [Mon, 5 Dec 2016 20:09:12 +0000 (20:09 +0000)]
Expose wiphy capabilities to ScannerImpl
am:
2c74cae9b5
Change-Id: I46a389483f8b6ca23c58712a0793c7449146fa1b
Ningyuan Wang [Mon, 5 Dec 2016 18:10:28 +0000 (18:10 +0000)]
Add parcelable class SingleScanSettings am:
3afd158172
am:
20e92091de
Change-Id: I5fd131b934172c9026667c583cb60b53978e782c
Ningyuan Wang [Mon, 5 Dec 2016 18:10:27 +0000 (18:10 +0000)]
Add parcelable class HiddenNetwork am:
941064744e
am:
807394d810
Change-Id: I70c0b650dc35deac5027da209942b6c40540759f
Ningyuan Wang [Mon, 5 Dec 2016 18:10:26 +0000 (18:10 +0000)]
Add parcelable class ChannelSettings am:
cbdd2d05eb
am:
7f215cd055
Change-Id: I4efbe7ba25942a90b4cbc680e192038139dfc46a
Ningyuan Wang [Mon, 5 Dec 2016 18:10:25 +0000 (18:10 +0000)]
Create parcelable_utils.h for helper macros am:
fa1a494f56
am:
69f31e6feb
Change-Id: I8faee6df8bfae9326c1ff4ff34e457f321305d4a
Ningyuan Wang [Mon, 5 Dec 2016 18:08:27 +0000 (18:08 +0000)]
Add parcelable class SingleScanSettings
am:
3afd158172
Change-Id: I4a2f9f8a1d4057fd10cd1c1f5967998375c5f8b0
Ningyuan Wang [Mon, 5 Dec 2016 18:08:26 +0000 (18:08 +0000)]
Add parcelable class HiddenNetwork
am:
941064744e
Change-Id: Ie3b8ca5d5d7c71ebc0df37b77fcfe1cce8b62692
Ningyuan Wang [Mon, 5 Dec 2016 18:08:25 +0000 (18:08 +0000)]
Add parcelable class ChannelSettings
am:
cbdd2d05eb
Change-Id: I5d43185b985779d4e88c6e9ba2d76581a122cdd5
Ningyuan Wang [Mon, 5 Dec 2016 18:08:24 +0000 (18:08 +0000)]
Create parcelable_utils.h for helper macros
am:
fa1a494f56
Change-Id: I593cbdd1033f0be4966bbd79deab7682f5ce7e72
Ningyuan Wang [Tue, 29 Nov 2016 23:50:14 +0000 (15:50 -0800)]
Expose wiphy capabilities to ScannerImpl
This adds a struct WiphyFeatures to save wiphy feature flags
from netlink wiphy message. Currently we only add fields for
randomized mac address support.
This also allows ClientInterfaceImpl to expose channel info, scan
capabilities and wiphy features to ScannerImpl object.
Bug:
33216906
Test: compile, unit tests, manual test
Change-Id: Iac9355e45a3cf2011120fc6a91ccfb2dee434951
Ningyuan Wang [Wed, 30 Nov 2016 23:59:50 +0000 (15:59 -0800)]
Add parcelable class SingleScanSettings
This adds parcelable class SingleScanSettings on wificond side.
Class SingleScanSettings is going to be used for Java framework
to send single scan requests.
This also adds the corresponding unit tests.
Bug:
33011588
Change-Id: I071edfca5680ef39b8fa1998ecf14f33ccafe207
Test: compile, unit test
Ningyuan Wang [Wed, 30 Nov 2016 23:48:41 +0000 (15:48 -0800)]
Add parcelable class HiddenNetwork
This adds parcelable class HiddenNetwork on wificond side.
Class HiddenNetwork is going to be used for Java framework
to send scan requests. We only add field SSID for now.
This also adds the corresponding unit tests.
Bug:
33011588
Test: compile, unit test
Change-Id: Ia55a409bb815e40264333da7fa71ca32d450af61
Ningyuan Wang [Wed, 30 Nov 2016 23:31:12 +0000 (15:31 -0800)]
Add parcelable class ChannelSettings
This adds parcelable class ChannelSettings on wificond side.
Class ChannelSettings is going to be used for Java framework
to send scan requests. We only add field frequency for single
scan implementaion. We will add more fields to support batched
scan in later CLs.
This also adds the corresponding unit tests.
Bug:
33011588
Test: compile, unit tests
Change-Id: I6ddb6ed2c7958256ea6d4492fc763d05fa8ea89c
Ningyuan Wang [Wed, 30 Nov 2016 23:20:04 +0000 (15:20 -0800)]
Create parcelable_utils.h for helper macros
This creates a new file parceable_utils.h for helper macros used in
C++ binder parcelable classes.
Currently this only includes macro RETURN_IF_FAILED.
Bug: None
Change-Id: I02b1e7feecb9c3879961f1bf6ac50458332c1a91
Test: compile, unit tests
Ningyuan Wang [Wed, 23 Nov 2016 20:28:55 +0000 (20:28 +0000)]
Add WifiScannerImpl object stub implementation am:
c2b0dce5c3
am:
4ea09fe5db
Change-Id: I2c8e19c227d8a11685921ee99e0cf989e43509c5
Ningyuan Wang [Wed, 23 Nov 2016 20:25:55 +0000 (20:25 +0000)]
Add WifiScannerImpl object stub implementation
am:
c2b0dce5c3
Change-Id: I015538b9c792c0c00b4f0fd193b5a9801fafaed2
Ningyuan Wang [Fri, 18 Nov 2016 01:54:02 +0000 (17:54 -0800)]
Add WifiScannerImpl object stub implementation
This includes:
1. Add getWifiScannerImpl() to IClientInterface. This call will
return an IWifiScannerImpl object.
2. Remove scanning result listening functionalities out of the
ClientInterface class. These functionalities will be added back
to ScannerImpl class later.
Bug:
31115360
Test: compile, unit tests, integration tests
Change-Id: Ie4ffcbe0d63b2db61e66093df2dda26493e2cd77
Ningyuan Wang [Fri, 11 Nov 2016 23:28:12 +0000 (23:28 +0000)]
wificond: return association frequency upon signal poll am:
903b9d029c
am:
8ec1f15339
Change-Id: I8fe0ecee3a6e98c25c71f53e26bce7d5ecfbc043
Ningyuan Wang [Fri, 11 Nov 2016 23:21:45 +0000 (23:21 +0000)]
wificond: return association frequency upon signal poll
am:
903b9d029c
Change-Id: Idc7b44f8392c404ca4fc72fd2685d85281500c0c
Ningyuan Wang [Fri, 11 Nov 2016 19:17:54 +0000 (11:17 -0800)]
wificond: return association frequency upon signal poll
This allows wificond to return a cached frequency upon signal poll.
This frequency is updated upon MLME events.
Bug:
31595463
Test: compile, manual test
Change-Id: Iae82a8143ee87c44bade1c376a55025fae61f490
Ningyuan Wang [Fri, 11 Nov 2016 19:07:26 +0000 (19:07 +0000)]
Make wificond scan result parcelable am:
4d882abea2
am:
a12f2a4ae4
Change-Id: I002d1d88fefa6d9132ecce4a64c58a2e0a8bc40a
Ningyuan Wang [Fri, 11 Nov 2016 19:00:57 +0000 (19:00 +0000)]
Make wificond scan result parcelable
am:
4d882abea2
Change-Id: I8dbacd014ba5a596f074f5a649ea92f3e194125f
Ningyuan Wang [Fri, 30 Sep 2016 22:55:25 +0000 (15:55 -0700)]
Make wificond scan result parcelable
This includes the following changes:
1. Make ScanResult a parcelable class.
2. Move ScanResult to namespace com.android.server.wifi.wificond
3. Rename ScanResult to NativeScanResult to avoid naming confliction.
4. Add unit test for NativeScanResult class.
Test: compile, unittests, manual test
Bug:
30746278
Change-Id: Ic1225ff52149fcd00855f9c7aa78c48485b0a08b
Ningyuan Wang [Tue, 25 Oct 2016 22:43:11 +0000 (22:43 +0000)]
Use AP bssid for NL80211_CMD_GET_STATION command am:
4aab829f78
am:
17d749156a
Change-Id: I67dec859cfb4bdaa2e3fcfc2b3136c1f986f024e
Ningyuan Wang [Tue, 25 Oct 2016 22:43:02 +0000 (22:43 +0000)]
Monitor mlme event for wificond am:
042736e71a
am:
74cdd6125e
Change-Id: Ie687a91177be3d3f64c27fbfc493b1a9fdaf2217
Ningyuan Wang [Tue, 25 Oct 2016 22:39:11 +0000 (22:39 +0000)]
Use AP bssid for NL80211_CMD_GET_STATION command
am:
4aab829f78
Change-Id: I61913f315166a4031535bedd6479774915df16e3
Ningyuan Wang [Tue, 25 Oct 2016 22:39:01 +0000 (22:39 +0000)]
Monitor mlme event for wificond
am:
042736e71a
Change-Id: I287bd9bf0bed87379fbbb579b133242f3621adb3
Ningyuan Wang [Tue, 18 Oct 2016 17:13:20 +0000 (10:13 -0700)]
Use AP bssid for NL80211_CMD_GET_STATION command
Bug:
32095105
Change-Id: Ic048e3f96a325599001100473948c0e5a3736b2d
Test: compile, runttests.sh
Ningyuan Wang [Wed, 5 Oct 2016 21:25:22 +0000 (14:25 -0700)]
Monitor mlme event for wificond
1. This allows NetlinkManager to monitor MLME events.
2. This adds internal API for tracking MLME events.
3. This creates classes representing different MLME events.
4. ClientInterfaceImpl will update frequency and bssid upon
ASSOCIATE/CONNECT/ROAM events.
Bug:
31961586
Test: compile, manual tests
Change-Id: I1bd62dfa85596fd262709038fb73fc6e0ff9c5f3
Ningyuan Wang [Thu, 20 Oct 2016 20:08:02 +0000 (20:08 +0000)]
Add RTTController and corresponding aidl interface to wificond am:
eb59d4dd54
am:
17a098894a
Change-Id: I091bf17e6228abb1bc1d75b60652642a3e6b3ed6
Ningyuan Wang [Thu, 20 Oct 2016 19:59:32 +0000 (19:59 +0000)]
Add RTTController and corresponding aidl interface to wificond
am:
eb59d4dd54
Change-Id: I299e49d7159fb3a61baa0485666626626ee9c030
Ningyuan Wang [Mon, 10 Oct 2016 18:16:59 +0000 (11:16 -0700)]
Add RTTController and corresponding aidl interface to wificond
This add RttController interface as a lazy initialization object.
User can get an instance of RttController while register a RttClient
through wificond.
Currently HAL RttController has an optional parameter for choosing
on which network interface will RTT run. However, in order to
hide interface concept from RTT framework as well as keep simplicity,
we don't expose this interface choice via aidl to framework for now.
Bug:
31756849
Test: compile
Change-Id: I2a13374254fd8c6bd7911e5cfbe3297cde25e9e7
Ningyuan Wang [Mon, 17 Oct 2016 21:17:46 +0000 (21:17 +0000)]
Merge "Add internal API for handling scheduled scan results" am:
57e0bf7dd5
am:
3d3a97c829
Change-Id: Ib6faf0036ab7a0a2f19947fbcb256bb7d1b25f35
Ningyuan Wang [Mon, 17 Oct 2016 21:11:16 +0000 (21:11 +0000)]
Merge "Add internal API for handling scheduled scan results"
am:
57e0bf7dd5
Change-Id: I6312a3669bd8442739fd096f9f46eb3da1a2445f
Treehugger Robot [Mon, 17 Oct 2016 21:04:52 +0000 (21:04 +0000)]
Merge "Add internal API for handling scheduled scan results"
Ningyuan Wang [Mon, 17 Oct 2016 17:18:30 +0000 (17:18 +0000)]
Merge "Stop system_server for wificond integration test DevMode" am:
c64f5270cd
am:
a7ab4ce5f4
Change-Id: Id5578f1e8853b34a3a5a186ee8d9ab3e41636ba9
Ningyuan Wang [Mon, 17 Oct 2016 17:12:00 +0000 (17:12 +0000)]
Merge "Stop system_server for wificond integration test DevMode"
am:
c64f5270cd
Change-Id: Id70109a2563450e5e5f7c558fe7c5e164636cd28
Ningyuan Wang [Thu, 29 Sep 2016 23:41:22 +0000 (16:41 -0700)]
Add internal API for handling scheduled scan results
This allows an interface object to subscribe/unsubscribe
schedulded scan results.
Bug:
31839487
Test: compile, manual tests, unit tests
Change-Id: I023fe9ca1546148bdab2ef1458934efbcdee4e76
Treehugger Robot [Mon, 17 Oct 2016 17:01:37 +0000 (17:01 +0000)]
Merge "Stop system_server for wificond integration test DevMode"
Ningyuan Wang [Wed, 12 Oct 2016 01:52:48 +0000 (18:52 -0700)]
Stop system_server for wificond integration test DevMode
For integration tests, now we use "adb shell stop" to get rid of
framework control, instead of starting wificond service with a
new name.
Bug:
32097569
Test: comipile, integration test
Change-Id: I725e33e05052fd813f1f7f8c92b7ed1d75c8e187
Ningyuan Wang [Wed, 12 Oct 2016 02:38:08 +0000 (02:38 +0000)]
Fix misleading wificond NL80211 logging messages am:
e779ee36c4 am:
02f9c4a17a
am:
b83eecfb65
Change-Id: I0b57c709dd7438ec78ad333249b22a23d10b272b
Ningyuan Wang [Wed, 12 Oct 2016 02:33:17 +0000 (02:33 +0000)]
Fix misleading wificond NL80211 logging messages am:
e779ee36c4
am:
02f9c4a17a
Change-Id: I5db8a1e259ef37de226d71603c06850afb434233
Ningyuan Wang [Wed, 12 Oct 2016 02:24:20 +0000 (02:24 +0000)]
Fix misleading wificond NL80211 logging messages
am:
e779ee36c4
Change-Id: I91874b732813792c2db7dcffb91b09b34b9c2292
Ningyuan Wang [Tue, 11 Oct 2016 22:33:58 +0000 (15:33 -0700)]
Fix misleading wificond NL80211 logging messages
Some of them are typos, some of them are just misleading.
For example SendMessageAndGetSingleResponse() failure may result
from either sending failure or invalid response.
It is less confusing to simply point out that a specific NL80211
command failed.
Bug: None
Change-Id: I195653c99f9b914959e880b79daa3352a414455b
Test: Compile
Ningyuan Wang [Mon, 10 Oct 2016 17:17:58 +0000 (17:17 +0000)]
Add ANQP query binder interface to wificond am:
e5d0d670dc am:
838b2eec21
am:
76453f6fda
Change-Id: Id6155f33b22838d0ba00b7ffcf51b5b8e3ad2d8e
Ningyuan Wang [Mon, 10 Oct 2016 17:12:25 +0000 (17:12 +0000)]
Add ANQP query binder interface to wificond am:
e5d0d670dc
am:
838b2eec21
Change-Id: I4807b0fcf8a67951d8c89637334345bcc40c185d
Ningyuan Wang [Mon, 10 Oct 2016 17:07:30 +0000 (17:07 +0000)]
Add ANQP query binder interface to wificond
am:
e5d0d670dc
Change-Id: I1ba3217a87cb83495cf89a23ddbbd22ed7dfef82
Ningyuan Wang [Thu, 29 Sep 2016 18:13:45 +0000 (11:13 -0700)]
Add ANQP query binder interface to wificond
Bug:
31813700
Test: compile
Change-Id: I6d049a7e367f59ae71f52d24df70e3b038932ee2
Christopher Wiley [Tue, 27 Sep 2016 23:04:43 +0000 (23:04 +0000)]
Merge "Always set interface down in object destruction" am:
c022e6399a am:
5f39189a56
am:
39bb199c16
Change-Id: Ib2acda371172df89475d87c1deb9b3ce2e558f81
Christopher Wiley [Tue, 27 Sep 2016 23:00:02 +0000 (23:00 +0000)]
Merge "Always set interface down in object destruction" am:
c022e6399a
am:
5f39189a56
Change-Id: Ibc30ee18a3805569641a2f6b8c5b9a979a12ef67
Christopher Wiley [Tue, 27 Sep 2016 22:57:02 +0000 (22:57 +0000)]
Merge "Always set interface down in object destruction"
am:
c022e6399a
Change-Id: Ia9130ceb14aefe64da84c6caf1c1b7b570035e66
Treehugger Robot [Tue, 27 Sep 2016 22:54:20 +0000 (22:54 +0000)]
Merge "Always set interface down in object destruction"
Ningyuan Wang [Tue, 27 Sep 2016 00:11:21 +0000 (00:11 +0000)]
Merge "Fix bssid printing in ScanResult::DebugLog()" am:
8ed87986dc am:
1b6b972487
am:
2c003fb4da
Change-Id: I6ed04d16bee4106b09f2eeb9355cd32e2d02ee27
Christopher Wiley [Tue, 27 Sep 2016 00:11:12 +0000 (00:11 +0000)]
Merge "Add AIDL method to retrieve network interface name" am:
ced07e8491 am:
dc4ff8114c
am:
9367bb50ed
Change-Id: If20141b365931d7a140e92655c3b10626930b28f
Ningyuan Wang [Mon, 26 Sep 2016 23:54:34 +0000 (23:54 +0000)]
Merge "Fix bssid printing in ScanResult::DebugLog()" am:
8ed87986dc
am:
1b6b972487
Change-Id: I8ef72079a2fb1fd3457304653c1a39e5567e39f5
Ningyuan Wang [Mon, 26 Sep 2016 23:52:33 +0000 (23:52 +0000)]
Merge "Fix bssid printing in ScanResult::DebugLog()"
am:
8ed87986dc
Change-Id: Ic774a8babfc417c04e06c60126e6385a6a055e6d
Treehugger Robot [Mon, 26 Sep 2016 23:29:23 +0000 (23:29 +0000)]
Merge "Fix bssid printing in ScanResult::DebugLog()"
Christopher Wiley [Mon, 26 Sep 2016 22:58:18 +0000 (22:58 +0000)]
Merge "Add AIDL method to retrieve network interface name" am:
ced07e8491
am:
dc4ff8114c
Change-Id: I5122a025a958124cc2452293a9f83f8913f9f9b8
Christopher Wiley [Mon, 26 Sep 2016 22:53:19 +0000 (22:53 +0000)]
Merge "Add AIDL method to retrieve network interface name"
am:
ced07e8491
Change-Id: I9f5f9bad8e9aa616e273a322d0d285b185ab3dd1
Christopher Wiley [Thu, 22 Sep 2016 15:57:40 +0000 (08:57 -0700)]
Always set interface down in object destruction
We would like to reason about our interfaces as being up
when they are configured and ready for use, and down otherwise.
This helps when switching modes. For example, when setting up a SoftAP,
you can expect that the interface starts in a down state, and
transitions to up when hostapd is ready for business. Note that we
cannot do this after firmware reload, because this may cause driver
de-initialization (see c#6 in b/
31205821).
Bug:
31337216
Test: Integration tests pass
Change-Id: I03a71ea623e29ef9b023d97afc81cf836ebfb1ff
Treehugger Robot [Mon, 26 Sep 2016 22:44:09 +0000 (22:44 +0000)]
Merge "Add AIDL method to retrieve network interface name"
Christopher Wiley [Mon, 26 Sep 2016 17:21:16 +0000 (10:21 -0700)]
Add AIDL method to retrieve network interface name
This is necessary to watch for interface up/down events
in SoftApManager.
Bug:
31337216
Test: unit/integration tests pass
Test: upcoming integration tests use this method
Change-Id: I7d246b83058bd3d68970f3f72eeeb834d7dba309
Ningyuan Wang [Mon, 26 Sep 2016 16:26:39 +0000 (16:26 +0000)]
Wrap NLMSG_ERROR handling into |SendMessageAndGetSingleResponse| am:
f4bed1cc39 am:
bf1b67e210
am:
aa21192384
Change-Id: I44512968b49deeebe915125174a3b71b26a5ddde
Ningyuan Wang [Mon, 26 Sep 2016 16:24:31 +0000 (16:24 +0000)]
Wrap NLMSG_ERROR handling into |SendMessageAndGetSingleResponse| am:
f4bed1cc39
am:
bf1b67e210
Change-Id: Ibac15f0c21deae2f99ce4ec7d5e514a987759ee3
Ningyuan Wang [Mon, 26 Sep 2016 16:22:10 +0000 (16:22 +0000)]
Wrap NLMSG_ERROR handling into |SendMessageAndGetSingleResponse|
am:
f4bed1cc39
Change-Id: I65bcd96370b84443d2e37b55d77fda41d251fbaa
Ningyuan Wang [Thu, 22 Sep 2016 22:07:11 +0000 (15:07 -0700)]
Fix bssid printing in ScanResult::DebugLog()
Bug: None
Change-Id: I9ae90c2ed56c08af88cd6d246a51c40591e0a010
Test: compile, manual tests
Ningyuan Wang [Tue, 20 Sep 2016 20:37:10 +0000 (13:37 -0700)]
Wrap NLMSG_ERROR handling into |SendMessageAndGetSingleResponse|
This also fixes a typo.
Bug:
31111084
Test: compile, unit tests, manual tests
Change-Id: I802487deedc219a6ad1ed78ea1a6b94e876e4d67
Ningyuan Wang [Wed, 21 Sep 2016 15:08:03 +0000 (15:08 +0000)]
Merge "Support signal poll for wificond" am:
5abb163c9f am:
a3fa0eb48e
am:
ac42b7edc6
Change-Id: I427282dcc762a609836e3a090bcf66d9607a4b69
Ningyuan Wang [Wed, 21 Sep 2016 15:05:01 +0000 (15:05 +0000)]
Merge "Support signal poll for wificond" am:
5abb163c9f
am:
a3fa0eb48e
Change-Id: Icb4b9797e64a215cb52e007a6c17b18ac65fa27d
Ningyuan Wang [Wed, 21 Sep 2016 15:02:31 +0000 (15:02 +0000)]
Merge "Support signal poll for wificond"
am:
5abb163c9f
Change-Id: I13bd13802a8b13a01a27d82dfe191755b232e4f5
Ningyuan Wang [Wed, 21 Sep 2016 14:54:37 +0000 (14:54 +0000)]
Merge "Support signal poll for wificond"
Josh Gao [Wed, 21 Sep 2016 01:12:47 +0000 (01:12 +0000)]
Merge "Rename base::unique_fd::clear to base::unique_fd::reset." am:
ef84b9296e am:
d147a5b683
am:
5f9bf03b34
Change-Id: I8a2a22ec177eac2e7a94d054538d6d4eb2be70e4
Josh Gao [Wed, 21 Sep 2016 01:10:15 +0000 (01:10 +0000)]
Merge "Rename base::unique_fd::clear to base::unique_fd::reset." am:
ef84b9296e
am:
d147a5b683
Change-Id: I8549f63fc0e6bd371d6edb58756c22a695f63c57
Josh Gao [Wed, 21 Sep 2016 01:07:32 +0000 (01:07 +0000)]
Merge "Rename base::unique_fd::clear to base::unique_fd::reset."
am:
ef84b9296e
Change-Id: I2ccda2b5861fd7a2801ba9eb81e966cbcfcd4666
Josh Gao [Wed, 21 Sep 2016 01:03:06 +0000 (01:03 +0000)]
Merge "Rename base::unique_fd::clear to base::unique_fd::reset."
Ningyuan Wang [Tue, 20 Sep 2016 22:09:15 +0000 (22:09 +0000)]
Add getMacAddress() to wificond binder interface am:
cc77f636f4 am:
e393743f4e
am:
3d19526ce7
Change-Id: Iffcdacd4eb10a8747942c988461be0bc29061132
Ningyuan Wang [Tue, 20 Sep 2016 22:09:04 +0000 (22:09 +0000)]
Merge "Add bool field |associated| to ScanResult class" am:
12bfcf9bb3 am:
ad0f6f4be6
am:
1f28239e29
Change-Id: I4124843257cae8eb0f8f9141022523c3e5c7d8fc
Ningyuan Wang [Tue, 20 Sep 2016 22:08:53 +0000 (22:08 +0000)]
Notify scan aborted events am:
c9566b1dc5 am:
bba5bcde7b
am:
d01a60efa5
Change-Id: I9433172d9dfd471923c2c3bfb14eba3412a6859f
Ningyuan Wang [Tue, 20 Sep 2016 21:50:58 +0000 (21:50 +0000)]
Add getMacAddress() to wificond binder interface am:
cc77f636f4
am:
e393743f4e
Change-Id: I5a089505d7a65a5d7afeb990f8f171f0cbb0a6ce
Ningyuan Wang [Tue, 20 Sep 2016 21:50:48 +0000 (21:50 +0000)]
Merge "Add bool field |associated| to ScanResult class" am:
12bfcf9bb3
am:
ad0f6f4be6
Change-Id: I060544402dc5d51db671c3bf8ab9c0b330bcd645
Ningyuan Wang [Tue, 20 Sep 2016 21:50:37 +0000 (21:50 +0000)]
Notify scan aborted events am:
c9566b1dc5
am:
bba5bcde7b
Change-Id: Ib2497a4acaa6fb1e111a4e4e36ca535289e9e388
Ningyuan Wang [Tue, 20 Sep 2016 21:45:31 +0000 (21:45 +0000)]
Add getMacAddress() to wificond binder interface
am:
cc77f636f4
Change-Id: Id109422dd756fae49b281dbf8ee17e12eed2eefe
Ningyuan Wang [Tue, 20 Sep 2016 21:45:21 +0000 (21:45 +0000)]
Merge "Add bool field |associated| to ScanResult class"
am:
12bfcf9bb3
Change-Id: Ide8cc70e6ae8ec7df31cfd27719633c810d09ee9
Ningyuan Wang [Tue, 20 Sep 2016 21:45:06 +0000 (21:45 +0000)]
Notify scan aborted events
am:
c9566b1dc5
Change-Id: I4e9340e637b529edcd38d86f14743c8f928a9db9
Josh Gao [Tue, 20 Sep 2016 21:44:02 +0000 (14:44 -0700)]
Rename base::unique_fd::clear to base::unique_fd::reset.
Change-Id: Ie9e55628cb7baa062325c55af37732aedcebf244
Test: TreeHugger
Ningyuan Wang [Fri, 16 Sep 2016 22:39:41 +0000 (15:39 -0700)]
Support signal poll for wificond
This adds the NL80211 implementation as well as the binder interface for
signal polling function.
In order to accommodate the existing usage of java framework, this also
returns the parameter link speed(transmission rate in Mbps).
Bug:
30978872
Test: compile, manual tests
Change-Id: I69ca8e0e2dbe52f57f1a5ad19b2cacc940f2a91a
Ningyuan Wang [Wed, 14 Sep 2016 20:47:38 +0000 (13:47 -0700)]
Add getMacAddress() to wificond binder interface
Bug:
31042306
Test: compile, integration test
Change-Id: Ic8b510aa761b4e79bf903f2d90af680b7cb5ca24
Treehugger Robot [Tue, 20 Sep 2016 21:28:08 +0000 (21:28 +0000)]
Merge "Add bool field |associated| to ScanResult class"
Ningyuan Wang [Tue, 20 Sep 2016 18:00:11 +0000 (11:00 -0700)]
Notify scan aborted events
Bug:
31495091
Test: compile, manual tests
Change-Id: I94c50f44449bd1f0c7c445775434a34d5ca7390a
Ningyuan Wang [Tue, 20 Sep 2016 17:41:30 +0000 (10:41 -0700)]
Add bool field |associated| to ScanResult class
Once we have the knowledge if this BSS is associated or not,
we can update our local cache of connection frequency.
wificond can provide this cached frequency upon polling instead of
sending a costly NL80211_CMD_GET_SURVEY message.
Bug:
31595463
Test: compile, manual test
Change-Id: Ic0188a82da4643e9a9c3c6751b5863b1797a732e
Ningyuan Wang [Mon, 19 Sep 2016 17:42:56 +0000 (17:42 +0000)]
Support fetching packet counters for wificond am:
a12253e46c am:
b04e955e16
am:
e639025818
Change-Id: If89a26d270a7c0ae9ca5f38294060acd9815b227
Ningyuan Wang [Mon, 19 Sep 2016 17:39:55 +0000 (17:39 +0000)]
Support fetching packet counters for wificond am:
a12253e46c
am:
b04e955e16
Change-Id: I315610705b2d62093642a20e00abaebd82cfa1c6
Ningyuan Wang [Mon, 19 Sep 2016 17:36:54 +0000 (17:36 +0000)]
Support fetching packet counters for wificond
am:
a12253e46c
Change-Id: Ibd67b45d41da194bbb4b160872fbfb80c246ea7e
Ningyuan Wang [Thu, 15 Sep 2016 17:53:07 +0000 (10:53 -0700)]
Support fetching packet counters for wificond
BUG=
30978872
TEST=compile, manual tests
Change-Id: Ifa0dd9ce794a1cdb6da7e357d6873992091e3ea0
Ningyuan Wang [Fri, 16 Sep 2016 00:04:04 +0000 (00:04 +0000)]
Merge "Add 'get interfaces' to wificond Binder interface." am:
4e7a07d580 am:
b2de52e555
am:
a8d7ebb212
Change-Id: Ia3c6c9e0c0cee802440daa2b6529b9ab7f3eba62
Ningyuan Wang [Fri, 16 Sep 2016 00:01:04 +0000 (00:01 +0000)]
Merge "Add 'get interfaces' to wificond Binder interface." am:
4e7a07d580
am:
b2de52e555
Change-Id: I1d65e76f60c5b8802a6cc335aa600bc1f0dd00c2
Ningyuan Wang [Thu, 15 Sep 2016 23:59:03 +0000 (23:59 +0000)]
Merge "Add 'get interfaces' to wificond Binder interface."
am:
4e7a07d580
Change-Id: Ifcff8af9880f5f2761777ad7fbda38d3c2ef637a
Ningyuan Wang [Thu, 15 Sep 2016 23:56:03 +0000 (23:56 +0000)]
Merge "Handle 0 nla_len for DebugLog()" am:
96b5919172 am:
5c20508090
am:
8c195fdf08
Change-Id: I99d81f7bccfa954c1aee3cf6a9abe475d562cef8
Treehugger Robot [Thu, 15 Sep 2016 23:55:09 +0000 (23:55 +0000)]
Merge "Add 'get interfaces' to wificond Binder interface."