669f080141913bf5fb616f445cb50c9518d9fc7c |
|
10-Sep-2015 |
Peter Qiu <zqiu@google.com> |
shill: remove dbus-c++ dependency Remove couple leftover dbus-c++ dependencies. While there, update the TaskProxy in shims/ to use dbus-c++ proxy headers generated from libshill-client. Remove shims/task_proxy from unittest, since it is not used by unittest and it depends on libshill-client. BUG=b:23587594 TEST=clean build of shill and debugd Change-Id: I6440ea5945c08809c08274df8d1ec6ee3ba401e0 Reviewed-on: https://chromium-review.googlesource.com/298701 Commit-Ready: Zeping Qiu <zqiu@chromium.org> Tested-by: Zeping Qiu <zqiu@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/wifi/wifi_service.h
|
c0beca55d290fe0b1c96d78cbbcf94b05c23f5a5 |
|
03-Sep-2015 |
Peter Qiu <zqiu@google.com> |
License shill to Apache2 This patch automatically replaced the license on all text files from Chromium OS (BSD style) to AOSP (Apache2), keeping the original year as a reference. The license header was added to .gyp and .gypi, the NOTICE was added with a copy of the Apache2 license and MODULE_LICENSE_* file was added. BUG=23587594 TEST=grep 'Chromium OS Authors' doesn't find anything. Change-Id: If41ede586c2465f5831fb7fee270ff41dbfdb596
/system/connectivity/shill/wifi/wifi_service.h
|
fc5236388674c3ae04255d98f5a3e93b789be185 |
|
14-Jul-2015 |
Peter Qiu <zqiu@chromium.org> |
shill: cleanup proxy interfaces for supplicant Remove dbus-c++ dependencies from supplicant proxy interfaces and the classes that uses supplicant proxy interfaces. Mainly the usage of dbus-c++ specific types: DBus::Path (replaced by std::string) and map<string, DBus::Variant> (replaced by KeyValueStore) types. Also update the proxy interface APIs to return boolean status instead of passing on the DBus exception errors. Ideally, we would like to return an error object back to the caller as well, but that would require a method to convert dbus errors to shill errors (additional errors to cover all possible DBus errors). And currently, those errors are used for logging purpose only (with an exception in RemoveNetwork), where it is already done inside the proxy APIs. BUG=chromium:570966 TEST=USE="asan clang" FEATURES=test emerge-$BOARD shill TEST=Run wifi_matfunc tests Change-Id: I227b5adc2306873480414db7d4e625bc1cc4f21b Reviewed-on: https://chromium-review.googlesource.com/285632 Trybot-Ready: Zeping Qiu <zqiu@chromium.org> Tested-by: Zeping Qiu <zqiu@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Zeping Qiu <zqiu@chromium.org>
/system/connectivity/shill/wifi/wifi_service.h
|
2b363903f38a515001c5edc7202403fcddb15a01 |
|
16-Jun-2015 |
Paul Stewart <pstew@chromium.org> |
shill: wifi: Switch pointer/ref spacing Switch to Chrome style spacing. BUG=chromium:501026 TEST=Unit tests Change-Id: Ieff88b00706ed7c57049531a21427d9ea84b0a71 Reviewed-on: https://chromium-review.googlesource.com/278081 Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/wifi/wifi_service.h
|
e20e8da79eb81ecf8cafd18b37bb40cbc8c84534 |
|
10-Apr-2015 |
Samuel Tan <samueltan@chromium.org> |
shill: add per-service roam threshold property Add a per-WiFi service |roam_threshold_db| property that can be read, written, and reset via DBus. The value of this property is used to set supplicant's roam threshold property when we connect to a WiFi service, and overrides the WiFi device-wide |roam_threshold_db| property if set. CQ-DEPEND=CL:265149 BUG=chromium:38681 TEST=Compile shill and run unit tests. Change-Id: I8cfd7a067ce7cc6f3d284b8ae5f1df6706c5c05d Reviewed-on: https://chromium-review.googlesource.com/265221 Reviewed-by: Samuel Tan <samueltan@chromium.org> Commit-Queue: Samuel Tan <samueltan@chromium.org> Tested-by: Samuel Tan <samueltan@chromium.org>
/system/connectivity/shill/wifi/wifi_service.h
|
a900f4a4b94d852e2a52a59f59ede4261d48ad80 |
|
19-Mar-2015 |
Peter Qiu <zqiu@chromium.org> |
shill: configure preferred device for wifi services When a system has multiple wifi devices, it is desirable to allow users to be able to configure wifi services to use specific wifi device for connecting. A new wifi service configuration parameter "WiFi.PreferredDevice" is added for this purpose. With multiple wifi devices, a wifi endpoint will be created/added for each BSS detected on each wifi device. So when a wifi service tries to select an endpoint to "use", it will select the endpoint with the best signal that's associated with the preferred device if one exist, otherwise the endpoint with the best signal overall. This endpoint selection is mainly for determining the device to use to connect to that service (meaning the device on which "ConnectTo()" is performed if the service is connected), and the estimate of the signal strength when connected. wpa_supplicant is in charge for deciding which endpoint to actually connect to. There will be no side effect if the specified device is not an enabled WiFi device. BUG=chromium:467027 TEST=USE="asan clang" emerge-$BOARD shill Manual Test: 1. Grab a ath9k device (wolf), and setup one additional wifi interface with: "iw phy phy0 interface add wlan1 type managed" 2. Change the MAC address of wlan1 to be different from wlan0: "ifconfig wlan1 hw ether [MAC]" then bring up the interface using "ifconfig wlan1 up" 3. Verify shill is managing wlan1 with: "/usr/local/lib/flimflam/test/list-devices 4. Configure the service with WiFi.PreferredDevice set using: "/usr/local/lib/flimflam/test/configure-service [ssid] ..." 5. Connect to the service using: "/usr/local/lib/flimflam/test/connect-service [ssid]" 6. Verify the device is connected to the service on the specified wifi interface. CQ-DEPEND=CL:261049 Change-Id: I55838515b6f154d069ab5d02ded46e2f6148840c Reviewed-on: https://chromium-review.googlesource.com/261210 Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Zeping Qiu <zqiu@chromium.org> Tested-by: Zeping Qiu <zqiu@chromium.org>
/system/connectivity/shill/wifi/wifi_service.h
|
6acd966cabe0d75e0d9ae3f84c727c9b44a899b3 |
|
30-Jan-2015 |
Yunlian Jiang <yunlian@google.com> |
shill: fix -Winconsistent-missing-override warning found by clang. This cleans up the warning '-Winconsistent-missing-override'. BUG=chromium:453588 TEST=USE='vpn wimax cellular' FEATURES="test" emerge-amd64-generic shill Change-Id: I39056b312f616eccc916bce7fb6ad8ab8ca6ca55 Reviewed-on: https://chromium-review.googlesource.com/244692 Reviewed-by: Ben Chan <benchan@chromium.org> Commit-Queue: Yunlian Jiang <yunlian@chromium.org> Tested-by: Yunlian Jiang <yunlian@chromium.org>
/system/connectivity/shill/wifi/wifi_service.h
|
7116093da00d83a9b2a2200e5501fe138cbdd11e |
|
12-Dec-2014 |
mukesh agrawal <quiche@chromium.org> |
shill: allow configuring wifi services with kSecurityClassProperty We want Chrome to use kSecurityClassProperty, instead of kSecurityProperty. To do so cleanly, Chrome needs to be able to configure WiFi networks using the kSecurityClassProperty. So update shill to support that. While there: fix a buglet in WiFiService::SetPassphrase. (It was logging the pointer to the error, rather than the error's message.) BUG=chromium:441904 TEST=unit tests Change-Id: I26957dbb7610381372044e3178a37b7b074764af Reviewed-on: https://chromium-review.googlesource.com/235451 Tested-by: mukesh agrawal <quiche@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: mukesh agrawal <quiche@chromium.org>
/system/connectivity/shill/wifi/wifi_service.h
|
d6a8b519e3057f52313e502f502a4819a942e089 |
|
18-Nov-2014 |
Ben Chan <benchan@chromium.org> |
shill: wifi: Move wifi code to its own sub-directory. This CL is part of a series of CLs, which aim to reorganzie shill's flat source code structure into a more modular form by moving technology specific code into their own sub-directories. BUG=chromium:433419 TEST=`FEATURES=test emerge-$BOARD shill` TEST=`USE='clang asan' FEATURES=test emerge-$BOARD shill` Change-Id: Ic6bf64e7fe263fd0b2277877d78cf776f179e7d7 Reviewed-on: https://chromium-review.googlesource.com/230460 Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Ben Chan <benchan@chromium.org> Commit-Queue: Ben Chan <benchan@chromium.org>
/system/connectivity/shill/wifi/wifi_service.h
|