GetWiFiSSID returns empty SSID on Android |
|||
Issue descriptionGetWiFiSSID() in //net/base/network_interfaces.h (https://cs.chromium.org/chromium/src/net/base/network_interfaces.h?rcl=0&l=80) returns an empty string on Android devices (tested on Nexus 6). One fix is to plumb the getWifiSSID() from NetworkChangeNotifierAutoDetect.java to native.
,
Jun 16 2016
I tried on Android M. On the same device getWifiSSID() in NCN returns the correct value. I will try it on older versions.
,
Jun 16 2016
On that device, ioctl(...SIOCGIWESSID...) was returning -1.
,
Jun 16 2016
,
Jun 16 2016
CL in #4 explicitly disabled SIOCGIWESSID support. I am planning to plumb the SSID from NCN to the native.
,
Jul 1 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/c5a1c91d91800672965832bbd62838cd16a022fe commit c5a1c91d91800672965832bbd62838cd16a022fe Author: tbansal <tbansal@chromium.org> Date: Fri Jul 01 22:11:56 2016 Obtain WiFi SSID on Android using Android APIs BUG= 620529 Review-Url: https://codereview.chromium.org/2081493002 Cr-Commit-Position: refs/heads/master@{#403549} [modify] https://crrev.com/c5a1c91d91800672965832bbd62838cd16a022fe/net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java [modify] https://crrev.com/c5a1c91d91800672965832bbd62838cd16a022fe/net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java [modify] https://crrev.com/c5a1c91d91800672965832bbd62838cd16a022fe/net/android/network_library.cc [modify] https://crrev.com/c5a1c91d91800672965832bbd62838cd16a022fe/net/android/network_library.h [modify] https://crrev.com/c5a1c91d91800672965832bbd62838cd16a022fe/net/base/network_interfaces_linux.cc
,
Jul 1 2016
|
|||
►
Sign in to add a comment |
|||
Comment 1 by pauljensen@chromium.org
, Jun 16 2016