| Index: net/base/net_util.h
|
| diff --git a/net/base/net_util.h b/net/base/net_util.h
|
| index 364d41ebd50dccf77a92cb8c1fd908b667c80cc0..b21fb738b8a4f4d8c52c8a1068574a1fbd77d3ef 100644
|
| --- a/net/base/net_util.h
|
| +++ b/net/base/net_util.h
|
| @@ -489,6 +489,29 @@ enum WifiPHYLayerProtocol {
|
| WIFI_PHY_LAYER_PROTOCOL_UNKNOWN
|
| };
|
|
|
| +// Wifi access point security mode definitions.
|
| +enum WifiSecurityMode {
|
| + WIFI_SECURITY_UNKNOWN = 0,
|
| + WIFI_SECURITY_WPA = 1,
|
| + WIFI_SECURITY_WEP = 2,
|
| + WIFI_SECURITY_RSN = 3,
|
| + WIFI_SECURITY_802_1X = 4,
|
| + WIFI_SECURITY_PSK = 5,
|
| + WIFI_SECURITY_NONE
|
| +};
|
| +
|
| +// Information of the currently connected wifi access point.
|
| +struct NET_EXPORT WifiAccessPointInfo {
|
| + WifiAccessPointInfo();
|
| + ~WifiAccessPointInfo();
|
| + WifiSecurityMode security;
|
| + std::string bssid;
|
| + std::string model_number;
|
| + std::string model_name;
|
| + std::string device_name;
|
| + std::string oui_list;
|
| +};
|
| +
|
| // Characterize the PHY mode of the currently associated access point.
|
| // Currently only available on OS_WIN.
|
| NET_EXPORT WifiPHYLayerProtocol GetWifiPHYLayerProtocol();
|
|
|