summaryrefslogtreecommitdiff
path: root/vw-bap.h
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2017-03-24 23:54:20 +0100
committernorly <ny-git@enpas.org>2017-03-24 23:54:20 +0100
commit192baf932a71dae71fd8e5193b46ba04b1483ae7 (patch)
treeba507c5bf6632b9ec5a48a13d684d7597c85cf6a /vw-bap.h
parentb3c2473aa47944c48875cc5568461719cd2bc4df (diff)
Add vw-bap-sniffer
Diffstat (limited to 'vw-bap.h')
-rw-r--r--vw-bap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/vw-bap.h b/vw-bap.h
index 00c9b75..5485138 100644
--- a/vw-bap.h
+++ b/vw-bap.h
@@ -11,6 +11,7 @@ typedef unsigned short BAP_FrameLen;
struct BAP_Frame {
+ /* True if frame was/will be transmitted in multi-frame syntax */
int is_multiframe;
BAP_OpCode opcode;
@@ -23,7 +24,10 @@ struct BAP_Frame {
struct BAP_RXer {
+ /* Temporary storage for incomplete frames */
struct BAP_Frame *mfchannel[8];
+
+ /* How many bytes have we already received on each channel? */
BAP_FrameLen len_done[8];
};