Commit Graph

373 Commits

Author SHA1 Message Date
Patrick Wang (Chih-Kai Wang)
c0da861aa4 Bug 970307: Part 1: Report status of each thread to find when all the threads are idle. r=nfroyd 2014-11-24 15:21:52 +08:00
Chuck Lee
ef426b8de7 Bug 1088490 - Default network mode to ESS. r=vchang 2014-10-27 16:23:43 +08:00
Henry Chang
bc1cd79c53 Bug 1087153 - Only attempt to close p2p supplicant connection before KK. r=vchang.
Since we would only use single connection to communicate with wpa_supplicant
on different interface (wlan0/p2p0) since KK, there's no need to close
supplicant connection in the p2p state machine.
2014-10-27 10:09:51 +08:00
Kai-Zhen Li
d64ad209c0 Bug 1065208 - Decode and quote ssid when it is in utf-8 format. r=vchang 2014-10-23 17:19:24 +08:00
Thomas Zimmermann
399f24cd65 Bug 928362: Support ad-hoc mode for Wifi, r=vchang, r=mrbkap
This patch adds support for Wifi networks that run in ad-hoc
mode. The network attributes 'frequency' and 'mode' are required
by wpa_supplicant to connect to an ad-hoc network.

'Frequency' is just the frequency of the channel in use. 'Mode'
is the network's mode, with 0 being infrastructure mode, 1 being
IBSS mode (aka ad-hoc mode), and 2 being access-point mode.

If ad-hoc mode is not supported on your device, you can set the
environment property 'ro.moz.wifi.ibss_supported' to false to
disable it in Gecko.
2014-10-20 14:22:47 +02:00
Henry Chang
2cfa54eae4 Bug 1049460 - Change wpa_supplicant mux/demux method on KK to enable wifi direct. r=vchang
--HG--
extra : rebase_source : 0633f2b2999d9aca03543463164b3de83b67f4f5
2014-10-08 15:18:35 +08:00
Chuck Lee
cf8dd33d6b Bug 1079173 - Check existence of netId instead of check it's value. r=hchang 2014-10-13 10:05:33 +08:00
Chuck Lee
d030ea489d Bug 1073342 - Remove non-necessary thread in WifiCertService. r=vchang 2014-10-02 19:43:48 +08:00
Chuck Lee
8c12736395 Bug 1078113 - Use Cu.cloneInfo() to wrap returned values. r=bzbarsky r=vchang 2014-10-07 18:06:03 +08:00
Bobby Holley
a9a745e197 Bug 1065185 - Create a content Array rather than a chrome Array in _convertWifiNetworks. r=chucklee 2014-10-03 10:05:51 +02:00
Bobby Holley
f4c38cee30 Bug 1065185 - Stop using Promise.jsm over SpecialPowers in marionette tests. r=bz 2014-10-03 10:05:50 +02:00
Henry Chang
031c1dd749 Bug 1038531 - Unify NetworkWorker. r=fabrice r=mrbkap 2014-08-18 11:02:56 +08:00
Kai-Zhen Li
5e5056d05a Bug 1068468 - Truncate ssid if its length of encoded to utf8 is longer than 32. r=chulee
--HG--
extra : amend_source : 7f41d7bf31c3152e75934731d36aead919371baa
2014-09-26 17:41:19 +08:00
Ehsan Akhgari
2124657509 Bug 1072701 - Build some Firefox OS specific DOM code in unified mode; r=baku
--HG--
extra : rebase_source : 4a8812c18341c9851fb3265e1f8e6c77a95911c5
2014-09-25 10:10:42 -04:00
Mike Habicher
c0376bc34a Bug 1053966 - move mozsettings-changed Observer info from aSubject to aData, r=bz,qDot 2014-09-16 13:15:16 -04:00
Chuck Lee
b9e39edae5 Bug 1050678 - Provide network info for state change event. r=hchang 2014-09-17 15:08:18 +08:00
Ryan VanderMeulen
d3fce43e7e Backed out changeset ed586ca080c0 (bug 1053966) for the same Mnw permafails it was backed out for previously. 2014-09-16 16:54:25 -04:00
Mike Habicher
e9ff4e12a0 Bug 1053966 - move mozsettings-changed Observer info from aSubject to aData, r=bz,qDot 2014-09-16 13:15:16 -04:00
Chris Peterson
d126c3c24f Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
Kyle Machulis
8096f7737a Bug 1015518 - Update users of settings observer 'message' field to use boolean; r=gene a=2.1 2014-08-27 21:01:31 -07:00
Kyle Machulis
c6b52f9039 Bug 900551 - Make marionette webapi tests use transaction events for settings; r=edgar r=hchang r=dlee 2014-08-27 21:01:30 -07:00
Ryan VanderMeulen
f9e1c75706 Merge b2g-inbound to m-c. a=merge 2014-08-29 15:26:40 -04:00
Chuck Lee
bcbd8dd34b Bug 1055380 - Cast network configs into correct data type. r=hchang 2014-08-29 11:18:02 +08:00
Kyle Machulis
03d47a099e Bug 846200 - Update Marionette JS WebAPI Tests to use new settings-api permissions; r=echou r=echen
--HG--
extra : rebase_source : 36a9f3e055a2ff7bcf624e9ef7f8f1e4619de6da
2014-08-27 21:01:29 -07:00
Kai-Zhen Li
75f619638f Bug 1059702 - Use wifi.tethering.interface for wifi AP if it does exist. r=vchang 2014-08-28 18:34:38 +08:00
Ryan VanderMeulen
a408d636f2 Backed out 11 changesets (bug 1059079, bug 1015518, bug 900551, bug 846200) for Gaia UI test failures on a CLOSED TREE.
Backed out changeset d85b4e48b3b4 (bug 1015518)
Backed out changeset 663b73ba69ec (bug 1015518)
Backed out changeset 5cf1cb5fa022 (bug 900551)
Backed out changeset b953dd5bfdaa (bug 900551)
Backed out changeset a2b6d7c84100 (bug 900551)
Backed out changeset ceb79fe83d15 (bug 900551)
Backed out changeset f6acf344fbf0 (bug 900551)
Backed out changeset fa269ea53937 (bug 846200)
Backed out changeset b89c84a850f9 (bug 846200)
Backed out changeset b7a7dfbe4e3f (bug 846200)
Backed out changeset c6f54d821c11 (bug 1059079)
2014-08-28 12:49:49 -04:00
Ryan VanderMeulen
86c3d649db Backed out changeset 52b00288469c (bug 1015518) for Gaia UI test perma-fails.
CLOSED TREE

