qca-wifi: ignore ack with 0 mac addr

use mac addr compare function with dummy mac addr set to all 0 and dest
mac addr. if they are similar then just ignore frame.

Change-Id: I8c892d0ca4a210865720b94b580b6e24dad0382b
此提交包含在:
Ruben Columbus
2020-03-24 19:20:07 -07:00
父節點 ae3a9acfa3
當前提交 490a45106d

查看文件

@@ -100,6 +100,14 @@
/* Schedule id counter mask in ppdu_id */
#define SCH_ID_MASK 0xFF
#define IEEE80211_IS_ZERO(_a) \
((_a)[0] == 0x00 && \
(_a)[1] == 0x00 && \
(_a)[2] == 0x00 && \
(_a)[3] == 0x00 && \
(_a)[4] == 0x00 && \
(_a)[5] == 0x00)
#ifdef WLAN_TX_PKT_CAPTURE_ENH
/**
@@ -3989,6 +3997,9 @@ void dp_send_usr_ack_frm_to_stack(struct dp_soc *soc,
NULL, ptr_mac_addr))
return;
if (IEEE80211_IS_ZERO(ppdu_info->nac_info.mac_addr2))
return;
set_mpdu_info(&tx_capture_info,
rx_status, rx_user_status);
tx_capture_info.mpdu_nbuf =