mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 09:14:18 -04:00
qcacld-3.0: Mark packets to be sent to FW in control block
Classify the ICMP request packet and mark it to be sent to the firmware in the packet control block. Change-Id: Ic48123864bfc206c0659003b75238cacedb96134 CRs-Fixed: 2813173
This commit is contained in:
parent
91aeb118fd
commit
31bddce966
1 changed files with 10 additions and 0 deletions
|
|
@ -1048,6 +1048,16 @@ static void __hdd_hard_start_xmit(struct sk_buff *skb,
|
|||
QDF_NBUF_CB_TX_EXTRA_FRAG_FLAGS_NOTIFY_COMP(skb) = 1;
|
||||
is_dhcp = true;
|
||||
}
|
||||
} else if (QDF_NBUF_CB_GET_PACKET_TYPE(skb) ==
|
||||
QDF_NBUF_CB_PACKET_TYPE_ICMP) {
|
||||
subtype = qdf_nbuf_get_icmp_subtype(skb);
|
||||
/*
|
||||
* Mark the ICMP requests to be sent to FW.
|
||||
* The decision on whether its actually sent to FW
|
||||
* is done in the DATAPATH layer.
|
||||
*/
|
||||
if (subtype == QDF_PROTO_ICMP_REQ)
|
||||
QDF_NBUF_CB_TX_PACKET_TO_FW(skb) = 1;
|
||||
}
|
||||
/* track connectivity stats */
|
||||
if (adapter->pkt_type_bitmap)
|
||||
|
|
|
|||
Loading…
Reference in a new issue