Commit graph

26 commits

Author SHA1 Message Date
San Mehat
c4a895b709 nexus: Rollup update for nexus
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>
2009-07-10 14:23:51 -07:00
San Mehat
d6c6796670 nexus: Rename onInterfaceStarted -> onInterfaceConnected and add Dhcp start/stop control
Signed-off-by: San Mehat <san@google.com>
2009-06-22 10:40:53 -07:00
San Mehat
54962e0fd6 nexus: Add skeleton for DhcpClient
Signed-off-by: San Mehat <san@google.com>
2009-06-22 10:40:48 -07:00
San Mehat
d0290eadc5 nexus: Fix SupplicantStatus decoding
Signed-off-by: San Mehat <san@google.com>
2009-06-16 12:01:50 -07:00
San Mehat
052403ebbe nexus: Less verbosity in TiwlanEventListener for now
Signed-off-by: San Mehat <san@google.com>
2009-06-16 12:01:24 -07:00
San Mehat
891cb2c135 nexus: Add TiwlanEventListener to makefile
Signed-off-by: San Mehat <san@google.com>
2009-06-16 10:51:39 -07:00
San Mehat
bbe92c370a nexus: Initialize frequency in SupplicantAssociatingEvent constructor
Signed-off-by: San Mehat <san@google.com>
2009-06-16 10:51:14 -07:00
San Mehat
0f48658d20 nexus: Add some logging output to WifiController
Signed-off-by: San Mehat <san@google.com>
2009-06-16 10:50:47 -07:00
San Mehat
5fc4129fcb nexus: Add TiwlanEventListener for reading driver events directly
Signed-off-by: San Mehat <san@google.com>
2009-06-16 10:50:06 -07:00
San Mehat
3aff2d1de5 Nexus: Clean up supplicant events, protocol, and continue plumbing
- 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>
2009-06-15 14:20:02 -07:00
San Mehat
669a7011e7 nexctl: Refactor so Nexus can be tested from scripts easily.
Also adds 'monitor' mode for monitoring broadcasts

Signed-off-by: San Mehat <san@google.com>
2009-06-15 14:07:28 -07:00
San Mehat
21e90f0e10 nexus: Validate that priority and KeyManagement are set before enabling a network
Signed-off-by: San Mehat <san@google.com>
2009-06-02 10:26:58 -07:00
San Mehat
78828ff4f5 nexus: Use interface for handling Supplicant events
Signed-off-by: San Mehat <san@google.com>
2009-06-02 10:26:58 -07:00
San Mehat
37629255e9 nexus: Remove dependancy on libutil
Signed-off-by: San Mehat <san@google.com>
2009-06-02 10:26:58 -07:00
San Mehat
3c5a6f0bc8 nexus: Refactor some of the create/remove network path and add code for
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>
2009-05-29 15:26:21 -07:00
San Mehat
192331d906 nexus: Add ListCmd to CommandListener
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>
2009-05-29 15:26:00 -07:00
San Mehat
4876567cb9 nexus: Switch controllers to use abstracted properties and refactor command protocol
Also fixes a select() bug and removes debugging

Signed-off-by: San Mehat <san@google.com>

nexus: fix whitespace
2009-05-22 08:40:13 -07:00
San Mehat
2fd9c5897a nexus: OpenVPN: Instead of creating / using a configfile, use the new
dynamic service argument support so we don't need one :)

Signed-off-by: San Mehat <san@google.com>

nexus: fix property max
2009-05-20 17:16:00 -07:00
San Mehat
5d6d417972 nexus: Flesh out VPN support a bit more, cleanup service handling
Signed-off-by: San Mehat <san@google.com>
2009-05-15 10:40:29 -07:00
San Mehat
94447ca34b nexus: Introduce skelaton OpenVpnController class + remove some debug messages
Signed-off-by: San Mehat <san@google.com>
2009-05-13 11:54:16 -07:00
San Mehat
82a2116e6b nexus: Initial support for manipulating wifi networks + change wifi scan notification msgs
Signed-off-by: San Mehat <san@google.com>
2009-05-13 09:10:01 -07:00
San Mehat
e67651c89d nexus: Cleanup the scanner and plug it all in so it works
Signed-off-by: San Mehat <san@google.com>
2009-05-12 15:50:49 -07:00
San Mehat
8d3fc3fde3 nexus: Use constants for errorcodes
Signed-off-by: San Mehat <san@google.com>
2009-05-12 14:36:32 -07:00
San Mehat
69772dc644 nexus: Move to a line based protocol (similar to FTP) + fix bugs
Signed-off-by: San Mehat <san@google.com>
2009-05-12 14:02:32 -07:00
San Mehat
1441e769b2 nexus: Implement wifi scanner and fix a lot of bugs
Signed-off-by: San Mehat <san@google.com>
2009-05-09 10:33:18 -07:00
San Mehat
dc266073e7 nexus: Initial checkin of Nexus - android native network management daemon.
Initial skelaton

Signed-off-by: San Mehat <san@google.com>
2009-05-06 15:20:16 -07:00