mbox series

[Bluetooth,v2,0/1] LE Create Connection command timeout changed to 20 secs

Message ID 20240502090123.5177-1-mahesh.talewad@nxp.com
Headers show
Series LE Create Connection command timeout changed to 20 secs | expand

Message

Mahesh Talewad May 2, 2024, 9:01 a.m. UTC
Hello Maintainers,

On our DUT, we can see that the host issues create connection cancel
command after 4-sec if there is no connection complete event for
LE create connection cmd.
As per core spec v5.3 section 7.8.5, advertisement interval range is-

Advertising_Interval_Min
Default : 0x0800(1.28s)
Time Range: 20ms to 10.24s

Advertising_Interval_Max
Default : 0x0800(1.28s)
Time Range: 20ms to 10.24s

If the remote device is using adv interval of > 4 sec, it is 
difficult to make a connection with the current timeout value.
Also, with the default interval of 1.28 sec, we will get only
3 chances to capture the adv packets with the 4 sec window.
Hence we want to increase this timeout to 20sec.

Thank you in advance for your review.

Thanks and regards,
Mahesh Vithal Talewad

Mahesh Talewad (1):
  LE Create Connection command timeout increased to 20 secs

 include/net/bluetooth/hci.h | 1 -
 net/bluetooth/hci_core.c    | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)