Commit Graph

301 Commits

Author SHA1 Message Date
Ryan VanderMeulen
db0d22bd6d Merge the last PGO-green inbound changeset to m-c. 2012-08-30 21:54:09 -04:00
Blake Kaplan
520d5bebeb Bug 786283 - Report to the caller when a scan request fails. r=vchang DONTBUILD 2012-08-30 15:05:02 -03:00
Blake Kaplan
a005ad2893 Bug 768394 - Catch up with changes in ifc_reset_connections on ICS. r=gal 2012-08-30 13:01:34 -03:00
Blake Kaplan
e6d72f61f9 Bug 778360 - Don't try to reconnect to a running wpa_supplicant since that confuses the network manager. Instead, ensure that it's well and truly dead before starting. r=gwagner f=hub 2012-08-30 11:08:52 -03:00
Shian-Yow Wu
dafad69130 Bug 762426 - B2G network manager: support multiple simultaneously connected network interfaces. r=philikon 2012-08-30 13:57:33 -03:00
Vincent Chang
2bc932778b Bug 735547 - Support Wifi/USB Tethering, Part 2: Wifi changes. r=mrbkap 2012-08-30 03:31:26 +08:00
Ryan VanderMeulen
95d2070d8b Merge m-c to inbound. Again. For great justice. 2012-08-28 16:54:18 -04:00
Blake Kaplan
b417e9cf0c Bug 786283 backout - this doesn't work the way it should (android doesn't send failure back for failed scans). r=backout 2012-08-28 17:36:22 -03:00
Blake Kaplan
c259654071 Bug 786283 - Followup fixes to avoid notifying the same DOM request twice. r=vchang DONTBUILD 2012-08-28 16:46:45 -03:00
Vincent Chang
be2c3239e0 Bug 736089 - Handle broken wifi configurations more gracefully, r=mrbkap DONTBUILD 2012-08-28 16:14:26 -03:00
Ryan VanderMeulen
022a01a30e Merge m-c to inbound. DONTBUILD 2012-08-28 16:02:29 -04:00
Blake Kaplan
258353d2fb Bug 786283 - Report to the caller when a scan request fails. r=vchang 2012-08-28 12:55:41 -03:00
Blake Kaplan
5ab31a6021 Bug 785975 - Reconnect to the network after DHCP fails. r=vchang 2012-08-27 17:48:25 -03:00
Philipp von Weitershausen
248cabbd76 Bug 786020 - B2G RIL: get rid of NETWORK_STATE_SUSPENDED. r=marshall_law 2012-08-28 11:37:43 -03:00
Philipp von Weitershausen
f47e2a9937 Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Vincent Chang
3771056226 Bug 783976 - WiFi list can't displayed after enabling/disabling WiFi repeatedly. r=mrbkap 2012-08-26 22:29:46 -04:00
Nathan Froyd
4c779437cc Bug 783357 - part 1: add XPIDL_FLAGS to make idl dependencies more explicit; r=khuey 2012-08-24 16:01:30 -04:00
Blake Kaplan
bef8930127 Bug 777203 - Keep a list of managers that are interested in wifi events and send notifications only to them instead of broadcasting notifications to the world. r=gwagner DONTBUILD
--HG--
extra : rebase_source : c73bb5b00fcbdf74df4efe9f93da6391d32f4f13
2012-08-22 12:37:11 -07:00
Blake Kaplan
9b4459789e Bug 777203 - Respond to requests by sending our response directly back to the manager instead of broadcasting the response everywhere. r=gwagner
--HG--
extra : rebase_source : 52636b4eaeebbfe331bd8a0a89ca1ce91d6414ba
2012-08-22 11:34:42 -07:00
Masashi Honma
3bc4ce5b57 Bug 783742 - Add support for WPS PIN method. r=mrbkap
--HG--
extra : rebase_source : d2c6df164a18eca7c2ad50e0e49458786cf90b20
2012-08-22 12:41:31 -07:00
Masashi Honma
7bdbd4e99a Bug 780465 - Add support for Wi-Fi Protected Setup functionality (WPS). r=mrbkap DONTBUILD 2012-08-16 15:19:51 -07:00
Blake Kaplan
529d4bef12 Bug 780066 - Ensure that WifiManager's state is correct after shutting down. r=vchang DONTBUILD 2012-08-14 17:00:43 -07:00
Shian-Yow Wu
82c519a7c0 Bug 767375 - B2G network manager: expose IP Information of network interfaces (implementation). r=philikon 2012-08-13 21:54:42 -04:00
Ms2ger
cb4d106015 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
4eb11bee72 Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Ms2ger
b927c10310 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Blake Kaplan
60d903e1b8 Bug 779886 - wifiMangager.connectionInformation throws when we're not connected. r=bent DONTBUILD 2012-08-02 15:36:23 -07:00
Jose Antonio Olivera Ortega
c3743e08dd Bug 740640 - B2G 3G: Support HTTP proxy. r=philikon 2012-08-01 07:55:43 -07:00
Blake Kaplan
f70fe521f0 Bug 777904 - Fix typo. Also handle an error case better. r=gal DONTBUILD 2012-07-31 14:27:46 -07:00
Blake Kaplan
b6e4a2e132 Toggling off and on the Wifi Checkbox will not scan wifi networks anymore (bug 774876, r=gal). 2012-07-23 14:41:29 -07:00
Blake Kaplan
f413f9e4d7 Bug 773527 - Make signal strength and linkspeed info work on Otoro ICS. r=gal DONTBUILD 2012-07-12 18:56:39 -07:00
Mounir Lamouri
cab863c8d3 Bug 769621 - Checking Contacts, Settings, Wifi and WebApps permission should use principal instead of URI. r=sicking 2012-07-16 08:44:52 -07:00
Blake Kaplan
8d0a466193 Bug 772801 - Deal with drivers that don't support active/passive scanning. r=mwu DONTBUILD 2012-07-12 15:09:18 -07:00
Blake Kaplan
c948ea33c9 Bug 766497 - Fix typo. r=gal DONTBUILD 2012-07-02 14:05:17 +02:00
Blake Kaplan
b2354cf9cd Bug 769648 - Get rid of __exposedProps__ warnings. r=gal 2012-07-02 10:58:17 +02:00
Blake Kaplan
ffd0fbeb8b Bug 766497 - Dispatch events for wifi going up and down and handle multiple requests to bring it up and down at the same time. r=gal DONTBUILD (missed this review comment in the original checkin) 2012-06-29 12:32:25 +02:00
Blake Kaplan
88053939b6 Bug 769227 - Wait a little bit before starting wpa_supplicant on the otoro. r=gal DONTBUILD 2012-06-28 14:36:13 +02:00
Blake Kaplan
0a527481b9 Bug 766497 - Dispatch events for wifi going up and down and handle multiple requests to bring it up and down at the same time. r=gal 2012-06-28 12:01:51 +02:00
Blake Kaplan
b7c948e7bb Bug 769248 - Don't overwrite a good BSSID with a bad one. r=gal 2012-06-28 15:40:05 +02:00
Blake Kaplan
7218ffd276 Bug 768905 - Don't react to 'connecting' events when we're already connected. r=gal DONTBUILD
--HG--
extra : rebase_source : b285eb7d2d09721dc72031ae4ee3137e8d0e1f72
2012-06-27 17:09:16 +02:00
Gregor Wagner
690cbd60df Bug 764682 - Implement wifi events in c++. r=smaug 2012-06-16 11:14:12 -07:00
Gregor Wagner
2ebedb321b Bug 764503 - WifiStatusChangeEvent IDL and implementation don't match. r=mrbkap 2012-06-13 15:49:56 -07:00
Olli Pettay
94414ed431 Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Michael Wu
78d45d86be Bug 758496 - Remove unused file libnetutils.js, r=philikon 2012-05-24 23:37:12 -04:00
Shian-Yow Wu
0f5b70d48f Bug 736102 - Decide on units for Wifi + MobileConnection signal strength. r=mrbkap 2012-06-01 14:09:59 -07:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Fabien Cazenave
9db18efdec Bug 753612 - Properly close wifi connection so 3G-data can get its own route. r=mrbkap,philipp 2012-05-11 13:05:51 -07:00
Philipp von Weitershausen
4d37482b77 Bug 717122 - Network Manager interface for Wifi. r=gal,mrbkap a=b2g-only 2012-04-19 18:33:36 -03:00
Blake Kaplan
bdd95da7af 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
d1a2a8fa5f 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
1fb18da601 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
6fb71efe86 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
3a3dabf941 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
f6298fc38b Bug 742780 follow-up: unbreak RIL and Wifi. r=mrbkap 2012-04-13 13:58:57 +08:00
Vivien Nicolas
3fc9b340eb 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
90524a5e2d Bug 743603 - B2G Wifi: minor code readability improvement. r=mrbkap 2012-04-09 15:47:42 +08:00
Blake Kaplan
62aec13cf4 Backed out changeset 22521568cf79. It accidentally removed a file. 2012-04-09 15:44:53 +08:00
Philipp von Weitershausen
6607a1bdf2 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
4a7fe53e97 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
bbafc233d0 Bug 742797 - Fix shutdown on ICS. r=cjones DONTBUILD 2012-04-05 19:47:08 +02:00
Chris Jones
2a658551a9 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
dd43ef8289 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
d30936ad58 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
8b7873be40 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
43b51e306d 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
a6d9f0ee34 Bug 736114 - Fix dumb typo. r=vingtetun DONTBUILD 2012-03-27 12:13:20 +02:00
Blake Kaplan
3a38a8b49d 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
a76784cf13 Bug 739335: Fix wifi on Gingerbread gonk. r=cjones (npotb) 2012-03-26 12:22:29 -07:00
Chris Jones
614833edde 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
43e78eff9e 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
0b7d1e15a2 Bug 737029 - Use DOMRequestHelper.jsm in DOMWifiManager.js. r=fabrice DONTBUILD 2012-03-20 16:59:38 +01:00
Blake Kaplan
f0696991a3 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
ea06e5a84c Bug 737376 - Shut down the wifi system on shutdown. r=cjones 2012-03-20 14:57:07 +01:00
Blake Kaplan
d1573b5903 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
5a931ecced 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
5b06006a35 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
bf38585082 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
e7b8872ccc Bug 729586 - Kill DHCP on disconnect so that reconnection works. r=gal DONTBUILD 2012-02-24 14:53:32 +01:00
Blake Kaplan
5fdfb38cb4 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
3e93e6981c 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
711bc6ec6e 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
09b4994897 Bug 727957 - Automatically connect to wifi on akami. r=gal 2012-02-22 16:43:37 +01:00
Blake Kaplan
da3f90aef4 Bug 725750 - Modify this hack to include "mozilla demo". rs=cjones 2012-02-21 12:08:45 +01:00
Blake Kaplan
03954d758a 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
8ff2c5566c 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
04e697b8b1 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
23dd667c71 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
b51aac68cb Bug 727680 - Make networks objects. r=cjones 2012-02-16 15:00:53 +01:00
Blake Kaplan
4036d5bea0 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
bb1819bbee 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
f040a30b9b 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
da7b97f3fd 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
74ffd06481 Bug 728029 - Make networks objects. r=cjones
--HG--
extra : rebase_source : e21a67df7a93697605e8665916e37396cf0ed4cc
2012-02-16 15:00:53 +01:00
Blake Kaplan
4e46f384b9 Bug 725750 - Restore auto-Mozilla network joining hack. r=gal 2012-02-10 13:13:21 +01:00
Blake Kaplan
106a0157cb 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
48d99173c1 Bug 718679 - ipToString in nsWifiWorker.js uses wrong byte order, r=mrbkap 2012-01-18 13:22:12 -08:00
Blake Kaplan
bdec86a061 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
Mike Hommey
62c12f3946 Bug 716825 - Avoid loading system libraries with their full path. r=bjacob,r=gal,r=blassey 2012-01-13 07:23:02 +01:00
Ben Turner
c99401ac2a Bug 714459 - 'Rename RadioManager / nsIRadioWorker'. r=mrbkap.
--HG--
rename : dom/system/b2g/RadioManager.cpp => dom/system/b2g/SystemWorkerManager.cpp
rename : dom/system/b2g/RadioManager.h => dom/system/b2g/SystemWorkerManager.h
rename : dom/system/b2g/nsIRadioWorker.idl => dom/system/b2g/nsIWorkerHolder.idl
extra : transplant_source : 2%ED%03%8F%C0%98%06%25%8EnIb%8BI%B0O%EB%BF%E0%A2
2012-01-09 15:18:23 -08:00
Blake Kaplan
898bd6d340 Bug 712629 - Make Wifi work under gonk. There are large parts of this that are still sketches, but this gets us limping along. r=gal
--HG--
extra : rebase_source : 7fb2de1e4eb22250dbe0958a46e551012ff54ac3
2011-12-06 22:14:55 +08:00