| Index: net/base/net_util.h
|
| diff --git a/net/base/net_util.h b/net/base/net_util.h
|
| index f21c1edb16ce2404f471adf3f1e5d951b1c8d221..9bbec551bdaca95e25d82a51d31000d0ed5a45ee 100644
|
| --- a/net/base/net_util.h
|
| +++ b/net/base/net_util.h
|
| @@ -516,6 +516,28 @@ typedef std::vector<NetworkInterface> NetworkInterfaceList;
|
| // Can be called only on a thread that allows IO.
|
| NET_EXPORT bool GetNetworkList(NetworkInterfaceList* networks);
|
|
|
| +// General category of the IEEE 802.11 (wifi) physical layer operating mode.
|
| +enum WifiPHYLayerProtocol {
|
| + // No wifi support or no associated AP.
|
| + WIFI_PHY_LAYER_PROTOCOL_NONE,
|
| + // An obsolete modes introduced by the original 802.11, e.g. IR, FHSS,
|
| + WIFI_PHY_LAYER_PROTOCOL_ANCIENT,
|
| + // 802.11a, OFDM-based rates.
|
| + WIFI_PHY_LAYER_PROTOCOL_A,
|
| + // 802.11b, DSSS or HR DSSS.
|
| + WIFI_PHY_LAYER_PROTOCOL_B,
|
| + // 802.11g, same rates as 802.11a but compatible with 802.11b.
|
| + WIFI_PHY_LAYER_PROTOCOL_G,
|
| + // 802.11n, HT rates.
|
| + WIFI_PHY_LAYER_PROTOCOL_N,
|
| + // Unclassified mode or failure to identify.
|
| + WIFI_PHY_LAYER_PROTOCOL_UNKNOWN
|
| +};
|
| +
|
| +// Characterize the PHY mode of the currently associated access point.
|
| +// Currently only available on OS_WIN.
|
| +NET_EXPORT WifiPHYLayerProtocol GetWifiPHYLayerProtocol();
|
| +
|
| } // namespace net
|
|
|
| #endif // NET_BASE_NET_UTIL_H_
|
|
|