All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Bluetooth: Fixes for BR/EDR connection idle timeout configuration
@ 2025-12-16  9:20 Stefan Sørensen
  2025-12-16  9:20 ` [PATCH 1/3] Bluetooth: hci_conn: use mod_delayed_work for active mode timeout Stefan Sørensen
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Stefan Sørensen @ 2025-12-16  9:20 UTC (permalink / raw)
  To: marcel, johan.hedberg, luiz.dentz, linux-bluetooth; +Cc: Stefan Sørensen

This series addresses issues with how Bluetooth BR/EDR connections handle
idle timeouts (entering Sniff mode) and exposes the timeout value to
userspace: 

1. Ensure the active mode timeout is correctly updated using
   mod_delayed_work(), preventing the timer from being ignored if
   already queued.
2. Apply the link policy to incoming ACL connections (previously only
   applied to outgoing), ensuring incoming connections can also enter
   idle modes.
3. Add idle_timeout to the configurable system parameters in the
   Management interface. This allows userspace to control when the
   Sniff mode is triggered, complementing the existing ability to
   control the Sniff parameters themselves.

Stefan Sørensen (3):
  Bluetooth: hci_conn: use mod_delayed_work for active mode timeout
  Bluetooth: hci_conn: Set link_policy on incoming ACL connections
  Bluetooth: mgmt: Add idle_timeout to configurable system parameters

 net/bluetooth/hci_conn.c    |  3 ++-
 net/bluetooth/hci_sync.c    |  2 --
 net/bluetooth/mgmt_config.c | 21 +++++++++++++++++++++
 3 files changed, 23 insertions(+), 3 deletions(-)

-- 
2.52.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-12-20 18:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-16  9:20 [PATCH 0/3] Bluetooth: Fixes for BR/EDR connection idle timeout configuration Stefan Sørensen
2025-12-16  9:20 ` [PATCH 1/3] Bluetooth: hci_conn: use mod_delayed_work for active mode timeout Stefan Sørensen
2025-12-16 10:09   ` Bluetooth: Fixes for BR/EDR connection idle timeout configuration bluez.test.bot
2025-12-16  9:20 ` [PATCH 2/3] Bluetooth: hci_conn: Set link_policy on incoming ACL connections Stefan Sørensen
2025-12-16  9:20 ` [PATCH 3/3] Bluetooth: mgmt: Add idle_timeout to configurable system parameters Stefan Sørensen
2025-12-16 15:02   ` Luiz Augusto von Dentz
2025-12-20 14:23   ` kernel test robot
2025-12-20 14:45   ` kernel test robot
2025-12-20 15:10   ` kernel test robot
2025-12-20 18:54   ` kernel test robot
2025-12-17 21:50 ` [PATCH 0/3] Bluetooth: Fixes for BR/EDR connection idle timeout configuration patchwork-bot+bluetooth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.