summaryrefslogtreecommitdiff
path: root/android/avctp.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-06-05 14:25:03 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-06-06 11:17:07 +0300
commitc05c743254e1afa765123c2a69f46e75bbe632c6 (patch)
tree6d268a7ff8b377852b7d3d22f7cb58c848c4dd03 /android/avctp.c
parent1573ebb8525cfe2b687c3a6d2bbbdd5cc06c44f0 (diff)
downloadbluez-c05c743254e1afa765123c2a69f46e75bbe632c6.tar.gz
android/avctp: Add define for AV/C data MTU and offset
This defines the MTU and offset of AV/C data in AVCTP PDU.
Diffstat (limited to 'android/avctp.c')
-rw-r--r--android/avctp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/android/avctp.c b/android/avctp.c
index be3fed19a..a70ed5201 100644
--- a/android/avctp.c
+++ b/android/avctp.c
@@ -76,7 +76,6 @@ struct avctp_header {
uint8_t transaction:4;
uint16_t pid;
} __attribute__ ((packed));
-#define AVCTP_HEADER_LENGTH 3
struct avc_header {
uint8_t code:4;
@@ -85,7 +84,6 @@ struct avc_header {
uint8_t subunit_type:5;
uint8_t opcode;
} __attribute__ ((packed));
-#define AVC_HEADER_LENGTH 3
#elif __BYTE_ORDER == __BIG_ENDIAN
@@ -96,7 +94,6 @@ struct avctp_header {
uint8_t ipid:1;
uint16_t pid;
} __attribute__ ((packed));
-#define AVCTP_HEADER_LENGTH 3
struct avc_header {
uint8_t _hdr0:4;
@@ -105,7 +102,6 @@ struct avc_header {
uint8_t subunit_id:3;
uint8_t opcode;
} __attribute__ ((packed));
-#define AVC_HEADER_LENGTH 3
#else
#error "Unknown byte order"