Add code to simple management IEEE802.11 Authentication packets

This commit is contained in:
vemax78
2014-01-13 19:00:51 +01:00
parent b4a95beb89
commit bc2a6183ce
4 changed files with 583 additions and 96 deletions

View File

@ -15,6 +15,9 @@ struct nl80211_global_handle {
struct nl_cb* nl_cb;
int nl80211_id;
struct nl_sock* nl_event;
int nl_event_fd;
int sock_util;
struct capwap_list* devicelist;
@ -27,6 +30,8 @@ struct nl80211_device_handle {
uint32_t phyindex;
char phyname[IFNAMSIZ];
struct capwap_list* wlanlist;
uint32_t currentfrequency;
struct wifi_capability* capability; /* Cached capability */
@ -45,6 +50,8 @@ struct nl80211_wlan_handle {
uint8_t address[ETH_ALEN];
uint64_t last_cookie;
/* WLAN information */
char ssid[WIFI_SSID_MAX_LENGTH + 1];
@ -53,6 +60,8 @@ struct nl80211_wlan_handle {
int supportedratescount;
uint8_t supportedrates[IEEE80211_SUPPORTEDRATE_MAX_COUNT];
uint8_t authenticationtype;
};
/* Physical device info */