Chromium Code Reviews| 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_ |