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

Unified Diff: net/base/net_util.h

Issue 12082090: [net] Add WifiPhyMode to SystemProfile (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: hook things up to Network Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/base/net_util.h
diff --git a/net/base/net_util.h b/net/base/net_util.h
index f21c1edb16ce2404f471adf3f1e5d951b1c8d221..b9f16a2437e1b208ee79a8e5cb312c2db96fce3b 100644
--- a/net/base/net_util.h
+++ b/net/base/net_util.h
@@ -516,6 +516,19 @@ typedef std::vector<NetworkInterface> NetworkInterfaceList;
// Can be called only on a thread that allows IO.
NET_EXPORT bool GetNetworkList(NetworkInterfaceList* networks);
+enum WifiPhyMode {
+ WIFI_PHY_MODE_NONE,
+ WIFI_PHY_MODE_ANCIENT,
+ WIFI_PHY_MODE_A,
+ WIFI_PHY_MODE_B,
+ WIFI_PHY_MODE_G,
+ WIFI_PHY_MODE_N,
+ WIFI_PHY_MODE_UNKNOWN
+};
Ilya Sherman 2013/02/11 06:26:13 nit: Docs?
szym 2013/02/11 08:30:53 Done.
+
+// Characterize the PHY mode of the currently associated access point.
Ilya Sherman 2013/02/11 06:26:13 nit: I have no idea what "PHY" is. Is there a des
Ilya Sherman 2013/02/11 06:26:13 nit: Mention that this is only implemented on Wind
szym 2013/02/11 08:30:53 Done. PHY is not an acronym. It stands for "physi
szym 2013/02/11 08:30:53 Done.
+NET_EXPORT WifiPhyMode GetWifiPhyMode();
+
} // namespace net
#endif // NET_BASE_NET_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698