#ifndef __IWINFO_H_ #define __IWINFO_H_ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "iwinfo_wext.h" #ifdef USE_WL #include "iwinfo_wl.h" #endif #ifdef USE_MADWIFI #include "iwinfo_madwifi.h" #endif #define IWINFO_BUFSIZE 24 * 1024 struct iwinfo_assoclist_entry { uint8_t mac[6]; int8_t signal; int8_t noise; }; struct iwinfo_txpwrlist_entry { uint8_t dbm; uint8_t mw; }; struct iwinfo_freqlist_entry { uint8_t channel; uint32_t mhz; }; struct iwinfo_crypto_entry { uint8_t enabled; uint8_t wpa_version; uint8_t group_ciphers; uint8_t pair_ciphers; uint8_t auth_suites; }; struct iwinfo_scanlist_entry { uint8_t mac[6]; uint8_t ssid[IW_ESSID_MAX_SIZE+1]; uint8_t mode[8]; uint8_t channel; uint8_t signal; uint8_t quality; uint8_t quality_max; struct iwinfo_crypto_entry crypto; }; #endif