ath6kl: cleanup callbacks for different scatter gather method
Define a hook in ath6kl_hif_ops for hif scatter gather mechanism. When virtual scatter gather is used, call the respective function directly. Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:

committed by
Kalle Valo

parent
bdcd817079
commit
f74a7361b8
@@ -186,7 +186,6 @@ struct hif_scatter_req {
|
||||
};
|
||||
|
||||
struct hif_dev_scat_sup_info {
|
||||
int (*rw_scat_func) (struct ath6kl *ar, struct hif_scatter_req *);
|
||||
int max_scat_entries;
|
||||
int max_xfer_szper_scatreq;
|
||||
};
|
||||
@@ -210,6 +209,8 @@ struct ath6kl_hif_ops {
|
||||
struct hif_scatter_req *s_req);
|
||||
int (*enable_scatter)(struct ath6kl *ar,
|
||||
struct hif_dev_scat_sup_info *info);
|
||||
int (*scat_req_rw) (struct ath6kl *ar,
|
||||
struct hif_scatter_req *scat_req);
|
||||
void (*cleanup_scatter)(struct ath6kl *ar);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user