15209 Commits

Author SHA1 Message Date
Matthias Ringwald
29d4766d2c gap: downgrade link key type when reconnect without SC is detected for SC pairing 2023-08-20 15:58:50 +02:00
Matthias Ringwald
8eae094c26 hci: handle encryption change with error -> trigger emit security level_0 (classic only) 2023-08-20 15:53:56 +02:00
Matthias Ringwald
617c03d6ea hci: use bool for hci_is_le_connection 2023-08-20 15:51:22 +02:00
Matthias Ringwald
e789584cfe l2cap: fix ecbm service registration 2023-08-20 14:46:30 +02:00
Matthias Ringwald
27034b3b4d l2cap: reject disconnect request for invalid cids 2023-08-20 14:46:30 +02:00
Matthias Ringwald
becfe286d1 l2cap: reject ecbm channel if remote cid already exists 2023-08-20 14:46:30 +02:00
Matthias Ringwald
2046b1ba63 l2cap: handle authorization requirement in ecbm 2023-08-20 14:46:30 +02:00
Matthias Ringwald
989c549884 l2cap: add authorization_required param to ecbm service registration 2023-08-20 14:46:30 +02:00
Matthias Ringwald
5b2d3e1251 l2cap: add l2cap_ecbm_trigger_pending_connection_responses 2023-08-20 14:46:30 +02:00
Matthias Ringwald
b16d0b9c83 l2cap: send ecbm pending if authentication possible 2023-08-20 14:46:30 +02:00
Matthias Ringwald
6499cee051 l2cap: extract l2cap_ecbm_security_status_for_connection_request 2023-08-20 14:46:30 +02:00
Matthias Ringwald
436d089a6a l2cap: send ecbm pending if authentication possible 2023-08-20 14:46:30 +02:00
Matthias Ringwald
8edd6a0adf l2cap: prepare l2cap_handle_security_level for multiple iterations 2023-08-20 14:46:30 +02:00
Matthias Ringwald
7aed797a49 l2cap: extract l2cap_ecbm_handle_security_level_incoming_sufficient 2023-08-20 14:46:30 +02:00
Matthias Ringwald
7703f6ed56 l2cap: extract l2cap_ecbm_emit_incoming_connection 2023-08-20 14:46:30 +02:00
Matthias Ringwald
20fe8db3fc l2cap: rework ecbm security checks 2023-08-20 14:46:30 +02:00
Matthias Ringwald
34c1c6c77e l2cap: disconnect if fragment larger than local mps is received 2023-08-20 14:46:30 +02:00
Matthias Ringwald
9793164fec l2cap: store local_mps for credit-based channels in l2cap_channel_t 2023-08-20 14:46:30 +02:00
Matthias Ringwald
9dd5391ffe l2cap: disonnect cbm/ecbm if packet with sdu larger than mtu is received 2023-08-20 14:46:30 +02:00
Matthias Ringwald
7dd21e2481 l2cap: return 'ecbm all refused insufficient encryption' if encryption required but unencrypted 2023-08-20 14:46:29 +02:00
Matthias Ringwald
2052d96cc1 gap: add gap_extended_advertising_set_resolvable_private_address_update 2023-08-20 14:46:29 +02:00
Matthias Ringwald
027f4677e6 gap: add gap_periodic_advertising_set_info_transfer_send 2023-08-20 14:46:29 +02:00
Matthias Ringwald
fa9be54c8c hci: add send request and incoming connection for gatt client/server 2023-08-20 14:46:29 +02:00
Matthias Ringwald
c7fc10753e gatt_client: ignore notifications/indications until re-encrypted for bonded device without ENABLE_LE_PROACTIVE_AUTHENTICATION 2023-08-20 14:46:29 +02:00
Matthias Ringwald
9ee42df911 gatt_client: ignore notifications/indications until re-encrypted for bonded device without ENABLE_LE_PROACTIVE_AUTHENTICATION 2023-08-20 14:46:29 +02:00
Matthias Ringwald
c2414c00ee gap: abort pairing if remote in dedicated bonding and we are non-bondable 2023-08-20 14:46:29 +02:00
Matthias Ringwald
53c4f8d806 l2cap: reject incoming connection with security block in SC-only mode if non-SC connection 2023-08-20 14:46:29 +02:00
Matthias Ringwald
813a09c6dc gap: downgrade link key type when reconnect without SC is detected for SC pairing 2023-08-20 14:46:29 +02:00
Matthias Ringwald
27b992ef15 hci: handle encryption change with error -> trigger emit security level_0 2023-08-20 14:46:29 +02:00
Matthias Ringwald
89254d996a hci: handle advertising set terminated 2023-08-20 14:46:29 +02:00
Matthias Ringwald
f1e14e60f0 bluetooth_data_types: add advertising interval long 2023-08-20 14:46:29 +02:00
Matthias Ringwald
bd8291e95f tool/compile_gatt: add GAP characteristic UUIDs 2023-08-20 14:46:29 +02:00
HASUMI Hitoshi
86382a7975 btstack_run_loop: fix typos in comments 2023-08-20 12:40:50 +02:00
Matthias Ringwald
8f693d4af8 sx128x: fix connection update 2023-08-20 11:50:36 +02:00
Andrey Fominykh
f50ed5accd gap: support configuring inquiry transmit power level 2023-08-16 11:03:08 +02:00
Andrey Fominykh
c9c0cbe99a hci_cmd: add hci_read_inquiry_response_transmit_power_level and hci_write_inquiry_transmit_power_level command templates 2023-08-16 10:58:58 +02:00
Matthias Ringwald
e39127d3f3 avrcp: reject incoming second l2cap connection 2023-08-16 09:26:54 +02:00
Matthias Ringwald
ad03e5562e bstack_chipset_nxp: use hci_cmd_create_from_template_with_vargs 2023-08-15 17:31:28 +02:00
Matthias Ringwald
0e1c28d589 hci_cmd: add NXP/Marvell PCM/I2S commands 2023-08-15 17:29:49 +02:00
Matthias Ringwald
211a5343c5 hci_cmd: add hci_cmd_create_from_template_with_vargs 2023-08-15 17:29:49 +02:00
Matthias Ringwald
938d471d87 hid_device: avoid (incorrect) warning about uninitialized host_buffer_size variable 2023-08-14 15:12:49 +02:00
Matthias Ringwald
1002ad195b hid_device: rework get report handling 2023-08-14 14:55:37 +02:00
Matthias Ringwald
d74c876f55 hid_device: extract hid_device_trigger_user_request_if_pending 2023-08-14 14:52:33 +02:00
Matthias Ringwald
4fac2cd9b2 hid_device: delete commented code 2023-08-14 14:52:14 +02:00
Matthias Ringwald
c4f7571851 hfp: fix build for ENABLE_CC256X_ASSISTED_HFP 2023-08-11 16:15:31 +02:00
Matthias Ringwald
2e8bf247ae hfp: fix build for ENABLE_BCM_PCM_WBS 2023-08-11 14:28:22 +02:00
Matthias Ringwald
e9cdda9184 hfp: fix build for ENABLE_BCM_PCM_WBS 2023-08-11 14:26:15 +02:00
Matthias Ringwald
0327df7d5d hfp: collect vendor-specific SBC config logic in hfp_prepare_for_sco 2023-08-11 14:13:40 +02:00
Matthias Ringwald
3a8950c4f6 hfp: introduce hfp_rtk_prepare_for_sco 2023-08-11 14:13:40 +02:00
Matthias Ringwald
6decf019d6 hfp_ag: trigger WBS config for ENABLE_BCM_PCM_WBS 2023-08-11 14:13:40 +02:00