Commit Graph

53 Commits

Author SHA1 Message Date
Philipp von Weitershausen
3ef5287c22 Bug 717122 - Network Manager interface for Wifi. r=gal,mrbkap a=b2g-only 2012-04-19 18:33:36 -03:00
Blake Kaplan
6d5ff2bdc2 Bug 745114 - Collapse the various status change callbacks into a single callback. r=cjones a=b2g-only 2012-04-13 17:07:54 +08:00
Blake Kaplan
b6627fbc83 Bug 740079 - Provide a synchronous API to get precise information about the current connection status. r=cjones f=kaze 2012-04-09 11:32:17 +08:00
Blake Kaplan
60c5d2834e Bug 743941 - Some small fixes to state tracking. Also move some logic out of the manager. r=cjones 2012-04-09 12:13:28 +08:00
Fabien Cazenave
13eb0ad268 Bug 744417 - Fix mistakes in the initial implementation of forgetNetwork. r=mrbkap
--HG--
extra : rebase_source : 9ed43da50d6abc9701bfd09e5b3b788d2b947618
2012-04-13 15:54:11 +08:00
Blake Kaplan
1b80af6c87 Bug 743614 - Deal with failure more gracefully. r=cjones
--HG--
extra : rebase_source : 01f88566d5532905e753db4176293ab80e92f4b8
2012-04-06 17:56:15 +02:00
Philipp von Weitershausen
4cbbc4cdbf Bug 742780 follow-up: unbreak RIL and Wifi. r=mrbkap 2012-04-13 13:58:57 +08:00
Vivien Nicolas
d287f27221 Bug 742778 - Turn off the debug mode by default for dom/wifi. r=mrbkap 2012-04-11 10:05:35 -07:00
Philipp von Weitershausen
bcc2fe724c Bug 743603 - B2G Wifi: minor code readability improvement. r=mrbkap 2012-04-09 15:47:42 +08:00
Blake Kaplan
68f5efefee Backed out changeset 22521568cf79. It accidentally removed a file. 2012-04-09 15:44:53 +08:00
Philipp von Weitershausen
b15d176c4c Bug 743603 - B2G Wifi: minor code readability improvement. r=mrbkap
--HG--
extra : rebase_source : ceca6081c1e775ecb8f82799d2c39d1c7ec3a9ea
2012-04-09 15:19:35 +08:00
Blake Kaplan
fcbd1988d6 Bug 736091 - Add a forgetNetwork function that forgets the requested network. If the requested network is the current network, we reconnect to the next available network. r=cjones
--HG--
extra : rebase_source : b68cd9c99dcf31e9274d603d88300340ee1ebf60
2012-03-26 18:27:10 +02:00
Blake Kaplan
c3280e98f5 Bug 742797 - Fix shutdown on ICS. r=cjones DONTBUILD 2012-04-05 19:47:08 +02:00
Chris Jones
bce24b6e31 Bug 739452, part 1: Catch errors in importing cutils, since (unfortunately) this code also runs on desktop builds. r=mrbkap 2012-04-01 01:57:18 -07:00
Blake Kaplan
2a2658828e Bug 736096 - Don't pretend we have values that we didn't successfully
get. r=cjones DONTBUILD
2012-03-29 17:01:36 +02:00
Blake Kaplan
2dd6194e06 Bug 736096 - Reprioritize networks when the priorities get too high to prevent overflow. r=cjones 2012-03-29 17:17:46 +02:00
Philipp von Weitershausen
96c73034b8 Bug 738063 - B2G Wifi: Consolidate ctypes-related worker code. r=mrbkap,cjones
--HG--
rename : dom/wifi/network_worker.js => dom/wifi/wifi_worker.js
2012-03-30 12:04:30 -07:00
Blake Kaplan
9d7499a646 Bug 739234 - Deal with the odd case on a desktop computer where the backend error'd out. r=vingtetun 2012-03-27 12:04:16 -07:00
Blake Kaplan
cfab3ce122 Bug 736114 - Fix dumb typo. r=vingtetun DONTBUILD 2012-03-27 12:13:20 +02:00
Blake Kaplan
4b4194c71a Bug 736114 - Fire an event every 5 seconds containing the signal strength and link speed of the connection. Also add a synchronous API for clients that don't want to wait for the signal. r=cjones DONTBUILD 2012-03-26 18:26:32 +02:00
Blake Kaplan
eb7fb8f9d3 Bug 739335: Fix wifi on Gingerbread gonk. r=cjones (npotb) 2012-03-26 12:22:29 -07:00
Chris Jones
898f195c03 Bug 739137: Try harder to ensure that b2g shuts down when we ask it to. r=fabrice 2012-03-26 00:46:21 -07:00
Chris Jones
29101b5f94 Bug 739115: Add runtime checks for ICS and select libnetutils interface and wpa_supplicant states appropriately. r=gal (npotb) 2012-03-25 19:40:09 -07:00
Blake Kaplan
81959516d4 Bug 737029 - Use DOMRequestHelper.jsm in DOMWifiManager.js. r=fabrice DONTBUILD 2012-03-20 16:59:38 +01:00
Blake Kaplan
f0eb4a974f Bug 736092 - Notify on the 'connecting' state so the UI can update itself properly. r=cjones 2012-03-20 16:31:10 +01:00
Blake Kaplan
a9840236d4 Bug 737376 - Shut down the wifi system on shutdown. r=cjones 2012-03-20 14:57:07 +01:00
Blake Kaplan
a2929f025d Bug 736087 - Remove the ns prefix from the WifiWorker component. r=philikon DONTBUILD
--HG--
rename : dom/wifi/nsWifiWorker.h => dom/wifi/WifiWorker.h
rename : dom/wifi/nsWifiWorker.js => dom/wifi/WifiWorker.js
rename : dom/wifi/nsWifiWorker.manifest => dom/wifi/WifiWorker.manifest
2012-03-16 18:05:28 +01:00
Blake Kaplan
37fe07ac9a Bug 736087 - Rename nsDOMWifiManager to DOMWifiManager. r=philikon
--HG--
rename : dom/wifi/nsDOMWifiManager.js => dom/wifi/DOMWifiManager.js
rename : dom/wifi/nsDOMWifiManager.manifest => dom/wifi/DOMWifiManager.manifest
2012-03-16 17:51:05 +01:00
Blake Kaplan
7fdfe04ffb Bug 736196 - Fix a small bug in internal dhcp notifications (clear dhcpInfo when we don't have any). Don't write out fake passwords in our configs. Make sure that we enable networks upon creation so they're enabled in the config file. r=cjones 2012-03-16 14:56:38 +01:00
Blake Kaplan
867e18420d Bug 732982 - Expose a wifi API to the DOM. The API is very much a work in progress and will change soon. r=cjones/fabrice/vigntetun DONTBUILD
--HG--
extra : rebase_source : c44979e32dfffc46502f21c59c691a13e0319cad
2012-03-14 21:39:15 +01:00
Blake Kaplan
c7d07a8e0a Bug 729586 - Kill DHCP on disconnect so that reconnection works. r=gal DONTBUILD 2012-02-24 14:53:32 +01:00
Blake Kaplan
51e0efad5d Bug 730006 - Aggressively add our new networks now that they won't prevent us from connecting to other networks. r=cjones 2012-02-23 18:54:45 +01:00
Blake Kaplan
c104f6c32c Bug 729943 - Fix a potential race if b2g died between associating to the access point and running DHCP. Also move state tracking to the manager. r=cjones 2012-02-23 18:27:57 +01:00
Blake Kaplan
08c905c3b3 Bug 729943 - Add a codepath to simply reconnect to an existing wpa_supplicant for non-broken Androids. r=cjones 2012-02-23 15:24:08 +01:00
Blake Kaplan
dcef87f745 Bug 727957 - Automatically connect to wifi on akami. r=gal 2012-02-22 16:43:37 +01:00
Blake Kaplan
4b200f786c Bug 725750 - Modify this hack to include "mozilla demo". rs=cjones 2012-02-21 12:08:45 +01:00
Blake Kaplan
af84f6ba9e Bug 727690 - Kill any existing connections on startup so we can successfully reconnect after we've been killed. r=gal 2012-02-20 13:01:53 +01:00
Blake Kaplan
5c1da17e3f Bug 727680 - Fix yet another race condition. Now we'll try to connect to Mozilla/Mozilla Guest once we both have scan results *and* we're INACTIVE. r=cjones 2012-02-16 18:10:02 +01:00
Blake Kaplan
7e59444e2d Bug 727680 - Try to force a connection to Mozilla Guest, even if it's not broadcasting. r=cjones 2012-02-16 15:42:25 +01:00
Blake Kaplan
c1d96605c8 Bug 727680 - Only attempt to connect to Mozilla or Mozilla Guest after we actually have scan results. r=cjones 2012-02-16 15:38:17 +01:00
Blake Kaplan
34e91d2118 Bug 727680 - Make networks objects. r=cjones 2012-02-16 15:00:53 +01:00
Blake Kaplan
008e095404 Backout these patches since they were checked in with the wrong bug number (bug 727680). 2012-02-17 16:27:48 +01:00
Blake Kaplan
4cf0c2397d Bug 728029 - Fix yet another race condition. Now we'll try to connect to Mozilla/Mozilla Guest once we both have scan results *and* we're INACTIVE. r=cjones
--HG--
extra : rebase_source : 80ed171354e0dbbd9b2607b2e6cceb1a7eead3a1
2012-02-16 18:10:02 +01:00
Blake Kaplan
b90d0e2daa Bug 728029 - Try to force a connection to Mozilla Guest, even if it's not broadcasting. r=cjones
--HG--
extra : rebase_source : 15bd53e8bec6d63920b1a990956c744750cca914
2012-02-16 15:42:25 +01:00
Blake Kaplan
1383896cd3 Bug 728029 - Only attempt to connect to Mozilla or Mozilla Guest after we actually have scan results. r=cjones
--HG--
extra : rebase_source : de4fbd2d7a71c06a621aaa6b4e312909eb6dac7f
2012-02-16 15:38:17 +01:00
Blake Kaplan
8ca7b5ef5a Bug 728029 - Make networks objects. r=cjones
--HG--
extra : rebase_source : e21a67df7a93697605e8665916e37396cf0ed4cc
2012-02-16 15:00:53 +01:00
Blake Kaplan
f504d06bf0 Bug 725750 - Restore auto-Mozilla network joining hack. r=gal 2012-02-10 13:13:21 +01:00
Blake Kaplan
dd81652056 Bug 722318 - Ask wpa_supplicant if it had already connected before we connected to it. r=gal 2012-01-31 00:43:46 +01:00
Michael Wu
9f0f1b80b7 Bug 718679 - ipToString in nsWifiWorker.js uses wrong byte order, r=mrbkap 2012-01-18 13:22:12 -08:00
Blake Kaplan
fee5ab8fb0 Bug 718001 - Run DHCP when wpa_supplicants connects to a network so auto-connects get DHCP and DNS love too. r=gal 2012-01-16 17:55:38 +01:00