aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/hif.h
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>2011-07-16 20:29:05 +0530
committerKalle Valo <kvalo@qca.qualcomm.com>2011-08-09 19:45:18 +0300
commitf74a7361b8affcd76ffe1e2baa5748af4d63bcea (patch)
treec0d5cb1246f8e0350fb1e6890307fb464892516e /drivers/net/wireless/ath/ath6kl/hif.h
parentAdd ath6kl cleaned up driver (diff)
downloadlinux-dev-f74a7361b8affcd76ffe1e2baa5748af4d63bcea.tar.xz
linux-dev-f74a7361b8affcd76ffe1e2baa5748af4d63bcea.zip
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/hif.h')
-rw-r--r--drivers/net/wireless/ath/ath6kl/hif.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/hif.h b/drivers/net/wireless/ath/ath6kl/hif.h
index 7d39c1769fe4..ca401041abfb 100644
--- a/drivers/net/wireless/ath/ath6kl/hif.h
+++ b/drivers/net/wireless/ath/ath6kl/hif.h
@@ -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);
};