All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ v1 0/2] Initial Channel Sounding Support for
@ 2026-06-09 10:49 Naga Bhavani Akella
  2026-06-09 10:49 ` [PATCH BlueZ v1 1/2] shared: rap: Add the is_central parameter to verify whether the local role is central before sending the HCI CS Security Enable command Naga Bhavani Akella
  2026-06-09 10:49 ` [PATCH BlueZ v1 2/2] profiles: ranging: Add command flow and event support for CS Initiator Naga Bhavani Akella
  0 siblings, 2 replies; 7+ messages in thread
From: Naga Bhavani Akella @ 2026-06-09 10:49 UTC (permalink / raw)
  To: linux-bluetooth
  Cc: luiz.dentz, quic_mohamull, quic_hbandi, quic_anubhavg,
	Naga Bhavani Akella

This series adds initial LE Channel Sounding (CS) Initiator support by
introducing the required HCI command flow and event handling for CS
procedures.

The changes include
1. Adding an is_central parameter to validate that
current local role is central before issuing
HCI_LE_CS_Security_Enable command.

2. Introduction of initial LE Channel Sounding (CS)
Initiator support by adding required HCI command flow
and event handling for CS capability discovery,
configuration management, and ranging procedures.
The CS init pipeline is not yet wired to D-Bus APIs,
so bt_rap_read_local_supported_capabilities()
is currently marked __maybe_unused.


Naga Bhavani Akella (2):
  shared: rap: Add the is_central parameter to verify whether the local
    role is central before sending the HCI CS Security Enable command.
  profiles: ranging: Add command flow and event support     for CS
    Initiator

 profiles/ranging/rap.c     |   3 +-
 profiles/ranging/rap_hci.c | 876 +++++++++++++++++++++++++++++++++----
 src/shared/rap.h           |   3 +-
 3 files changed, 785 insertions(+), 97 deletions(-)

-- 


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH BlueZ v2 1/2] shared: rap: Check role before sending CS Sec Enable cmd
@ 2026-06-09 15:45 Naga Bhavani Akella
  2026-06-09 17:18 ` Initial Channel Sounding Support for bluez.test.bot
  0 siblings, 1 reply; 7+ messages in thread
From: Naga Bhavani Akella @ 2026-06-09 15:45 UTC (permalink / raw)
  To: linux-bluetooth
  Cc: luiz.dentz, quic_mohamull, quic_hbandi, quic_anubhavg,
	Naga Bhavani Akella

Add the is_central parameter to verify whether
the local role is central before sending
the HCI CS Security Enable command.
---
 src/shared/rap.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/shared/rap.h b/src/shared/rap.h
index d3ced61b1..8b4f47757 100644
--- a/src/shared/rap.h
+++ b/src/shared/rap.h
@@ -213,5 +213,6 @@ void bt_rap_detach_hci(struct bt_rap *rap, void *hci_sm);
 
 /* Connection handle mapping functions */
 bool bt_rap_set_conn_handle(void *hci_sm, struct bt_rap *rap, uint16_t handle,
-				const uint8_t *bdaddr, uint8_t bdaddr_type);
+			const uint8_t *bdaddr, uint8_t bdaddr_type,
+			bool is_central);
 void bt_rap_clear_conn_handle(void *hci_sm, uint16_t handle);
-- 


^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [PATCH BlueZ v3 1/3] shared: rap: Check role before sending CS Sec Enable cmd
@ 2026-06-11 12:00 Naga Bhavani Akella
  2026-06-11 15:21 ` Initial Channel Sounding Support for bluez.test.bot
  0 siblings, 1 reply; 7+ messages in thread
From: Naga Bhavani Akella @ 2026-06-11 12:00 UTC (permalink / raw)
  To: linux-bluetooth
  Cc: luiz.dentz, quic_mohamull, quic_hbandi, quic_anubhavg,
	Naga Bhavani Akella

Add the is_central parameter to verify whether
the local role is central before sending
the HCI CS Security Enable command.
---
 src/shared/rap.h | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/src/shared/rap.h b/src/shared/rap.h
