qcacmn: Add flag CONNECTIVITY_PKTLOG

Add new flag CONNECTIVITY_PKTLOG to make independent of
FEATURE_PKTLOG and REMOVE_PKT_LOG for packet logging.

This is because 32 tx/rx pkt logging is connection related
and this feature is independent of pkt log feature. Here
driver will send first 32 tx/rx pkts consisting of mgmt
and data pkts to userspace which can be used for debugging

Change-Id: I006a040546c9709f46e76dcd8630da8569c691c6
CRs-Fixed: 3222971
This commit is contained in:
Vinod Kumar Myadam
2022-06-16 13:26:14 +05:30
committed by Madan Koyyalamudi
parent 9f75a857b7
commit b721690039
4 changed files with 14 additions and 19 deletions

View File

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2012-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -20,7 +21,7 @@
#define _PKTLOG_AC_H_
#include "hif.h"
#ifndef REMOVE_PKT_LOG
#if defined(CONNECTIVITY_PKTLOG) || !defined(REMOVE_PKT_LOG)
#include "ol_if_athvar.h"
#include "osdep.h"
#include <wmi_unified.h>