47 lines
2.0 KiB
C
47 lines
2.0 KiB
C
/* SPDX-License-Identifier: BSD-3-Clause-Clear*/
|
|
/*
|
|
* Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.
|
|
* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
*/
|
|
|
|
#ifndef ATH12K_HAL_QCN9274_H
|
|
#define ATH12K_HAL_QCN9274_H
|
|
|
|
#include <linux/ieee80211.h>
|
|
#include <linux/etherdevice.h>
|
|
#include "../hal.h"
|
|
#include "hal_rx.h"
|
|
#include "hal.h"
|
|
|
|
extern const struct hal_ops hal_qcn9274_ops;
|
|
extern const struct ath12k_hw_regs qcn9274_v1_regs;
|
|
extern const struct ath12k_hw_regs qcn9274_v2_regs;
|
|
extern const struct ath12k_hw_regs ipq5332_regs;
|
|
extern const struct ath12k_hw_regs ipq5424_regs;
|
|
extern const struct ath12k_hal_tcl_to_wbm_rbm_map
|
|
ath12k_hal_tcl_to_wbm_rbm_map_qcn9274[DP_TCL_NUM_RING_MAX];
|
|
extern const struct ath12k_hw_hal_params ath12k_hw_hal_params_qcn9274;
|
|
extern const struct ath12k_hw_hal_params ath12k_hw_hal_params_ipq5332;
|
|
|
|
u8 ath12k_hal_rx_desc_get_l3_pad_bytes_qcn9274(struct hal_rx_desc *desc);
|
|
void ath12k_hal_rx_desc_copy_end_tlv_qcn9274(struct hal_rx_desc *fdesc,
|
|
struct hal_rx_desc *ldesc);
|
|
u32 ath12k_hal_rx_desc_get_mpdu_ppdu_id_qcn9274(struct hal_rx_desc *desc);
|
|
void ath12k_hal_rx_desc_set_msdu_len_qcn9274(struct hal_rx_desc *desc, u16 len);
|
|
u8 *ath12k_hal_rx_desc_get_msdu_payload_qcn9274(struct hal_rx_desc *desc);
|
|
u32 ath12k_hal_rx_desc_get_mpdu_start_offset_qcn9274(void);
|
|
u32 ath12k_hal_rx_desc_get_msdu_end_offset_qcn9274(void);
|
|
u32 ath12k_hal_get_rx_desc_size_qcn9274(void);
|
|
u8 ath12k_hal_rx_desc_get_msdu_src_link_qcn9274(struct hal_rx_desc *desc);
|
|
u16 ath12k_hal_rx_mpdu_start_wmask_get_qcn9274(void);
|
|
u32 ath12k_hal_rx_msdu_end_wmask_get_qcn9274(void);
|
|
void ath12k_hal_rx_desc_get_crypto_hdr_qcn9274(struct hal_rx_desc *desc,
|
|
u8 *crypto_hdr,
|
|
enum hal_encrypt_type enctype);
|
|
void ath12k_hal_rx_desc_get_dot11_hdr_qcn9274(struct hal_rx_desc *desc,
|
|
struct ieee80211_hdr *hdr);
|
|
void ath12k_hal_extract_rx_desc_data_qcn9274(struct hal_rx_desc_data *rx_desc_data,
|
|
struct hal_rx_desc *rx_desc,
|
|
struct hal_rx_desc *ldesc);
|
|
#endif
|