qcacmn: Ignore raw frame if is not of type Data

Non raw traffic gets enqueued to VAP in raw mode
and incorrect fc.type causes HW fault.
Lets proceed only if raw frame is of type data.

Change-Id: I9f0d608cd1b319feb9af642969b258aab813645f
CRs-Fixed: 2434391
This commit is contained in:
Ankit Kumar
2019-04-12 12:33:51 +05:30
committed by nshrivas
parent 2e504085a3
commit 2972a24c55
3 changed files with 10 additions and 0 deletions

View File

@@ -5298,6 +5298,8 @@ dp_print_pdev_tx_stats(struct dp_pdev *pdev)
pdev->stats.tx_i.raw.raw_pkt.bytes);
DP_PRINT_STATS(" DMA map error = %d",
pdev->stats.tx_i.raw.dma_map_error);
DP_PRINT_STATS(" RAW pkt type[!data] error = %d",
pdev->stats.tx_i.raw.invalid_raw_pkt_datatype);
DP_PRINT_STATS("Reinjected:");
DP_PRINT_STATS(" Packets = %d",
pdev->stats.tx_i.reinject_pkts.num);