Last Comment Bug 722320 - Maintain extra state about wifi
: Maintain extra state about wifi
Product: Core
Classification: Components
Component: DOM: Device Interfaces (show other bugs)
: unspecified
: All All
-- normal (vote)
: ---
Assigned To: Blake Kaplan (:mrbkap)
: Andrew Overholt [:overholt]
Depends on:
Blocks: b2g-wifi
  Show dependency treegraph
Reported: 2012-01-30 07:38 PST by Blake Kaplan (:mrbkap)
Modified: 2012-03-15 05:27 PDT (History)
5 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description User image Blake Kaplan (:mrbkap) 2012-01-30 07:38:13 PST
Right now, nsWifiWorker.js simply tracks the interface. We should really track the configured networks, whether we're connected to a network and the available networks as well.
Comment 1 User image Andreas Gal :gal 2012-01-30 13:39:32 PST
Configured networks are tracked by the supplicant, right? Thats where the configuration sits.
Comment 2 User image Blake Kaplan (:mrbkap) 2012-01-30 15:34:39 PST
Yes, but they're useful to keep track of locally too. For example, Android shows all of your configured networks below the available networks. Also, connecting to a network is done with the network's ID, so we'll have to have that for the current (or about-to-be-current) network no matter what.

I see most of the state here useful for consumers such as the settings screen.
Comment 3 User image Blake Kaplan (:mrbkap) 2012-03-15 05:27:29 PDT
This ended up being part of bug 732982.

Note You need to log in before you can comment on or make changes to this bug.