summaryrefslogtreecommitdiffstats
path: root/drivers/staging/ozwpan/ozpd.h
diff options
context:
space:
mode:
authorRupesh Gujare2012-06-20 14:36:06 +0200
committerGreg Kroah-Hartman2012-06-21 01:05:34 +0200
commit33e6ada17fffc54c24607d5acb279363b30ac401 (patch)
treec95fcdc0e2ed62b1800e56ae6853398ee20a4bcc /drivers/staging/ozwpan/ozpd.h
parentstaging: comedi: usbdux: refactor init code (diff)
downloadkernel-qcow2-linux-33e6ada17fffc54c24607d5acb279363b30ac401.tar.gz
kernel-qcow2-linux-33e6ada17fffc54c24607d5acb279363b30ac401.tar.xz
kernel-qcow2-linux-33e6ada17fffc54c24607d5acb279363b30ac401.zip
staging: ozwpan: ISOC transfer in triggered mode
This patch implements ISOC frame transfer while PD is in triggered mode. Signed-off-by: Rupesh Gujare <rgujare@ozmodevices.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ozwpan/ozpd.h')
-rw-r--r--drivers/staging/ozwpan/ozpd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/ozwpan/ozpd.h b/drivers/staging/ozwpan/ozpd.h
index afc77f0260f0..ddf1341b4e67 100644
--- a/drivers/staging/ozwpan/ozpd.h
+++ b/drivers/staging/ozwpan/ozpd.h
@@ -29,6 +29,7 @@ struct oz_tx_frame {
struct list_head link;
struct list_head elt_list;
struct oz_hdr hdr;
+ struct sk_buff *skb;
int total_size;
};
@@ -83,6 +84,7 @@ struct oz_pd {
u8 ms_per_isoc;
unsigned max_stream_buffering;
int nb_queued_frames;
+ int nb_queued_isoc_frames;
struct list_head *tx_pool;
int tx_pool_count;
spinlock_t tx_frame_lock;
@@ -118,4 +120,3 @@ void oz_apps_init(void);
void oz_apps_term(void);
#endif /* Sentry */
-