device subsystem and wireless device driver changes ...

1) Change the wireless device driver to manage its own connections.
2) Add an API for devices to determine if some other device is connected.