diff options
author | Rupesh Gujare <rgujare@ozmodevices.com> | 2012-07-23 18:49:46 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-13 19:17:17 -0700 |
commit | 86d03a0f4f575dda7988800a3da8d6e9f776a819 (patch) | |
tree | 00b3442692adedfe58108ef95357bc8ec0dad1d9 /drivers/staging/ozwpan/ozprotocol.h | |
parent | staging: ozwpan: Return correct actual_length to userland (diff) | |
download | linux-dev-86d03a0f4f575dda7988800a3da8d6e9f776a819.tar.xz linux-dev-86d03a0f4f575dda7988800a3da8d6e9f776a819.zip |
staging: ozwpan: isoc latency for audio burst
Set audio latency. This fixes issue where audio clips heard during
link outage.
Signed-off-by: Rupesh Gujare <rgujare@ozmodevices.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ozwpan/ozprotocol.h')
-rw-r--r-- | drivers/staging/ozwpan/ozprotocol.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/staging/ozwpan/ozprotocol.h b/drivers/staging/ozwpan/ozprotocol.h index 1e4edbeb61cd..17b09b9a5b08 100644 --- a/drivers/staging/ozwpan/ozprotocol.h +++ b/drivers/staging/ozwpan/ozprotocol.h @@ -65,6 +65,10 @@ struct oz_hdr { #define OZ_LAST_PN_HALF_CYCLE 127 +#define OZ_LATENCY_MASK 0xc0 +#define OZ_ONE_MS_LATENCY 0x40 +#define OZ_TEN_MS_LATENCY 0x80 + /* Connect request data structure. */ struct oz_elt_connect_req { @@ -73,7 +77,7 @@ struct oz_elt_connect_req { u8 pd_info; u8 session_id; u8 presleep; - u8 resv2; + u8 ms_isoc_latency; u8 host_vendor; u8 keep_alive; u16 apps; |