History log of /system/connectivity/shill/ethernet/ethernet.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/ethernet/ethernet.h
608ec29525f553d51f0a92e84176e3d4b45930a9 31-Jul-2015 Peter Qiu <zqiu@chromium.org> shill: use ControlInterface to create proxy objects

So that appropriate proxy objects can be created based on the type of
the control interface.

While there, remove ProxyFactory related files.

BUG=chromium:513791
TEST=USE="asan clang cellular wimax dhcpv6" FEATURES=test emerge-$BOARD shill

Change-Id: I465b0807ab4ccacac3891638db41384f43ef83c5
Reviewed-on: https://chromium-review.googlesource.com/289855
Reviewed-by: Zeping Qiu <zqiu@chromium.org>
Commit-Queue: Zeping Qiu <zqiu@chromium.org>
Tested-by: Zeping Qiu <zqiu@chromium.org>
/system/connectivity/shill/ethernet/ethernet.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/ethernet/ethernet.h
7e779d87abbba4d9e50ef28513a27c7bbd5cd550 16-Jun-2015 Paul Stewart <pstew@chromium.org> shill: ethernet: Switch pointer/ref spacing

Switch to Chrome style spacing.

BUG=chromium:501026
TEST=Unit tests

Change-Id: I2477041b9267ca58c94cfc15749be6bc2c992655
Reviewed-on: https://chromium-review.googlesource.com/278074
Reviewed-by: Rebecca Silberstein <silberst@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/ethernet/ethernet.h
1a72f5444e077ed21b8e085b17d7f9f1bc44fa5e 15-Apr-2015 Peter Qiu <zqiu@chromium.org> shill: compiler option support for wifi and wired 802.1x

This allows shill to be compiled without wifi and wired 802.1x independently.
The supplicant related code will not be compiled when both wifi and wired
802.1x compiler option are disabled.

BUG=chromium:475665
TEST=USE="asan clang -wifi" FEATURES=test emerge-$BOARD shill
USE="asan clang -wired_8021x" FEATURES=test emerge-$BOARD shill
USE="asan clang -wifi -wired_8021x" FEATURES=test emerge-$BOARD shill
USE="asan clang" FEATURES=test emerge-$BOARD shill
Default shill (including both wifi and wired 802.1x):
Passes wifi_matfunc test suite
shill without wifi
No wifi connectivity
Have ethernet connectivity
Passes network_8021xWiredAuthentication test
shill without wired 802.1x
Have wifi and ethernet connectivity
Fail network_8021xWiredAuthentication test
shill without both wifi and wired 802.1x
No wifi connectivity
Have ethernet connectivity
Fail network_8021xWiredAuthentication test
CQ-DEPEND=CL:265614

Change-Id: I6abaa150657f6ca0f6d5c37229fde9a2c0bb36aa
Reviewed-on: https://chromium-review.googlesource.com/265774
Tested-by: Zeping Qiu <zqiu@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Zeping Qiu <zqiu@chromium.org>
/system/connectivity/shill/ethernet/ethernet.h
3c898323878e95b40abcfc6c7a993555d4675323 07-Apr-2015 Roshan Pius <rpius@chromium.org> shill: wifi: Maintain an internal table of TDLS peers after discovery.

WPA supplicant does not maintain a list of TDLS peers that have been
discovered by the user. This CL adds an intenal list of peers who have
been found by using the TDLS Discover protocol exhchange. The list
of peers are maintained for 30 seconds after the last "Discovery"
initiated by the user. We use this intenal list to return the status of
the peer if it is not known to wpa_supplicant.

BUG=chromium:471021
TEST=Following tests were performed:
`P2_TEST_FILTER="shill::WiFiMainTest.PerformTDLSOperation" FEATURES=test
emerge-${BOARD} shill`
`test_that ${host} network_WiFi_TDLSPing`

Change-Id: I58d620df83bedf0f61542e67e04cee21af5f7e8b
Reviewed-on: https://chromium-review.googlesource.com/264501
Reviewed-by: Roshan Pius <rpius@chromium.org>
Tested-by: Roshan Pius <rpius@chromium.org>
Commit-Queue: Roshan Pius <rpius@chromium.org>
/system/connectivity/shill/ethernet/ethernet.h
3cd46cd843c0c4db3e931f8e3cc96e2f0c577d49 13-Mar-2015 Samuel Tan <samueltan@chromium.org> shill: handle WPA supplicant ScanDone failure

