mbox series

[BlueZ,v2,0/1] Autoconnecttimeout max value increased to 20480 msecs

Message ID 20240404114054.4987-1-mahesh.talewad@nxp.com (mailing list archive)
Headers show
Series Autoconnecttimeout max value increased to 20480 msecs | expand

Message

Mahesh Talewad April 4, 2024, 11:40 a.m. UTC
Hello Maintainers,

This Patch is for following point:
  - In current implementation Autoconnecttimeout max value is
    16384[0x4000] msecs.
  - Since some controllers need some more time to respond to
    cmd - LE Extended Create Connection' hence increased this
    Autoconnecttimeout max value to 20480[0x5000] msecs.
    
For ex:
- In some controllers, If we include LE-Coded PHY in the initiating
  PHY List, BLE INIT scheduler selects the 1M and Coded PHY scanning
  as an initiator in round robin manner, and due to this available
  bandwidth gets distributed between 1M and Coded PHY, and this
  results in longer time taken for connection establishment by
  the controller.
 
- If ref device is advertising at 1.5 sec intervals, with create
  connection timeout of 4 sec,  the controller gets only 2 opportunities
  for the connection. Without the inclusion of LE-coded PHY,
  DUT takes ~3.8 sec for the connection establishment.Hence as described
  in above point  with the inclusion of LE-coded PHY it is difficult to
  achieve 100% connection success with the device having
  adv interval of 1.5 sec.
  
Hence increased Autoconnecttimeout max value to 20480[0x5000] msecs.
        
Thank you in advance for your review.

Thanks and regards,
Mahesh Vithal Talewad

Mahesh Talewad (1):
  Increase autoconnect timeout max from 16.384s to 20.480s

 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)