diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-02-23 12:18:46 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-02-23 12:18:46 +0000 |
commit | b1af9a779fda99262632d69c085aea16e17ac809 (patch) | |
tree | b43ee9d8c834a4490a98bd8b3715dacc88753491 /package/iwinfo/src/include | |
parent | b168535b100ab983ae4a76439524b59dcc996276 (diff) | |
download | upstream-b1af9a779fda99262632d69c085aea16e17ac809.tar.gz upstream-b1af9a779fda99262632d69c085aea16e17ac809.tar.bz2 upstream-b1af9a779fda99262632d69c085aea16e17ac809.zip |
iwinfo: implement netlink scanning code, rework IE parsing code
SVN-Revision: 30691
Diffstat (limited to 'package/iwinfo/src/include')
-rw-r--r-- | package/iwinfo/src/include/iwinfo/nl80211.h | 11 | ||||
-rw-r--r-- | package/iwinfo/src/include/iwinfo/utils.h | 3 |
2 files changed, 14 insertions, 0 deletions
diff --git a/package/iwinfo/src/include/iwinfo/nl80211.h b/package/iwinfo/src/include/iwinfo/nl80211.h index fd0ddb43ab..7bbf0ef7bf 100644 --- a/package/iwinfo/src/include/iwinfo/nl80211.h +++ b/package/iwinfo/src/include/iwinfo/nl80211.h @@ -39,6 +39,7 @@ struct nl80211_state { struct nl_sock *nl_sock; struct nl_cache *nl_cache; struct genl_family *nl80211; + struct genl_family *nlctrl; }; struct nl80211_msg_conveyor { @@ -46,6 +47,16 @@ struct nl80211_msg_conveyor { struct nl_cb *cb; }; +struct nl80211_event_conveyor { + int wait; + int recv; +}; + +struct nl80211_group_conveyor { + const char *name; + int id; +}; + struct nl80211_rssi_rate { int16_t rate; int8_t rssi; diff --git a/package/iwinfo/src/include/iwinfo/utils.h b/package/iwinfo/src/include/iwinfo/utils.h index 10246a8e3c..d58ec5fb75 100644 --- a/package/iwinfo/src/include/iwinfo/utils.h +++ b/package/iwinfo/src/include/iwinfo/utils.h @@ -41,4 +41,7 @@ struct iwinfo_hardware_entry * iwinfo_hardware(struct iwinfo_hardware_id *id); int iwinfo_hardware_id_from_mtd(struct iwinfo_hardware_id *id); +void iwinfo_parse_rsn(struct iwinfo_crypto_entry *c, uint8_t *data, uint8_t len, + uint8_t defcipher, uint8_t defauth); + #endif |