qcacmn: Add support to send RX filter WMI command to firmware

On the initiator side, Host needs to send
WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_CMDID to firmware before sending the
PASN Auth frame. Hence, move send_set_mac_addr_rx_filter_cmd_tlv() from
wmi_unified_p2p_tlv.c to wmi_unified_tlv.c file.

Change-Id: Ia5517dbdd5ec46f611537b12b7046e3a9d859082
CRs-Fixed: 3304909
This commit is contained in:
Shashikala Prabhu
2022-10-03 16:59:50 +05:30
committed by Madan Koyyalamudi
parent 2c92bf0c9c
commit 8ba6f73786
9 changed files with 93 additions and 83 deletions

View File

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2013-2019 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
@@ -56,17 +57,6 @@ QDF_STATUS wmi_extract_p2p_noa_ev_param(wmi_unified_t wmi_handle,
void *evt_buf,
struct p2p_noa_info *param);
/**
* wmi_send_set_mac_addr_rx_filter_cmd() - set mac addr rx filter cmd
* @wmi_handle: wmi handle
* @param: Pointer to set mac filter struct
*
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
*/
QDF_STATUS
wmi_send_set_mac_addr_rx_filter_cmd(wmi_unified_t wmi_handle,
struct p2p_set_mac_filter *param);
/**
* wmi_extract_mac_addr_rx_filter_evt_param() - extract mac addr rx filter evt
* @wmi_handle: wmi handle