ath10k: Add copy engine descriptor for WCN3990 target
The WCN3990 target uses 37bit addressing mode, define separate structure for the copy engine descriptor to support this 37bit addressing mode. The WCN3990 target supports copy engine classification and toeplitz hash calculation for NAPI. CRs-Fixed: 1115328 Change-Id: I3a6d3e71e788acfab44f4c9d0f159ced351e6456 Signed-off-by: Govind Singh <govinds@codeaurora.org> Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
This commit is contained in:
parent
314869eb56
commit
880e2993f4
1 changed files with 9 additions and 0 deletions
|
@ -46,11 +46,20 @@ struct ath10k_ce_pipe;
|
|||
#define CE_DESC_FLAGS_META_DATA_MASK ar->hw_values->ce_desc_meta_data_mask
|
||||
#define CE_DESC_FLAGS_META_DATA_LSB ar->hw_values->ce_desc_meta_data_lsb
|
||||
|
||||
#ifndef CONFIG_ATH10K_SNOC
|
||||
struct ce_desc {
|
||||
__le32 addr;
|
||||
__le16 nbytes;
|
||||
__le16 flags; /* %CE_DESC_FLAGS_ */
|
||||
};
|
||||
#else
|
||||
struct ce_desc {
|
||||
__le64 addr;
|
||||
u16 nbytes; /* length in register map */
|
||||
u16 flags; /* fw_metadata_high */
|
||||
u32 toeplitz_hash_result;
|
||||
};
|
||||
#endif
|
||||
|
||||
struct ath10k_ce_ring {
|
||||
/* Number of entries in this ring; must be power of 2 */
|
||||
|
|
Loading…
Add table
Reference in a new issue