[Bug 245354] [Patch] hccontrol features list incomplete/out of date

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Apr 4 17:52:46 UTC 2020


            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 at FreeBSD.org
          Reporter: marc at bumblingdork.com

Created attachment 213068
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=213068&action=edit
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


marc at supernovo:~ % hccontrol -n ubt0hci read_local_supported_features
Features: 0xbf 0xfe 0xf 0xfe 0xdb 0xff 0x7b 0x87 
<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> 

marc at devnovo:~ $ hccontrol -n ubt0hci read_local_supported_features
Features: 0xff 0xff 0x8f 0xfe 0xdb 0xff 0x5b 0x87 
<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>

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-wireless mailing list