privsep_commands.h

Go to the documentation of this file.
00001 
00016 #ifndef PRIVSEP_COMMANDS_H
00017 #define PRIVSEP_COMMANDS_H
00018 
00019 enum privsep_cmd {
00020         PRIVSEP_CMD_REGISTER,
00021         PRIVSEP_CMD_UNREGISTER,
00022         PRIVSEP_CMD_SET_WPA,
00023         PRIVSEP_CMD_SCAN,
00024         PRIVSEP_CMD_GET_SCAN_RESULTS,
00025         PRIVSEP_CMD_ASSOCIATE,
00026         PRIVSEP_CMD_GET_BSSID,
00027         PRIVSEP_CMD_GET_SSID,
00028         PRIVSEP_CMD_SET_KEY,
00029         PRIVSEP_CMD_GET_CAPA,
00030         PRIVSEP_CMD_L2_REGISTER,
00031         PRIVSEP_CMD_L2_UNREGISTER,
00032         PRIVSEP_CMD_L2_NOTIFY_AUTH_START,
00033         PRIVSEP_CMD_L2_SEND,
00034         PRIVSEP_CMD_SET_MODE,
00035         PRIVSEP_CMD_SET_COUNTRY,
00036 };
00037 
00038 struct privsep_cmd_associate
00039 {
00040         u8 bssid[ETH_ALEN];
00041         u8 ssid[32];
00042         size_t ssid_len;
00043         int freq;
00044         int pairwise_suite;
00045         int group_suite;
00046         int key_mgmt_suite;
00047         int auth_alg;
00048         int mode;
00049         size_t wpa_ie_len;
00050         /* followed by wpa_ie_len bytes of wpa_ie */
00051 };
00052 
00053 struct privsep_cmd_set_key
00054 {
00055         int alg;
00056         u8 addr[ETH_ALEN];
00057         int key_idx;
00058         int set_tx;
00059         u8 seq[8];
00060         size_t seq_len;
00061         u8 key[32];
00062         size_t key_len;
00063 };
00064 
00065 enum privsep_event {
00066         PRIVSEP_EVENT_SCAN_RESULTS,
00067         PRIVSEP_EVENT_ASSOC,
00068         PRIVSEP_EVENT_DISASSOC,
00069         PRIVSEP_EVENT_ASSOCINFO,
00070         PRIVSEP_EVENT_MICHAEL_MIC_FAILURE,
00071         PRIVSEP_EVENT_INTERFACE_STATUS,
00072         PRIVSEP_EVENT_PMKID_CANDIDATE,
00073         PRIVSEP_EVENT_STKSTART,
00074         PRIVSEP_EVENT_FT_RESPONSE,
00075         PRIVSEP_EVENT_RX_EAPOL,
00076         PRIVSEP_EVENT_STA_RX,
00077 };
00078 
00079 #endif /* PRIVSEP_COMMANDS_H */
00080 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Sat Nov 21 23:16:49 2009 for hostapd by  doxygen 1.6.1