mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
qcacld-3.0: Add support to log ICMPv6 packets in DP Trace
Add support to log ICMPv6 packets such as NS/NA, RS/RA and ICMPv6 Req/Res in dp trace. Change-Id: I20ba677db59044569516348cd11427fb820175a8 CRs-Fixed: 2075962
This commit is contained in:
parent
79225a6e90
commit
44aa5aa772
2 changed files with 6 additions and 2 deletions
|
|
@ -9430,7 +9430,8 @@ enum dot11p_mode {
|
|||
QDF_NBUF_PKT_TRAC_TYPE_DHCP |\
|
||||
QDF_NBUF_PKT_TRAC_TYPE_MGMT_ACTION |\
|
||||
QDF_NBUF_PKT_TRAC_TYPE_ARP |\
|
||||
QDF_NBUF_PKT_TRAC_TYPE_ICMP)\
|
||||
QDF_NBUF_PKT_TRAC_TYPE_ICMP |\
|
||||
QDF_NBUF_PKT_TRAC_TYPE_ICMPv6)\
|
||||
|
||||
/* Default verbosity, in case its missing in gDptraceConfig string*/
|
||||
#define DP_TRACE_CONFIG_DEFAULT_VERBOSTY QDF_DP_TRACE_VERBOSITY_LOW
|
||||
|
|
@ -9452,7 +9453,7 @@ enum dot11p_mode {
|
|||
* gDptraceConfig = 1, 4
|
||||
*/
|
||||
#define CFG_ENABLE_DP_TRACE_CONFIG "gDptraceConfig"
|
||||
#define CFG_ENABLE_DP_TRACE_CONFIG_DEFAULT "1, 8, 1, 62"
|
||||
#define CFG_ENABLE_DP_TRACE_CONFIG_DEFAULT "1, 8, 1, 126"
|
||||
|
||||
/*
|
||||
* This parameter will set the weight to calculate the average low pass
|
||||
|
|
|
|||
|
|
@ -421,6 +421,9 @@ void wlan_hdd_classify_pkt(struct sk_buff *skb)
|
|||
else if (qdf_nbuf_is_icmp_pkt(skb))
|
||||
QDF_NBUF_CB_GET_PACKET_TYPE(skb) =
|
||||
QDF_NBUF_CB_PACKET_TYPE_ICMP;
|
||||
else if (qdf_nbuf_is_icmpv6_pkt(skb))
|
||||
QDF_NBUF_CB_GET_PACKET_TYPE(skb) =
|
||||
QDF_NBUF_CB_PACKET_TYPE_ICMPv6;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue