Date: Sat, 04 Apr 2020 17:50:55 +0000 From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 245354] [Patch] hccontrol features list incomplete/out of date Message-ID: <bug-245354-21060@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245354 Bug ID: 245354 Summary: [Patch] hccontrol features list incomplete/out of date Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: wireless Assignee: wireless@FreeBSD.org Reporter: marc@bumblingdork.com Created attachment 213068 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D213068&action= =3Dedit Adds possible features to hci_features2str() The list of possible features in hccontrol/features2str() is incomplete. Attached patch brings the list more up-to-date. The patch also enlarges buffers for users of hci_features2str since it can return a significantly larger string. Source: Bluetooth Core Specification 5.2 Vol. 2 Part C. 3.3 Feature Mask Definition. Before: marc@supernovo:~ % hccontrol -n ubt0hci read_local_supported_features Features: 0xbf 0xfe 0xf 0xfe 0xdb 0xff 0x7b 0x87=20 <3-Slot> <5-Slot> <Encryption> <Slot offset> <Timing accuracy> <Switch> <Sniff mode> <RSSI> <Channel quality> <SCO link> <HV2 packets> <HV3 packets> <u-law log> <A-law log> <CVSD> <Paging scheme> <Power control> <Transparent SCO data>=20 After: marc@devnovo:~ $ hccontrol -n ubt0hci read_local_supported_features Features: 0xff 0xff 0x8f 0xfe 0xdb 0xff 0x5b 0x87=20 <3-Slot> <5-Slot> <Encryption> <Slot offset> <Timing accuracy> <Switch> <Hold mode> <Sniff mode> <Park mode> <RSSI> <Channel quality> <SCO link> <HV2 packets> <HV3 packets> <u-law log> <A-law log> <CVSD> <Paging scheme> <Power control> <Transparent SCO data> <Broadcast Encryption> <EDR ACL 2 Mb/s> <EDR ACL 3 Mb/s> <Enhanced inquiry scan> <Interlaced inquiry scan> <Interlaced page scan> <RSSI with inquiry results> <Extended SCO link (EV3 packets)> <EV4 packets> <EV5 packets> <AFH capable slave> <AFH classification slave> <LE Supported (Controller)> <3-Slot EDR ACL packets> <5-Slot EDR ACL packets> <Sniff subrating> <Pause encryption> <AFH capable master> <AFH classification master> <EDR eSCO 2 Mb/s mode> <EDR eSCO 3 Mb/s mode> <3-Slot EDR eSCO packets> <Enhanced Inquiry Response> <Simultaneous LE and BR/EDR (Controller)> <Secure Simple Pairing (Controller Support)> <Encapsulated PDU> <Non-flushable Packed Boundary Flag> <HCI_Link_Supervision_Timeout_Changed event> <Variable Inquiry TX Power Level> <Enhanced Power Control> <Extended features> --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245354-21060>