瀏覽代碼

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
nobelj 5 年之前
父節點
當前提交
2127b951ec
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      dp/wifi3.0/dp_tx_capture.c

+ 3 - 0
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;