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

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

?? driver.h

?? IEEE802.11 a/b/g 客戶端應用程序源代碼
?? H
?? 第 1 頁 / 共 3 頁
字號:
/* * WPA Supplicant - driver interface definition * Copyright (c) 2003-2008, 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 3#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 (old structure) * @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 * @mdie_present: Whether MDIE was included in Beacon/ProbeRsp frame * @mdie: Mobility domain identifier IE (IEEE 802.11r MDIE) (starting from * IE type field) * @tsf: Timestamp * * 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. * * This structure is the old data structure used for scan results. It is * obsoleted by the new struct wpa_scan_res structure and the old version is * only included for backwards compatibility with existing driver wrapper * implementations. New implementations are encouraged to implement for struct * wpa_scan_res. The old structure will be removed at some point. */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;	int mdie_present;	u8 mdie[5];	u64 tsf;};/** * struct wpa_scan_res - Scan result for an BSS/IBSS * @bssid: BSSID * @freq: frequency of the channel in MHz (e.g., 2412 = channel 1) * @beacon_int: beacon interval in TUs (host byte order) * @caps: capability information field in host byte order * @qual: signal quality * @noise: noise level * @level: signal level * @tsf: Timestamp * @ie_len: length of the following IE field in octets * * 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. * * If the driver does not support reporting all IEs, the IE data structure is * constructed of the IEs that are available. This field will also need to * include SSID in IE format. All drivers are encouraged to be extended to * report all IEs to make it easier to support future additions. */struct wpa_scan_res {	u8 bssid[ETH_ALEN];	int freq;	u16 beacon_int;	u16 caps;	int qual;	int noise;	int level;	u64 tsf;	size_t ie_len;	/* followed by ie_len octets of IEs */};/** * struct wpa_scan_results - Scan results * @res: Array of pointers to allocated variable length scan result entries * @num: Number of entries in the scan result array */struct wpa_scan_results {	struct wpa_scan_res **res;	size_t num;};/** * 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 below).	 *	 * 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;	/**	 * ft_ies - IEEE 802.11r / FT information elements	 * If the supplicant is using IEEE 802.11r (FT) and has the needed keys	 * for fast transition, this parameter is set to include the IEs that	 * are to be sent in the next FT Authentication Request message.	 * update_ft_ies() handler is called to update the IEs for further	 * FT messages in the sequence.	 *	 * The driver should use these IEs only if the target AP is advertising	 * the same mobility domain as the one included in the MDIE here.	 *	 * In ap_scan=2 mode, the driver can use these IEs when moving to a new	 * AP after the initial association. These IEs can only be used if the	 * target AP is advertising support for FT and is using the same MDIE	 * and SSID as the current AP.	 *	 * The driver is responsible for reporting the FT IEs received from the	 * AP's response using wpa_supplicant_event() with EVENT_FT_RESPONSE	 * type. update_ft_ies() handler will then be called with the FT IEs to	 * include in the next frame in the authentication sequence.	 */	const u8 *ft_ies;	/**	 * ft_ies_len - Length of ft_ies in bytes	 */	size_t ft_ies_len;	/**	 * ft_md - FT Mobility domain (6 octets) (also included inside ft_ies)	 *	 * This value is provided to allow the driver interface easier access	 * to the current mobility domain. This value is set to %NULL if no	 * mobility domain is currently active.	 */	const u8 *ft_md;	/**	 * passphrase - RSN passphrase for PSK	 *	 * This value is made available only for WPA/WPA2-Personal (PSK) and	 * only for drivers that set WPA_DRIVER_FLAGS_4WAY_HANDSHAKE. This is	 * the 8..63 character ASCII passphrase, if available. Please note that	 * this can be %NULL if passphrase was not used to generate the PSK. In	 * that case, the psk field must be used to fetch the PSK.	 */	const char *passphrase;	/**	 * psk - RSN PSK (alternative for passphrase for PSK)	 *	 * This value is made available only for WPA/WPA2-Personal (PSK) and	 * only for drivers that set WPA_DRIVER_FLAGS_4WAY_HANDSHAKE. This is	 * the 32-octet (256-bit) PSK, if available. The driver wrapper should	 * be prepared to handle %NULL value as an error.	 */	const u8 *psk;};/** * 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#define WPA_DRIVER_CAPA_KEY_MGMT_FT		0x00000020#define WPA_DRIVER_CAPA_KEY_MGMT_FT_PSK		0x00000040	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/* Driver takes care of RSN 4-way handshake internally; PMK is configured with * struct wpa_driver_ops::set_key using alg = WPA_ALG_PMK */#define WPA_DRIVER_FLAGS_4WAY_HANDSHAKE 0x00000008	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

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久婷婷成人综合色| 欧美在线观看你懂的| 日韩电影在线观看一区| 亚洲综合在线电影| 中文字幕亚洲视频| 国产精品久久久久精k8| 国产午夜亚洲精品羞羞网站| 久久久综合视频| 国产午夜亚洲精品羞羞网站| 亚洲国产精品v| 国产精品系列在线| 国产精品久久久久四虎| 亚洲婷婷综合色高清在线| 亚洲欧美日韩国产综合在线| 亚洲欧美一区二区久久 | 欧洲一区二区三区在线| 91麻豆精品一区二区三区| 色婷婷亚洲精品| 欧美中文字幕一区| 精品少妇一区二区三区免费观看| 欧美一区二区在线看| 欧美成va人片在线观看| 国产精品久久久久桃色tv| 樱桃视频在线观看一区| 奇米色777欧美一区二区| 国产真实乱子伦精品视频| 成人性生交大片免费看中文| 色av一区二区| 日韩视频国产视频| 国产精品久久久久久久久果冻传媒| **网站欧美大片在线观看| 亚洲国产一区二区视频| 精品亚洲aⅴ乱码一区二区三区| 成人免费看的视频| 欧洲在线/亚洲| 精品成人在线观看| 亚洲日本一区二区三区| 蜜桃视频在线观看一区二区| 国产成人高清在线| 欧美久久久久久久久久| 欧美国产亚洲另类动漫| 日韩国产精品91| 成人久久18免费网站麻豆| 欧美日韩久久久| 国产人成一区二区三区影院| 亚洲成人精品影院| aaa亚洲精品| 日韩精品在线看片z| 一区二区不卡在线播放| 粉嫩av一区二区三区| 欧美日韩国产在线观看| 综合激情网...| 久久99精品一区二区三区| 91国产丝袜在线播放| 国产精品天天摸av网| 日韩成人免费电影| 99精品国产99久久久久久白柏| 欧美mv和日韩mv的网站| 日本成人中文字幕在线视频| 91美女视频网站| 91福利国产成人精品照片| 成人毛片在线观看| 久久成人久久爱| 成人久久18免费网站麻豆| 中文字幕一区三区| 国产91精品在线观看| 亚洲黄色免费电影| 精品少妇一区二区三区在线播放| 成人在线视频一区| 午夜精品一区二区三区电影天堂 | 一个色综合网站| 日韩一级片网站| 成人午夜精品一区二区三区| 一区二区在线观看免费视频播放| 日韩欧美中文字幕制服| aa级大片欧美| 蜜臀a∨国产成人精品| 综合久久综合久久| 久久色.com| 欧美精品自拍偷拍| 99久久综合狠狠综合久久| 日韩电影在线免费看| 国产精品每日更新| 精品久久人人做人人爰| 在线观看一区二区视频| 国产乱码精品一品二品| 婷婷成人激情在线网| 亚洲欧洲成人自拍| 精品国产乱码久久久久久浪潮| 在线观看日韩av先锋影音电影院| 国产在线精品一区二区| 丝袜亚洲精品中文字幕一区| 中文字幕在线观看一区二区| 欧美v日韩v国产v| 欧美日韩dvd在线观看| 一本色道综合亚洲| 风间由美一区二区三区在线观看| 日本在线不卡视频| 一区二区三区欧美| 中文字幕一区二区三| 久久久久久一级片| 日韩午夜激情视频| 884aa四虎影成人精品一区| 欧美在线免费观看亚洲| 97se狠狠狠综合亚洲狠狠| 成人的网站免费观看| 国产成人综合在线播放| 极品少妇xxxx偷拍精品少妇| 国产91精品在线观看| 国产乱人伦精品一区二区在线观看 | 精品久久久久一区| 777奇米四色成人影色区| 在线日韩国产精品| 色偷偷88欧美精品久久久| thepron国产精品| 成人动漫一区二区| 北岛玲一区二区三区四区| 成人一区二区三区| 波多野结衣欧美| 91蜜桃在线免费视频| 色女孩综合影院| 欧美日韩一区小说| 欧美精品精品一区| 欧美一卡2卡3卡4卡| 日韩欧美成人一区| 久久伊99综合婷婷久久伊| 久久久久99精品国产片| 国产精品久久久久久久久免费相片 | 亚洲四区在线观看| 亚洲视频一二三| 亚洲一区二区精品视频| 亚洲成年人网站在线观看| 天堂蜜桃一区二区三区 | 国产凹凸在线观看一区二区| 国产成人久久精品77777最新版本| 国产精品99久久久| 91色九色蝌蚪| 在线播放欧美女士性生活| 久久综合色婷婷| 中文字幕在线不卡一区| 亚洲国产另类av| 麻豆精品久久久| aa级大片欧美| 欧美高清精品3d| 国产日本欧洲亚洲| 亚洲一区二区三区在线播放| 免费看欧美女人艹b| 懂色av中文一区二区三区| 欧美在线观看一区二区| 精品日韩在线一区| 亚洲三级电影全部在线观看高清| 日本亚洲三级在线| 成人性视频免费网站| 欧美理论电影在线| 国产欧美一区二区精品性| 亚洲欧美日本在线| 国内久久婷婷综合| 欧美性猛片aaaaaaa做受| 精品国产麻豆免费人成网站| 亚洲少妇屁股交4| 精品一区二区在线看| 色婷婷精品大在线视频| 精品粉嫩aⅴ一区二区三区四区| 亚洲免费看黄网站| 国产一区二区三区免费在线观看| 91福利精品视频| 国产蜜臀av在线一区二区三区| 丝袜诱惑亚洲看片| 一本久道久久综合中文字幕| 精品日韩在线一区| 午夜欧美在线一二页| av亚洲精华国产精华精| 久久综合九色综合97婷婷女人 | 亚洲精品在线电影| 亚洲午夜国产一区99re久久| 国产宾馆实践打屁股91| 日韩欧美国产一区二区三区| 亚洲综合色自拍一区| 成人97人人超碰人人99| 久久一区二区视频| 日韩一区欧美二区| 色94色欧美sute亚洲线路一ni | 正在播放亚洲一区| 亚洲欧美色综合| av在线播放一区二区三区| 亚洲精品一区在线观看| 日韩二区三区四区| 欧美日韩国产小视频在线观看| 亚洲视频在线观看一区| 成人h动漫精品一区二| 国产亚洲人成网站| 国产乱子轮精品视频| 精品久久久久久综合日本欧美| 日韩高清在线观看| 欧美精品777| 日韩激情在线观看| 91精品国产综合久久久久久久 | 久久国产精品免费| 日韩女优电影在线观看| 麻豆免费看一区二区三区|