History log of /external/bluetooth/bluez/plugins/hciops.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3a4464a0a3af9c62342a16328f990f6fd25666b2 13-Aug-2011 Matthew Xie <mattx@android.com> Send hci command to disable scan mode in power down function

Before we power down HCI dev, we should disable Bluetooth chip scan mode so that
the chip set would not repond to device outside inquiry and page.
bug 5080232

Change-Id: I357a300ad61332c6f95376c0690602cf396e5973
/external/bluetooth/bluez/plugins/hciops.c
f2da73acda7d6b4da5330cfa7a5048aa2b2eeb97 11-Aug-2011 Matthew Xie <mattx@google.com> Revert "Send hci command to disable scan mode in power down function"

This reverts commit 6b08f121c817cda19431fa472c9640733df05d6f
/external/bluetooth/bluez/plugins/hciops.c
6b08f121c817cda19431fa472c9640733df05d6f 06-Aug-2011 Matthew Xie <mattx@google.com> Send hci command to disable scan mode in power down function

Before we power down HCI dev, we should disable Bluetooth chip scan mode so that
it saves power.
bug 5080232

Change-Id: I28a761ebcb14c0a4215c53ed82e4ff9430a32250
/external/bluetooth/bluez/plugins/hciops.c
2645460e07951a5c66c24b057c0dafce3f399c63 21-Jul-2011 Jaikumar Ganesh <jaikumar@google.com> Fix bonding failure error propogation.

When Bonding was failing due to authentication
failure, this error report was not being sent to the caller,
because cancel_bonding was being called from btd_event_conn_failed,
which was sending the wrong error code back.

Change-Id: I2816d714fc85c499d0d4850733e33807f3073217
/external/bluetooth/bluez/plugins/hciops.c
f945a68fa973a13a0f57437e291258eb9f05dd7a 08-Jan-2011 Jaikumar Ganesh <jaikumar@google.com> Fix authentication problem due to deleted link key

When two SSP devices are paired and the other end
deletes the link key, any connection requests requiring
authentication will fail with the error code "PIN or Key missing".
In such a case, the link key has to be deleted and authentication
tried again.

Note: This is a temporary fix. The new management interfaces
will consolidate all the SSP logic.

Change-Id: I517b081c0014e75507554604dc45ae44f15050c4
/external/bluetooth/bluez/plugins/hciops.c
a04c1f0249e1899e4b3d237931f9b5d97f30cebe 10-Mar-2010 Jaikumar Ganesh <jaikumar@google.com> Add an API to set the link timeout.

Change-Id: I5abd8fc37e20a7916e84e624f883c7a1987b0587
/external/bluetooth/bluez/plugins/hciops.c
7050b0c6c21919186cddda6f2286f43cb99798b2 04-Sep-2009 Jaikumar Ganesh <jaikumar@google.com> Add new Agent API : RequestPairingConsent.

This callback will be called for incoming pairing requests for 2.1
devices only when the remote IO capabilities are NoInputNoOutput
or DisplayOnly and the local IO capability is DisplayYesNo.
Currently, we were silently auto accepting.
/external/bluetooth/bluez/plugins/hciops.c
f169bea7d5b30d84ccea7f687a2698b7a8894054 18-May-2011 Bruna Moreira <bruna.moreira@openbossa.org> Drop variable EIR length

The functions eir_parse() and adapter_update_found_devices() now
assume that the EIR buffer has always 240 octets. For advertising
reports, the advertising data is stored on a buffer with 240 bytes,
padded with zeroes.
/external/bluetooth/bluez/plugins/hciops.c
5b1f949a427b39091959537f196c5d322997453f 18-May-2011 Bruna Moreira <bruna.moreira@openbossa.org> Remove btd_event_advertising_report

Advertises should be notified using btd_event_device_found function
to keep the compatibility with mgmtops plugin.
/external/bluetooth/bluez/plugins/hciops.c
991a7a4f09049c91297d74f9d28497fad166268e 16-May-2011 Claudio Takahasi <claudio.takahasi@openbossa.org> Move EIR related functions to a new file
/external/bluetooth/bluez/plugins/hciops.c
2d59b9b4a353fe2c57db084895e8958dddade63d 05-May-2011 David Herrmann <dh.herrmann@googlemail.com> Add length argument to hci pincode reply

This adds a new "length" argument to the hci pincode reply to allow
sending binary pins including \0 characters.
/external/bluetooth/bluez/plugins/hciops.c
b671636c82f5c2eff114d3eb98cae8ff599f3fdc 10-May-2011 Szymon Janc <szymon.janc@tieto.com> Remove unused err variable from init_conn_list
/external/bluetooth/bluez/plugins/hciops.c
e37b81fa945fcc41ddaee2a338a666c5736724a7 09-May-2011 Szymon Janc <szymon.janc@tieto.com> Remove not needed NULL check in link_key_notify

get_connection() always returns valid pointer so conn cannot be NULL.
/external/bluetooth/bluez/plugins/hciops.c
e6c2d1c3fc81864e38316ed24ade5994b78cc751 30-Apr-2011 Andre Guedes <andre.guedes@openbossa.org> Remove 'periodic' param from hciops_start_inquiry()

The 'periodic' parameter from hciops_start_inquiry() is useless.
This patch removes it.
/external/bluetooth/bluez/plugins/hciops.c
ef7435b9c116af69a8af444663f72741ef89c783 30-Apr-2011 Andre Guedes <andre.guedes@openbossa.org> Remove inquiry and scanning callbacks from btd_adapter_ops

The discovery procedure is implemented in discovery callbacks
(start_discovery and stop_discovery). We don't need inquiry and
scanning specifics callbacks in btd_adapter_ops anymore.
/external/bluetooth/bluez/plugins/hciops.c
57bd6dd224eb7eb5683321685b5ea8b093843bfa 30-Apr-2011 Andre Guedes <andre.guedes@openbossa.org> Implement stop_discovery hciops callback
/external/bluetooth/bluez/plugins/hciops.c
cae9fbfc039917778e47f371db9d683c273e1556 30-Apr-2011 Andre Guedes <andre.guedes@openbossa.org> Remove obsolete code.

adapter_get_discover_type() has become obsolete. This patch removes it and
do the proper adaptation.
/external/bluetooth/bluez/plugins/hciops.c
8be3b42e34b9897a2ad3513267b8dcaef17e6157 30-Apr-2011 Andre Guedes <andre.guedes@openbossa.org> Implement start_discovery hciops callback
/external/bluetooth/bluez/plugins/hciops.c
94e7feb45fb9938d4d8f7363dfc7dee34940389e 30-Apr-2011 Andre Guedes <andre.guedes@openbossa.org> Add extfeatures to struct dev_info

The extfeatures field will be used by hciops layer to know if the
adapter is LE capable.
/external/bluetooth/bluez/plugins/hciops.c
9235d4b5aea5f420c5330c22a411ab780b272aa6 30-Apr-2011 Andre Guedes <andre.guedes@openbossa.org> Add 'timeout' param to start_scanning callback

This patch adds a timeout parameter to start_scanning callback in
btd_adapter. The parameter should be used to stop scanning after
'timeout' milliseconds.
/external/bluetooth/bluez/plugins/hciops.c
17baf8a0d52b72518cfeab3737d551fe9e2f7488 30-Apr-2011 Andre Guedes <andre.guedes@openbossa.org> Remove Periodic Inquiry support in hciops

