mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
qcacmn: Drop FCS error frames in mon dest ring in mcopy mode
In mon dest ring, for m_copy mode, MGMT packets are received with FCS error.Due to which multiple skbs (Head_skb with attached frag_list) for single MPDU are sent to upper stack. Add fix to drop FCS error frames in mcopy mode. Change-Id: I6fbf2ea2bfdc489b56a412ece3c644ba2ce87929
This commit is contained in:
parent
a8f35820f4
commit
d7e15e64e0
1 changed files with 2 additions and 1 deletions
|
|
@ -204,7 +204,8 @@ dp_rx_mon_mpdu_pop(struct dp_soc *soc, uint32_t mac_id,
|
|||
rxdma_dst_ring_desc);
|
||||
if (qdf_unlikely((rxdma_err == HAL_RXDMA_ERR_FLUSH_REQUEST) ||
|
||||
(rxdma_err == HAL_RXDMA_ERR_MPDU_LENGTH) ||
|
||||
(rxdma_err == HAL_RXDMA_ERR_OVERFLOW))) {
|
||||
(rxdma_err == HAL_RXDMA_ERR_OVERFLOW) ||
|
||||
(rxdma_err == HAL_RXDMA_ERR_FCS && dp_pdev->mcopy_mode))) {
|
||||
drop_mpdu = true;
|
||||
dp_pdev->rx_mon_stats.dest_mpdu_drop++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue