Changeset 1dcc0b9 in mainline for uspace/lib/c/include/ieee80211/ieee80211.h
- Timestamp:
- 2015-04-06T10:47:51Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d7dadcb4
- Parents:
- 59fa7ab
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/ieee80211/ieee80211.h
r59fa7ab r1dcc0b9 41 41 #include <adt/list.h> 42 42 #include <nic/nic.h> 43 #include <time.h> 43 44 44 /* Max length of scan results array. */45 /** Max length of scan results array. */ 45 46 #define IEEE80211_MAX_RESULTS_LENGTH 32 46 47 47 /* Max SSID length including null character. */48 /** Max SSID length including null character. */ 48 49 #define IEEE80211_MAX_SSID_LENGTH 35 50 51 /** WiFi security authentication method indicator. */ 52 typedef enum { 53 IEEE80211_SECURITY_OPEN, 54 IEEE80211_SECURITY_WEP, 55 IEEE80211_SECURITY_WPA, 56 IEEE80211_SECURITY_WPA2 57 } ieee80211_security_type_t; 58 59 /** WiFi security suite indicator. */ 60 typedef enum { 61 IEEE80211_SECURITY_SUITE_WEP40, 62 IEEE80211_SECURITY_SUITE_WEP104, 63 IEEE80211_SECURITY_SUITE_CCMP, 64 IEEE80211_SECURITY_SUITE_TKIP 65 } ieee80211_security_suite_t; 66 67 /** WiFi security authentication method indicator. */ 68 typedef enum { 69 IEEE80211_SECURITY_AUTH_PSK, 70 IEEE80211_SECURITY_AUTH_8021X 71 } ieee80211_security_auth_t; 72 73 /** Structure for indicating security network security settings. */ 74 typedef struct { 75 int type; 76 int group_alg; 77 int pair_alg; 78 int auth; 79 } ieee80211_security_t; 49 80 50 81 /** Structure with scan result info. */ … … 52 83 nic_address_t bssid; 53 84 char ssid[IEEE80211_MAX_SSID_LENGTH]; 85 uint8_t channel; 86 ieee80211_security_t security; 54 87 } ieee80211_scan_result_t; 55 88 56 /** Listof scan results info. */89 /** Array of scan results info. */ 57 90 typedef struct { 58 91 uint8_t length;
Note:
See TracChangeset
for help on using the changeset viewer.