Periodic Inquiry is no longer supported in hciops since the discovery
procedure will use Standard Inquiry only.

External tools which request Periodic Inquiry will not change the
adapter's state.
/external/bluetooth/bluez/plugins/hciops.c
2a807a5036c78957f4c91c3379c6075d895aadf5 30-Apr-2011 Andre Guedes <andre.guedes@openbossa.org> Add 'discov_state' field to struct dev_info

We need to track the current discovering state (HALTED, INQUIRY or SCAN)
of the adapter in hciops layer during the discovery procedure. This will
help us to properly update the state of btd_adapter and emit the property
"Discovering" correctly.
/external/bluetooth/bluez/plugins/hciops.c
4cb11a06dcebf4a3d91049a65d6c7a174eea922a 30-Apr-2011 Andre Guedes <andre.guedes@openbossa.org> Add discovery callbacks to btd_adapter_ops

This patch adds start_discovery and stop_discovery callbacks to
struct btd_adapter_ops. These callbacks are responsible for starting
and stoping the discovery procedure. It also creates dummy functions
in hciops and mgmtops which implements those callbacks.
/external/bluetooth/bluez/plugins/hciops.c
cef88385008d999c515366ebe6c01e3f6967fb61 27-Apr-2011 Bruna Moreira <bruna.moreira@openbossa.org> Use HCI_MAX_EIR_LENGTH instead of hard-coded value
/external/bluetooth/bluez/plugins/hciops.c
cc263203a571b067b7b48bea085deaf3da7d4f4f 19-Apr-2011 Bruna Moreira <bruna.moreira@openbossa.org> Remove read_local_version() from struct btd_adapter_ops

This callback is used only for getting HCI version/manufacturer
information, and is not being called anywhere in BlueZ anymore.
/external/bluetooth/bluez/plugins/hciops.c
cdb503df882cda8bd36427915b79cd33c9135607 19-Apr-2011 Bruna Moreira <bruna.moreira@openbossa.org> Remove ssp_mode from struct hci_dev

ssp_mode is duplicated information and is not being used anywhere.
/external/bluetooth/bluez/plugins/hciops.c
23586efc94e7b04f002c103b2f6bd8068fff6ca9 26-Mar-2011 Szymon Janc <szymon.janc@tieto.com> Add support for Out of Band (OOB) association model in hciops
/external/bluetooth/bluez/plugins/hciops.c
75397433e8024fb07d5801778cc572ac1d5ea5bf 26-Mar-2011 Szymon Janc <szymon.janc@tieto.com> Add initial support for Out of Band (OOB) association model
/external/bluetooth/bluez/plugins/hciops.c
ab8a3b836133345ce2e29f4a079aaff1f5a33b70 23-Mar-2011 Rafal Michalski <michalski.raf@gmail.com> Fix strict aliasing issue in hciops

This patch changes type of the "pending" variable to uint32_t. A pointer
to this variable is passed to the hci_clear_bit function as void * and
then cast to uint32_t * again.

Previously the unsigned long type could cause some unexpected behavior
due to violating strict aliasing rules. This patch fixes this problem by
making sure that the same integer type is used in all places.

This solution is simpler than the other option of changing the types of
all other places (from uint32_t to unsigned long, including changing
type for casting in hci_*_bit function family). Also, not all places can
be changed, like the hci_dev_info struct, since it would violate
compatibility rules between the kernel and user space.
/external/bluetooth/bluez/plugins/hciops.c
4f8d6ba3531fc2d27d17a54e073e3db529fc1cf5 17-Mar-2011 Johan Hedberg <johan.hedberg@nokia.com> Fix missing check for dev->up before calling init_adapter

With some kernels and the right timing it is possible to get into the
state where we get the local name but haven't yet gotten a DEVUP event.
In such a case it is *not* ok to call init_adapter.
/external/bluetooth/bluez/plugins/hciops.c
9bae9813abf29344cc3d84af2ee59efd9e9e78fc 04-Mar-2011 Johan Hedberg <johan.hedberg@nokia.com> Remove check for adapter->up for read_local_name_complete

Due to recent kernel changes we could be receiving these command
complete events even though HCIDEVUP hasn't completed yet.
/external/bluetooth/bluez/plugins/hciops.c
e27614655c3c37d1ed82a944e9f34e129a7c1f6c 22-Feb-2011 Andre Guedes <andre.guedes@openbossa.org> Fix potential bug in le_advertising_report()

In the current implementation of le_advertising_report(), the variable
'info' has an invalid memory address after the 'for' loop. If 'info'
is dereferenced it will access invalid memory.

This patch fixes this potential bug and improves the code's readability.
/external/bluetooth/bluez/plugins/hciops.c
4d21e85715580f468c7f190a3cd25d7fadaba9aa 17-Feb-2011 Johan Hedberg <johan.hedberg@nokia.com> Move SSP auto-accept handling completely inside hciops

There's no need to expose the auto-accept case to the core daemon so
move it to hciops. For the management interface this will all be handled
on the kernel side.
/external/bluetooth/bluez/plugins/hciops.c
073c798c8f77c9d63aa4008c2c56cd645f68c7af 15-Feb-2011 Johan Hedberg <johan.hedberg@nokia.com> Remove unused scan_enable code

Several functions aren't needed anymore since we don't do a
HCI_Write_Scan_Enable(NO_SCAN) upon adapter power off.
/external/bluetooth/bluez/plugins/hciops.c
71ba00415bd2941db24958d1e6e265611945194e 02-Feb-2011 Johan Hedberg <johan.hedberg@nokia.com> Clean up hciops dev_info init code a little bit
/external/bluetooth/bluez/plugins/hciops.c
dc2860e16a2860a8c17af8dab1fd5e8b73dd38f7 01-Feb-2011 Luiz Augusto von Dentz <luiz.dentz-von@nokia.com> Fix stopping inquiry before adapter object is initialized

This can cause errors on command complete since the adapter object could
not be found to set its mode.
/external/bluetooth/bluez/plugins/hciops.c
149f5d0b49d7c52e64e3c63505f689a9f872af8b 01-Feb-2011 Luiz Augusto von Dentz <luiz.dentz-von@nokia.com> Fix sending HCIDEVUP when adapter is already up

There is no need for HCIDEVUP/fork in such cases it will just consume
more resources for no reason.

To fix this HCI_DEV_REG is no longer generate for adapter already up
instead init_device is called directly which simplify the code path.
/external/bluetooth/bluez/plugins/hciops.c
596e8ddd21ff0074f79acc9b0577a7050ade5bf6 31-Jan-2011 Johan Hedberg <johan.hedberg@nokia.com> Remove unneeded adapter_ops->request_authentication callback
/external/bluetooth/bluez/plugins/hciops.c
1cd99f445e0a11ae936d9e80b44f504f807ce35a 29-Jan-2011 Johan Hedberg <johan.hedberg@nokia.com> Fix bonding IO channel closing

The kernel seems to have some state tracking issues if we close the
bonding socket before it gets into connected state. This needs to be
investigated on the kernel side but a simple fix is to let the socket be
closed in its BtIO callback instead of through some HCI event (for the
successful case).
/external/bluetooth/bluez/plugins/hciops.c
629c9dbe7f161c0c285749bb014f55a2b30fd65c 29-Jan-2011 Johan Hedberg <johan.hedberg@nokia.com> Add some more debug prints to the bonding procedure
/external/bluetooth/bluez/plugins/hciops.c
d4a25e44a88e15da6f523183b30997e6669c481d 29-Jan-2011 Johan Hedberg <johan.hedberg@nokia.com> Fix agent cancellation in security mode 3 situations

