qcacmn: Add TX support for Extended Mcopy mode
Currently, mcopy mode delivers first msdu per-ppdu to upper layer, add support for Extended mcopy mode to deliver first msdu per-MPDU. Change-Id: I8f3f7fb023e9d9140d0be31520d34103a3505ebb CRs-Fixed: 2701514
This commit is contained in:

committed by
nshrivas

vanhempi
9762d883bc
commit
6ca574196e
@@ -2798,11 +2798,20 @@ dp_get_completion_indication_for_stack(struct dp_soc *soc,
|
||||
}
|
||||
|
||||
if (pdev->mcopy_mode) {
|
||||
if ((pdev->m_copy_id.tx_ppdu_id == ppdu_id) &&
|
||||
(pdev->m_copy_id.tx_peer_id == peer_id)) {
|
||||
return QDF_STATUS_E_INVAL;
|
||||
/* If mcopy is enabled and mcopy_mode is M_COPY deliver 1st MSDU
|
||||
* per PPDU. If mcopy_mode is M_COPY_EXTENDED deliver 1st MSDU
|
||||
* for each MPDU
|
||||
*/
|
||||
if (pdev->mcopy_mode == M_COPY) {
|
||||
if ((pdev->m_copy_id.tx_ppdu_id == ppdu_id) &&
|
||||
(pdev->m_copy_id.tx_peer_id == peer_id)) {
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
}
|
||||
|
||||
if (!first_msdu)
|
||||
return QDF_STATUS_E_INVAL;
|
||||
|
||||
pdev->m_copy_id.tx_ppdu_id = ppdu_id;
|
||||
pdev->m_copy_id.tx_peer_id = peer_id;
|
||||
}
|
||||
|
Viittaa uudesa ongelmassa
Block a user