qcacmn: Add qdf API to check for configured packet types
Add qdf API support to check if the packet should be tracked as per the configured protocol types. Change-Id: Ia9e937865d3d440f1350307a67e32b20ea218e54 CRs-Fixed: 2642156
This commit is contained in:

committed by
nshrivas

parent
1c1ef8c2bd
commit
4326a54376
@@ -922,6 +922,16 @@ void qdf_dp_set_proto_event_bitmap(uint32_t value);
|
||||
void qdf_dp_log_proto_pkt_info(uint8_t *sa, uint8_t *da, uint8_t type,
|
||||
uint8_t subtype, uint8_t dir, uint16_t msdu_id,
|
||||
uint8_t status);
|
||||
|
||||
/**
|
||||
* qdf_dp_track_noack_check() - Check if no ack count should be tracked for
|
||||
* the configured protocol packet types
|
||||
* @nbuf: nbuf
|
||||
* @subtype: subtype of packet to be tracked
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void qdf_dp_track_noack_check(qdf_nbuf_t nbuf, enum qdf_proto_subtype *subtype);
|
||||
#else
|
||||
static inline
|
||||
bool qdf_dp_trace_log_pkt(uint8_t vdev_id, struct sk_buff *skb,
|
||||
@@ -1018,6 +1028,11 @@ void qdf_dp_log_proto_pkt_info(uint8_t *sa, uint8_t *da, uint8_t type,
|
||||
uint8_t status)
|
||||
{
|
||||
}
|
||||
|
||||
static inline
|
||||
void qdf_dp_track_noack_check(qdf_nbuf_t nbuf, enum qdf_proto_subtype *subtype)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
void qdf_trace_display(void);
|
||||
|
Reference in New Issue
Block a user