📄 wpactl.h
字号:
/* * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc. * All rights reserved. * * This software is copyrighted by and is the sole property of * VIA Networking Technologies, Inc. This software may only be used * in accordance with the corresponding license agreement. Any unauthorized * use, duplication, transmission, distribution, or disclosure of this * software is expressly forbidden. * * This software is provided by VIA Networking Technologies, Inc. "as is" * and any express or implied warranties, including, but not limited to, the * implied warranties of merchantability and fitness for a particular purpose * are disclaimed. In no event shall VIA Networking Technologies, Inc. * be liable for any direct, indirect, incidental, special, exemplary, or * consequential damages. * * File: wpactl.h * * Purpose: * * Author: Lyndon Chen * * Date: March 1, 2005 * */#ifndef __WPACTL_H__#define __WPACTL_H__#if !defined(__DEVICE_H__)#include "device.h"#endif#ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT#if !defined(__IOWPA_H__)#include "iowpa.h"#endif#endif/*--------------------- Export Definitions -------------------------*///WPA relatedtypedef enum { WPA_ALG_NONE, WPA_ALG_WEP, WPA_ALG_TKIP, WPA_ALG_CCMP } wpa_alg;typedef enum { CIPHER_NONE, CIPHER_WEP40, CIPHER_TKIP, CIPHER_CCMP, CIPHER_WEP104 } wpa_cipher;typedef enum { KEY_MGMT_802_1X, KEY_MGMT_CCKM,KEY_MGMT_PSK, KEY_MGMT_NONE, KEY_MGMT_802_1X_NO_WPA, KEY_MGMT_WPA_NONE } wpa_key_mgmt; #define AUTH_ALG_OPEN_SYSTEM 0x01#define AUTH_ALG_SHARED_KEY 0x02#define AUTH_ALG_LEAP 0x04 #define GENERIC_INFO_ELEM 0xdd#define RSN_INFO_ELEM 0x30 typedef ULONGLONG NDIS_802_11_KEY_RSC; /*--------------------- Export Classes ----------------------------*//*--------------------- Export Variables --------------------------*/ /*--------------------- Export Functions --------------------------*/#ifdef __cplusplusextern "C" { /* Assume C declarations for C++ */#endif /* __cplusplus */int wpa_set_wpadev(PSDevice pDevice, int val);int wpa_ioctl(PSDevice pDevice, struct iw_point *p);int wpa_set_keys(PSDevice pDevice, struct viawget_wpa_param *param, BOOL fcpfkernel);#ifdef __cplusplus} /* End of extern "C" { */#endif /* __cplusplus */#endif // __WPACL_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -