Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(410)

Issue 32193015: WlanConnect to BSS with given frequency. (Closed)

Created:
7 years, 2 months ago by mef
Modified:
7 years ago
Reviewers:
afontan, tbarzic
CC:
chromium-reviews
Visibility:
Public.

Description

WlanConnect to BSS with given frequency. If desired frequency is specified, then highest link quality BSS with that frequency is passed to WlanConnect. BUG=267667

Patch Set 1 #

Patch Set 2 : GetDesiredBssidList now selects one BSSID with best quality. #

Total comments: 4

Patch Set 3 : "GUID": "GoogleGuest", #

Patch Set 4 : Rebase. #

Patch Set 5 : Sync up to r231308 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+315 lines, -196 lines) Patch
M chrome/utility/networking_private_handler.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/utility/wifi/wifi_service.h View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M chrome/utility/wifi/wifi_service_mock.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/utility/wifi/wifi_service_win.cc View 1 2 3 4 8 chunks +294 lines, -195 lines 0 comments Download
M chrome/utility/wifi/wifi_test.cc View 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
mef
Hi Antoine, I've prototyped using WLanConnect with desired bssid list, but I get error 50 ...
7 years, 2 months ago (2013-10-23 19:54:54 UTC) #1
afontan
Misha, are you testing in windows 7 or 8? We only tested it in those ...
7 years, 2 months ago (2013-10-23 21:10:50 UTC) #2
mef
PTAL.
7 years, 1 month ago (2013-10-24 17:51:43 UTC) #3
afontan
https://codereview.chromium.org/32193015/diff/30001/chrome/utility/networking_private_handler.cc File chrome/utility/networking_private_handler.cc (right): https://codereview.chromium.org/32193015/diff/30001/chrome/utility/networking_private_handler.cc#newcode117 chrome/utility/networking_private_handler.cc:117: WiFiService::kFrequencyUnknown, I think that the name kFrequencyAny or kFrequencyUndefined ...
7 years, 1 month ago (2013-10-24 18:18:20 UTC) #4
afontan
lgtm
7 years, 1 month ago (2013-10-24 18:18:36 UTC) #5
mef
Thanks, Antonio! Could you take one more look @ https://codereview.chromium.org/27722003/ (see my comment below). https://codereview.chromium.org/32193015/diff/30001/chrome/utility/networking_private_handler.cc ...
7 years, 1 month ago (2013-10-24 19:13:54 UTC) #6
mef
7 years, 1 month ago (2013-10-24 22:12:09 UTC) #7
On 2013/10/24 19:13:54, mef wrote:
> Thanks, Antonio! 
> 
> Could you take one more look @ https://codereview.chromium.org/27722003/ (see
my
> comment below).
> 
>
https://codereview.chromium.org/32193015/diff/30001/chrome/utility/networking...
> File chrome/utility/networking_private_handler.cc (right):
> 
>
https://codereview.chromium.org/32193015/diff/30001/chrome/utility/networking...
> chrome/utility/networking_private_handler.cc:117:
> WiFiService::kFrequencyUnknown,
> On 2013/10/24 18:18:20, afontan wrote:
> > I think that the name kFrequencyAny or kFrequencyUndefined  would represent
a
> > bit better what this is but it is fine.
> 
> Done.
> 
>
https://codereview.chromium.org/32193015/diff/30001/chrome/utility/wifi/wifi_...
> File chrome/utility/wifi/wifi_service_win.cc (right):
> 
>
https://codereview.chromium.org/32193015/diff/30001/chrome/utility/wifi/wifi_...
> chrome/utility/wifi/wifi_service_win.cc:798: scoped_ptr<DOT11_BSSID_LIST>*
> desired_list) {
> On 2013/10/24 18:18:20, afontan wrote:
> > I think you should consider adding hidden networks support in the extension
as
> it is a relatively common scenario.
> Sounds good. I'll keep this CL going as placeholder for additional feature
> support.
> 
> My current plan is to land http://crrev.com/22295002 first as the plumbing
> support, then land https://codereview.chromium.org/27722003/ second as basic
> Windows support, and then land this CL to support advanced scenarios.

+tbarzic for extension knowledge.

I've experimented a little more with support of hidden networks by extension on
Windows and Chrome OS.
It doesn't seem to work on either OS. There is UI to 'Join other network' and it
appears to correctly pass
information to Chromecast, but it doesn't seem to call network private api to
connect to that (typed in) network,
so setup fails to find the device for the confirmation stage. I think it should
be possible and valuable.

thanks,
-m

Powered by Google App Engine
This is Rietveld 408576698