summaryrefslogtreecommitdiffhomepage
path: root/libs/iwinfo/src/iwinfo.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-08-24 05:54:38 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-08-24 05:54:38 +0000
commit12f582bcc7dc8ab447c01e2cfa939caa7dfa321b (patch)
treeac2f8917d2dbbd4413f68c09a1c19d3b4ae21ebe /libs/iwinfo/src/iwinfo.h
parent1c8db37e8b93855530102ded098daa95076f981b (diff)
libs/iwinfo: implement wifi scans
Diffstat (limited to 'libs/iwinfo/src/iwinfo.h')
-rw-r--r--libs/iwinfo/src/iwinfo.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/libs/iwinfo/src/iwinfo.h b/libs/iwinfo/src/iwinfo.h
index be7c1ece0a..29398831cc 100644
--- a/libs/iwinfo/src/iwinfo.h
+++ b/libs/iwinfo/src/iwinfo.h
@@ -34,5 +34,21 @@ struct iwinfo_txpwrlist_entry {
uint8_t mw;
};
+struct iwinfo_crypto_entry {
+ uint8_t enabled;
+ uint8_t wpa_version;
+ uint8_t group_ciphers[8];
+ uint8_t pair_ciphers[8];
+ uint8_t auth_suites[8];
+};
+
+struct iwinfo_scanlist_entry {
+ uint8_t mac[6];
+ uint8_t ssid[IW_ESSID_MAX_SIZE+1];
+ uint8_t mode[8];
+ uint8_t channel;
+ struct iwinfo_crypto_entry crypto;
+};
+
#endif