When there's a connection failure the issue needs to be communicated to
the device bonding logic so that any pending agent request is cancelled.
/external/bluetooth/bluez/plugins/hciops.c
b18b51e97bddc67c8b4ff10a3f97241ac480596a 29-Jan-2011 Johan Hedberg <johan.hedberg@nokia.com> Create a separate conn_failed callback to match mgmt interface
/external/bluetooth/bluez/plugins/hciops.c
32c3d13c1f736c2a500df0b1f497ebcdb9fb27fd 29-Jan-2011 Johan Hedberg <johan.hedberg@nokia.com> Clean up connection failure handling
/external/bluetooth/bluez/plugins/hciops.c
fa41c93fe1dd04c1c25d34956d02c54f19ac3130 29-Jan-2011 Johan Hedberg <johan.hedberg@nokia.com> Rename btd_event_bonding_process_complete to btd_event_bonding_complete
/external/bluetooth/bluez/plugins/hciops.c
5ac0142426d3e286117962cb997c5822633e43d5 28-Jan-2011 Johan Hedberg <johan.hedberg@nokia.com> hciops: Use g_slist_prepend instead of g_slist_append for storing keys

Once a key is generated it's likely to be used soon again. Therefore,
store it in the beginning of the list for fast lookup.
/external/bluetooth/bluez/plugins/hciops.c
c614654d76da74a51a18c7d4474a8046ca6bda01 28-Jan-2011 Johan Hedberg <johan.hedberg@nokia.com> hciops: Remove unnecessary conn->key_type

Since we always store the keys in runtime memory there's no need to have
a separate per-connection variable for the key type.
/external/bluetooth/bluez/plugins/hciops.c
b9efb73d372a913dc52b3ba216cb7ac8de9f4cbc 28-Jan-2011 Johan Hedberg <johan.hedberg@nokia.com> Refactor pairing code to match the management interface

This patch refactors the pairing code in hciops and the core daemon to
better match the management interface. Particularly all logic regarding
IO capabilities and authentication requirements are moved into hciops.c.
The patch is quite big because there are a lot of cross-dependencies
which makes it difficult to split the changes up into smaller chunks.

The important adapter_ops preparations for the management interface in
this patch are the create_bonding and cancel_bonding callbacks. Those
will be directly mapped to corresponding management commands.
/external/bluetooth/bluez/plugins/hciops.c
06ee7ea71b692212a116e56a4b5047ed82d453b4 26-Jan-2011 Pavan Savoy <pavan_savoy@sify.com> hciops: remove scan disable on poweroff

Remove sending of the scan disable command when the device is being
powered off. This was originally a safe-guard for the non-connectable
GAP test case in case the HCI driver leaves the controller powered after
the DEV_DOWN ioctl, but now-days it can be expected that drivers behave
properly.
/external/bluetooth/bluez/plugins/hciops.c
9634f5c410e761219037129f71c591459a854391 25-Jan-2011 Johan Hedberg <johan.hedberg@nokia.com> mgmt: Add set_io_capability command
/external/bluetooth/bluez/plugins/hciops.c
9ac53f53be09b96ebd6379b3c7113a05324b47df 24-Jan-2011 Luiz Augusto von Dentz <luiz.dentz-von@nokia.com> Fix initialization when adapter is already up

When handling HCI_DEV_REG event it should not be necessary to generate a
HCI_DEV_UP since init_known_adapters already does it in case the adapter
is already up.
/external/bluetooth/bluez/plugins/hciops.c
cc0e50e3ab1a612ffb72b9021229f660d54f9388 20-Jan-2011 Johan Hedberg <johan.hedberg@nokia.com> Fix hciops connection list initialization
/external/bluetooth/bluez/plugins/hciops.c
76522723bdf7cb46a692f88a6ad616045bfa46e8 20-Jan-2011 Johan Hedberg <johan.hedberg@nokia.com> Use simple bdaddr list for existing connections

There's no need to return more than a list of addresses from adapter_ops
to the core daemon for the existing connections list.
/external/bluetooth/bluez/plugins/hciops.c
bda6bb0079268b7db27695f40168aba07e960d8b 21-Jan-2011 Johan Hedberg <johan.hedberg@nokia.com> Keep connection handle information inside adapter_ops

There's no point to export connection handle details to the core daemon
since it will not be available in the management interface. Instead
track the handles inside hciops (managment interface will do this inside
the kernel).
/external/bluetooth/bluez/plugins/hciops.c
1522d6568002afa27ee7a3280b3166f7ecb02f06 21-Jan-2011 Johan Hedberg <johan.hedberg@nokia.com> Use an unsigned integer for representing the PIN length

The value 0 is not allowed by the HCI spec so it can be used to denote
"not applicable" or "unknown". Also, the management interface will use
an unsigned integer for the PIN length so mirroring that in the core
daemon code makes sense. This patch also takes care of handling
previously stored -1 values and converts them to 0 whenever they are
detected.
/external/bluetooth/bluez/plugins/hciops.c
90e78131e3e347eeee25e5cd831b374907359e3f 19-Jan-2011 Luiz Augusto von Dentz <luiz.dentz-von@nokia.com> Fix use of deprecated glib on hciops plugin
/external/bluetooth/bluez/plugins/hciops.c
006301ab40fc71da92f593ddfb2dba70202bd061 14-Jan-2011 Johan Hedberg <johan.hedberg@nokia.com> Update Class of Device handling to the latest management interface

This patch updates the class of device handling code to match the latest
management interface. A notable feature is that UUID to service class
mapping policy remains in user space with the help of the svc_hint
parameter of the add_uuid command. This is to make it easy to update the
mapping table when new profiles come along.
/external/bluetooth/bluez/plugins/hciops.c
bca43a4edb640ecf56ada1166f7d83fad8a2ce0d 10-Jan-2011 Johan Hedberg <johan.hedberg@nokia.com> Fix event mask setting for a specific 1.2 adapter

One 1.2 Broadcom adapter doesn't respond to the event mask HCI command
at all unless the second byte of the mask is 0xff. Strictly speaking
this is an invalid value because bits 0x02 and 0x04 are reserved.
However, no other adapters seem to mind and using 0xff instead of 0xf9
makes this particular adapter work properly.
/external/bluetooth/bluez/plugins/hciops.c
5b1a2a39dc7710f5a58e4f676389fea06764800b 10-Jan-2011 Johan Hedberg <johan.hedberg@nokia.com> Fix event mask setting for 1.1 controllers

Controllers based on the core spec 1.1 support the event mask HCI
command but need a very stripped down default value for the mask. This
patch makes sure the command gets issued for 1.1 controllers with the
appropriate value.
/external/bluetooth/bluez/plugins/hciops.c
6d2ce6e859049d6cf56e5db2197e02b0359ac442 07-Jan-2011 Johan Hedberg <johan.hedberg@nokia.com> Remove unnecessary type cast
/external/bluetooth/bluez/plugins/hciops.c
6964bd2dd54d5cce7ce2588b0dcd0a3530e6fba9 30-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> mgmt: Implement set_pairable

This patch implements support for the set_pairable managment command.
Due to the async nature of it a new btd_adapter_pairable_changed
function is added to the core daemon.
/external/bluetooth/bluez/plugins/hciops.c
3e1b64c81d0ef4ae92b601114aa06d85c735d646 29-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Refactor handling of UUIDs with respect to adapter_ops

