qcacld-3.0: Add support for qos null filters in packet capture
Add support to send qos null frames received from firmware on STA interface to mon interface based on config value. The config value get update based on vendor command set by user. The packet filter check in ucfg_pkt_capture_process_mgmt_tx_data moved to target_if_mgmt_offload_data_event_handler. So that we will not allocate any buffer if filter is not set. Change-Id: I426b340c5a65711ada971062af95ae039d18d0bd CRs-Fixed: 3076241
This commit is contained in:

committed by
Madan Koyyalamudi

parent
3fedb38b2c
commit
b5e2542a4d
36
components/pkt_capture/dispatcher/inc/wlan_pkt_capture_api.h
Normal file
36
components/pkt_capture/dispatcher/inc/wlan_pkt_capture_api.h
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Copyright (c) 2021 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
|
||||
* above copyright notice and this permission notice appear in all
|
||||
* copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
|
||||
* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
|
||||
* AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
|
||||
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
|
||||
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
||||
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/**
|
||||
* DOC: Contains pkt_capture public API declarations
|
||||
*/
|
||||
|
||||
#ifndef _WLAN_PKT_CAPTURE_API_H_
|
||||
#define _WLAN_PKT_CAPTURE_API_H_
|
||||
|
||||
#include "wlan_pkt_capture_objmgr.h"
|
||||
|
||||
/**
|
||||
* wlan_pkt_capture_is_tx_mgmt_enable() - Check if tx mgmt frames filter
|
||||
* is enabled
|
||||
* @pdev: pointer to pdev
|
||||
*
|
||||
* Return: bool
|
||||
*/
|
||||
bool wlan_pkt_capture_is_tx_mgmt_enable(struct wlan_objmgr_pdev *pdev);
|
||||
#endif /* _WLAN_PKT_CAPTURE_API_H_ */
|
Reference in New Issue
Block a user