aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net/caif
diff options
context:
space:
mode:
authorDaniel Martensson <daniel.martensson@stericsson.com>2011-10-13 11:29:29 +0000
committerDavid S. Miller <davem@davemloft.net>2011-10-19 03:25:43 -0400
commit5ea2ef5f8b006ff9e970327e7fea78f1f5841c44 (patch)
tree10c191239f3e98128f34cc7e85af8faa2909bb93 /include/net/caif
parentcaif-hsi: Added sanity check for length of CAIF frames (diff)
downloadwireguard-linux-5ea2ef5f8b006ff9e970327e7fea78f1f5841c44.tar.xz
wireguard-linux-5ea2ef5f8b006ff9e970327e7fea78f1f5841c44.zip
caif-hsi: Added recovery check of CA wake status.
Added recovery check of CA wake status in case of wake up timeout. Added check of CA wake status in case of wake down timeout. Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/caif')
-rw-r--r--include/net/caif/caif_hsi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/caif/caif_hsi.h b/include/net/caif/caif_hsi.h
index 3356769afaee..8d552519ff67 100644
--- a/include/net/caif/caif_hsi.h
+++ b/include/net/caif/caif_hsi.h
@@ -108,6 +108,7 @@ struct cfhsi_dev {
int (*cfhsi_rx) (u8 *ptr, int len, struct cfhsi_dev *dev);
int (*cfhsi_wake_up) (struct cfhsi_dev *dev);
int (*cfhsi_wake_down) (struct cfhsi_dev *dev);
+ int (*cfhsi_get_peer_wake) (struct cfhsi_dev *dev, bool *status);
int (*cfhsi_fifo_occupancy)(struct cfhsi_dev *dev, size_t *occupancy);
int (*cfhsi_rx_cancel)(struct cfhsi_dev *dev);
struct cfhsi_drv *drv;