| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This introduces option to configure main.conf that can be used to
configure co-ordinated set identification profile.
|
|
|
|
|
|
| |
EATT is causing some problem with some platforms as they also attempt to
configure it may cause a connection collision which needs to be handled
by the kernel.
|
|
|
|
|
|
|
|
|
|
| |
This introduces SecureConnections option to main.conf that can be used to
configure this on adapter initialization.
This is useful for:
- disable for adapters that have a problems with SecureConnections enabled
- if you want to disable CTKD (cross transport key derivation)
- add option to enable only SecureConnections
|
|
|
|
|
| |
This adds support for setting ISO Socket experimental UUID which
enables the use of BTPROTO_ISO on the system.
|
|
|
|
|
| |
This splits kernel experimental UUIDs from D-Bus Experimental interface
so they can be controlled indenpendetly.
|
|
|
|
|
|
|
| |
This changes the default of AutoEnable to true so controllers are power
up by default.
Fixes: https://github.com/bluez/bluez/issues/328
|
|
|
|
|
| |
This introduces MaxControllers which can be used to limit the number of
adapters exposed in the system.
|
|
|
|
|
|
|
|
|
|
| |
This specifies how long will the userspace ignore a peer with an
unknown name after a failed remote name resolving procedure.
The peer device can still be connected, this only prevents the remote
name resolving procedure retry.
Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
|
|
|
|
|
|
|
|
|
| |
Update default Advertisemet Monitor Sampling_Period to 0xFF. It
indicates that controller will report only one advertisement per
monitoring period for a device. This will help reduce the power
consumption drastically.
Reviewed-by: Miao-chen Chou <mcchou@google.com>
|
|
|
|
|
| |
This reworks privacy options so the limited discoverable is only
available when controller mode is set to dual.
|
|
|
|
|
|
|
|
|
| |
Device privacy 0x01 uses RPA regardless of the discoverable setting thus
it conforms to network mode not device mode.
Also this improves documentation to state what is the expectation of
each mode since it may not have been very clear by just using the terms
from the spec.
|
|
|
|
|
|
| |
This allows the user to enable a subset of the experimental features to
be enabled instead of all of them and also change -E to work in the same
way so a list of UUIDs can also be given at the command line.
|
|
|
|
|
| |
Privacy shall be off by default until kernel is stable to support it,
also Experimental shall only be enabled for testing purpose.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
own_addr_type 0x01 and 0x03 shall check that a random address has
properly been set:
BLUETOOTH CORE SPECIFICATION Version 5.2 | Vol 4, Part E
page 2496:
'If LE_Scan_Enable is set to 0x01, the scanning parameters'
Own_Address_Type parameter is set to 0x01 or 0x03, and the random
ddress for the device has not been initialized, the Controller shall
return the error code Invalid HCI Command Parameters (0x12).'
BLUETOOTH CORE SPECIFICATION Version 5.2 | Vol 4, Part E
page 2614:
'If Enable is set to 0x01, the scanning parameters' Own_Address_Type
parameter is set to 0x01 or 0x03, and the random address for the
device has not been initialized, the Controller shall return the
error code Invalid HCI Command Parameters (0x12).'
|
|
|
|
|
|
|
|
|
| |
Add an option in main.conf to configure the default RSSI sampling
period for advertisement monitor.
Reviewed-by: apusaka@chromium.org
Reviewed-by: mmandlik@chromium.org
Reviewed-by: mcchou@chromium.org
|
|
|
|
|
|
|
| |
The adds options Experimental which is the equivalent to
-E/--experimental command line option.
Fixes https://github.com/bluez/bluez/issues/132
|
|
|
|
|
|
|
| |
This adds support for setting DeviceID to false so plaforms can disable
DeviceID.
Fixes: https://github.com/bluez/bluez/issues/101
|
| |
|
|
|
|
|
|
|
| |
This adds a new group AVDTP where platform can configure the preferred
L2CAP channel modes for both session (signalling) and stream
(transport). For backward compatibility the both SessionMode and
StreamMode defaults to basic mode.
|
|
|
|
| |
This patch adds parameter to enable/disable the interleave scan feature.
|
|
|
|
|
| |
This patch adds parameters to control the durations of allowlist scan
and no-filter scan when the kernel is doing interleaving scan.
|
|
|
|
|
| |
This splits LE and BR/EDR config parameters and checks main_conf.mode
when parsing them.
|
|
|
|
|
|
|
|
| |
During system suspend, all peer devices are disconnected. On resume, HID
devices will reconnect but audio devices stay disconnected. As a quality
of life improvement, mark audio devices that were disconnected due to
suspend and attempt to reconnect them when the controller resumes (after
a delay for better co-existence with Wi-Fi).
|
|
|
|
| |
Add a2dp-sink to default reconnects list.
|
|
|
|
|
| |
This is to configure the default behavior of issuing SDP query
to update the services upon profile connection.
|
|
|
|
|
|
|
| |
This adds a timer for how long to keep temporary devices, it is updated
everytime the device is seen so devices will be removed even during an
active discovery session which means the discovering for a long period
will no longer just grow without removing devices that disappeared.
|
|
|
|
| |
This patch adds support for a configurable le autoconnect timer.
|
|
|
|
|
| |
This change adds support for reading the configurations from the
main.conf file.
|
|
|
|
|
| |
This adds option to set the numbers of GATT Channels/Bearers to be
connected in main.conf.
|
|
|
|
|
|
|
|
|
|
| |
When kernel find out that the incoming Just-Works pairing is
initiated by a paired device, it is user space's responsibility to
decide the next action.
This patch includes the following:
- add JustWorksRepairing policy as an option in main.conf
- handle the confirmation request from kernel
|
|
|
|
|
|
| |
This makes ReverseServiceDiscovery work properly with LE connection by
disabling the GATT client functionality which makes one able to setup a
system to operate in peripheral role only mode.
|
|
|
|
|
|
|
|
|
| |
This adds a new option called AlwaysPairable to main.conf, it can be
used to enable Adapter.Pairable even in case there is no Agent
available.
Since that could be consider a security problem to allow pairing
without user's consent the option defaults to false.
|
|
|
|
|
|
| |
There is no conflicts, or other key/encryption related parameter, with
just calling this parameter KeySize so we don't have to just enter
initial for something one can assume it implicitly.
|
|
|
|
| |
This adds a new entry to GATT group called ExchangeMTU.
|
|
|
|
|
|
| |
This allows to configure bluetoothd to require minimum encryption key
size when accessing GATT server characteristics. It is a global
configuration option affecting whole GATT database.
|
|
|
|
|
|
| |
Remove the useless option AutoConnectTimeout since the commit dd3f4ca901
("plugins: remove unmaintained plugins") removed
btd_adapter_enable_auto_connect() for which this option was only intended.
|
|
|
|
|
| |
This adds GATT.Cache config option to main.conf which can be used
to adjust the cache expected behavior of attributes found over GATT.
|
| |
|
|
|
|
|
|
| |
If a config key under [Policy] section is uncommented right now, it's
assumed to be in [General] section because [Policy] line is commented
out and it won't work.
|
|
|
|
|
|
|
|
|
|
| |
This adds support for loading local IRK key when adapter is configured.
In case IRK is not present new key is generated and stored.
In case of errors privacy is explicitly disabled. We ensure that we
memset IRK to zero before disabling privacy.
IRK is stored in %s/identity file. Privacy setting is configured
globally in main.conf. In the future we may add per device
configuration in %s/settings.
|
|
|
|
|
| |
These spaces are not removed when parsing the file which may lead to
unexpected behavior when using the values commented out as default.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This option is used to configure policy for auto enabling adapters when
found. This includes adapters found on start as well as adapters that
are plugged in later on.
Some distributions use legacy "hciconfig hci0 up" in boot-scripts to
automatically enable controllers on start. But that is causing SMP
kernel code to not being properly initialized.
This patch allows distributions to automatically enable adapters in
race free manner even if no agent is provided eg. in login screen.
|
|
|
|
| |
%h and %d are no longer supported.
|
|
|
|
|
| |
This adds ReconnectAttempts and ReconnectIntervals so platforms can fine
tune the reconnection strategy.
|
|
|
|
| |
This documents the defaults used for ReconnectUUIDs.
|
| |
|
| |
|
|
|
|
|
| |
This adds new main.conf configure option named MultiProfile. It allows
to enable MPSD and MPMD scenarios for MPS. By default MPS is disabled.
|
| |
|
| |
|