The management interface will have simple add_uuid and remove_uuid
methods so it makes sense to have the adapter_ops interface reflect
that. This patch removes the services_updated callback and replaces it
with add_uuid and remove_uuid callbacks.
/external/bluetooth/bluez/plugins/hciops.c
833c7ab1a6e880156f508e9e9530e5bd4e56092a 29-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Remove unneeded set_connectable adapter_ops callback
/external/bluetooth/bluez/plugins/hciops.c
8440ce6ac89fdb290e566ab01edc4dcb6935a682 28-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Rename btd_adapter_get_state to btd_adapter_get_mode

There's already an adapter_get_state function so to avoid confusion it's
better to have a different name.
/external/bluetooth/bluez/plugins/hciops.c
27c58425af807521e618f29b08e7a99496aeda3b 23-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Change power_on & power_off adapter_ops callbacks to set_powered

The current idea is to have a single set_powered management command
which for the switching on case would leave the controller in a
non-connectable, non-pairable and non-discoverable state.
/external/bluetooth/bluez/plugins/hciops.c
051ad18433a74feb39f8f3296ea1ddf2ae009aec 22-Dec-2010 Bruna Moreira <bruna.moreira@openbossa.org> Change LE scan interval and window to recommended values

Replace default scan interval and scan window values with recommended
ones for general discovery procedure, according to the Core
specification.
/external/bluetooth/bluez/plugins/hciops.c
50fb53c4a7520e210244d909be9ef1accf5cfdfe 21-Dec-2010 Vinicius Costa Gomes <vinicius.gomes@openbossa.org> Add a way to store the remote device type

Because we need to know the device type (LE, Basic Rate or Dual Mode)
to be able to fully restore the device from storage, we have to store
and load this information to permanent storage.

Note: due to "device_type_t" usage in storage.h, some header includes
needed to be reordered in files which include storage.h.
/external/bluetooth/bluez/plugins/hciops.c
a61d0e8e738e905604c3339309718f3b2eadbdf7 21-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Remove unneeded variables from link_key_request()
/external/bluetooth/bluez/plugins/hciops.c
3829cf140bba9c0cbe62239a7e24dcd206a762f3 20-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Remove unused variables from link_key_request()
/external/bluetooth/bluez/plugins/hciops.c
dccef4954d8dcaa4559be66263ea0945cd9be528 20-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Move debug key handling into adapter_ops

There's no need for the core daemon to have special handling for debug
keys anymore as long as it tells adapter_ops if they are enabled or not
(new parameter added to adapter_ops->load_keys).
/external/bluetooth/bluez/plugins/hciops.c
700d2ae37c0008e87bc7d3e25027cf80b8ba98e5 20-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Fix compilation error in read_simple_pairing_mode_complete

This slipped in by mistake when doing the find -> find_by_id change.
/external/bluetooth/bluez/plugins/hciops.c
f674830abac4c9e7ee4d96a354e0f7850942d548 19-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Use find_adapter_by_id instead of find_adapter when it makes sense

In most cases it's more convenient to use the adapter index when looking
up the adapter object since the index is always available in the
adapter_ops callbacks.
/external/bluetooth/bluez/plugins/hciops.c
65edd4d5397d00d204123432fd83326486860783 19-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Get rid of unnecessary manager_stop_adapter function
/external/bluetooth/bluez/plugins/hciops.c
5a50e2192ec53c4aeccabbb2a7dcacf7ee456dd4 19-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Simplify disconnect_addr helper function
/external/bluetooth/bluez/plugins/hciops.c
6b9921107e0346f0fc6f5475b0dea17f65dc94ce 19-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Get rid of unneeded btd_adapter_get_conn_handle function
/external/bluetooth/bluez/plugins/hciops.c
58b68d33c5fad024f2b235555be0234e97721920 19-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Fix handle endianess issues with btd_adapter_read_clock
/external/bluetooth/bluez/plugins/hciops.c
8e17ca3a784294aec947866071c38d934e21940d 19-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Remove unnecessary btd_adapter_get_remote_version function
/external/bluetooth/bluez/plugins/hciops.c
b98312395e628aa8e7c25b963dad7d21c714fcc7 19-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Rename btd_event_inquiry_result to btd_event_device_found
/external/bluetooth/bluez/plugins/hciops.c
53a4fa31e72841c8db229c75fd9f798c90e29ee5 19-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Move PIN code storage access to core daemon
/external/bluetooth/bluez/plugins/hciops.c
49a520fbda38b5f6b8d4b1c041596c584957b8c2 19-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Move storage dependencies from hciops to core daemon
/external/bluetooth/bluez/plugins/hciops.c
b95ef500f79d9c2fb81be4866037bc1c7780e6f6 18-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Implement storing of link keys in runtime memory

The management interface will enable storing link keys in runtime memory
in the kernel. This patch makes the adapter interface match this model
and adds storing of link keys into hciops.
/external/bluetooth/bluez/plugins/hciops.c
63ff6738abc6bf21becbbfde583062502e7728a6 18-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Switch to using power_on & power_off adapter_ops callbacks

These map better to the new management interface.
/external/bluetooth/bluez/plugins/hciops.c
fdb266b6797638b89b9ba9fe0d89670bf71d47c5 18-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Remove hciops device info struct member defines

The struct is growing quite large and having a define for every member
is not really clean.
/external/bluetooth/bluez/plugins/hciops.c
2db4f654cb730adffe7b55044327f68808cd1c9d 18-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Remove unnecessary read_local_ext_features callback
/external/bluetooth/bluez/plugins/hciops.c
5c1c35eb38790bd068bfd37e0355aafb194f7812 17-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Refactor adapter initialization and power control

This (rather big) patch refactors the way that adapters are initialized
and powered on/off. The purpose is to align the adapter_ops <-> core
daemon interface with how the management interface will behave.
/external/bluetooth/bluez/plugins/hciops.c
ea30b84b2349c01175ed8700e206bca1e019a635 16-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Fix overriding global link_policy due to a single adapter

The global link policy should remain unchanged even if an adapter
doesn't happen to support some features. These features should only be
disabled for that specific adapter.
/external/bluetooth/bluez/plugins/hciops.c
6a63c312559ef5d83c32db9ea57435786cdebada 15-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Rename set_powered callbacks accordingly
/external/bluetooth/bluez/plugins/hciops.c
b59dabdd2515aa111ebc56d946259e4bbdf20c61 13-Dec-2010 Pawel Wieczorkiewicz <pawel.wieczorkiewicz@tieto.com> Setting default Link Policy according to the chip supported features

By default all features are enabled (RSWITCH, HOLD, PARK, SNIFF).
When "read local supported features" complete event occurs, not supported
features are disabled and then "Write default link policy" command with
supported features is sent.

On behalf of ST-Ericsson SA
/external/bluetooth/bluez/plugins/hciops.c
914a9093c108cf67a1ef08bffc7db2e4c9a5b1b9 12-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Rename hciops_set_class to write_class

Since hciops_set_class isn't (anymore) part of the exported adapter_ops
callbacks it's better to change it's name to avoid confusion.
/external/bluetooth/bluez/plugins/hciops.c
00c2267405ff3416672401cf394f06017a6814c1 13-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Refactor class of device (and related values) handling to adapter_ops

