summaryrefslogtreecommitdiffstats
path: root/nexus
Commit message (Collapse)AuthorAgeFilesLines
* nexus: Rollup update for nexusSan Mehat2009-07-1038-833/+3167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nexus: Change field separator from : to ' ' Signed-off-by: San Mehat <san@google.com> nexus: Add some prototypes for stuff to come Signed-off-by: San Mehat <san@google.com> nexus: Add some TODOs Signed-off-by: San Mehat <san@google.com> libsysutils: Put a proper token parser into the FrameworkListener which supports minimal \ escapes and quotes Signed-off-by: San Mehat <san@google.com> nexus: Fix a lot of bugs Signed-off-by: San Mehat <san@google.com> libsysutils: Remove some debugging Signed-off-by: San Mehat <san@google.com> nexus: Send broadcasts for supplicant state changes Signed-off-by: San Mehat <san@google.com> nexus: Plumb DHCP listener state changes to NetworkManager Signed-off-by: San Mehat <san@google.com> nexus: Make the SupplicantState strings more parsable Signed-off-by: San Mehat <san@google.com> nexus: Broadcast a message when dhcp state changes. Signed-off-by: San Mehat <san@google.com> nexus: Add a few new response codes Signed-off-by: San Mehat <san@google.com> nexus: Rename ErrorCode -> ResponseCode Signed-off-by: San Mehat <san@google.com> nexus: Add DHCP event broadcasting. Also adds the framework for tracking supplicant 'searching-for-AP' state Signed-off-by: San Mehat <san@google.com> nexus: REmove WifiScanner Signed-off-by: San Mehat <san@google.com> nexus: Change the way scanning works. scanmode can now be selected independantly of triggering a scan. Also adds rxfilter support Signed-off-by: San Mehat <san@google.com> nexus: Add support for configuring bluetooth coexistence scanning and modes Signed-off-by: San Mehat <san@google.com> nexus: use case insensitive match for property names Signed-off-by: San Mehat <san@google.com> nexus: Rollup of a bunch of stuff: - 'list' command now takes an argument to match against - InterfaceConfig has been moved into the Controller base (for now) - DhcpClient now has some rudimentry locking - process 'ADDRINFO' messages from dhcpcd - Drop tertiary dns Signed-off-by: San Mehat <san@google.com> nexus: Clean up some of the supplicant variable parsing and add 'wifi.current' Signed-off-by: San Mehat <san@google.com> nexus: Add driver-stop/start, initial suspend support Signed-off-by: San Mehat <san@google.com> nexus: Add Controller suspend/resume callbacks, as well as locking Signed-off-by: San Mehat <san@google.com> nexus: Make ARP probing configurable for DhcpClient Signed-off-by: San Mehat <san@google.com> nexus: Add linkspeed / rssi retrieval Signed-off-by: San Mehat <san@google.com> nexus: Add WifiStatusPoller to track RSSI/linkspeed when associated Signed-off-by: San Mehat <san@google.com> nexus: Disable some debugging and add 'wifi.netcount' property Signed-off-by: San Mehat <san@google.com> nexus: Replace the hackish property system with something more flexible with namespaces Signed-off-by: San Mehat <san@google.com> libsysutils: Fix a few bugs in SocketListener Signed-off-by: San Mehat <san@google.com> nexus: PropertyManager: Add array support Signed-off-by: San Mehat <san@google.com> nexus: Clean up properties Signed-off-by: San Mehat <san@google.com> nexus: WifiController: Change name of 'CurrentNetwork' property Signed-off-by: San Mehat <san@google.com>
* nexus: Rename onInterfaceStarted -> onInterfaceConnected and add Dhcp ↵San Mehat2009-06-224-36/+44
| | | | | | start/stop control Signed-off-by: San Mehat <san@google.com>
* nexus: Add skeleton for DhcpClientSan Mehat2009-06-227-1/+270
| | | | Signed-off-by: San Mehat <san@google.com>
* nexus: Fix SupplicantStatus decodingSan Mehat2009-06-161-7/+26
| | | | Signed-off-by: San Mehat <san@google.com>
* nexus: Less verbosity in TiwlanEventListener for nowSan Mehat2009-06-161-4/+4
| | | | Signed-off-by: San Mehat <san@google.com>
* nexus: Add TiwlanEventListener to makefileSan Mehat2009-06-161-1/+2
| | | | Signed-off-by: San Mehat <san@google.com>
* nexus: Initialize frequency in SupplicantAssociatingEvent constructorSan Mehat2009-06-161-0/+1
| | | | Signed-off-by: San Mehat <san@google.com>
* nexus: Add some logging output to WifiControllerSan Mehat2009-06-161-0/+6
| | | | Signed-off-by: San Mehat <san@google.com>
* nexus: Add TiwlanEventListener for reading driver events directlySan Mehat2009-06-164-2/+177
| | | | Signed-off-by: San Mehat <san@google.com>
* Nexus: Clean up supplicant events, protocol, and continue plumbingSan Mehat2009-06-1547-501/+1471
| | | | | | | | | | | | | | | | | | | | | - Create SupplicantEvent classes for events - New SupplicantEventFactory for creating events - Extract Controller -> NetworkManager callbacks into IControllerHandler - Move ScanResult handling from Supplicant -> WifiController - Plumb more 'onConnected()' code - Instead of re-creating NetworkList every-time, merge in new entries - Extract SupplicantListener -> Supplicant callbacks into ISupplicantEventHandler - Move SupplicantListener callback handling to WifiController - Add unlocked version of lookupNetwork() - Save supplicant config after setting a WifiNetwork variable - Move property registration from WifiNetwork -> Supplicant - Change wifi enable broadcast messages - Add 3 new events: 'onAssociating', 'onAssociated', 'onConnectionTimeout' - Add support for handling KeyManagement Signed-off-by: San Mehat <san@google.com>
* nexctl: Refactor so Nexus can be tested from scripts easily.San Mehat2009-06-151-54/+78
| | | | | | Also adds 'monitor' mode for monitoring broadcasts Signed-off-by: San Mehat <san@google.com>
* nexus: Validate that priority and KeyManagement are set before enabling a ↵San Mehat2009-06-022-4/+19
| | | | | | network Signed-off-by: San Mehat <san@google.com>
* nexus: Use interface for handling Supplicant eventsSan Mehat2009-06-024-30/+68
| | | | Signed-off-by: San Mehat <san@google.com>
* nexus: Remove dependancy on libutilSan Mehat2009-06-021-2/+2
| | | | Signed-off-by: San Mehat <san@google.com>
* nexus: Refactor some of the create/remove network path and add code forSan Mehat2009-05-2942-390/+1517
| | | | | | | | | | | | | retrieving network lists from supplicant nexus: Rework properties nexus: Implement wifi network enable/disable and add some error checking nexus: Add some TODOs nexus: Whitespace cleanup nexus: Add bindings between controllers and network interfaces nexus: Add properties for InterfaceConfig nexus: Fix a few conversion bugs in InterfaceConfig Signed-off-by: San Mehat <san@google.com>
* nexus: Add ListCmd to CommandListenerSan Mehat2009-05-297-7/+168
| | | | | | | | Signed-off-by: San Mehat <san@google.com> nexus: Add InterfaceConfig and flesh out some more flow Signed-off-by: San Mehat <san@google.com>
* nexus: Switch controllers to use abstracted properties and refactor command ↵San Mehat2009-05-2216-267/+292
| | | | | | | | | | protocol Also fixes a select() bug and removes debugging Signed-off-by: San Mehat <san@google.com> nexus: fix whitespace
* nexus: OpenVPN: Instead of creating / using a configfile, use the newSan Mehat2009-05-202-21/+8
| | | | | | | | dynamic service argument support so we don't need one :) Signed-off-by: San Mehat <san@google.com> nexus: fix property max
* nexus: Flesh out VPN support a bit more, cleanup service handlingSan Mehat2009-05-159-161/+183
| | | | Signed-off-by: San Mehat <san@google.com>
* nexus: Introduce skelaton OpenVpnController class + remove some debug messagesSan Mehat2009-05-137-10/+150
| | | | Signed-off-by: San Mehat <san@google.com>
* nexus: Initial support for manipulating wifi networks + change wifi scan ↵San Mehat2009-05-1310-15/+516
| | | | | | notification msgs Signed-off-by: San Mehat <san@google.com>
* nexus: Cleanup the scanner and plug it all in so it worksSan Mehat2009-05-125-68/+55
| | | | Signed-off-by: San Mehat <san@google.com>
* nexus: Use constants for errorcodesSan Mehat2009-05-124-33/+62
| | | | Signed-off-by: San Mehat <san@google.com>
* nexus: Move to a line based protocol (similar to FTP) + fix bugsSan Mehat2009-05-129-93/+191
| | | | Signed-off-by: San Mehat <san@google.com>
* nexus: Implement wifi scanner and fix a lot of bugsSan Mehat2009-05-0921-219/+443
| | | | Signed-off-by: San Mehat <san@google.com>
* nexus: Initial checkin of Nexus - android native network management daemon.San Mehat2009-05-0628-0/+2149
Initial skelaton Signed-off-by: San Mehat <san@google.com>