003 File Manager
Current Path:
/usr/src/contrib/wpa/src/common
usr
/
src
/
contrib
/
wpa
/
src
/
common
/
📁
..
📄
cli.c
(5.73 KB)
📄
cli.h
(1.32 KB)
📄
common_module_tests.c
(13.56 KB)
📄
ctrl_iface_common.c
(4.51 KB)
📄
ctrl_iface_common.h
(1.28 KB)
📄
defs.h
(11 KB)
📄
dhcp.h
(6.95 KB)
📄
dpp.c
(262.26 KB)
📄
dpp.h
(17.72 KB)
📄
dragonfly.c
(5.74 KB)
📄
dragonfly.h
(951 B)
📄
eapol_common.h
(2.48 KB)
📄
gas.c
(6.13 KB)
📄
gas.h
(1.49 KB)
📄
gas_server.c
(13.17 KB)
📄
gas_server.h
(1.19 KB)
📄
hw_features_common.c
(15.15 KB)
📄
hw_features_common.h
(1.78 KB)
📄
ieee802_11_common.c
(46.43 KB)
📄
ieee802_11_common.h
(7.55 KB)
📄
ieee802_11_defs.h
(72.71 KB)
📄
ieee802_1x_defs.h
(1.93 KB)
📄
ocv.c
(4.51 KB)
📄
ocv.h
(1001 B)
📄
privsep_commands.h
(2.25 KB)
📄
qca-vendor-attr.h
(685 B)
📄
qca-vendor.h
(297.31 KB)
📄
sae.c
(38.69 KB)
📄
sae.h
(2.54 KB)
📄
tnc.h
(3.69 KB)
📄
version.h
(329 B)
📄
wpa_common.c
(69.07 KB)
📄
wpa_common.h
(16.49 KB)
📄
wpa_ctrl.c
(18.05 KB)
📄
wpa_ctrl.h
(24.43 KB)
📄
wpa_helpers.c
(5.96 KB)
📄
wpa_helpers.h
(1.31 KB)
Editing: privsep_commands.h
/* * WPA Supplicant - privilege separation commands * Copyright (c) 2007-2009, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef PRIVSEP_COMMANDS_H #define PRIVSEP_COMMANDS_H #include "drivers/driver.h" #include "common/ieee802_11_defs.h" enum privsep_cmd { PRIVSEP_CMD_REGISTER, PRIVSEP_CMD_UNREGISTER, PRIVSEP_CMD_SCAN, PRIVSEP_CMD_GET_SCAN_RESULTS, PRIVSEP_CMD_ASSOCIATE, PRIVSEP_CMD_GET_BSSID, PRIVSEP_CMD_GET_SSID, PRIVSEP_CMD_SET_KEY, PRIVSEP_CMD_GET_CAPA, PRIVSEP_CMD_L2_REGISTER, PRIVSEP_CMD_L2_UNREGISTER, PRIVSEP_CMD_L2_NOTIFY_AUTH_START, PRIVSEP_CMD_L2_SEND, PRIVSEP_CMD_SET_COUNTRY, PRIVSEP_CMD_AUTHENTICATE, }; #define PRIVSEP_MAX_SCAN_FREQS 50 struct privsep_cmd_scan { unsigned int num_ssids; u8 ssids[WPAS_MAX_SCAN_SSIDS][32]; u8 ssid_lens[WPAS_MAX_SCAN_SSIDS]; unsigned int num_freqs; u16 freqs[PRIVSEP_MAX_SCAN_FREQS]; }; struct privsep_cmd_authenticate { int freq; u8 bssid[ETH_ALEN]; u8 ssid[SSID_MAX_LEN]; size_t ssid_len; int auth_alg; size_t ie_len; u8 wep_key[4][16]; size_t wep_key_len[4]; int wep_tx_keyidx; int local_state_change; int p2p; size_t auth_data_len; /* followed by ie_len bytes of ie */ /* followed by auth_data_len bytes of auth_data */ }; struct privsep_cmd_associate { u8 bssid[ETH_ALEN]; u8 ssid[SSID_MAX_LEN]; size_t ssid_len; int hwmode; int freq; int channel; int pairwise_suite; int group_suite; int key_mgmt_suite; int auth_alg; int mode; size_t wpa_ie_len; /* followed by wpa_ie_len bytes of wpa_ie */ }; struct privsep_cmd_set_key { int alg; u8 addr[ETH_ALEN]; int key_idx; int set_tx; u8 seq[8]; size_t seq_len; u8 key[32]; size_t key_len; }; enum privsep_event { PRIVSEP_EVENT_SCAN_RESULTS, PRIVSEP_EVENT_ASSOC, PRIVSEP_EVENT_DISASSOC, PRIVSEP_EVENT_ASSOCINFO, PRIVSEP_EVENT_MICHAEL_MIC_FAILURE, PRIVSEP_EVENT_INTERFACE_STATUS, PRIVSEP_EVENT_PMKID_CANDIDATE, PRIVSEP_EVENT_FT_RESPONSE, PRIVSEP_EVENT_RX_EAPOL, PRIVSEP_EVENT_SCAN_STARTED, PRIVSEP_EVENT_AUTH, }; struct privsep_event_auth { u8 peer[ETH_ALEN]; u8 bssid[ETH_ALEN]; u16 auth_type; u16 auth_transaction; u16 status_code; size_t ies_len; /* followed by ies_len bytes of ies */ }; #endif /* PRIVSEP_COMMANDS_H */
Upload File
Create Folder