The management interface will move class of device and extended inquiry
response handling to the kernel side so the same functionality needs to
be moved into hciops. These features are quite tightly coupled in
bluetoothd so splitting this into multiple patches would have been hard
(if not impossible). Thus this quite large single commit.
/external/bluetooth/bluez/plugins/hciops.c
983bc0f8ccd66ec217421288a0b5fb2c38b604bd 11-Dec-2010 Johan Hedberg <johan.hedberg@nokia.com> Remove unused adapter_ops->read_link_policy function

There is no code to react to the command complete of this HCI command so
there's really no value in issuing it to begin with.
/external/bluetooth/bluez/plugins/hciops.c
5f9ebfaa84eacb59a47bcdd6c9479d8b94552414 29-Nov-2010 Sheldon Demario <sheldon.demario@openbossa.org> Emit Connect signal for LE capable devices
/external/bluetooth/bluez/plugins/hciops.c
9a91d21a65478e941ab314d3ba3a6037979015c6 28-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> Use existing bit functions from hci.h
/external/bluetooth/bluez/plugins/hciops.c
872da68684400cebb99293aef4d63a3646b92531 28-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> Remove unused define
/external/bluetooth/bluez/plugins/hciops.c
0e9aac1c77cac6e125ea0dbf68769e12e0928964 27-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> Improve hciops logging
/external/bluetooth/bluez/plugins/hciops.c
c3ebed5a7d7e6146e7dfb97f6597222f1f9f0e71 27-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> Use hci_send_cmd instead of hci_send_req for authentication

In addition to blocking the mainloop hci_send_req changes the socket
filters which makes it unusable for the per-adapter HCI socket in
hciops.c. Using hci_send_cmd makes much more sense here.
/external/bluetooth/bluez/plugins/hciops.c
9f524fe68a075edd9d0cfdbadea181c76cce4ff5 19-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> Fix possible race condition when initializing adapters

Due to a possible kernel bug, sometimes the very first HCI commands that
the kernel sends might go unnoticed. Therefore check for this when one
of the last commands (read_local_name) that the kernel sends completes.
/external/bluetooth/bluez/plugins/hciops.c
684b1d3be105b64f3994e621335f69b45e34125f 18-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> hciops: fix encryption request

hciops_encrypt_link() was not working because it interfered with the
event filters of the hciops internal socket. Instead a separate socket
opened with hci_open_dev() needs to be used.
/external/bluetooth/bluez/plugins/hciops.c
e430998efb9da9c89f1d94e3b6786a14aed834eb 12-Nov-2010 Bruna Moreira <bruna.moreira@openbossa.org> Initial advertising data parsing implementation

Implement adapter_update_adv() function to parse advertising data
received by btd_event_adv() function. Add some fields for advertising
data in remote_device_info struct.
/external/bluetooth/bluez/plugins/hciops.c
19084de6a65e4dfad006eb0364eb68e7ced3b46c 12-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> Clean up adapter_update_local_name API
/external/bluetooth/bluez/plugins/hciops.c
e47f4351bcea802ee23a9db237ecd4802894e97e 12-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> Clean up EIR TX power handling
/external/bluetooth/bluez/plugins/hciops.c
af56f3b6d5c0261d9faf8c95cf4da5b244a03cae 12-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> Get rid of event.c wrapper for SSP mode read event
/external/bluetooth/bluez/plugins/hciops.c
bd7f8939b50a12418476245f9b5117801f858b02 12-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> Move local name reading into hciops
/external/bluetooth/bluez/plugins/hciops.c
7afa48dcf311926269dcfb8ec1a2a12c94eb2d5b 12-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> Move SSP mode reading into hciops

Since the only thing the code does upon a write_ssp_mode_complete event
is issue a read_ssp_mode command it makes sense to have this internal to
hciops.
/external/bluetooth/bluez/plugins/hciops.c
be49c2621d577da4fafd462265b611289547f183 12-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> Move SSP mode setting into hciops
/external/bluetooth/bluez/plugins/hciops.c
b8486f046aadbe0145519c86a087e880fd1d638f 12-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> Move more hciops specific functionality into hciops

Several adapter initialization features will be handled by the new
management interface in the future, so move these from adapter.c into
hciops. This also gets rid of a couple of unnecessary adapter_ops
callbacks.
/external/bluetooth/bluez/plugins/hciops.c
6429d27b421dedd32797d91cc0e0b788882b51a3 12-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> Don't cache the local name until it's actually used for something

This saves 248 bytes per adapter until there's actually some code that
might need the cache.
/external/bluetooth/bluez/plugins/hciops.c
fa472e0c7092af97d6f9d5c997003f443991aea9 12-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> hciops: wait for read_local_name complete in adapter init

To avoid clashes with name reads and writes in the core daemon it's
better to wait for the name read command that the kernel sends upon
init.
/external/bluetooth/bluez/plugins/hciops.c
be3d4f5e4c621718de0dc0fb4f947635682f1a95 12-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> hciops: fix adapter initialization to wait for kernel HCI commands

The kernel sends several HCI commands when initializing an adapter and
several of them are important for the current adapter_start function. So
far only the local address was waited for, but it also makes sense to
wait for local version and features. This patch adds a bitmask to track
the completed commands and only informs adapter.c about readyness when
all commands have been completed.
/external/bluetooth/bluez/plugins/hciops.c
3ef2b1cae64036f074908a927803a45a86e65f04 11-Nov-2010 Claudio Takahasi <claudio.takahasi@openbossa.org> Fix interleave discovery regression

Command complete event for LE commands are not being handled properly
due blocking calls of LE Set Scan Parameters and LE Set Scan Enable
Commands. Fix wrong Discovering signal emission in the interleaved
discovery mode.
/external/bluetooth/bluez/plugins/hciops.c
f6732f2da4a5934c620a06eeabb2f8a3f22c4377 10-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> Fix initialization of adapters which are already up

Adapters which are already up when bluetoothd starts will already have
their bdaddr's known and bluetoothd should therefore not wait for a
read_bd_addr_complete event before assuming that they're ready for use.
/external/bluetooth/bluez/plugins/hciops.c
28c405b17a3131494c11599705885ae630c52ee2 07-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> Fix bdaddr log message to be DBG() instead of info()
/external/bluetooth/bluez/plugins/hciops.c
e5828c7e30453232e930dbead0e359175dc1decf 08-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> hciops: fix coding style issues (long lines)
/external/bluetooth/bluez/plugins/hciops.c
cc758c498ed98de11e890e56d4500ca85587bc07 08-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> Remove unnecessary parameter from btd_event_request_pin
/external/bluetooth/bluez/plugins/hciops.c
42bb162ca16e92eac264127a88063cadf7d48af7 08-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> Clean up hciops code

Get rid of unnecessary variables now that the most important info is
tracked in the devs table.
/external/bluetooth/bluez/plugins/hciops.c
55694454017b04a416931a81964bb695f48b3d93 08-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> hciops: merge io_data and devs tables
/external/bluetooth/bluez/plugins/hciops.c
5a58cd8ac9a93cfde63371872cd89ff8b190c52c 08-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> hciops: fix adapter initialization racecondition

