ath6kl: move diag commands to hif driver
This is preparation for USB support which will have different diag commands. Based on code by Kevin Fang. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
@@ -244,6 +244,8 @@ struct ath6kl_hif_ops {
|
||||
void (*cleanup_scatter)(struct ath6kl *ar);
|
||||
int (*suspend)(struct ath6kl *ar, struct cfg80211_wowlan *wow);
|
||||
int (*resume)(struct ath6kl *ar);
|
||||
int (*diag_read32)(struct ath6kl *ar, u32 address, u32 *value);
|
||||
int (*diag_write32)(struct ath6kl *ar, u32 address, __le32 value);
|
||||
int (*bmi_read)(struct ath6kl *ar, u8 *buf, u32 len);
|
||||
int (*bmi_write)(struct ath6kl *ar, u8 *buf, u32 len);
|
||||
int (*power_on)(struct ath6kl *ar);
|
||||
|
Reference in New Issue
Block a user