qca-wifi: fix deauth in tx capture on peer filter

deauth frames are treated as speacial frame where peer id
point to bss peer id but payload RA points to station
mac address. Peer filter is done based on payload.

Change-Id: I4238a108a62accbf3a53f74332a10377675870b8
CRs-Fixed: 2692363
这个提交包含在:
nobelj
2020-06-05 01:37:33 -07:00
父节点 ffbea7e091
当前提交 c01e229231

查看文件

@@ -3643,7 +3643,8 @@ dp_check_mgmt_ctrl_ppdu(struct dp_pdev *pdev,
dp_tx_cap_peer_unref_del(peer);
if (!(type == IEEE80211_FC0_TYPE_MGT &&
(subtype == MGMT_SUBTYPE_PROBE_RESP >> 4 ||
subtype == MGMT_SUBTYPE_DISASSOC >> 4))) {
subtype == MGMT_SUBTYPE_DISASSOC >> 4 ||
subtype == MGMT_SUBTYPE_DEAUTH >> 4))) {
if (!dp_peer_or_pdev_tx_cap_enabled(pdev, NULL,
ppdu_desc->user[0]
.mac_addr)) {
@@ -3831,7 +3832,8 @@ insert_mgmt_buf_to_queue:
if (type == IEEE80211_FC0_TYPE_MGT &&
(subtype == MGMT_SUBTYPE_PROBE_RESP >> 4 ||
subtype == MGMT_SUBTYPE_DISASSOC >> 4)) {
subtype == MGMT_SUBTYPE_DISASSOC >> 4 ||
subtype == MGMT_SUBTYPE_DEAUTH >> 4)) {
if (!dp_peer_or_pdev_tx_cap_enabled(pdev,
NULL,
wh->i_addr1