We might not have the adapter address when we get HCI_DEV_UP so it's not
safe to cache it and let the core daemon know about the adapter being
ready for use. This patch adds tracking of the read_bd_addr command and
only informs the core daemon about the adapter when the command has been
completed. Additional tracking of the UP/DOWN state is also added since
in theory HCI events can come before DEV_UP (since HCI data and stack
internal events are handled using separate kernel threads).
/external/bluetooth/bluez/plugins/hciops.c
4291b9c521bf578c158c4c974917f84581562fc7 08-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> Use correct variable type for watch id
/external/bluetooth/bluez/plugins/hciops.c
a352058752e541539b09e55124d411a534cc14af 04-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> Cache adapter address for quick lookup
/external/bluetooth/bluez/plugins/hciops.c
db5266f0afedc33e2fd6fc3601c16498865f746d 04-Nov-2010 Johan Hedberg <johan.hedberg@nokia.com> Remove redundant tracking of ignored adapters

Since hciops already takes care of hiding ignored adapters there's no
need to have special logic for them in adapter.c.
/external/bluetooth/bluez/plugins/hciops.c
80f5ccd70cd76345f4276be16022e9b5d4a073ed 27-Oct-2010 Johan Hedberg <johan.hedberg@nokia.com> Remove remote name requests upon connect complete events

Newer kernel versions will deal with the automated name request for
connection complete events, so remove it from userspace to avoid
unnecessary traffic and potential interop issues.
/external/bluetooth/bluez/plugins/hciops.c
d57934d1d09c34d1b136c572cad1dff6306c8c48 27-Oct-2010 Johan Hedberg <johan.hedberg@nokia.com> Minor coding style fix
/external/bluetooth/bluez/plugins/hciops.c
d30044157466e7f34e7f2d5d7ce70215ea013338 27-Oct-2010 Johan Hedberg <johan.hedberg@nokia.com> Add support for multiple potential adapter_ops implementations

This patch changes the adapter_ops registration procedure to simply add
the callback struct into a list. The actual adapter_ops implementation
that gets used gets chosen in the adapter_ops_setup function.
/external/bluetooth/bluez/plugins/hciops.c
f92841301d17330745d286ed35249a3a51c1e4e4 27-Oct-2010 Johan Hedberg <johan.hedberg@nokia.com> hciops: don't initialize existing adapters in hciops_setup()

Initializing existing adapters requires calls into adapter.c and a fully
setup adapter_ops so this can only be done after the adapter_ops setup
function (hciops_setup in this case) has returned.
/external/bluetooth/bluez/plugins/hciops.c
5ade59881c2ee8b57116414dc21615c4c94afd92 26-Oct-2010 Claudio Takahasi <claudio.takahasi@openbossa.org> Move HCI_REQ_TIMEOUT to hciops.c
/external/bluetooth/bluez/plugins/hciops.c
abe7cd44124a6955c1a3fd5c828ec2934f38a528 26-Oct-2010 Johan Hedberg <johan.hedberg@nokia.com> Move ACL encryption functions to hciops
/external/bluetooth/bluez/plugins/hciops.c
5288199788ecb17183d6517da3062cd94692a900 26-Oct-2010 Johan Hedberg <johan.hedberg@nokia.com> Move security.c callbacks into hciops
/external/bluetooth/bluez/plugins/hciops.c
646f0c7e6b557c5413825ce7b04bee52bf0129e8 10-Oct-2010 Johan Hedberg <johan.hedberg@nokia.com> Move remote name and version requests to hciops

Move the remote name and version requests that are done upon a
connection complete event to hciops. Instead of queuing the version
request after the name just delay it for one second (this simplifies the
logic quite a bit).
/external/bluetooth/bluez/plugins/hciops.c
ef071f94a765fa0b0e96935abef7508c76cace00 10-Oct-2010 Johan Hedberg <johan.hedberg@nokia.com> Add struct for hciops per-adapter data

For future extensibility it's better to have a whole struct for each
adapter in hciops.
/external/bluetooth/bluez/plugins/hciops.c
6844ac4ce59e05b8857f18fa620adf42479d6aa5 06-Oct-2010 Johan Hedberg <johan.hedberg@nokia.com> Create a global HCI socket array in hciops

This patch adds a global HCI array in hciops to avoid hci_open_dev calls
for each hciops callback.
/external/bluetooth/bluez/plugins/hciops.c
9ebc8d3b0f66a24f3821bf243dcd3f59527e8612 04-Oct-2010 Claudio Takahasi <claudio.takahasi@openbossa.org> Read local extended features asynchronously
/external/bluetooth/bluez/plugins/hciops.c
3af792e57b7ccb82d3139748a2b3c6b44d2e7ce2 02-Sep-2010 Claudio Takahasi <claudio.takahasi@openbossa.org> Rename hciops {start, stop}_discovery to {start, stop}_inquiry

With dual mode adapters, "discovery" expression is being used to
represent both BR/EDR inquiry and LE scanning.
/external/bluetooth/bluez/plugins/hciops.c
7ff8fd32ebaec606c8ee9d063a277eeba7352f5f 02-Sep-2010 Claudio Takahasi <claudio.takahasi@openbossa.org> Set the LE host supported and disable simultaneous LE and BR/EDR flags

For BlueZ if the controller supports LE, extended feature mask shall be
set to indicate that the host supports LE and disable simultaneous LE and
BR/EDR for simplicity even if the controller supports simultaneous LE and
BR/EDR.
/external/bluetooth/bluez/plugins/hciops.c
388cdea43870fe5c5163cfbe96d3218111ba39b5 01-Sep-2010 Claudio Takahasi <claudio.takahasi@openbossa.org> Add length argument on hciops start discovery function

For BR/EDR only adapters, the recommended inquiry length is 0x08
(10.24 seconds). For interleave discovery the inquiry length is
0x04(5.12 seconds).
/external/bluetooth/bluez/plugins/hciops.c
e0e4bd6e2609377776ff73072d36373a476338ed 13-Aug-2010 Vinicius Costa Gomes <vinicius.gomes@openbossa.org> Add BR/EDR LE interleaved discovery

According to the general discovery procedure should interleave the
general discovery procedure over BR/EDR with the general discovery
procedure over LE. LE Scanning is reporting found remote devices
using DeviceFound signals. Currently, only the Bluetooth address is
extracted from the Advertising event.

Step 1: BR/EDR discovery for TGAP(100)/2 sec
Step 2: LE discovery for TGAP(100)/2 sec
/external/bluetooth/bluez/plugins/hciops.c
70cd37db7cdadd72b0cd4c7e3e1b329b79e0d868 09-Jul-2010 Claudio Takahasi <claudio.takahasi@openbossa.org> Add LE start and stop scanning

