亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? driver.h

?? WLAN無線網絡管理的最新程序
?? H
?? 第 1 頁 / 共 2 頁
字號:
/* * WPA Supplicant - driver interface definition * Copyright (c) 2003-2006, Jouni Malinen <j@w1.fi> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * Alternatively, this software may be distributed under the terms of BSD * license. * * See README and COPYING for more details. */#ifndef DRIVER_H#define DRIVER_H#define WPA_SUPPLICANT_DRIVER_VERSION 2#include "defs.h"#define AUTH_ALG_OPEN_SYSTEM	0x01#define AUTH_ALG_SHARED_KEY	0x02#define AUTH_ALG_LEAP		0x04#define IEEE80211_MODE_INFRA	0#define IEEE80211_MODE_IBSS	1#define IEEE80211_CAP_ESS	0x0001#define IEEE80211_CAP_IBSS	0x0002#define IEEE80211_CAP_PRIVACY	0x0010#define SSID_MAX_WPA_IE_LEN 40/** * struct wpa_scan_result - Scan results * @bssid: BSSID * @ssid: SSID * @ssid_len: length of the ssid * @wpa_ie: WPA IE * @wpa_ie_len: length of the wpa_ie * @rsn_ie: RSN IE * @rsn_ie_len: length of the RSN IE * @freq: frequency of the channel in MHz (e.g., 2412 = channel 1) * @caps: capability information field in host byte order * @qual: signal quality * @noise: noise level * @level: signal level * @maxrate: maximum supported rate * * This structure is used as a generic format for scan results from the * driver. Each driver interface implementation is responsible for converting * the driver or OS specific scan results into this format. */struct wpa_scan_result {	u8 bssid[ETH_ALEN];	u8 ssid[32];	size_t ssid_len;	u8 wpa_ie[SSID_MAX_WPA_IE_LEN];	size_t wpa_ie_len;	u8 rsn_ie[SSID_MAX_WPA_IE_LEN];	size_t rsn_ie_len;	int freq;	u16 caps;	int qual;	int noise;	int level;	int maxrate;};/** * struct wpa_driver_associate_params - Association parameters * Data for struct wpa_driver_ops::associate(). */struct wpa_driver_associate_params {	/**	 * bssid - BSSID of the selected AP	 * This can be %NULL, if ap_scan=2 mode is used and the driver is	 * responsible for selecting with which BSS to associate. */	const u8 *bssid;	/**	 * ssid - The selected SSID	 */	const u8 *ssid;	size_t ssid_len;	/**	 * freq - Frequency of the channel the selected AP is using	 * Frequency that the selected AP is using (in MHz as	 * reported in the scan results)	 */	int freq;	/**	 * wpa_ie - WPA information element for (Re)Association Request	 * WPA information element to be included in (Re)Association	 * Request (including information element id and length). Use	 * of this WPA IE is optional. If the driver generates the WPA	 * IE, it can use pairwise_suite, group_suite, and	 * key_mgmt_suite to select proper algorithms. In this case,	 * the driver has to notify wpa_supplicant about the used WPA	 * IE by generating an event that the interface code will	 * convert into EVENT_ASSOCINFO data (see wpa_supplicant.h).	 * When using WPA2/IEEE 802.11i, wpa_ie is used for RSN IE	 * instead. The driver can determine which version is used by	 * looking at the first byte of the IE (0xdd for WPA, 0x30 for	 * WPA2/RSN).	 */	const u8 *wpa_ie;	/**	 * wpa_ie_len - length of the wpa_ie	 */	size_t wpa_ie_len;	/* The selected pairwise/group cipher and key management	 * suites. These are usually ignored if @wpa_ie is used. */	wpa_cipher pairwise_suite;	wpa_cipher group_suite;	wpa_key_mgmt key_mgmt_suite;	/**	 * auth_alg - Allowed authentication algorithms	 * Bit field of AUTH_ALG_*	 */	int auth_alg;	/**	 * mode - Operation mode (infra/ibss) IEEE80211_MODE_*	 */	int mode;	/**	 * wep_key - WEP keys for static WEP configuration	 */	const u8 *wep_key[4];	/**	 * wep_key_len - WEP key length for static WEP configuration	 */	size_t wep_key_len[4];	/**	 * wep_tx_keyidx - WEP TX key index for static WEP configuration	 */	int wep_tx_keyidx;	/**	 * mgmt_frame_protection - IEEE 802.11w management frame protection	 */	enum {		NO_MGMT_FRAME_PROTECTION,		MGMT_FRAME_PROTECTION_OPTIONAL,		MGMT_FRAME_PROTECTION_REQUIRED	} mgmt_frame_protection;};/** * struct wpa_driver_capa - Driver capability information */struct wpa_driver_capa {#define WPA_DRIVER_CAPA_KEY_MGMT_WPA		0x00000001#define WPA_DRIVER_CAPA_KEY_MGMT_WPA2		0x00000002#define WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK	0x00000004#define WPA_DRIVER_CAPA_KEY_MGMT_WPA2_PSK	0x00000008#define WPA_DRIVER_CAPA_KEY_MGMT_WPA_NONE	0x00000010	unsigned int key_mgmt;#define WPA_DRIVER_CAPA_ENC_WEP40	0x00000001#define WPA_DRIVER_CAPA_ENC_WEP104	0x00000002#define WPA_DRIVER_CAPA_ENC_TKIP	0x00000004#define WPA_DRIVER_CAPA_ENC_CCMP	0x00000008	unsigned int enc;#define WPA_DRIVER_AUTH_OPEN		0x00000001#define WPA_DRIVER_AUTH_SHARED		0x00000002#define WPA_DRIVER_AUTH_LEAP		0x00000004	unsigned int auth;/* Driver generated WPA/RSN IE */#define WPA_DRIVER_FLAGS_DRIVER_IE	0x00000001#define WPA_DRIVER_FLAGS_SET_KEYS_AFTER_ASSOC 0x00000002#define WPA_DRIVER_FLAGS_USER_SPACE_MLME 0x00000004	unsigned int flags;};#define WPA_CHAN_W_SCAN 0x00000001#define WPA_CHAN_W_ACTIVE_SCAN 0x00000002#define WPA_CHAN_W_IBSS 0x00000004struct wpa_channel_data {	short chan; /* channel number (IEEE 802.11) */	short freq; /* frequency in MHz */	int flag; /* flag for user space use (WPA_CHAN_*) */};#define WPA_RATE_ERP 0x00000001#define WPA_RATE_BASIC 0x00000002#define WPA_RATE_PREAMBLE2 0x00000004#define WPA_RATE_SUPPORTED 0x00000010#define WPA_RATE_OFDM 0x00000020#define WPA_RATE_CCK 0x00000040#define WPA_RATE_MANDATORY 0x00000100struct wpa_rate_data {	int rate; /* rate in 100 kbps */	int flags; /* WPA_RATE_ flags */};typedef enum {	WPA_MODE_IEEE80211B,	WPA_MODE_IEEE80211G,	WPA_MODE_IEEE80211A,	NUM_WPA_MODES} wpa_hw_mode;struct wpa_hw_modes {	wpa_hw_mode mode;	int num_channels;	struct wpa_channel_data *channels;	int num_rates;	struct wpa_rate_data *rates;};struct ieee80211_rx_status {        int channel;        int ssi;};/** * struct wpa_driver_ops - Driver interface API definition * * This structure defines the API that each driver interface needs to implement * for core wpa_supplicant code. All driver specific functionality is captured * in this wrapper. */struct wpa_driver_ops {	/** Name of the driver interface */	const char *name;	/** One line description of the driver interface */	const char *desc;	/**	 * get_bssid - Get the current BSSID	 * @priv: private driver interface data	 * @bssid: buffer for BSSID (ETH_ALEN = 6 bytes)	 *	 * Returns: 0 on success, -1 on failure	 *	 * Query kernel driver for the current BSSID and copy it to bssid.	 * Setting bssid to 00:00:00:00:00:00 is recommended if the STA is not	 * associated.	 */	int (*get_bssid)(void *priv, u8 *bssid);	/**	 * get_ssid - Get the current SSID	 * @priv: private driver interface data	 * @ssid: buffer for SSID (at least 32 bytes)	 *	 * Returns: Length of the SSID on success, -1 on failure	 *	 * Query kernel driver for the current SSID and copy it to ssid.	 * Returning zero is recommended if the STA is not associated.	 *	 * Note: SSID is an array of octets, i.e., it is not nul terminated and	 * can, at least in theory, contain control characters (including nul)	 * and as such, should be processed as binary data, not a printable	 * string.	 */	int (*get_ssid)(void *priv, u8 *ssid);	/**	 * set_wpa - Enable/disable WPA support (OBSOLETE)	 * @priv: private driver interface data	 * @enabled: 1 = enable, 0 = disable	 *	 * Returns: 0 on success, -1 on failure	 *	 * Note: This function is included for backwards compatibility. This is	 * called only just after init and just before deinit, so these	 * functions can be used to implement same functionality and the driver	 * interface need not define this function.	 *	 * Configure the kernel driver to enable/disable WPA support. This may	 * be empty function, if WPA support is always enabled. Common	 * configuration items are WPA IE (clearing it when WPA support is	 * disabled), Privacy flag configuration for capability field (note:	 * this the value need to set in associate handler to allow plaintext	 * mode to be used) when trying to associate with, roaming mode (can	 * allow wpa_supplicant to control roaming if ap_scan=1 is used;	 * however, drivers can also implement roaming if desired, especially	 * ap_scan=2 mode is used for this).	 */	int (*set_wpa)(void *priv, int enabled);	/**	 * set_key - Configure encryption key	 * @priv: private driver interface data	 * @alg: encryption algorithm (%WPA_ALG_NONE, %WPA_ALG_WEP,	 *	%WPA_ALG_TKIP, %WPA_ALG_CCMP, %WPA_ALG_IGTK, %WPA_ALG_DHV);	 *	%WPA_ALG_NONE clears the key.	 * @addr: address of the peer STA or ff:ff:ff:ff:ff:ff for	 *	broadcast/default keys	 * @key_idx: key index (0..3), usually 0 for unicast keys; 0..4095 for	 *	IGTK	 * @set_tx: configure this key as the default Tx key (only used when	 *	driver does not support separate unicast/individual key	 * @seq: sequence number/packet number, seq_len octets, the next	 *	packet number to be used for in replay protection; configured	 *	for Rx keys (in most cases, this is only used with broadcast	 *	keys and set to zero for unicast keys)	 * @seq_len: length of the seq, depends on the algorithm:	 *	TKIP: 6 octets, CCMP: 6 octets, IGTK: 6 octets	 * @key: key buffer; TKIP: 16-byte temporal key, 8-byte Tx Mic key,	 *	8-byte Rx Mic Key	 * @key_len: length of the key buffer in octets (WEP: 5 or 13,	 *	TKIP: 32, CCMP: 16, IGTK: 16, DHV: 16)	 *	 * Returns: 0 on success, -1 on failure	 *	 * Configure the given key for the kernel driver. If the driver	 * supports separate individual keys (4 default keys + 1 individual),	 * addr can be used to determine whether the key is default or	 * individual. If only 4 keys are supported, the default key with key	 * index 0 is used as the individual key. STA must be configured to use	 * it as the default Tx key (set_tx is set) and accept Rx for all the	 * key indexes. In most cases, WPA uses only key indexes 1 and 2 for	 * broadcast keys, so key index 0 is available for this kind of	 * configuration.	 *	 * Please note that TKIP keys include separate TX and RX MIC keys and	 * some drivers may expect them in different order than wpa_supplicant	 * is using. If the TX/RX keys are swapped, all TKIP encrypted packets	 * will tricker Michael MIC errors. This can be fixed by changing the	 * order of MIC keys by swapping te bytes 16..23 and 24..31 of the key	 * in driver_*.c set_key() implementation, see driver_ndis.c for an	 * example on how this can be done.	 */	int (*set_key)(void *priv, wpa_alg alg, const u8 *addr,		       int key_idx, int set_tx, const u8 *seq, size_t seq_len,		       const u8 *key, size_t key_len);	/**	 * init - Initialize driver interface	 * @ctx: context to be used when calling wpa_supplicant functions,	 * e.g., wpa_supplicant_event()	 * @ifname: interface name, e.g., wlan0	 *	 * Returns: Pointer to private data, %NULL on failure	 *	 * Initialize driver interface, including event processing for kernel	 * driver events (e.g., associated, scan results, Michael MIC failure).	 * This function can allocate a private configuration data area for	 * @ctx, file descriptor, interface name, etc. information that may be	 * needed in future driver operations. If this is not used, non-NULL	 * value will need to be returned because %NULL is used to indicate	 * failure. The returned value will be used as 'void *priv' data for	 * all other driver_ops functions.	 *	 * The main event loop (eloop.c) of wpa_supplicant can be used to	 * register callback for read sockets (eloop_register_read_sock()).	 *	 * See wpa_supplicant.h for more information about events and	 * wpa_supplicant_event() function.	 */	void * (*init)(void *ctx, const char *ifname);	/**	 * deinit - Deinitialize driver interface	 * @priv: private driver interface data from init()	 *	 * Shut down driver interface and processing of driver events. Free	 * private data buffer if one was allocated in init() handler.	 */	void (*deinit)(void *priv);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国内精品伊人久久久久影院对白| 欧美国产一区视频在线观看| 成人午夜电影小说| 麻豆国产欧美一区二区三区| 亚洲国产一区二区在线播放| 亚洲乱码一区二区三区在线观看| 1024成人网| 亚洲美女一区二区三区| 亚洲裸体xxx| 洋洋成人永久网站入口| 亚洲午夜在线视频| 亚洲第一在线综合网站| 婷婷开心激情综合| 久久99国产精品麻豆| 国产一区二区三区日韩| 国产成人综合网| 91麻豆蜜桃一区二区三区| 色94色欧美sute亚洲线路一久| 91同城在线观看| 4438x亚洲最大成人网| 日韩一区二区不卡| 国产精品天干天干在线综合| 中文字幕欧美日韩一区| 亚洲主播在线播放| 蜜臀av一区二区在线免费观看 | 日韩三级精品电影久久久 | 精品亚洲国产成人av制服丝袜 | 在线精品亚洲一区二区不卡| 欧美午夜免费电影| 欧美大黄免费观看| 国产精品久久久久久久岛一牛影视| 亚洲免费电影在线| 蜜桃一区二区三区四区| 99视频热这里只有精品免费| 91精品国产综合久久蜜臀 | 91免费精品国自产拍在线不卡| 欧美在线视频日韩| 久久免费偷拍视频| 亚洲国产欧美在线| 国产福利91精品| 3d成人动漫网站| 国产精品久久一级| 激情综合五月婷婷| 欧美日韩国产高清一区二区 | 国产iv一区二区三区| 色欧美日韩亚洲| 国产色一区二区| 香港成人在线视频| 91天堂素人约啪| 国产网红主播福利一区二区| 亚洲成人久久影院| 一本色道久久综合亚洲aⅴ蜜桃 | 日韩精品乱码免费| 北条麻妃国产九九精品视频| 欧美电视剧免费全集观看| 一区二区久久久久久| 粉嫩av亚洲一区二区图片| 日韩一级在线观看| 亚洲mv在线观看| 欧美亚洲综合色| 亚洲精品成人a在线观看| 成熟亚洲日本毛茸茸凸凹| 精品欧美一区二区在线观看| 午夜精品久久久久久久久| 91网站黄www| 亚洲精品日韩综合观看成人91| 国产成人在线观看免费网站| 日韩精品一区二区三区四区视频| 一二三区精品福利视频| 色婷婷综合在线| 亚洲天堂免费看| 91在线免费播放| 自拍偷自拍亚洲精品播放| 成人精品国产一区二区4080| 国产无人区一区二区三区| 国产精品资源站在线| 国产午夜精品一区二区三区嫩草 | 欧美伊人久久久久久午夜久久久久| 亚洲国产精品高清| 99久久精品一区二区| 中文字幕一区二区三区四区| 97久久精品人人爽人人爽蜜臀| 国产精品乱码人人做人人爱| 成年人国产精品| 亚洲三级在线看| 91麻豆国产香蕉久久精品| 亚洲线精品一区二区三区八戒| 欧美日韩一区 二区 三区 久久精品| 一区二区三区中文字幕在线观看| 欧美中文字幕一区二区三区 | 国内精品视频666| 2020日本不卡一区二区视频| 国产一区二区电影| 国产精品久久二区二区| 欧美日韩国产成人在线免费| 美腿丝袜亚洲综合| 国产精品私人影院| 欧美日韩在线播放一区| 日本va欧美va瓶| 亚洲国产精品99久久久久久久久| 成人av一区二区三区| 亚洲国产三级在线| 久久香蕉国产线看观看99| 成人av电影观看| 日韩精品一二三| 国产精品灌醉下药二区| 在线观看免费亚洲| 久久成人久久鬼色| 自拍偷自拍亚洲精品播放| 91精品国产综合久久久久久漫画| 国产精品亚洲第一区在线暖暖韩国| 亚洲欧美日韩在线播放| 欧美一二三区精品| 91偷拍与自偷拍精品| 看电影不卡的网站| 亚洲一区二区三区四区中文字幕| 精品国精品国产| 欧美亚洲日本国产| 国产成人免费高清| 日韩电影在线看| 一级精品视频在线观看宜春院 | 韩国女主播成人在线观看| 亚洲日本va午夜在线影院| 日韩欧美在线观看一区二区三区| 97久久精品人人做人人爽50路| 蜜芽一区二区三区| 玉米视频成人免费看| 国产性色一区二区| 欧美videos大乳护士334| 欧美三级欧美一级| 97久久超碰精品国产| 丁香婷婷深情五月亚洲| 久久国内精品视频| 日韩在线观看一区二区| 亚洲精品福利视频网站| 亚洲欧洲国产日韩| 国产精品视频你懂的| 精品久久久久久最新网址| 在线播放91灌醉迷j高跟美女 | 理论电影国产精品| 亚洲五码中文字幕| 一区二区三区在线观看视频 | 色av综合在线| 99re热视频精品| av高清久久久| caoporn国产精品| 成人91在线观看| www.日韩大片| 高清不卡一区二区| 成人一区二区三区在线观看| 国内精品写真在线观看| 国产精品一区二区不卡| 国产精品18久久久久久久久| 麻豆成人综合网| 国产美女精品一区二区三区| 美洲天堂一区二卡三卡四卡视频| 久久精品国产在热久久| 九九在线精品视频| 国产在线视频不卡二| 国产精品自拍网站| 福利视频网站一区二区三区| 高清av一区二区| 91视频.com| 欧美伦理影视网| 日韩一区二区三区在线观看| 日韩欧美激情一区| 久久综合999| 国产精品久久久久aaaa| 亚洲午夜私人影院| 亚洲bdsm女犯bdsm网站| 麻豆精品久久久| www.欧美色图| 欧美怡红院视频| 精品国产a毛片| 中文字幕一区二区三区在线不卡| 尤物视频一区二区| 美女久久久精品| 成人综合婷婷国产精品久久免费| 91老师片黄在线观看| 欧美日韩一区在线| 精品国产乱码久久久久久图片 | 亚洲综合在线第一页| 日日摸夜夜添夜夜添亚洲女人| 久久se这里有精品| 91免费国产视频网站| 日韩三级电影网址| 亚洲视频电影在线| 麻豆91免费观看| 91久久国产最好的精华液| 精品国产91乱码一区二区三区| 国产精品成人免费在线| 日韩高清在线不卡| 国产91在线观看丝袜| 欧美高清视频一二三区| 国产精品欧美综合在线| 久久精品国产亚洲高清剧情介绍| 99综合影院在线| 2023国产精华国产精品| 日韩一区精品视频| 色香色香欲天天天影视综合网|