mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-14 10:21:49 +00:00
hci: enable connection subrating during init
This commit is contained in:
parent
03a8d1d24d
commit
f266fcb126
@ -2369,6 +2369,15 @@ static void hci_initializing_run(void){
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_BLE
|
||||
/* fall through */
|
||||
case HCI_INIT_LE_SET_HOST_FEATURE_CONNECTION_SUBRATING:
|
||||
if (hci_le_supported()) {
|
||||
hci_stack->substate = HCI_INIT_W4_LE_SET_HOST_FEATURE_CONNECTION_SUBRATING;
|
||||
hci_send_cmd(&hci_le_set_host_feature, 38, 1);
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
/* fall through */
|
||||
|
||||
case HCI_INIT_DONE:
|
||||
|
@ -899,11 +899,17 @@ typedef enum hci_init_state{
|
||||
HCI_INIT_W4_LE_READ_MAX_ADV_DATA_LEN,
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_LE_ISOCHRONOUS_STREAMS
|
||||
HCI_INIT_LE_SET_HOST_FEATURE_CONNECTED_ISO_STREAMS,
|
||||
HCI_INIT_W4_LE_SET_HOST_FEATURE_CONNECTED_ISO_STREAMS,
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_BLE
|
||||
HCI_INIT_LE_SET_HOST_FEATURE_CONNECTION_SUBRATING,
|
||||
HCI_INIT_W4_LE_SET_HOST_FEATURE_CONNECTION_SUBRATING,
|
||||
#endif
|
||||
|
||||
HCI_INIT_DONE,
|
||||
|
||||
HCI_FALLING_ASLEEP_DISCONNECT,
|
||||
|
Loading…
x
Reference in New Issue
Block a user