Changes hciops plugin to add LE start/stop scanning options and
metaevent decoding.
/external/bluetooth/bluez/plugins/hciops.c
73c8e7ac377f0f6ea0df6396b96cb9e8a11eb070 04-Oct-2010 Johan Hedberg <johan.hedberg@nokia.com> Make link key removal HCI command asynchronous
/external/bluetooth/bluez/plugins/hciops.c
195cb7501bcbee2f3be5006c5e5f5a15e50c9599 04-Oct-2010 Johan Hedberg <johan.hedberg@nokia.com> Make inquiry mode writing asynchronous
/external/bluetooth/bluez/plugins/hciops.c
197eb53c0b5a3a0997ad0cb85d828236c6228700 04-Oct-2010 Johan Hedberg <johan.hedberg@nokia.com> Make EIR data writing asynchronous
/external/bluetooth/bluez/plugins/hciops.c
132374b5125787fd2be0ea9c6985ad9a88600474 04-Oct-2010 Johan Hedberg <johan.hedberg@nokia.com> Make SSP mode reading and writing asynchronous
/external/bluetooth/bluez/plugins/hciops.c
f8b7d84e2cceed2f113d1688c87326ea2505cd16 03-Oct-2010 Johan Hedberg <johan.hedberg@nokia.com> Move scan mode reading to hciops
/external/bluetooth/bluez/plugins/hciops.c
4b625a87bd009aa6a61443d802d63a5f81c58cc8 01-Oct-2010 Johan Hedberg <johan.hedberg@nokia.com> Move authentication requirements fetching to hciops
/external/bluetooth/bluez/plugins/hciops.c
889c7513b312854e7f5c274696ad92a233c1ce78 01-Oct-2010 Johan Hedberg <johan.hedberg@nokia.com> Move user passkey reply to hciops
/external/bluetooth/bluez/plugins/hciops.c
df6c074158bc0f2caf76178dc00d50c7bf1b444a 01-Oct-2010 Johan Hedberg <johan.hedberg@nokia.com> Move user confirmation reply to hciops
/external/bluetooth/bluez/plugins/hciops.c
e7daece858070d71cecf6ade4f0e3c93272c53ac 01-Oct-2010 Johan Hedberg <johan.hedberg@nokia.com> Move PIN code reply to hciops
/external/bluetooth/bluez/plugins/hciops.c
424ffb26405690b9d9653a9418a9c4d332a85176 01-Oct-2010 Johan Hedberg <johan.hedberg@nokia.com> Move authentication request to hciops
/external/bluetooth/bluez/plugins/hciops.c
1bf7ec6b5c5a786775813650a6ef00f47b4d11ec 01-Oct-2010 Johan Hedberg <johan.hedberg@nokia.com> Move link key removal from controller to hciops
/external/bluetooth/bluez/plugins/hciops.c
06dcf6ada5042f6f8a52ae64cfca8327399c09b1 30-Sep-2010 Johan Hedberg <johan.hedberg@nokia.com> Move disconnect command sending to hciops
/external/bluetooth/bluez/plugins/hciops.c
98dbebb8edf59666e226386caf38824e40c8ff33 30-Sep-2010 Johan Hedberg <johan.hedberg@nokia.com> Move default link policy read command to hciops
/external/bluetooth/bluez/plugins/hciops.c
0133f1bc40e609103b90b7544e17aa19819c3c03 30-Sep-2010 Johan Hedberg <johan.hedberg@nokia.com> Move SSP mode initialization to hciops
/external/bluetooth/bluez/plugins/hciops.c
48e6007a98222853a0e1bcbbd6ac17a37098bb49 30-Sep-2010 Johan Hedberg <johan.hedberg@nokia.com> Move local features reading to hciops
/external/bluetooth/bluez/plugins/hciops.c
e38fdde63c8f385b99bf17c9e5794e7f08575f7e 01-Oct-2010 Johan Hedberg <johan.hedberg@nokia.com> Move local version reading to hciops
/external/bluetooth/bluez/plugins/hciops.c
f7b4b3fcd1190d231b864730c821b98fb945e439 30-Sep-2010 Johan Hedberg <johan.hedberg@nokia.com> Move connection list fetching to hciops
/external/bluetooth/bluez/plugins/hciops.c
885c513fdf93404aa713ee6bf4ddb089b42dc5df 30-Sep-2010 Johan Hedberg <johan.hedberg@nokia.com> Move device blocking to hciops
/external/bluetooth/bluez/plugins/hciops.c
7dedff71686cac5556b0c3a3137ffd0b8c6fb28f 30-Sep-2010 Johan Hedberg <johan.hedberg@nokia.com> Move inquiry response TX power reading to hciops
/external/bluetooth/bluez/plugins/hciops.c
c0af129926e28403c10a272cd90770ed9facfe2b 30-Sep-2010 Johan Hedberg <johan.hedberg@nokia.com> Move inquiry mode setting to hciops
/external/bluetooth/bluez/plugins/hciops.c
3e2860479cdb722a849a569495e22366949f8d18 30-Sep-2010 Johan Hedberg <johan.hedberg@nokia.com> Move event mask setting to hciops
/external/bluetooth/bluez/plugins/hciops.c
b5c556ef59a9a8318b239453c3d4a8aad951689f 29-Sep-2010 Johan Hedberg <johan.hedberg@nokia.com> Move adapter address reading to hciops
/external/bluetooth/bluez/plugins/hciops.c
e070bc11469123aefc412ce4e408fe5ad5b525e5 29-Sep-2010 Johan Hedberg <johan.hedberg@nokia.com> Move EIR data writing to hciops
/external/bluetooth/bluez/plugins/hciops.c
ad737e6427a5bfb09bc26c4af071a7aa7045f0ac 22-Sep-2010 Johan Hedberg <johan.hedberg@nokia.com> Fix coding style issues in hciops
/external/bluetooth/bluez/plugins/hciops.c
c67ba167cc642c34b4b85abbe3a9866cb00c0e57 22-Sep-2010 Johan Hedberg <johan.hedberg@nokia.com> Fix usage of error variables

Integer type "err" variables should always be negative to be consistent
with the rest of the code base.
/external/bluetooth/bluez/plugins/hciops.c
5bca34b67c59a01d72adcf6601ce2c8553464142 22-Sep-2010 Elvis Pfützenreuter <epx@signove.com> Add BT read clock and get conn handle to hciops
/external/bluetooth/bluez/plugins/hciops.c
61f0df8f18c417df50a296e10893c82b5eb83879 18-Aug-2010 Dmitriy Paliy <dmitriy.paliy@nokia.com> Add fast connectable to hciops

Fast connectable switches between two sets of parameters to enable
or disable fast page scan mode. Page scan interval and page scan
type are changed to speed up connectabily when needed. When
disabled it sets default values. List of btd_adapter_ops is updated
respectively.
/external/bluetooth/bluez/plugins/hciops.c
65bf1321203b55b11167ac8b869da28a86ce49d2 10-Aug-2010 David Scherba <dscherba@codeaurora.org> Use HCI device type to gate BR/EDR-specific HCI commands

Use the hci_dev_info structure member 'type' to classify whether a HCI
device is BR/EDR, or not. If not, gate BR/EDR-specific HCI commands.
/external/bluetooth/bluez/plugins/hciops.c
cf91577002b4b8acd4b984fad2f62215ae4a2aa0 10-Aug-2010 David Scherba <dscherba@codeaurora.org> Remove non-functional hci_devinfo calls in init_device()
/external/bluetooth/bluez/plugins/hciops.c
fccdf4a50765ef5a2dbde00d95f65e94ce0a543b 12-Jul-2010 Johan Hedberg <johan.hedberg@nokia.com> Fix initialization of adapters in RAW mode

Make sure bluetoothd completely ignores any adapters with the RAW flag
set. This means that neither start_security_manager nor
manager_start_adapter should be called for such an adapter.
/external/bluetooth/bluez/plugins/hciops.c
90608519f3701763ca00b27d6ae133d6bbb07bad 30-Jun-2010 Luiz Augusto von Dentz <luiz.dentz-von@nokia.com> hciops: fix not checking all possible errors
/external/bluetooth/bluez/plugins/hciops.c
8e58667ef0a4cda88ac64137728da28d8fdf3f0f 21-May-2010 Gustavo F. Padovan <gustavo@padovan.org> Move debug() to DBG()

Use the new dynamic debug feature
/external/bluetooth/bluez/plugins/hciops.c
e891f7df6225c758da0d95f7554c6cc67f72f31e 21-May-2010 Gustavo F. Padovan <gustavo@padovan.org> Move logging.{c,h} to log.{c,h}

