diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2015-01-03 02:35:19 -0500 |
|---|---|---|
| committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-01-03 15:31:09 -0500 |
| commit | 043ec9bf7b9d7cdce84d2e8d3df9b9eb520d929e (patch) | |
| tree | 4b2c9f738009ca612e1817f4d5067f717bc0935a /include/net/bluetooth | |
| parent | 04422da990b33bf814944a3dd5d49c920eae4f7b (diff) | |
Bluetooth: Introduce HCI_QUIRK_FIXUP_INQUIRY_MODE option
The HCI_QUIRK_FIXUP_INQUIRY_MODE option allows to force Inquiry Result
with RSSI setting on controllers that do not indicate support for it,
but where it is known to be fully functional.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth')
| -rw-r--r-- | include/net/bluetooth/hci.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index aee16bf5d34f..d0bca316b43b 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h | |||
| @@ -102,6 +102,18 @@ enum { | |||
| 102 | */ | 102 | */ |
| 103 | HCI_QUIRK_FIXUP_BUFFER_SIZE, | 103 | HCI_QUIRK_FIXUP_BUFFER_SIZE, |
| 104 | 104 | ||
| 105 | /* When this quirk is set, then a controller that does not | ||
| 106 | * indicate support for Inquiry Result with RSSI is assumed to | ||
| 107 | * support it anyway. Some early Bluetooth 1.2 controllers had | ||
| 108 | * wrongly configured local features that will require forcing | ||
| 109 | * them to enable this mode. Getting RSSI information with the | ||
| 110 | * inquiry responses is preferred since it allows for a better | ||
| 111 | * user expierence. | ||
| 112 | * | ||
| 113 | * This quirk must be set before hci_register_dev is called. | ||
| 114 | */ | ||
| 115 | HCI_QUIRK_FIXUP_INQUIRY_MODE, | ||
| 116 | |||
| 105 | /* When this quirk is set, then the HCI Read Local Supported | 117 | /* When this quirk is set, then the HCI Read Local Supported |
| 106 | * Commands command is not supported. In general Bluetooth 1.2 | 118 | * Commands command is not supported. In general Bluetooth 1.2 |
| 107 | * and later controllers should support this command. However | 119 | * and later controllers should support this command. However |
