From 37d37b2bc46670d5626b4fa82d7533469fa42c30 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 31 May 2006 15:20:08 +0000 Subject: [PATCH] hcidump: Update sniff subrating decoding --- tools/parser/hci.c | 9 ++++----- tools/parser/lmp.c | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/tools/parser/hci.c b/tools/parser/hci.c index 96ef17c2c..ee2527740 100644 --- a/tools/parser/hci.c +++ b/tools/parser/hci.c @@ -745,8 +745,7 @@ static inline void sniff_subrate_dump(int level, struct frame *frm) printf("handle %d\n", btohs(cp->handle)); p_indent(level, frm); - printf("max latency remote %d local %d\n", - btohs(cp->max_remote_latency), btohs(cp->max_local_latency)); + printf("max latency %d\n", btohs(cp->max_latency)); p_indent(level, frm); printf("min timeout remote %d local %d\n", @@ -2381,9 +2380,9 @@ static inline void sniff_subrate_event_dump(int level, struct frame *frm) printf("Error: %s\n", status2str(evt->status)); } else { p_indent(level, frm); - printf("max latency remote %d local %d\n", - btohs(evt->max_remote_latency), - btohs(evt->max_local_latency)); + printf("max latency transmit %d receive %d\n", + btohs(evt->max_tx_latency), + btohs(evt->max_rx_latency)); p_indent(level, frm); printf("min timeout remote %d local %d\n", diff --git a/tools/parser/lmp.c b/tools/parser/lmp.c index 61415aa23..4261614f2 100644 --- a/tools/parser/lmp.c +++ b/tools/parser/lmp.c @@ -1002,7 +1002,7 @@ static inline void sniff_subrate_dump(int level, struct frame *frm) printf("max subrate %d\n", subrate); p_indent(level, frm); - printf("min subrate zero timeout %d\n", timeout); + printf("min sniff timeout %d\n", timeout); p_indent(level, frm); printf("subrate instant 0x%4.4x\n", instant); -- 2.47.3