Try to make log stuff more similar to ConnMan and oFono.
/external/bluetooth/bluez/plugins/hciops.c
9184e2eeb7b97371c6b83b747c8984e2340d2b47 02-Jan-2010 Marcel Holtmann <marcel@holtmann.org> Update copyright information
/external/bluetooth/bluez/plugins/hciops.c
83003660808c30390f21c569a5ba7dbdd8344a41 22-Oct-2009 Claudio Takahasi <claudio.takahasi@openbossa.org> Some coding style fixes and removed unused function.
/external/bluetooth/bluez/plugins/hciops.c
d2a6bf00afbaeef82f9210639150e1f93cb44589 14-Aug-2009 Alok Barsode <alok.barsode@azingo.com> Implement Class of Device cache for async behaviour.

In order to avoid race conditions for setting the Class of Device
asynchronously a queuing mechanism is needed. This patch implements that
by having the following variables in the adapter struct:

adapter->current_cod
The currently set CoD
adapter->pending_cod
CoD of a hci_write_cod command which didn't complete yet.
adapter->wanted_cod
The CoD value that is ultimately desired but might not
have been set yet.
/external/bluetooth/bluez/plugins/hciops.c
a73b597d5653f4e7cc57f931a1faa58f9ed1f7ed 04-Aug-2009 Johan Hedberg <johan.hedberg@nokia.com> Fix device name setting for mode=off when bluetoothd starts

This patch fixes the way that the device name gets set when bluetoothd
starts and the previously stored mode is off.
/external/bluetooth/bluez/plugins/hciops.c
d388309819e6fe27106376aafdb1f701d4b94c6a 04-Aug-2009 Johan Hedberg <johan.hedberg@nokia.com> Remove unnecessary variable assignment
/external/bluetooth/bluez/plugins/hciops.c
d209c50141349ee9413d0717002af3d036db4762 10-Jul-2009 Alok Barsode <alok.barsode@azingo.com> Adding read_name to hciops plugin.
/external/bluetooth/bluez/plugins/hciops.c
164ccf9a6641fe646d8476f6b860d5ff4905632b 10-Jul-2009 Alok Barsode <alok.barsode@azingo.com> Adding set_name to hciops plugin.
/external/bluetooth/bluez/plugins/hciops.c
929393b82db06368ff5fa4074bc209d1d4d03a48 07-Jul-2009 Marcel Holtmann <marcel@holtmann.org> Revert "Fix hciops compilation error"
/external/bluetooth/bluez/plugins/hciops.c
5ca084eeccbe5a17baa6479193800373a4f842c3 07-Jul-2009 Stefan Seyfried <seife@suse.de> Fix hciops compilation error

hciops.c: In function ‘hciops_exit’:
hciops.c:728: error: call to function ‘btd_adapter_cleanup_ops’
without a real prototype
/external/bluetooth/bluez/plugins/hciops.c
b96f44db8e91325968a0149595b2522d4a22481a 23-Jun-2009 Alok Barsode <alok.barsode@azingo.com> Adding cancel_resolve_name functionality to hciops plugin.
/external/bluetooth/bluez/plugins/hciops.c
ef876daebf32cbe65fb4d9ec6fb1ffead60086ea 02-Jul-2009 Alok Barsode <alok.barsode@azingo.com> Adding resolve name functionality to hciops plugin.
/external/bluetooth/bluez/plugins/hciops.c
8b9bab24d5e35777c6838a48d487355ad790a5f4 01-Jul-2009 Johan Hedberg <johan.hedberg@nokia.com> Properly implement the hciops_cleanup() function
/external/bluetooth/bluez/plugins/hciops.c
18e8b33f0d60b9e1f4a6521720e14e9db1cda01d 30-Jun-2009 Johan Hedberg <johan.hedberg@nokia.com> Fix error handling in hciops initialization
/external/bluetooth/bluez/plugins/hciops.c
f8c3e9f4a68af6e6687e754f871e03e2e8cc80b8 10-Jun-2009 Alok Barsode <alok.barsode@azingo.com> Adding stop_discovery to hciops.
/external/bluetooth/bluez/plugins/hciops.c
a67cf482f872ae7c87de9478a471cd1e478d688f 10-Jun-2009 Alok Barsode <alok.barsode@azingo.com> Adding start_discovery to hciops plugin.
/external/bluetooth/bluez/plugins/hciops.c
eeba5fdb9c807191893b9e82cb4952e23df3ca56 18-May-2009 Alok Barsode <alok.barsode@azingo.com> Adding set_limited_discoverable method to hciops plugin.
/external/bluetooth/bluez/plugins/hciops.c
55927114c520807297b2fc63148aa467bed60218 18-May-2009 Alok Barsode <alok.barsode@azingo.com> Adding set_discoverable method to hciops.
/external/bluetooth/bluez/plugins/hciops.c
8b000e17009d5b6772ab3b4367881dfcef763e7e 18-May-2009 Alok Barsode <alok.barsode@azingo.com> Adding set_connectable method to hciops plugin.
/external/bluetooth/bluez/plugins/hciops.c
030d865e4a2c9ff498a925a63264a419ff6c0780 18-May-2009 Alok Barsode <alok.barsode@azingo.com> Adding set_powered method to hciops plugin.
/external/bluetooth/bluez/plugins/hciops.c
4e71ac8617182584edf8ca57879e33d98879eb5d 06-May-2009 Alok Barsode <alok.barsode@azingo.com> Adding stop() functionality to hciops plugin.
/external/bluetooth/bluez/plugins/hciops.c
1ab388feb37980f1afc940c7cf530b9baadeabb1 04-May-2009 Marcel Holtmann <marcel@holtmann.org> Add support for builtin plugins
/external/bluetooth/bluez/plugins/hciops.c
076540a14a41acf8eba0bdb65e2dd5d4d42c7946 29-Apr-2009 Alok Barsode <alok.barsode@azingo.com> Adding start() functionality to hciops plugin.
/external/bluetooth/bluez/plugins/hciops.c
ffff055ee50ab909b61e2b904bfa71dde42ee5c7 28-Apr-2009 Alok Barsode <alok.barsode@azingo.com> Code cleanup for hciops.c.

Renaming init_all_devices to init_known_adapters.
Using 'index' instead of 'dev_id'.
/external/bluetooth/bluez/plugins/hciops.c
34c4239984722c169e3e821ec5ca7c88528827bd 28-Apr-2009 Alok Barsode <alok.barsode@azingo.com> Adding btd_register_adapter_ops framework.
/external/bluetooth/bluez/plugins/hciops.c
a557e08d8c3e39439e922b1267d13c8cf34e37ea 28-Apr-2009 Alok Barsode <alok.barsode@azingo.com> Moving all adapter initialization code to hciops plugin.
/external/bluetooth/bluez/plugins/hciops.c
cce9e28ea1ea1cbf5f9e9027c949632ce67cd27f 23-Apr-2009 Alok Barsode <alok.barsode@azingo.com> Initializing hciops plugin. Adding IO event handing.
/external/bluetooth/bluez/plugins/hciops.c
94e91856179a268805256055ffd5155d1468b99c 27-Apr-2009 Alok Barsode <alok.barsode@azingo.com> Initialing HCI raw socket plugin "hciops".
/external/bluetooth/bluez/plugins/hciops.c