qcacmn: Enable promiscuous mode for M-copy feature
In existing code M-copy feature was designed to provide first 100bytes of payload of self BSS packets. Add change to enable promiscusous mode and provide metadata and 100bytes of payload of all the packets received by the radio. Change-Id: I5b1f168028a4fba3a24e9d2ccd0d68c246661d76
This commit is contained in:

zatwierdzone przez
nshrivas

rodzic
1723d45ad2
commit
2f54de20b0
@@ -2241,13 +2241,13 @@ dp_get_completion_indication_for_stack(struct dp_soc *soc, struct dp_pdev *pdev
|
||||
}
|
||||
|
||||
if (pdev->mcopy_mode) {
|
||||
if ((pdev->am_copy_id.tx_ppdu_id == ppdu_id) &&
|
||||
(pdev->am_copy_id.tx_peer_id == peer_id)) {
|
||||
if ((pdev->m_copy_id.tx_ppdu_id == ppdu_id) &&
|
||||
(pdev->m_copy_id.tx_peer_id == peer_id)) {
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
pdev->am_copy_id.tx_ppdu_id = ppdu_id;
|
||||
pdev->am_copy_id.tx_peer_id = peer_id;
|
||||
pdev->m_copy_id.tx_ppdu_id = ppdu_id;
|
||||
pdev->m_copy_id.tx_peer_id = peer_id;
|
||||
}
|
||||
|
||||
if (!qdf_nbuf_push_head(netbuf, sizeof(struct tx_capture_hdr))) {
|
||||
|
Reference in New Issue
Block a user