summaryrefslogtreecommitdiff
path: root/monitor/l2cap.h
diff options
context:
space:
mode:
authorAndrzej Kaczmarek <andrzej.kaczmarek@codecoup.pl>2015-11-22 21:20:13 +0100
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2015-12-01 10:42:25 +0200
commit64dffbe4312a2892193ac408d691692ec16b15b5 (patch)
tree1f61fcd0b38fe4e474654e78c2f9db89d9bf6432 /monitor/l2cap.h
parentcd64eb533abea0e2a25d0f74dc66a9ab26c32da7 (diff)
downloadbluez-64dffbe4312a2892193ac408d691692ec16b15b5.tar.gz
monitor/l2cap: Add channel sequence number
This patch adds sequence number to channels structure which determines order in which channels for the same PSM were created. It will be used for protocols like AVDTP where there is single PSM used for multiple channels and order it which they were created is important.
Diffstat (limited to 'monitor/l2cap.h')
-rw-r--r--monitor/l2cap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/monitor/l2cap.h b/monitor/l2cap.h
index 036445412..813c7932a 100644
--- a/monitor/l2cap.h
+++ b/monitor/l2cap.h
@@ -34,6 +34,7 @@ struct l2cap_frame {
uint16_t psm;
uint16_t chan;
uint8_t mode;
+ uint8_t seq_num;
const void *data;
uint16_t size;
};