aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest/wlantest.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-09-08 13:32:35 (GMT)
committerJouni Malinen <j@w1.fi>2012-09-08 14:08:53 (GMT)
commita9eae7efe30b4f2616602b6d2f6198dfd3407074 (patch)
tree902522250fec9832c7db4ccd26455b76f2467ebf /wlantest/wlantest.h
parent6522984086f6d5c4c0b62bdaf2979fc9173b1485 (diff)
downloadhostap-a9eae7efe30b4f2616602b6d2f6198dfd3407074.zip
hostap-a9eae7efe30b4f2616602b6d2f6198dfd3407074.tar.gz
hostap-a9eae7efe30b4f2616602b6d2f6198dfd3407074.tar.bz2
wlantest: Move BIP function into a separate function and file
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wlantest/wlantest.h')
-rw-r--r--wlantest/wlantest.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/wlantest/wlantest.h b/wlantest/wlantest.h
index de8bc65..ad5849b 100644
--- a/wlantest/wlantest.h
+++ b/wlantest/wlantest.h
@@ -237,6 +237,9 @@ void tkip_get_pn(u8 *pn, const u8 *data);
u8 * wep_decrypt(struct wlantest *wt, const struct ieee80211_hdr *hdr,
const u8 *data, size_t data_len, size_t *decrypted_len);
+u8 * bip_protect(const u8 *igtk, u8 *frame, size_t len, u8 *ipn, int keyid,
+ size_t *prot_len);
+
int ctrl_init(struct wlantest *wt);
void ctrl_deinit(struct wlantest *wt);