From 2127b951ec968fe58847b2e791db95d98bb8ce65 Mon Sep 17 00:00:00 2001 From: nobelj Date: Fri, 7 Feb 2020 15:25:15 -0800 Subject: [PATCH] qca-wifi: Fix tx capture RTS/CTS send before mgmt frame FW set mprot_type in NDPA frame as all ping request is a sound + steer. check mprot type in mgmt frame and send dummy rts and cts. Change-Id: I0f275c57e254117e06cb17173f4ae4b65f0e07aa --- dp/wifi3.0/dp_tx_capture.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dp/wifi3.0/dp_tx_capture.c b/dp/wifi3.0/dp_tx_capture.c index 8d2ac9680a..1308c44209 100644 --- a/dp/wifi3.0/dp_tx_capture.c +++ b/dp/wifi3.0/dp_tx_capture.c @@ -2051,6 +2051,9 @@ dp_send_mgmt_ctrl_to_stack(struct dp_pdev *pdev, ppdu_desc = (struct cdp_tx_completion_ppdu *) qdf_nbuf_data(nbuf_ppdu_desc); + if (ppdu_desc->mprot_type) + dp_send_dummy_rts_cts_frame(pdev, ppdu_desc); + type = (ppdu_desc->frame_ctrl & IEEE80211_FC0_TYPE_MASK) >> IEEE80211_FC0_TYPE_SHIFT;