Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix error message | Johan Hedberg | 2009-02-10 | 1 | -1/+1 |
| | |||||
* | Always store pre-2.1 link key types | Johan Hedberg | 2009-02-09 | 1 | -1/+1 |
| | |||||
* | Various coding style cleanups | Johan Hedberg | 2009-02-06 | 1 | -10/+15 |
| | |||||
* | Don't changed combination keys for no-bonding | Johan Hedberg | 2009-02-06 | 1 | -2/+5 |
| | |||||
* | Only remove the temporary flag if we store the link key | Johan Hedberg | 2009-02-05 | 1 | -2/+2 |
| | |||||
* | Always store changed combination keys | Johan Hedberg | 2009-02-05 | 1 | -3/+8 |
| | |||||
* | Use 0xff instead of 0xFF | Marcel Holtmann | 2009-02-06 | 1 | -2/+2 |
| | |||||
* | Fix invalid local auth type checking | Johan Hedberg | 2009-02-04 | 1 | -1/+1 |
| | |||||
* | Add check for invalid auth requirement | Johan Hedberg | 2009-02-04 | 1 | -1/+2 |
| | |||||
* | Copy remote auth requirements if the kernel returns 0xff | Johan Hedberg | 2009-02-04 | 1 | -0/+3 |
| | |||||
* | Don't store the link key for "no bonding" cases | Johan Hedberg | 2009-02-04 | 1 | -5/+12 |
| | | | | | We should not store the link key if either side had "no bonding" as their authentication requirement. | ||||
* | Move link key writing from security.c to dbus-hci.c | Johan Hedberg | 2009-02-04 | 1 | -3/+13 |
| | | | | | This refactoring is preparation for more fine-grained link key writing control with e.g. SSP "no bonding" use cases. | ||||
* | Add icon for other audio devices | Marcel Holtmann | 2009-02-04 | 1 | -0/+2 |
| | |||||
* | Refactor adapter and device struct fetching into a single function | Johan Hedberg | 2009-02-03 | 1 | -149/+56 |
| | |||||
* | Add support for HCI_Simple_Pairing_Complete event | Johan Hedberg | 2009-02-03 | 1 | -0/+25 |
| | | | | | | When we are the acceptors of a pairing request and we have used the Agent.DisplayPasskey we need to use the Simple Pairing Complete HCI event for calling Agent.Cancel. | ||||
* | Set the Alias only after checking the EIR data | Johan Hedberg | 2009-01-27 | 1 | -11/+11 |
| | |||||
* | Fix bug which prevents emitting DeviceDisappered. | Luiz Augusto von Dentz | 2009-01-21 | 1 | -5/+0 |
| | |||||
* | Use MITM for CreatePairedDevice and handle the NoInputNoOuput cases | Marcel Holtmann | 2009-01-16 | 1 | -3/+11 |
| | |||||
* | Also check the local IO capability before requiring MITM | Johan Hedberg | 2009-01-16 | 1 | -3/+6 |
| | |||||
* | Require MITM for dedicated bonding if the remote side is capable of it | Johan Hedberg | 2009-01-16 | 1 | -2/+8 |
| | |||||
* | Use dedicated bonding and no MITM for pairing | Marcel Holtmann | 2009-01-15 | 1 | -4/+1 |
| | |||||
* | Add another debug for auth requirements from kernel | Marcel Holtmann | 2009-01-15 | 1 | -3/+5 |
| | |||||
* | Fix device creation for incoming security mode 3 connects | Johan Hedberg | 2009-01-15 | 1 | -2/+4 |
| | |||||
* | Fix IO capabilities for non-pairing and pairing cases | Marcel Holtmann | 2009-01-15 | 1 | -12/+14 |
| | |||||
* | Don't do reverse SDP for renewed link keys | Johan Hedberg | 2009-01-13 | 1 | -0/+5 |
| | | | | | | Add a flag for a renewed link key to the device struct so that when we get authentication complete we don't do reverse SDP or PropertyChanged(Paired, true) if a new bonding isn't being created. | ||||
* | Only handle the special case of no bonding and no MITM | Marcel Holtmann | 2009-01-13 | 1 | -2/+2 |
| | |||||
* | Follow MITM requirements from remote device | Marcel Holtmann | 2009-01-13 | 1 | -0/+4 |
| | |||||
* | Fix no-bonding connections in non-bondable mode | Johan Hedberg | 2009-01-13 | 1 | -1/+8 |
| | |||||
* | Fix new pairing detection with SSP | Johan Hedberg | 2009-01-13 | 1 | -2/+3 |
| | | | | | Propagate old and new link key type info to dbus-hci.c so it can know whether this is a new pairing or not. | ||||
* | Add more debug for authentication requirements | Marcel Holtmann | 2009-01-13 | 1 | -1/+6 |
| | |||||
* | Handle active connection using device object. | Luiz Augusto von Dentz | 2009-01-11 | 1 | -30/+7 |
| | |||||
* | Move bonding creation to device.c. | Luiz Augusto von Dentz | 2009-01-11 | 1 | -298/+60 |
| | |||||
* | Update copyright information | Marcel Holtmann | 2009-01-01 | 1 | -1/+1 |
| | |||||
* | Add missing include of own header file | Marcel Holtmann | 2008-12-23 | 1 | -0/+1 |
| | |||||
* | Fix log messages when there's no agent available | Johan Hedberg | 2008-12-22 | 1 | -2/+4 |
| | |||||
* | Add support for the LegacyPairing property | Johan Hedberg | 2008-12-04 | 1 | -2/+14 |
| | |||||
* | Fix some more misusage of "return -err;" | Marcel Holtmann | 2008-11-30 | 1 | -4/+4 |
| | |||||
* | Make adapter_remove_discov_timeout private to adapter.c | Johan Hedberg | 2008-11-29 | 1 | -2/+0 |
| | |||||
* | Clean up scan mode related code | Johan Hedberg | 2008-11-29 | 1 | -2/+1 |
| | |||||
* | Fix bdaddr parameter to adapter_pairing_initiator | Johan Hedberg | 2008-11-21 | 1 | -1/+1 |
| | |||||
* | Introduce Pairable property. | Luiz Augusto von Dentz | 2008-11-20 | 1 | -0/+8 |
| | | | | | | | | | | | As the name suggest it tells when an adapter enter or leaves bondable mode, it works as follow: Pairable=true & Discoverable=true: limited IAC Pairable=true & Discoverable=false: pairable but inquiry scan disabled Pairable=false & Discoverable=true: inquiry scan enabled (with Generic IAC) but new pairings cannot be created (same as if there was no agent) Pairable=false & Discoverable=false: inquiry scan disabled & non-pairable (as if there was no agent) | ||||
* | Remove unused functions | Johan Hedberg | 2008-11-19 | 1 | -33/+0 |
| | |||||
* | Move set_limited_discoverable() from dbus-hci.c to adapter.c | Johan Hedberg | 2008-11-19 | 1 | -38/+0 |
| | | | | | The function was only used from within adapter.c so it makes sense to have it static inside adapter.c | ||||
* | Simplify emit_device_found calls | Johan Hedberg | 2008-10-28 | 1 | -14/+4 |
| | | | | | String types which are NULL will just be ignored so we don't need the extra check for name != NULL. | ||||
* | Send DeviceFound signals also the first time the name gets resolved | Johan Hedberg | 2008-10-28 | 1 | -20/+50 |
| | | | | | | This patch makes sure that we send the DeviceFound with the Name property for newly found pre-2.1 devices when their names gets resolved for the first time. | ||||
* | Use g_dbus_send_message instead of dbus_connection_send | Johan Hedberg | 2008-10-24 | 1 | -5/+2 |
| | |||||
* | Rename dbus_connection_emit_property_changed to emit_property_changed | Johan Hedberg | 2008-10-16 | 1 | -11/+8 |
| | |||||
* | Rename dbus_message_iter_append_dict_entry to dict_append_entry | Johan Hedberg | 2008-10-16 | 1 | -1/+1 |
| | |||||
* | Fix the service discovery-upon-pairing logic | Johan Hedberg | 2008-10-08 | 1 | -1/+2 |
| | | | | | | | | | The original code seems to try to handle the situation of two opposite directed pairing attempts (remote side starts dedicated bonding with us but someone calls CreatePairedDevice on our side at the same time). I'm not sure how likely this actually is or if it can even succeed, but the existing logic in the code was nevertheless wrong. After this patch is at least in theory makes sense to me (and is better commented if I forget what I was thinking when I wrote it). | ||||
* | Check for NULL return of adapter_find_device | Johan Hedberg | 2008-10-07 | 1 | -0/+4 |
| | | | | | | | | In theory the device might have been removed if the D-Bus client exited before the remote side accepted the pairing. This is just a short term fix since security.c is still storing the link key. In the long run we should move the link key storing to dbus-hci.c and only do it when we get auth complete or connect complete. |