mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-12-13 14:04:12 +08:00
hcidump: Update sniff subrating decoding
This commit is contained in:
parent
e4c17e0568
commit
37d37b2bc4
@ -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",
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user