Files
android_kernel_samsung_sm86…/wmi/inc/wmi_unified_11be_setup_api.h
Shashikala Prabhu a12a2c47c8 qcacmn: Add WMI changes to send the T2LM command to FW
Add WMI changes to send TID-to-link mapping to FW as part of peer assoc
command and as part of WMI_PEER_TID_TO_LINK_MAP_CMDID.

Change-Id: Ia3a8fb10d49e1d54d6f4f418be3f684bc0147c5c
CRs-Fixed: 3183734
2022-04-29 13:50:00 -07:00

81 line
2.6 KiB
C

/*
* Copyright (c) 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 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.
*/
#ifndef _WMI_UNIFIED_11BE_SETUP_API_H_
#define _WMI_UNIFIED_11BE_SETUP_API_H_
#include <wmi_unified_11be_param.h>
#ifdef WLAN_FEATURE_11BE_MLO
/**
* wmi_mlo_setup_cmd_send() - Send MLO setup command
* @wmi_handle: WMI handle for this pdev
* @params: MLO setup params
*
* Return: QDF_STATUS code
*/
QDF_STATUS wmi_mlo_setup_cmd_send(wmi_unified_t wmi_handle,
struct wmi_mlo_setup_params *params);
/**
* wmi_mlo_teardown_cmd_send() - Send MLO teardown command
* @wmi_handle: WMI handle for this pdev
* @params: MLO teardown params
*
* Return: QDF_STATUS code
*/
QDF_STATUS wmi_mlo_teardown_cmd_send(wmi_unified_t wmi_handle,
struct wmi_mlo_teardown_params *params);
/**
* wmi_mlo_ready_cmd_send() - Send MLO ready command
* @wmi_handle: WMI handle for this pdev
* @params: MLO ready params
*
* Return: QDF_STATUS code
*/
QDF_STATUS wmi_mlo_ready_cmd_send(wmi_unified_t wmi_handle,
struct wmi_mlo_ready_params *params);
/**
* wmi_extract_mlo_setup_cmpl_event() - Extract MLO setup completion event
* @wmi_handle: WMI handle for this pdev
* @buf: Event buffer
* @params: MLO setup event params
*
* Return: QDF_STATUS code
*/
QDF_STATUS
wmi_extract_mlo_setup_cmpl_event(wmi_unified_t wmi_handle,
uint8_t *buf,
struct wmi_mlo_setup_complete_params *params);
/**
* wmi_extract_mlo_teardown_cmpl_event() - Extract MLO teardown completion
* @wmi_handle: WMI handle for this pdev
* @buf: Event buffer
* @params: MLO teardown event params
*
* Return: QDF_STATUS code
*/
QDF_STATUS
wmi_extract_mlo_teardown_cmpl_event(wmi_unified_t wmi_handle,
uint8_t *buf,
struct wmi_mlo_teardown_cmpl_params *param);
#endif /*WLAN_FEATURE_11BE_MLO*/
#endif /*_WMI_UNIFIED_11BE_SETUP_API_H_*/