From 44f6d554eef30acca532ca8f5ddd1c99b2204722 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 16 Dec 2012 12:35:07 +0200 Subject: [PATCH] wlantest: Process TX status frames as RX frames too This is needed to allow capture files from the mac80211 cooked monitor mode interface to be processed properly. Without this, the locally generated frames may not get processed. Signed-hostap: Jouni Malinen --- wlantest/process.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wlantest/process.c b/wlantest/process.c index dc272ed..609a23a 100644 --- a/wlantest/process.c +++ b/wlantest/process.c @@ -331,8 +331,11 @@ void wlantest_process(struct wlantest *wt, const u8 *data, size_t len) return; if (!txflags) rx_frame(wt, frame, frame_len); - else + else { tx_status(wt, frame, frame_len, !failed); + /* Process as RX frame to support local monitor interface */ + rx_frame(wt, frame, frame_len); + } } -- 2.1.4