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:
Govind Singh 2017-01-09 17:11:21 +05:30 committed by Gerrit - the friendly Code Review server
parent 314869eb56
commit 880e2993f4

View file

@ -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 */