aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2011-08-26 15:05:36 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2011-09-21 00:46:50 +0900
commit1ab9aab338faca54a409fcc1260f60f29243ce62 (patch)
tree299dc9592afd69cd29a635ce1ac35af2fd8d3055
parentda1992aba1ed8a17a1c0b1b8d915c1988b589d3f (diff)
downloadbluez-hcidump-1ab9aab338faca54a409fcc1260f60f29243ce62.tar.gz
bluez-hcidump-1ab9aab338faca54a409fcc1260f60f29243ce62.tar.xz
bluez-hcidump-1ab9aab338faca54a409fcc1260f60f29243ce62.zip
Decode extended window size option
-rw-r--r--parser/l2cap.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/parser/l2cap.c b/parser/l2cap.c
index 72dff50..8d05314 100644
--- a/parser/l2cap.c
+++ b/parser/l2cap.c
@@ -556,6 +556,12 @@ static void conf_opt(int level, void *ptr, int len, int in, uint16_t handle,
conf_efs(h->val);
break;
+ case L2CAP_CONF_EWS:
+ printf("EWS");
+ if (h->len > 0)
+ printf(" %d", get_val(h->val, h->len));
+ break;
+
default:
printf("Unknown (type %2.2x, len %d)", h->type & 0x7f, h->len);
break;
@@ -594,6 +600,9 @@ static void conf_list(int level, uint8_t *list, int len)
case L2CAP_CONF_EFS:
printf("EFS ");
break;
+ case L2CAP_CONF_EWS:
+ printf("EWS ");
+ break;
default:
printf("%2.2x ", list[i] & 0x7f);
break;