aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest/process.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-12-04 19:18:21 (GMT)
committerJouni Malinen <j@w1.fi>2010-12-04 19:18:21 (GMT)
commit0f3e4f2a8347930b1f31131b59157bfffa24ced6 (patch)
treeb7d7c1992b2df15cdfaae238131460792eaf7a75 /wlantest/process.c
parent350132bec50b2dcc907082f1e9099cd006defedd (diff)
downloadhostap-0f3e4f2a8347930b1f31131b59157bfffa24ced6.zip
hostap-0f3e4f2a8347930b1f31131b59157bfffa24ced6.tar.gz
hostap-0f3e4f2a8347930b1f31131b59157bfffa24ced6.tar.bz2
wlantest: Add support for reading DLT_IEEE802_11 pcap files
Diffstat (limited to 'wlantest/process.c')
-rw-r--r--wlantest/process.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/wlantest/process.c b/wlantest/process.c
index 7890892..6cdb10b 100644
--- a/wlantest/process.c
+++ b/wlantest/process.c
@@ -262,3 +262,10 @@ void wlantest_process_prism(struct wlantest *wt, const u8 *data, size_t len)
rx_frame(wt, frame, frame_len);
}
+
+
+void wlantest_process_80211(struct wlantest *wt, const u8 *data, size_t len)
+{
+ wpa_hexdump(MSG_EXCESSIVE, "Process data", data, len);
+ rx_frame(wt, data, len);
+}