Skip to content

Commit

Permalink
Change HCI core code to allow for BLE intervals of 5ms for MFI stream…
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-whisper authored and Nahal Farhi committed Jun 8, 2022
1 parent bfbd776 commit 5e84077
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion subsys/bluetooth/host/hci_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1484,8 +1484,10 @@ bool bt_le_conn_params_valid(const struct bt_le_conn_param *param)
{
/* All limits according to BT Core spec 5.0 [Vol 2, Part E, 7.8.12] */

// *** Whisper changed for MFI. Previous minimum interval was 6 (7.5ms) but
// this needed to be modified to allow for intervals of 4 (5ms) for MFI streaming
if (param->interval_min > param->interval_max ||
param->interval_min < 6 || param->interval_max > 3200) {
param->interval_min < 4 || param->interval_max > 3200) {
return false;
}

Expand Down

0 comments on commit 5e84077

Please sign in to comment.