#
e98d2ce2 |
| 10-Jan-2014 |
Marcel Holtmann <marcel@holtmann.org> |
Bluetooth: Add flags and setting for Secure Connections support
The MGMT_SETTING_SECURE_CONN setting is used to track the support and status for Secure Connections from the management interface. For
Bluetooth: Add flags and setting for Secure Connections support
The MGMT_SETTING_SECURE_CONN setting is used to track the support and status for Secure Connections from the management interface. For HCI based tracking HCI_SC_ENABLED flag is used.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
show more ...
|
#
11015c79 |
| 10-Jan-2014 |
Marcel Holtmann <marcel@holtmann.org> |
Bluetooth: Add definitions for new link key types
With the introduction of Secure Connections, the list of link key types got extended by P-256 versions of authenticated and unauthenticated link key
Bluetooth: Add definitions for new link key types
With the introduction of Secure Connections, the list of link key types got extended by P-256 versions of authenticated and unauthenticated link keys.
To avoid any confusion the previous authenticated and unauthenticated link key types got ammended with a P912 postfix. And the two new keys have a P256 postfix now. Existing code using the previous definitions has been adjusted.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
show more ...
|
#
e2f99131 |
| 10-Jan-2014 |
Marcel Holtmann <marcel@holtmann.org> |
Bluetooth: Add HCI command definition for extended OOB data
The Secure Connections feature introduces the support for P-256 strength pairings (compared to P-192 with Secure Simple Pairing). This how
Bluetooth: Add HCI command definition for extended OOB data
The Secure Connections feature introduces the support for P-256 strength pairings (compared to P-192 with Secure Simple Pairing). This however means that for out-of-band pairing the hash and randomizer needs to be differentiated. Two new commands are introduced to handle the possible combinations of P-192 and P-256. This add the HCI command definition for both.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
show more ...
|
#
eb4b95c6 |
| 10-Jan-2014 |
Marcel Holtmann <marcel@holtmann.org> |
Bluetooth: Add HCI command definition for Secure Connections enabling
The Secure Connections feature is optional and host stacks have to manually enable it. This add the HCI command definiton for re
Bluetooth: Add HCI command definition for Secure Connections enabling
The Secure Connections feature is optional and host stacks have to manually enable it. This add the HCI command definiton for reading and writing this setting.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
show more ...
|
#
d5991585 |
| 10-Jan-2014 |
Marcel Holtmann <marcel@holtmann.org> |
Bluetooth: Add LMP feature definitions for Secure Connections support
The support for Secure Connections introduces two new controller features and one new host feature.
Signed-off-by: Marcel Holtm
Bluetooth: Add LMP feature definitions for Secure Connections support
The support for Secure Connections introduces two new controller features and one new host feature.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
show more ...
|
Revision tags: v3.13-rc7 |
|
#
f9f462fa |
| 03-Jan-2014 |
Marcel Holtmann <marcel@holtmann.org> |
Bluetooth: Add quirk for disabling Delete Stored Link Key command
Some controller pretend they support the Delete Stored Link Key command, but in reality they really don't support it.
< HCI Comma
Bluetooth: Add quirk for disabling Delete Stored Link Key command
Some controller pretend they support the Delete Stored Link Key command, but in reality they really don't support it.
< HCI Command: Delete Stored Link Key (0x03|0x0012) plen 7 bdaddr 00:00:00:00:00:00 all 1 > HCI Event: Command Complete (0x0e) plen 4 Delete Stored Link Key (0x03|0x0012) ncmd 1 status 0x11 deleted 0 Error: Unsupported Feature or Parameter Value
Not correctly supporting this command causes the controller setup to fail and will make a device not work. However sending the command for controller that handle stored link keys is important. This quirk allows a driver to disable the command if it knows that this command handling is broken.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
show more ...
|
Revision tags: v3.13-rc6, v3.13-rc5, v3.13-rc4 |
|
#
18722c24 |
| 11-Dec-2013 |
Jukka Rissanen <jukka.rissanen@linux.intel.com> |
Bluetooth: Enable 6LoWPAN support for BT LE devices
This is initial version of http://tools.ietf.org/html/draft-ietf-6lo-btle-00
By default the 6LoWPAN support is not activated and user needs to tw
Bluetooth: Enable 6LoWPAN support for BT LE devices
This is initial version of http://tools.ietf.org/html/draft-ietf-6lo-btle-00
By default the 6LoWPAN support is not activated and user needs to tweak /sys/kernel/debug/bluetooth/hci0/6lowpan file.
The kernel needs IPv6 support before 6LoWPAN is usable.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|
#
53b834d2 |
| 08-Dec-2013 |
Marcel Holtmann <marcel@holtmann.org> |
Bluetooth: Use macros for connectionless slave broadcast features
Add the LMP feature constants for connectionless slave broadcast and use them for capability testing.
Signed-off-by: Marcel Holtman
Bluetooth: Use macros for connectionless slave broadcast features
Add the LMP feature constants for connectionless slave broadcast and use them for capability testing.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
show more ...
|
Revision tags: v3.13-rc3, v3.13-rc2, v3.13-rc1, v3.12, v3.12-rc7, v3.12-rc6 |
|
#
4b4148e9 |
| 19-Oct-2013 |
Marcel Holtmann <marcel@holtmann.org> |
Bluetooth: Add support for setting DUT mode
The Device Under Test (DUT) mode is useful for doing certification testing and so expose this as debugfs option.
This mode is actually special since you
Bluetooth: Add support for setting DUT mode
The Device Under Test (DUT) mode is useful for doing certification testing and so expose this as debugfs option.
This mode is actually special since you can only enter it. Restoring normal operation means that a HCI Reset is required. The current mode value gets tracked as a new device flag and when disabling it, the correct command to reset the controller is sent.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
show more ...
|
#
06f5b778 |
| 19-Oct-2013 |
Marcel Holtmann <marcel@holtmann.org> |
Bluetooth: Add support for setting SSP debug mode
Enabling and disabling SSP debug mode is useful for development. This adds a debugfs entry that allows to configure the SSP debug mode.
On purpose
Bluetooth: Add support for setting SSP debug mode
Enabling and disabling SSP debug mode is useful for development. This adds a debugfs entry that allows to configure the SSP debug mode.
On purpose this has been implemented as debugfs entry and not a public API since it is really only useful during testing and development.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
show more ...
|
#
d3900cb2 |
| 16-Oct-2013 |
Marcel Holtmann <marcel@holtmann.org> |
Bluetooth: Remove enable_hs declaration
This seems to be a left-over. The module parameter enable_hs has been removed, but its extern declaration is still present. It is not needed anymore, so just
Bluetooth: Remove enable_hs declaration
This seems to be a left-over. The module parameter enable_hs has been removed, but its extern declaration is still present. It is not needed anymore, so just remove it.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
show more ...
|
#
db3aebf4 |
| 16-Oct-2013 |
Marcel Holtmann <marcel@holtmann.org> |
Bluetooth: Remove duplicate definitions for advertising event types
The constants for advertising event types have been defined twice. So remove one copy of it.
Signed-off-by: Marcel Holtmann <marc
Bluetooth: Remove duplicate definitions for advertising event types
The constants for advertising event types have been defined twice. So remove one copy of it.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
show more ...
|
#
f14d8f64 |
| 16-Oct-2013 |
Marcel Holtmann <marcel@holtmann.org> |
Bluetooth: Set the scan response data when needed
On controller power on and when enabling LE functionality, make sure that also the scan response data is correctly set.
Signed-off-by: Marcel Holtm
Bluetooth: Set the scan response data when needed
On controller power on and when enabling LE functionality, make sure that also the scan response data is correctly set.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
show more ...
|
#
3d505312 |
| 15-Oct-2013 |
Marcel Holtmann <marcel@holtmann.org> |
Bluetooth: Add HCI command structure for writing current IAC LAP
This patch just adds the HCI command structure for configuring the current IAC LAP setting. The length of the command is variable and
Bluetooth: Add HCI command structure for writing current IAC LAP
This patch just adds the HCI command structure for configuring the current IAC LAP setting. The length of the command is variable and supports more than two IAC. However since there is only general discoverable and limited discoverable modes, this can be limited to two possible IACs.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
show more ...
|
#
6acd7db4 |
| 15-Oct-2013 |
Marcel Holtmann <marcel@holtmann.org> |
Bluetooth: Introduce flag for limited discoverable mode
Add a new flag that can be set when in limited discoverable mode. This flag will cause the limited discoverable bit in the class of device val
Bluetooth: Introduce flag for limited discoverable mode
Add a new flag that can be set when in limited discoverable mode. This flag will cause the limited discoverable bit in the class of device value to bet set.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
show more ...
|
#
4b836f39 |
| 14-Oct-2013 |
Marcel Holtmann <marcel@holtmann.org> |
Bluetooth: Read current IAC LAP on controller setup
Read the current IAC LAP values when initializing the controller. The values are not used, but it is good to have them in the trace files for debu
Bluetooth: Read current IAC LAP on controller setup
Read the current IAC LAP values when initializing the controller. The values are not used, but it is good to have them in the trace files for debugging purposes.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
show more ...
|
#
b4cb9fb2 |
| 14-Oct-2013 |
Marcel Holtmann <marcel@holtmann.org> |
Bluetooth: Read number of supported IAC on controller setup
When initializing a controller make sure to read out the number of supported IAC and store its result. This value is needed to determine i
Bluetooth: Read number of supported IAC on controller setup
When initializing a controller make sure to read out the number of supported IAC and store its result. This value is needed to determine if limited discoverable for BR/EDR can be configured or not.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
show more ...
|
Revision tags: v3.12-rc5 |
|
#
7528ca1c |
| 07-Oct-2013 |
Marcel Holtmann <marcel@holtmann.org> |
Bluetooth: Read location data on AMP controller init
When initializing an AMP controller, read its current known location data so that it can be analyzed later on.
Signed-off-by: Marcel Holtmann <m
Bluetooth: Read location data on AMP controller init
When initializing an AMP controller, read its current known location data so that it can be analyzed later on.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
show more ...
|
Revision tags: v3.12-rc4 |
|
#
c2f5ebd2 |
| 06-Oct-2013 |
Marcel Holtmann <marcel@holtmann.org> |
Bluetooth: Add constants for LE advertising types
Add constants for ADV_IND, ADV_DIRECT_IND, ADV_SCAN_IND and ADV_NONCONN_IND advertising types.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Bluetooth: Add constants for LE advertising types
Add constants for ADV_IND, ADV_DIRECT_IND, ADV_SCAN_IND and ADV_NONCONN_IND advertising types.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
show more ...
|
#
1e191893 |
| 06-Oct-2013 |
Marcel Holtmann <marcel@holtmann.org> |
Bluetooth: Add HCI structure for LE advertising parameters command
Add the basic HCI structure for building the LE advertising parameters command.
Signed-off-by: Marcel Holtmann <marcel@holtmann.or
Bluetooth: Add HCI structure for LE advertising parameters command
Add the basic HCI structure for building the LE advertising parameters command.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
show more ...
|
#
536619e8 |
| 05-Oct-2013 |
Marcel Holtmann <marcel@holtmann.org> |
Bluetooth: Rename AMP status constants and use them
The AMP controller status constants need to be actually used to avoid crypted hardcoded numbers.
Signed-off-by: Marcel Holtmann <marcel@holtmann.
Bluetooth: Rename AMP status constants and use them
The AMP controller status constants need to be actually used to avoid crypted hardcoded numbers.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
show more ...
|
#
6ed971ca |
| 05-Oct-2013 |
Marcel Holtmann <marcel@holtmann.org> |
Bluetooth: Use explicit AMP controller id value for BR/EDR
The special AMP controller id 0 is reserved for the BR/EDR controller that has the main link. It is a fixed value and so use a constant for
Bluetooth: Use explicit AMP controller id value for BR/EDR
The special AMP controller id 0 is reserved for the BR/EDR controller that has the main link. It is a fixed value and so use a constant for this throughout the code to make it more visible when the handling is for the BR/EDR channel or when it is for the AMP channel.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
show more ...
|
#
7c13823d |
| 05-Oct-2013 |
Marcel Holtmann <marcel@holtmann.org> |
Bluetooth: Add constants for AMP controller type
Add the constants for BR/EDR and 802.11 AMP controller types.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <joh
Bluetooth: Add constants for AMP controller type
Add the constants for BR/EDR and 802.11 AMP controller types.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
show more ...
|
#
f3d3444a |
| 05-Oct-2013 |
Johan Hedberg <johan.hedberg@intel.com> |
Bluetooth: Rename HCI_LE_PERIPHERAL to HCI_ADVERTISING
This flag is used to indicate whether we want to have advertising enabled or not, so give it a more suitable name.
Signed-off-by: Johan Hedber
Bluetooth: Rename HCI_LE_PERIPHERAL to HCI_ADVERTISING
This flag is used to indicate whether we want to have advertising enabled or not, so give it a more suitable name.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|
#
2ed01805 |
| 02-Oct-2013 |
DoHyun Pyun <dh79.pyun@samsung.com> |
Bluetooth: Add the definition for Slave Page Response Timeout
The Slave Page Response Timeout event indicates to the Host that a slave page response timeout has occurred in the BR/EDR Controller.
T
Bluetooth: Add the definition for Slave Page Response Timeout
The Slave Page Response Timeout event indicates to the Host that a slave page response timeout has occurred in the BR/EDR Controller.
The Core Spec Addendum 4 adds this command in part B Connectionless Slave Broadcast.
Bluetooth Core Specification Addendum 4 - Page 110
"7.7.72 Slave Page Response Timeout Event [New Section] ... Note: this event will be generated if the slave BR/EDR Controller responds to a page but does not receive the master FHS packet (see Baseband, Section 8.3.3) within pagerespTO.
Event Parameters: NONE"
Signed-off-by: Dohyun Pyun <dh79.pyun@samsung.com> Signed-off-by: C S Bhargava <cs.bhargava@samsung.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
show more ...
|