index d3ced61b1..a5095aa35 100644
--- a/src/shared/rap.h
+++ b/src/shared/rap.h
@@ -212,6 +212,17 @@ void *bt_rap_attach_hci(struct bt_rap *rap, struct bt_hci *hci,
 void bt_rap_detach_hci(struct bt_rap *rap, void *hci_sm);
 
 /* Connection handle mapping functions */
+/* Old API preserved as wrapper */
 bool bt_rap_set_conn_handle(void *hci_sm, struct bt_rap *rap, uint16_t handle,
-				const uint8_t *bdaddr, uint8_t bdaddr_type);
+			const uint8_t *bdaddr, uint8_t bdaddr_type);
+
+bool bt_rap_set_conn_hndl(void *hci_sm,
+			struct bt_rap *rap,
+			uint16_t handle,
+			const uint8_t *bdaddr,
+			uint8_t bdaddr_type,
+			bool is_central);
+
+
+
 void bt_rap_clear_conn_handle(void *hci_sm, uint16_t handle);
-- 


^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [PATCH BlueZ v4 1/3] shared: rap: Check role before sending CS Sec Enable cmd
@ 2026-06-16  7:22 Naga Bhavani Akella
  2026-06-16 12:55 ` Initial Channel Sounding Support for bluez.test.bot
  0 siblings, 1 reply; 7+ messages in thread
From: Naga Bhavani Akella @ 2026-06-16  7:22 UTC (permalink / raw)
  To: linux-bluetooth
  Cc: luiz.dentz, quic_mohamull, quic_hbandi, quic_anubhavg,
	Naga Bhavani Akella

Add the is_central parameter to verify whether
the local role is central before sending
the HCI CS Security Enable command.
---
 src/shared/rap.h | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/src/shared/rap.h b/src/shared/rap.h
index d3ced61b1..7db68478c 100644
--- a/src/shared/rap.h
+++ b/src/shared/rap.h
@@ -212,6 +212,15 @@ void *bt_rap_attach_hci(struct bt_rap *rap, struct bt_hci *hci,
 void bt_rap_detach_hci(struct bt_rap *rap, void *hci_sm);
 
 /* Connection handle mapping functions */
+/* Old API preserved as wrapper */
 bool bt_rap_set_conn_handle(void *hci_sm, struct bt_rap *rap, uint16_t handle,
-				const uint8_t *bdaddr, uint8_t bdaddr_type);
+			const uint8_t *bdaddr, uint8_t bdaddr_type);
+
+bool bt_rap_set_conn_hndl(void *hci_sm,
+			struct bt_rap *rap,
+			uint16_t handle,
+			const uint8_t *bdaddr,
+			uint8_t bdaddr_type,
+			bool is_central);
+
 void bt_rap_clear_conn_handle(void *hci_sm, uint16_t handle);
-- 


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

end of thread, other threads:[~2026-06-16 12:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-09 10:49 [PATCH BlueZ v1 0/2] Initial Channel Sounding Support for Naga Bhavani Akella
2026-06-09 10:49 ` [PATCH BlueZ v1 1/2] shared: rap: Add the is_central parameter to verify whether the local role is central before sending the HCI CS Security Enable command Naga Bhavani Akella
2026-06-09 12:29   ` Initial Channel Sounding Support for bluez.test.bot
2026-06-09 10:49 ` [PATCH BlueZ v1 2/2] profiles: ranging: Add command flow and event support for CS Initiator Naga Bhavani Akella
  -- strict thread matches above, loose matches on Subject: below --
2026-06-09 15:45 [PATCH BlueZ v2 1/2] shared: rap: Check role before sending CS Sec Enable cmd Naga Bhavani Akella
2026-06-09 17:18 ` Initial Channel Sounding Support for bluez.test.bot
2026-06-11 12:00 [PATCH BlueZ v3 1/3] shared: rap: Check role before sending CS Sec Enable cmd Naga Bhavani Akella
2026-06-11 15:21 ` Initial Channel Sounding Support for bluez.test.bot
2026-06-16  7:22 [PATCH BlueZ v4 1/3] shared: rap: Check role before sending CS Sec Enable cmd Naga Bhavani Akella
2026-06-16 12:55 ` Initial Channel Sounding Support for bluez.test.bot

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.