
The kernel-doc script identified some documentation issues in the hal/wifi3.0/li folder, so fix them. Change-Id: I4ac9d051ac1ba23ddeecdf1b1bb88b939956795e CRs-Fixed: 3390587
97 lignes
3.1 KiB
C
97 lignes
3.1 KiB
C
/*
|
|
* Copyright (c) 2017-2019, 2021 The Linux Foundation. All rights reserved.
|
|
* Copyright (c) 2021, 2023 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 _HAL_LI_REO_H_
|
|
#define _HAL_LI_REO_H_
|
|
|
|
#include "hal_rx.h"
|
|
#include "hal_reo.h"
|
|
|
|
#define HAL_REO_QUEUE_EXT_DESC 9
|
|
|
|
/**
|
|
* hal_get_ba_aging_timeout_li() - Get BA Aging timeout
|
|
* @hal_soc_hdl: Opaque HAL SOC handle
|
|
* @ac: Access category
|
|
* @value: window size to get
|
|
*/
|
|
void hal_get_ba_aging_timeout_li(hal_soc_handle_t hal_soc_hdl, uint8_t ac,
|
|
uint32_t *value);
|
|
|
|
/**
|
|
* hal_set_ba_aging_timeout_li() - Set BA Aging timeout
|
|
* @hal_soc_hdl: Opaque HAL SOC handle
|
|
* @ac: Access category
|
|
* ac: 0 - Background, 1 - Best Effort, 2 - Video, 3 - Voice
|
|
* @value: Input value to set
|
|
*/
|
|
void hal_set_ba_aging_timeout_li(hal_soc_handle_t hal_soc_hdl, uint8_t ac,
|
|
uint32_t value);
|
|
|
|
uint32_t hal_get_reo_reg_base_offset_li(void);
|
|
|
|
int hal_reo_send_cmd_li(hal_soc_handle_t hal_soc_hdl,
|
|
hal_ring_handle_t hal_ring_hdl,
|
|
enum hal_reo_cmd_type cmd,
|
|
void *params);
|
|
|
|
/* REO status ring routines */
|
|
void
|
|
hal_reo_queue_stats_status_li(hal_ring_desc_t ring_desc,
|
|
void *st_handle,
|
|
hal_soc_handle_t hal_soc_hdl);
|
|
void
|
|
hal_reo_flush_queue_status_li(hal_ring_desc_t ring_desc,
|
|
void *st_handle,
|
|
hal_soc_handle_t hal_soc_hdl);
|
|
void
|
|
hal_reo_flush_cache_status_li(hal_ring_desc_t ring_desc,
|
|
void *st_handle,
|
|
hal_soc_handle_t hal_soc_hdl);
|
|
void
|
|
hal_reo_unblock_cache_status_li(hal_ring_desc_t ring_desc,
|
|
hal_soc_handle_t hal_soc_hdl,
|
|
void *st_handle);
|
|
void hal_reo_flush_timeout_list_status_li(hal_ring_desc_t ring_desc,
|
|
void *st_handle,
|
|
hal_soc_handle_t hal_soc_hdl);
|
|
void hal_reo_desc_thres_reached_status_li(hal_ring_desc_t ring_desc,
|
|
void *st_handle,
|
|
hal_soc_handle_t hal_soc_hdl);
|
|
void
|
|
hal_reo_rx_update_queue_status_li(hal_ring_desc_t ring_desc,
|
|
void *st_handle,
|
|
hal_soc_handle_t hal_soc_hdl);
|
|
|
|
/**
|
|
* hal_reo_init_cmd_ring_li() - Initialize descriptors of REO command SRNG
|
|
* with command number
|
|
* @hal_soc_hdl: Handle to HAL SoC structure
|
|
* @hal_ring_hdl: Handle to HAL SRNG structure
|
|
*
|
|
* Return: none
|
|
*/
|
|
void hal_reo_init_cmd_ring_li(hal_soc_handle_t hal_soc_hdl,
|
|
hal_ring_handle_t hal_ring_hdl);
|
|
|
|
uint8_t hal_get_tlv_hdr_size_li(void);
|
|
|
|
uint64_t hal_rx_get_qdesc_addr_li(uint8_t *dst_ring_desc, uint8_t *buf);
|
|
#endif /* _HAL_LI_REO_H_ */
|