qcacmn: Add tx peer filtering WMI command

Add WMI command for tx peer filtering. This command is needed to send
the mac address to FW for which tx monitor peer filtering is needed
to be done.

Change-Id: Ia141fba81ba240b7f4ca015eb9251e3485294bb6
CRs-Fixed: 3199493
This commit is contained in:
Nandha Kishore Easwaran
2022-05-17 14:31:42 +05:30
committed by Madan Koyyalamudi
parent 45c39ea4b3
commit 422bbf322b
6 changed files with 98 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2016-2021 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
@@ -26,6 +27,19 @@
#include <wmi_unified_api.h>
/**
* wmi_unified_peer_filter_set_tx_cmd_send() - WMI set tx peer filter function
* @param wmi_handle: handle to WMI.
* @param macaddr: MAC address
* @param param: pointer to hold peer filter parameter
*
* @return QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
*/
QDF_STATUS
wmi_unified_peer_filter_set_tx_cmd_send(struct wmi_unified *wmi_handle,
uint8_t macaddr[],
struct set_tx_peer_filter *param);
/**
* wmi_unified_vdev_set_neighbour_rx_cmd_send() - WMI set neighbour rx function
* @param wmi_handle: handle to WMI.