qcacmn: Support RX T-put simulation for KIWI
Duplicate X times of RX packet before delivering to stack, if OTA RX T-put is 100 Mbps and try to simulate 200 Mbps RX T-put, duplicate extra 1 time RX packets, this is aimed to test driver/stack RX capability. Change-Id: Iaf4db05d0ec0e0cda5fac19fa63b9d3133270847 CRs-Fixed: 3132743
This commit is contained in:

committed by
Madan Koyyalamudi

parent
ac49d3b35a
commit
9b323ded29
@@ -816,25 +816,10 @@ done:
|
||||
nbuf = next;
|
||||
}
|
||||
|
||||
if (qdf_likely(deliver_list_head)) {
|
||||
if (qdf_likely(txrx_peer)) {
|
||||
dp_rx_deliver_to_pkt_capture(soc, vdev->pdev, peer_id,
|
||||
pkt_capture_offload,
|
||||
deliver_list_head);
|
||||
if (!pkt_capture_offload)
|
||||
dp_rx_deliver_to_stack(soc, vdev, txrx_peer,
|
||||
deliver_list_head,
|
||||
deliver_list_tail);
|
||||
} else {
|
||||
nbuf = deliver_list_head;
|
||||
while (nbuf) {
|
||||
next = nbuf->next;
|
||||
nbuf->next = NULL;
|
||||
dp_rx_deliver_to_stack_no_peer(soc, nbuf);
|
||||
nbuf = next;
|
||||
}
|
||||
}
|
||||
}
|
||||
DP_RX_DELIVER_TO_STACK(soc, vdev, txrx_peer, peer_id,
|
||||
pkt_capture_offload,
|
||||
deliver_list_head,
|
||||
deliver_list_tail);
|
||||
|
||||
if (qdf_likely(txrx_peer))
|
||||
dp_txrx_peer_unref_delete(txrx_ref_handle, DP_MOD_ID_RX);
|
||||
|
Reference in New Issue
Block a user