--HG--
extra : amend_source : f14efe30e300b626cffa22066c28a0fbda42a80b
2014-08-28 12:44:39 -04:00
Kyle Machulis
a79529bbe4 Bug 1015518 - Update users of settings observer 'message' field to use boolean; r=gene 2014-08-27 21:01:31 -07:00
Kyle Machulis
6fa5fd3e2f Bug 900551 - Make marionette webapi tests use transaction events for settings; r=edgar r=hchang r=dlee 2014-08-27 21:01:30 -07:00
Kyle Machulis
71298b134a Bug 846200 - Update Marionette JS WebAPI Tests to use new settings-api permissions; r=echou r=echen 2014-08-27 21:01:29 -07:00
Nicholas Nethercote
c40e831763 Bug 1051106 - Remove a useless waitForScan() call. r=vchang.
--HG--
extra : rebase_source : fab1721336cd1c9878b7f8259524d73ea9fcebfe
2014-08-20 18:36:59 -07:00
Chuck Lee
6b2cbe2ff6 Bug 1051660 - 0002. Test case for Wifi Enable API. r=hchang 2014-08-18 15:10:27 +08:00
Chuck Lee
8d8c2f503e Bug 1051660 - 0001. Fix minor bugs in API implementation. r=hchang 2014-08-18 15:10:24 +08:00
Henry Chang
6788da60da Bug 1033983 - Bypass the UTF conversion of null char if it's not the last one. r=chucklee 2014-08-14 16:32:42 +08:00
Chuck Lee
d7db55d8f8 Bug 979739 - Fix netmask string format error and use netHelper. r=vchang 2014-08-13 15:30:01 +08:00
Bobby Holley
e70ddb7476 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
30ae466592 Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage. 2014-08-14 17:23:10 -04:00
Bobby Holley
3e4d70a655 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 12:54:34 -07:00
Dimi Lee
21d9d46259 Bug 936367 - Support wifi hotspot enable API. r=vchang, r=ptheriault, sr=mrbkap 2014-08-11 17:13:25 +08:00
Chuck Lee
1e3d65af11 Bug 1047294 - Fix potential Javascript Error. r=vchang 2014-08-07 18:00:23 +08:00
Chuck Lee
8655d63560 Bug 930355 - 0002. Implement wifi enable API. r=vchang 2014-08-07 17:19:31 +08:00
Henry Chang
9cb99bd7bd Bug 1046116 - Do not disable network on receiving 'CTRL-EVENT-ASSOC-REJECT'. r=vchang
We would disable one network after receiving 'CTRL-EVENT-ASSOC-REJECT'
a couple of times but never re-enable it again. Remove this rule until
we have a sophisticated re-enable policy.
2014-08-05 16:33:40 +08:00
Kyle Huey
cebdcff7c6 Bug 1046000: Shut down the wifi services. r=vchang
--HG--
extra : rebase_source : 121fb986ff42e414713f4ff8bab151289e9746f4
2014-07-30 19:31:18 -07:00
Jessica Jong
2cb16089a5 Bug 990458 - Part 4: WifiP2pManager changes to support updateNetworkInterface(). r=vchang 2014-07-29 16:44:29 +08:00
Jessica Jong
6a2315d619 Bug 990458 - Part 3: WifiWorker changes to support updateNetworkInterface(). r=vchang 2014-07-29 16:44:27 +08:00
Chuck Lee
1e870fc396 Bug 1039220 - Fix judgement rule for valid property. r=hchang 2014-07-16 18:06:13 +08:00
Vincent Chang
745dc2f82c Bug 1034489 - [FirefoxOS_v1.4][Shark]Close WIFI while obtaining IP from AP and WIFI button can't be tapped for long. r=chulee 2014-07-16 16:10:21 +08:00
Vincent Chang
cafac21a72 Bug 1037301 - [Wifi] Close station info update timer when we disable the hotspot. r=hchang 2014-07-11 11:45:55 +08:00
Nicholas Nethercote
ac9dc3db30 Bug 1037302 - Avoid excess string creation in WifiCommand.jsm's getConnectionInfoICS(). r=hchang.
This changes the code to use search() and indexOf() to find the boundaries of
the relevant values, and substring() to extract them. This reduces the number
of strings created on each invocation by 8x.

The patch changes the behaviour if a key appears more than once. With the old
code the last occurrence would be used. With the new code the first one is
used. Hopefully this doesn't matter.
2014-07-13 22:05:27 -07:00
Henry Chang
c9a343f273 Bug 1022460 - Add wifi tethering test cases. r=vyang 2014-07-01 18:47:13 +08:00