summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-05-24Change default EAP parameters for GdmDevice.chromium.org/firmware-link-2348.Bchromium.org/factory-2268.16.BBen Chan1-2/+1
BUG=none TEST=Manually tested WiMAX connection. Change-Id: I137ea8f87d6803b0d1a561eb67e9efb313b43f20 Reviewed-on: https://gerrit.chromium.org/gerrit/23525 Commit-Ready: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org>
2012-05-21Emit NetworksChanged DBus signal only when a network is added or removed.chromium.org/factory-2338.BBen Chan1-1/+7
BUG=chrome-os-partner:9782 TEST=None Change-Id: I76750c1567cd77609d2c3ff38780d9679d82458f Reviewed-on: https://gerrit.chromium.org/gerrit/23171 Commit-Ready: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org> Reviewed-by: Darin Petkov <petkov@chromium.org>
2012-05-21Emit SignalStrengthChanged DBus signal when signal strength changes.Ben Chan1-1/+8
This CL modifies NetworkDBusAdaptor::UpdateProperties to emit Network.SignalStrengthChanged DBus signal when the value of signal strength has changed. BUG=chrome-os-partner:9831 TEST=Monitor SignalStrengthChanged signals when the signal strength changes. Change-Id: I06e6921378640fda77dd2e16dfc3521fd86c358e Reviewed-on: https://gerrit.chromium.org/gerrit/23136 Commit-Ready: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org> Reviewed-by: Darin Petkov <petkov@chromium.org>
2012-05-21Provide Network.SignalStrengthChanged signal.Darin Petkov3-4/+7
Also, rename signal and method parameters to lower case for consistency with other DBus services. BUG=chrome-os-partner:9831 TEST=tested proxy bindings generation in shill Change-Id: If7c0543cc98bc39fba28e7465bcd6de974d8aa1f Reviewed-on: https://gerrit.chromium.org/gerrit/23114 Reviewed-by: Darin Petkov <petkov@chromium.org> Tested-by: Darin Petkov <petkov@chromium.org> Reviewed-by: Ben Chan <benchan@chromium.org> Commit-Ready: Darin Petkov <petkov@chromium.org>
2012-05-21Implement periodic network scan and update.Ben Chan16-62/+265
This CL modifies GdmDevice to periodically scan available networks and update network properties. It also makes sure the Network and NetworkDBusAdaptor objects are reused for an existing network with the same network identifier. BUG=chrome-os-partner:9782 TEST=Manually test on klang. Change-Id: I4a73073b61799e8d1322f777a920b5d7324a81e5 Reviewed-on: https://gerrit.chromium.org/gerrit/23106 Reviewed-by: Darin Petkov <petkov@chromium.org> Commit-Ready: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org>
2012-05-20Calculate signal strength percentage based on RSSI.Ben Chan5-0/+67
This CL adds a SignalStrength property to WiMaxManager.Network, which provides the signal strength percentage calculated from the RSSI value. BUG=chrome-os-partner:9831 TEST=Build and run unit tests. Change-Id: I4ac6f81d7f656dd3d2b0c009ce2e7f56bf2e2185 Reviewed-on: https://gerrit.chromium.org/gerrit/23100 Commit-Ready: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org> Reviewed-by: Ben Chan <benchan@chromium.org>
2012-05-20Implement DBus API for connecting to a specific network with EAP parameters.Ben Chan8-45/+176
This CL modifies the org.chromium.WiMaxManager.Device.Connect() DBus method to take a network and custom parameters (for EAP credentials) as input arguments. BUG=chrome-os-partner:9830 TEST=Manually test connecting to a network using DBus API. Change-Id: I53b487fae99af273cb32c38cf90c39421b5ceeb6 Reviewed-on: https://gerrit.chromium.org/gerrit/23097 Tested-by: Ben Chan <benchan@chromium.org> Reviewed-by: Darin Petkov <petkov@chromium.org> Commit-Ready: Ben Chan <benchan@chromium.org>
2012-05-18Implement network scan and expose network properties over DBus.Ben Chan26-187/+412
This CL adds a ScanNetworks DBus method to the Device interface for scanning available networks and a Network interface for exposing network properties. It also adds a DBusAdaptable template class to remove some boilerplate code for creating a DBus adaptor for a class. BUG=chrome-os-partner:9782 TEST=Manually test on klang using dbus-send. Change-Id: I97ce1351436afb3aeac0d2a48a8f51e1501e7466 Reviewed-on: https://gerrit.chromium.org/gerrit/22928 Reviewed-by: mukesh agrawal <quiche@chromium.org> Commit-Ready: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org>
2012-05-16Change device object path format and clean up code.Ben Chan7-19/+17
BUG=chrome-os-partner:9606 TEST=Manually test on klang Change-Id: I7bcbc7ededa73e90365ad9fd64c9b72550b167a4 Reviewed-on: https://gerrit.chromium.org/gerrit/22799 Commit-Ready: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org> Reviewed-by: Darin Petkov <petkov@chromium.org>
2012-05-15Implement manager and device DBus API.Ben Chan22-25/+1059
BUG=chrome-os-partner:9606 TEST=Manually test on klang Change-Id: I58eb75b2d4149944d284c9f5c2967197b8ec0c8c Reviewed-on: https://gerrit.chromium.org/gerrit/22577 Commit-Ready: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org> Reviewed-by: Darin Petkov <petkov@chromium.org>
2012-05-11Add skeleton code for manager and device DBus interface.Ben Chan15-0/+315
BUG=chrome-os-partner:9598 TEST=Build and run unit tests. Change-Id: I36d75b0fb8655c7d2bb4b864f41bd34b323709c1 Reviewed-on: https://gerrit.chromium.org/gerrit/22452 Commit-Ready: Ben Chan <benchan@chromium.org> Reviewed-by: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org>
2012-05-10Add main program, test runner and build files.Ben Chan6-0/+935
BUG=chrome-os-partner:9598 TEST=Tested the following: 1. emerge-amd64-generic wimax_manager 2. FEATURES=test emerge-amd64-generic wimax_manager Change-Id: I5615d0708f0452904721b631e8596579c0fd40c6 Reviewed-on: https://gerrit.chromium.org/gerrit/22384 Reviewed-by: Mike Frysinger <vapier@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Ben Chan <benchan@chromium.org> Commit-Ready: Ben Chan <benchan@chromium.org>
2012-05-10Initial commit.Ben Chan2-0/+28
- Initialize the code repository for Chromium OS WiMAX Manager. - Add LICENSE and OWNERS file. BUG=chrome-os-partner:9598 TEST=none