Files
android_kernel_samsung_sm86…/target_if/crypto/inc/target_if_crypto.h
Pragaspathi Thilagaraj b7fa703306 qcacmn: Add support to send PASN commands
Add support to send below PASN commands:
WMI_RTT_PASN_AUTH_STATUS_CMD
WMI_RTT_PASN_DEAUTH_CMD
WMI_VDEV_SET_LTF_KEY_SEED_CMDID

Change-Id: I5a50a634317d0a692feee5be5a36da22b4c5d713
CRs-Fixed: 3154530
2022-07-06 23:07:52 -07:00

62 行
2.0 KiB
C

/*
* Copyright (c) 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
* 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: declares crypto functions interfacing with the target
*/
#ifndef __TARGET_IF_CRYPTO_H__
#define __TARGET_IF_CRYPTO_H__
#include <wlan_lmac_if_def.h>
/**
* target_if_crypto_register_tx_ops() - lmac handler to register
* crypto tx_ops callback functions
* @tx_ops: wlan_lmac_if_tx_ops object
*
* Return: QDF_STATUS
*/
QDF_STATUS target_if_crypto_register_tx_ops(struct wlan_lmac_if_tx_ops *tx_ops);
/**
* target_if_crypto_set_key() - lmac handler to set key
* @vdev: VDEV object pointer
* @req: Key parameters that are required to install the key
* @key_type: Pairwise or Group Key type
*
* Return: QDF_STATUS
*/
QDF_STATUS target_if_crypto_set_key(struct wlan_objmgr_vdev *vdev,
struct wlan_crypto_key *req,
enum wlan_crypto_key_type key_type);
/**
* target_if_crypto_vdev_set_param() - Set crypto related vdev params to fw
* @psoc: Pointer to psoc
* @vdev_id: vdev id
* @param_id: param id
* @param_value: param value
*
* Return: QDF_STATUS
*/
QDF_STATUS
target_if_crypto_vdev_set_param(struct wlan_objmgr_psoc *psoc, uint32_t vdev_id,
uint32_t param_id, uint32_t param_value);
#endif