Last Comment Bug 736092 - Wifi: Need a notification for "about to connect"
: Wifi: Need a notification for "about to connect"
Product: Core
Classification: Components
Component: DOM: Device Interfaces (show other bugs)
: unspecified
: x86_64 Linux
-- normal (vote)
: mozilla14
Assigned To: Blake Kaplan (:mrbkap)
: Andrew Overholt [:overholt]
Depends on:
Blocks: b2g-wifi
  Show dependency treegraph
Reported: 2012-03-15 08:16 PDT by Blake Kaplan (:mrbkap)
Modified: 2012-03-21 10:25 PDT (History)
3 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

Patch (4.26 KB, patch)
2012-03-20 08:32 PDT, Blake Kaplan (:mrbkap)
cjones.bugs: review+
Details | Diff | Splinter Review

Description User image Blake Kaplan (:mrbkap) 2012-03-15 08:16:38 PDT
Right now, the first notification in the connection process that we send out is after we've associated. We should send a notification when we enter the ASSOCIATING state.
Comment 1 User image Mounir Lamouri (:mounir) 2012-03-15 08:28:38 PDT
You mean like a "beforeconnect" event?
Comment 2 User image Blake Kaplan (:mrbkap) 2012-03-15 08:36:30 PDT
I was thinking "associating", since that's what the wpa_supplicant state is called. The idea is to be able to provide feedback that we have actually started the process of connecting to a network.
Comment 3 User image Mounir Lamouri (:mounir) 2012-03-15 10:18:24 PDT
Ok, so it's not "about to connect" but "connecting". I thought it was an event just before connecting.
Comment 4 User image Philipp von Weitershausen [:philikon] 2012-03-15 14:25:14 PDT
Yeah, if it comes before "connected", +1 for calling it "connecting". That's analogous to WebTelephony and other APIs.
Comment 5 User image Blake Kaplan (:mrbkap) 2012-03-20 08:32:07 PDT
Created attachment 607565 [details] [diff] [review]

Easy patch, I think.
Comment 6 User image Blake Kaplan (:mrbkap) 2012-03-21 10:25:01 PDT

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