370 Commits

Author SHA1 Message Date
Matthias Ringwald
1b9cb13d36 l2cap-ertm: query extended features before opening l2cap ertm connection 2017-07-25 15:13:59 +02:00
Matthias Ringwald
b435e06234 hci: require ENABLE_LE_DATA_LENGTH_EXTENSION to enable max packet lenghts 2017-07-07 22:34:48 +02:00
Matthias Ringwald
dcd678ba09 hci: use max le data length if supported by controller 2017-07-07 17:15:14 +02:00
Matthias Ringwald
220006fb3b hci: check if LE Data Length commands are supported 2017-07-07 16:52:16 +02:00
Matthias Ringwald
73044eb2d8 hci: move le connection parameters for outgoing connections into hci_stack_t 2017-07-07 11:35:33 +02:00
Matthias Ringwald
ec111c8bcd hci: added hci_get_state() 2017-07-04 17:30:27 +02:00
Matthias Ringwald
0a51f88b22 gap: add gap functions for responding to legacy and ssp pairing requests 2017-05-22 10:31:47 +02:00
Matthias Ringwald
b7f1ee76fc gap: provide gap_remote_name_request 2017-05-21 22:44:47 +02:00
Matthias Ringwald
f5875de52c gap: provide gap_inquiry_start + gap_inquiry_stop. emit GAP_EVENT_INQUIRY_COMPLETE 2017-05-21 22:23:03 +02:00
Matthias Ringwald
182c3ec8d7 hci: controller to host flow control - set host size before enabling flow control 2017-04-02 20:46:05 +02:00
Matthias Ringwald
2b8382013c hci: Controller to Host Flow Control + docs 2017-04-01 15:46:16 +02:00
Matthias Ringwald
fe53f27bc6 hci: fix compile 2017-03-12 21:09:15 +01:00
Matthias Ringwald
689a7eb932 hci: reduced incoming prebuffer to 0 for LE-only, and outgoing to 0 if HAVE_HOST_CONTROLLER_API defined 2017-03-12 21:03:36 +01:00
Matthias Ringwald
f9f2075cea hci: mark hci_write_local_name as Classic only, hci_le_generate_dhkey depend on HAVE_HCI_CONTROLLER_DHKEY_SUPPORT, reduce HCI Command Buffer size for LE only 2017-03-12 20:59:44 +01:00
Matthias Ringwald
c65ae2a0ed h5: fix corruption of outgoing fragmented ACL packets. 2017-03-03 12:24:27 +01:00
Matthias Ringwald
e9c151bc12 h5: provide 2 byte post buffer for outgoing packets - used for 16-bit data integrity check 2017-02-24 11:42:12 +01:00
Matthias Ringwald
559961d085 hci: wait 10 ms after init script download on Broadcom chipsets 2017-02-01 12:23:23 +01:00
Matthias Ringwald
ee752bb8db hci_transport: add set_sco_config and call when nr. of SCO connections changes 2017-01-19 17:05:43 +01:00
Matthias Ringwald
a42798c331 hci: configure Broadcom chipsets to send SCO data via HCI transport 2017-01-19 14:19:30 +01:00
Matthias Ringwald
903ea03a2f hci: fix init sequence if le central not supported 2017-01-18 12:09:35 +01:00
Matthias Ringwald
e691bb38f1 hci: fix reading whitelist size 2017-01-18 11:56:52 +01:00
Matthias Ringwald
b95a5a357a gap_le: cleanup use of own address for scanning, advertisements, and connection creation 2017-01-18 11:50:45 +01:00
Matthias Ringwald
d70217a228 gap: require ENABLE_LE_CENTRAL for adv scans and outgoing connections, ENABLE_LE_PERIPHERAL for advertisements 2017-01-15 22:32:52 +01:00
Matthias Ringwald
755bc58582 hci: remove hci_set_local_version_information_callback (use hci_add_event_handler instead) 2016-12-14 11:50:46 +01:00
Matthias Ringwald
94be1a6633 provide _va_arg type variants for hci_send_cmd and hci_dump_log 2016-11-30 22:15:40 +01:00
Matthias Ringwald
3a6673b69a fix build for classic-only 2016-11-22 15:27:28 +01:00
Matthias Ringwald
18707219a5 att_server: move state into hci_connection_t to handle multiple ATT clients 2016-11-21 16:30:18 +01:00
Matthias Ringwald
e90bae0148 hci: read local name during init 2016-11-12 22:53:26 +01:00
Matthias Ringwald
33373e4028 sm: use fake public addresss of nRf5 chipsets as random static address 2016-11-10 21:51:01 +01:00
Matthias Ringwald
52b551c3a3 sm: fix Random Address generation when enabled before HCI is working 2016-11-08 15:13:36 +01:00
Matthias Ringwald
577ca2d3ba hci: skip write synchronous flow control enable and write default erroneos data reporting if commands not supported 2016-10-03 17:07:43 +02:00
Matthias Ringwald
ff00ed1c16 gap: add gap_set_extended_inquiry_response 2016-09-29 17:34:24 +02:00
Matthias Ringwald
f6858d14c8 hci: add hci_set_inquiry_mode to set inquiry mode during init 2016-09-29 15:52:13 +02:00
Matthias Ringwald
4b8b5afea6 sm: handle IRK lookup in general case, inline SM_SC_SEND_LTK_REQUESTED_NEGATIVE_REPLY handling 2016-09-28 10:51:44 +02:00
Matthias Ringwald
41d322973c sm: fix sending of negative ltk reply 2016-09-28 10:43:33 +02:00
Matthias Ringwald
8cff923e81 Merge branch 'develop' into a2dp 2016-08-24 13:45:38 +02:00
Matthias Ringwald
3e68d23d21 hci: add hci_extended_sco_link_supported 2016-07-28 17:28:14 +02:00
Matthias Ringwald
c2e1fa6005 hci: provided error code in hardware error callback 2016-07-17 20:58:49 +02:00
Matthias Ringwald
06cd539f41 sm: fix pairing in legacy mode 2016-07-15 17:28:02 +02:00
Matthias Ringwald
26a9b6da53 hci: combine hci_packet_buffer_prefix with hci_packet_buffer into hci_packet_buffer_data and use hci_packet_buffer as pointer to point at pos HCI_OUTGOING_PRE_BUFFER_SIZE 2016-07-14 14:22:24 +02:00
Matthias Ringwald
d747193162 sm: use ltk from db for sc in responder role, fix sending keypress notifictations 2016-06-27 14:37:47 +02:00
Matthias Ringwald
59066796a6 sm: extract sm_start_calculating_ltk_from_ediv_and_rand 2016-06-24 16:50:03 +02:00
Matthias Ringwald
2bacf59502 sm: derive BR/EDR Link Key from LE LTK established via LE Secure Connection 2016-06-20 14:17:25 +02:00
Matthias Ringwald
f1c1783e41 sm: use LE Random for initiator/jw_nk 2016-05-29 20:22:11 +02:00
Matthias Ringwald
945888f5ea sm: fix local nonce generation 2016-05-29 19:59:02 +02:00
Matthias Ringwald
901c000fcc sm: use state var to track DHKEY_CHECK_COMMAND received 2016-05-29 14:40:50 +02:00
Matthias Ringwald
bd57ffebb0 sm: use AES CMAC Engine to calculate g2 for numeric comparison 2016-05-28 23:42:47 +02:00
Matthias Ringwald
0346c37cbe sm: use AES CMAC Engine to calculate f5 for dhkey check verification 2016-05-27 23:09:08 +02:00
Matthias Ringwald
019005a057 sm: use AES CMAC Engine to calculate f6 for dhkey check verification 2016-05-27 21:54:28 +02:00
Matthias Ringwald
dc30084780 sm: prepare dhkey check to use AES CMAC Engine 2016-05-27 21:06:16 +02:00