1344 Commits

Author SHA1 Message Date
Matthias Ringwald
ee418d0f5b hci: reserve packet buffer for custom init 2024-02-05 11:15:37 +01:00
Matthias Ringwald
ca6804fd63 hci: introduce hci_send_prepared_cmd_packet and use during startup 2024-02-05 11:15:17 +01:00
Matthias Ringwald
f145faa552 hci: fix assert on custom init 2024-02-01 10:07:18 +01:00
Matthias Ringwald
8f4649e3ba hci: remove bool from hci_reserve_packet_buffer and similiar higher layer functions 2024-01-25 14:05:06 +01:00
Matthias Ringwald
5daaa52e38 hci: emit transport packet sent from hci_release_packet_buffer 2024-01-25 11:18:46 +01:00
Matthias Ringwald
5d35098109 hci: assert in reserve/release packet buffer 2024-01-25 11:15:04 +01:00
Matthias Ringwald
5b0f090baa hci: emit transport packet sent if disconnect for connection with fragmentation active 2024-01-24 18:46:08 +01:00
Matthias Ringwald
d90722d454 hci: implement gap_cig_remove 2024-01-24 14:59:54 +01:00
Matthias Ringwald
f2e409f3a3 hci: use cig_id instead of cig_handle 2024-01-24 14:59:54 +01:00
Matthias Ringwald
137a570a71 gap: support coordinated private random address updates 2024-01-24 14:59:09 +01:00
Matthias Ringwald
62daa44137 gap: made mutual authentication for legacy secure connections optional 2024-01-23 19:46:07 +01:00
Matthias Ringwald
8ce186819b hci: always init conn link key type 2024-01-23 11:28:26 +01:00
Matthias Ringwald
2b6efc4d0e hci: fix build 2024-01-17 12:16:22 +01:00
Matthias Ringwald
22f987e460 hci: rename hci_extended_advertising_supported 2024-01-17 12:05:17 +01:00
Matthias Ringwald
135568f9c0 hci: make hci_extended_advertising_supported public 2024-01-17 12:05:17 +01:00
Matthias Ringwald
efc77985e3 gap: add gap_le_get_own_advertising_set_address 2024-01-17 12:04:37 +01:00
Matthias Ringwald
8dc1b1d01e gap: set IRK for undirected advertising 2024-01-17 12:04:37 +01:00
Matthias Ringwald
9fd274a1e9 hci: re-start le connection with address in case of required stop to update lists 2024-01-15 15:43:00 +01:00
Matthias Ringwald
2fbf0ed048 hci: clean up resolving list todos 2024-01-15 15:43:00 +01:00
Matthias Ringwald
58babb647e hci: store current random address for outgoing connections in peer resolvable private address field 2024-01-15 15:43:00 +01:00
Matthias Ringwald
0890cf2b80 hci: add hci_is_le_identity_address_type 2024-01-15 15:43:00 +01:00
Matthias Ringwald
bede2a55c2 hci: use hci_event_le_meta_get_subevent_code 2024-01-15 15:43:00 +01:00
Matthias Ringwald
5bb205a5cd hci: avoid erroneous connection struct for direct le connection with resolvable private address 2024-01-15 15:43:00 +01:00
Matthias Ringwald
ca0d6e5afd hci: rename gap_get_outgoing_connection 2024-01-15 15:43:00 +01:00
Matthias Ringwald
b11b8e4749 hci: remove redundant check in hci_handle_le_connection_complete_event 2024-01-15 15:43:00 +01:00
Matthias Ringwald
688bcdb427 hci: rename event_handle_le_connection_complete 2024-01-15 15:43:00 +01:00
Matthias Ringwald
c1281a25f9 hci: free hci connection on connection complete (handle invalid) only if requested 2024-01-15 15:43:00 +01:00
Matthias Ringwald
182d886d47 hci: replace assert with check for fuzzer 2024-01-04 18:27:24 +01:00
Matthias Ringwald
8e97a820aa hci: provide hci_is_le_connection_type 2023-12-19 17:25:19 +01:00
Matthias Ringwald
d9e1bf3391 hci: handle le identity addresses in gap functions 2023-12-18 18:38:36 +01:00
Matthias Ringwald
ad9f35303b hci: identify resolved public/random addresses as le connections 2023-12-18 18:24:12 +01:00
Matthias Ringwald
5e05c0af62 gap: assert advertisement set 0 created before setting adv/scan data for legacy api 2023-12-14 17:07:29 +01:00
Matthias Ringwald
ad58a3851e hci: provide hci_classic_supported and hci_le_supported 2023-12-13 13:55:58 +01:00
Matthias Ringwald
57514786e5 hci: return bool in gap_ssp_supported, hci_classic_supported and hci_le_supported 2023-12-13 13:52:39 +01:00
Matthias Ringwald
c73086888f hci: extract gap_big_setup_iso_streams 2023-12-08 12:41:15 +01:00
Matthias Ringwald
02e19895de hci: setup iso_stream in big sync established 2023-12-08 12:33:24 +01:00
Matthias Ringwald
3e3770576e hci: limit num_cis by MAX_NR_CIS in gap_cig_create 2023-12-08 12:31:00 +01:00
Matthias Ringwald
5fd415a64c hci: only accept num_bis specified in gap_big_create/gap_big_sync_create 2023-12-08 12:29:38 +01:00
Matthias Ringwald
d034696a29 hci: make big_handle unique between BIG and BIG Sync 2023-12-08 12:26:54 +01:00
Matthias Ringwald
d7dbf89112 sm: use bool for sm_connection_sc 2023-12-05 14:25:35 +01:00
Matthias Ringwald
c7bead4678 hci: use bool in conditions 2023-12-05 12:18:43 +01:00
Matthias Ringwald
05acf48bf1 hci: log message when workaround for missing command complete/status is triggered 2023-11-30 11:46:01 +01:00
Matthias Ringwald
062276f92b hci: fix receive of iso packets 2023-11-28 20:32:47 +01:00
Matthias Ringwald
91036612eb hci: fix build 2023-11-27 12:17:14 +01:00
Matthias Ringwald
f48a558634 hci: add workaround for Controllers that fail to send command complete/status for connection that does not get established 2023-11-27 12:08:26 +01:00
Matthias Ringwald
920a6ac515 hci: enable le enhanced connection complete event 2023-11-23 16:33:42 +01:00
Matthias Ringwald
e4def79770 hci: fix length field of GAP_SUBEVENT_LE_CONNECTION_COMPLETE 2023-11-23 15:39:17 +01:00
Matthias Ringwald
5d6688b0c0 hci: add ENABLE_LE_ENHANCED_CONNECTION_COMPLETE_EVENT 2023-11-23 15:06:40 +01:00
Matthias Ringwald
028ead5ee6 hci: configure Classic ACL packet types with hci_enable_acl_packet_types 2023-11-23 11:23:11 +01:00
Matthias Ringwald
ebd1b97964 hci: emit GAP_SUBEVENT_LE_CONNECTION_COMPLETE for gap_connect_cancel 2023-11-23 10:28:53 +01:00