When WPA Supplicant reports that a scan has failed through the ScanDone signal,
reset the WiFi device scan state to idle 10 seconds later so that shill can
initiate scans again.

BUG=chromium:464568
TEST=Compile shill and run unit tests.

Change-Id: I4b90a8e1c4830334c3e4dc911494bba18bd14e9f
Reviewed-on: https://chromium-review.googlesource.com/260350
Tested-by: Samuel Tan <samueltan@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Samuel Tan <samueltan@chromium.org>
/system/connectivity/shill/ethernet/ethernet.h
65a5672a129759458b87427488957cbbdb87e469 03-Feb-2015 Garret Kelly <gdk@chromium.org> shill: connect Ethernet to PPPoEService

Add a new property (Ethernet.PPPoE) to Ethernet devices which allows
them to be put into PPPoE mode. In PPPoE mode, a PPPoEService is
constructed and used in place of an EthernetService.

BUG=chrome-os-partner:32173
TEST=FEATURES=test USE="vpn cellular pppoe" emerge-x86-generic shill

Change-Id: I9d3c1c9eb542b55b9069c5ceeb99203dfd59a422
Reviewed-on: https://chromium-review.googlesource.com/246590
Reviewed-by: Paul Stewart <pstew@chromium.org>
Trybot-Ready: Garret Kelly <gdk@chromium.org>
Commit-Queue: Garret Kelly <gdk@chromium.org>
Tested-by: Garret Kelly <gdk@chromium.org>
/system/connectivity/shill/ethernet/ethernet.h
2dc218e49e210b64ecf7d83946ec257ef1529171 30-Jan-2015 Garret Kelly <gdk@chromium.org> shill: add PPPoEService to provide PPPoE support

A PPPoEService handles providing PPPoE connectivity for an Ethernet
device. It is designed to be used in place of an EthernetService.

BUG=chrome-os-partner:32173
TEST=FEATURES=test USE="vpn cellular pppoe" emerge-x86-generic shill
CQ-DEPEND=246511

Change-Id: I53df0e6d4387993f900309bf2bdb72a1f5e287e0
Reviewed-on: https://chromium-review.googlesource.com/244762
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Garret Kelly <gdk@chromium.org>
Tested-by: Garret Kelly <gdk@chromium.org>
/system/connectivity/shill/ethernet/ethernet.h
3de88a00f446215b3299fe5834d4f120863e3ac7 05-Dec-2014 Paul Stewart <pstew@chromium.org> shill: Ethernet: Retain EthernetService for life

Make the EthernetService held by the Ethernet device remain valid
for the lifetime of the Device. This allows Ethernet services to
be configured whether or not a link is available. To modify this
lifetime, it is necessary to break the reference loop between the
Ethernet device and its Service.

Instead of calling RegisterService and DeregisterService with the
EthernetService, toggle the visibility and autoconnect properties
to allow the service to disconnect and regain L2 connectivity as
link appears and disappears.

BUG=chromium:439176
TEST=The following:
- Unit tests with ASAN
- The following autotests:
+ network_Dhcp*
+ network_VPNConnect
- Manual:
+ Start shill with Ethernet connected, disconnect, reconnect
+ Start shill with Ethernet USB disconnected, connect USB (with Ethernet attached)
+ Start shill with Ethernet USB disconnected, connect USB with Ethernet detached,
then connect Ethernet
+ Monitor "list-services" to make sure the Ethernet service is only visible
(and connects) when both USB and Ethernet are connected.

Change-Id: I7f0ef8397606b69990b8dc03be75f6166aa5c017
Reviewed-on: https://chromium-review.googlesource.com/233770
Trybot-Ready: Paul Stewart <pstew@chromium.org>
Reviewed-by: Peter Qiu <zqiu@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/ethernet/ethernet.h
da69ecfa906572120eb4f6c405e7d4be38dc9701 19-Nov-2014 Ben Chan <benchan@chromium.org> shill: supplicant: Move supplicant 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: I119663a90062f7faf3038a2455d53d4ae8c5e297
Reviewed-on: https://chromium-review.googlesource.com/230750
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
/system/connectivity/shill/ethernet/ethernet.h
87602518c59af2f9e8288d81a1f877dd80f24433 08-Nov-2014 Ben Chan <benchan@chromium.org> shill: ethernet: Move ethernet 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: I9a716161c9c4f8f608d815748bde6781d83d1b34
Reviewed-on: https://chromium-review.googlesource.com/229871
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
/system/connectivity/shill/ethernet/ethernet.h